Struts and XFORMs

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

Struts and XFORMs

Sabeer
I would like to mix up struts controls and XFORMS controls in my JSP page. I
have a fixed number of Struts controls and I need to provide additional
controls (customized fields)  based on user needs. Additional controls can be
varied from user to user.  So, for these customized fields, I would like to use
XFORMS controls, but, I do not know how to use these controls in my JSP page
which has Struts controls, it submission and how to process it in my struts
action class. I am already using Orbeon forms in cross-context if the page is
an .XHTML file.

--Sabeer


--
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: Struts and XFORMs

Erik Bruchez
Administrator
I would say that mixing XForms controls and other framework's controls  
on the same page is a recipe for confusion, except for very simple  
cases like a simple, independent search field, or simple Ajax-based  
components.

The reason is that each framework uses it's own mechanism to talk to  
the server. Struts will cause HTML form submissions. Orbeon Forms will  
use Ajax or HTML form submissions.

It's not to say it couldn't be made to work, just that it is a  
delicate area.

-Erik

On Oct 7, 2008, at 12:31 AM, Sabeer wrote:

> I would like to mix up struts controls and XFORMS controls in my JSP  
> page. I
> have a fixed number of Struts controls and I need to provide  
> additional
> controls (customized fields)  based on user needs. Additional  
> controls can be
> varied from user to user.  So, for these customized fields, I would  
> like to use
> XFORMS controls, but, I do not know how to use these controls in my  
> JSP page
> which has Struts controls, it submission and how to process it in my  
> struts
> action class. I am already using Orbeon forms in cross-context if  
> the page is
> an .XHTML file.
>
> --Sabeer
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



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