Hi,
I have an editable field - sessionscope variable where I type in a value.
<xp:inputText id="inputText2" value="#{sessionScope.ViewClosingDate}"> </xp:inputText>
I have a viewPanel with JDBCQuery with one parameter using this sessionscope variable
<xp:this.data> <xe:jdbcQuery var="view2" connectionName="mssql" sqlQuery="select * from timekeeping.dbo.TKInput$ where TKInput$.InpClosingDate = ?">
<xe:this.sqlParameters> <xe:sqlParameter value="#{javascript:sessionScope.ViewClosingDate}"> </xe:sqlParameter> </xe:this.sqlParameters>
</xe:jdbcQuery> </xp:this.data>
I have a button that does a refresh of my view panel
<xp:eventHandler event="onclick" submit="true" refreshMode="partial" immediate="false" save="true" refreshId="viewPanel2">
</xp:eventHandler>
However the viewpanel won't refresh by clicking the button.
If I click the button, then press F5, the viewpanel will update.
Can someone help me on this item ? I'm struggling with this for days now.
Thanks in advance !
An