xforms: refresh in xforms:submit

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

xforms: refresh in xforms:submit

srikanth.prodigy

Hello All,

 

I have used the xforms:refresh in xforms submit to refresh an instance . im using it for displaying results when user selects the list and submits the query

But the previous results are shown to the user

----------------------------------------------------------------------------------------------------------------------------

<xforms:submit submission="names" ref="instance('list')/submitname">

                        <xforms:label>Search</xforms:label>

                        <xforms:refresh ev:event="DOMActivate"/>

 

                        <xforms:toggle ev:event="DOMActivate" case="name"/>

                    </xforms:submit>

                    <xforms:submit submission="NGO" ref="instance('list')/submitNGO">

                        <xforms:label>Search</xforms:label>

                        <xforms:refresh ev:event="DOMActivate"/>

                        <xforms:toggle ev:event="DOMActivate" case="ngo"/>

                    </xforms:submit>

-----------------------------------------------------------------------------------------------------------------------------

But the instance is not refreshed

 

Thanks,

Srikanth A



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: xforms: refresh in xforms:submit

Hank Ratzesberger

Srikanth,

I am curios what the submission elements look like, what is their 
instance?  I assume that any content in a <group> element will 
be refreshed whenever the instance it refers to changes. 
Likewise with <repeat> elements.

--Hank

On Apr 21, 2009, at 10:46 AM, Srikanth A wrote:

Hello All,

 

I have used the xforms:refresh in xforms submit to refresh an instance . im using it for displaying results when user selects the list and submits the query

But the previous results are shown to the user

----------------------------------------------------------------------------------------------------------------------------

<xforms:submit submission="names" ref="instance('list')/submitname">

                        <xforms:label>Search</xforms:label>

                        <xforms:refresh ev:event="DOMActivate"/>

 

                        <xforms:toggle ev:event="DOMActivate" case="name"/>

                    </xforms:submit>

                    <xforms:submit submission="NGO" ref="instance('list')/submitNGO">

                        <xforms:label>Search</xforms:label>

                        <xforms:refresh ev:event="DOMActivate"/>

                        <xforms:toggle ev:event="DOMActivate" case="ngo"/>

                    </xforms:submit>

-----------------------------------------------------------------------------------------------------------------------------

But the instance is not refreshed

 

Thanks,

Srikanth A


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
OW2 mailing lists service home page: http://www.ow2.org/wws

Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws