Repeat inside action

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

Repeat inside action

Chaminda Amarasinghe
Hi All,

I have following inside a action. when I trigger the action this gives an errror

<xf:repeat ref="instance('fr-form-instance')">
</xf:repeat>

Cant I do this?

Regards,
Chaminda

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Repeat inside action

Chaminda Amarasinghe

I tried with nodeset instead of ref  also,

On Friday, April 26, 2013 3:51:14 AM UTC+5:30, Chaminda Amarasinghe wrote:
Hi All,

I have following inside a action. when I trigger the action this gives an errror

<xf:repeat ref="instance('fr-form-instance')">
</xf:repeat>

Cant I do this?

Regards,
Chaminda

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Repeat inside action

Chaminda Amarasinghe


This is the details of error,



Hide Details Hide details

    in file:/home/chaminda/liferay-portal-6.1.1-ce-ga2-tom/tomcat-7.0.27/temp/upload__2885732a_13e423c10cc__8000_00002255.tmp line 429 (java.lang.IllegalStateException)


But no any errors in tomcat console,


On Friday, April 26, 2013 3:52:46 AM UTC+5:30, Chaminda Amarasinghe wrote:

I tried with nodeset instead of ref  also,

On Friday, April 26, 2013 3:51:14 AM UTC+5:30, Chaminda Amarasinghe wrote:
Hi All,

I have following inside a action. when I trigger the action this gives an errror

<xf:repeat ref="instance('fr-form-instance')">
</xf:repeat>

Cant I do this?

Regards,
Chaminda

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Repeat inside action

David Lacy
In reply to this post by Chaminda Amarasinghe
I think you may be looking for  the "iterate" extension:
http://stackoverflow.com/questions/7560527/how-to-do-something-with-selected-values-of-an-xformsselect-every-time-they-cha
http://blog.orbeon.com/2008/02/more-powerful-xforms-actions-thanks-to_12.html

-Dave


From: [hidden email] [[hidden email]] on behalf of Chaminda Amarasinghe [[hidden email]]
Sent: Thursday, April 25, 2013 6:22 PM
To: [hidden email]
Subject: [orbeon] Re: Repeat inside action


I tried with nodeset instead of ref  also,

On Friday, April 26, 2013 3:51:14 AM UTC+5:30, Chaminda Amarasinghe wrote:
Hi All,

I have following inside a action. when I trigger the action this gives an errror

<xf:repeat ref="instance('fr-form-instance')">
</xf:repeat>

Cant I do this?

Regards,
Chaminda

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orbeon+[hidden email].
To post to this group, send email to [hidden email].
 
 

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Repeat inside action

Chaminda Amarasinghe

Thanks Dave,

Its working,

Best Regards,
Chaminda

On Friday, April 26, 2013 5:41:33 AM UTC+5:30, david.lacy wrote:
I think you may be looking for  the "iterate" extension:
http://stackoverflow.com/questions/7560527/how-to-do-something-with-selected-values-of-an-xformsselect-every-time-they-cha
http://blog.orbeon.com/2008/02/more-powerful-xforms-actions-thanks-to_12.html

-Dave


From: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="tU2qoR8Snq4J">orb...@... [<a href="javascript:" target="_blank" gdf-obfuscated-mailto="tU2qoR8Snq4J">orb...@...] on behalf of Chaminda Amarasinghe [<a href="javascript:" target="_blank" gdf-obfuscated-mailto="tU2qoR8Snq4J">chami...@...]
Sent: Thursday, April 25, 2013 6:22 PM
To: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="tU2qoR8Snq4J">orb...@...
Subject: [orbeon] Re: Repeat inside action


I tried with nodeset instead of ref  also,

On Friday, April 26, 2013 3:51:14 AM UTC+5:30, Chaminda Amarasinghe wrote:
Hi All,

I have following inside a action. when I trigger the action this gives an errror

<xf:repeat ref="instance('fr-form-instance')">
</xf:repeat>

Cant I do this?

Regards,
Chaminda

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="tU2qoR8Snq4J">orbeon+un...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="tU2qoR8Snq4J">orb...@....
 
 

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].