xforms and java bean

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

xforms and java bean

agnesedalmonte

Hi, I have a question about the interaction between xforms and java bean. I
have a xforms-jsp page and a java bean in my project. I want to call bean set
property, setting the property with a value of my instance.

<jsp:setProperty name="myean" property="name"      
                                        value="????????????" />

I try with xf:variable but without success....
How can I resolve my problem??

Thanks.
Agnese


--
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 and java bean

Erik Bruchez-3
Agnese,

Are you using the OrbeonXFormsFilter?

If so the process is:

* JSP produces XForms
* XForms is processed by Orbeon Forms and sent to the browser

At that point, your JSP is out of the loop.

If you want a JSP to obtain information in an instance, you must use
xforms:submission and post it to a service.

We have an example of service implemented in JSP here:

http://github.com/orbeon/orbeon-forms/blob/master/src/examples-jsp/flickr-search/service-search.jsp

-Erik

On Tue, Oct 20, 2009 at 2:52 AM,  <[hidden email]> wrote:

>
> Hi, I have a question about the interaction between xforms and java bean. I
> have a xforms-jsp page and a java bean in my project. I want to call bean set
> property, setting the property with a value of my instance.
>
> <jsp:setProperty name="myean" property="name"
>                                        value="????????????" />
>
> I try with xf:variable but without success....
> How can I resolve my problem??
>
> Thanks.
> Agnese
>
>
> --
> 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
>
>


--
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