Hi All,
I want to use EL Expressions in a xhtml. Like ${request.attributeName}, How can I do it with Orbeon XFoms?
Thank you,
-- Chaminda Amarasinghe, -- 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 |
Administrator
|
Chaminda,
EL expressions are a Java / JSP technology. If you are *producing* XForms using JSP (for example using the "separate" deployment method), then you can use them in JSP pages. However, these expressions are not directly understood by XForms. XForms instead uses XPath as an expression language. -Erik On Nov 21, 2007, at 9:57 PM, Chaminda Amarasinghe wrote: > Hi All, > I want to use EL Expressions in a xhtml. Like $ > {request.attributeName}, How can I do it with Orbeon XFoms? > > Thank you, > > -- > Chaminda Amarasinghe, > > -- > 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 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 |
Erik,
Thanks for the reply,
That means I have to create an instance document such as DOM and set it as an attribute. Then I should use XPath to view the properties of instance. Is that what you mean? Or Is there any other way to replace EL expressions?
Thanks,
On 11/27/07, Erik Bruchez <[hidden email]> wrote:
Chaminda, -- Chaminda Amarasinghe, -- 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 |
Administrator
|
Chaminda,
If your goal is to extract request parameters, in separate mode (if that's what you are using), you can extract them with JSP and set them into an inline XForms instance in the XHTML+XForms document. -Erik On Nov 26, 2007, at 5:19 PM, Chaminda Amarasinghe wrote: > Erik, > > Thanks for the reply, > > That means I have to create an instance document such as DOM and set > it as an attribute. Then I should use XPath to view the properties > of instance. Is that what you mean? Or Is there any other way to > replace EL expressions? > > Thanks, > > > On 11/27/07, Erik Bruchez <[hidden email]> wrote: Chaminda, > > EL expressions are a Java / JSP technology. If you are *producing* > XForms using JSP (for example using the "separate" deployment method), > then you can use them in JSP pages. > > However, these expressions are not directly understood by XForms. > XForms instead uses XPath as an expression language. > > -Erik > > On Nov 21, 2007, at 9:57 PM, Chaminda Amarasinghe wrote: > > > Hi All, > > I want to use EL Expressions in a xhtml. Like $ > > {request.attributeName}, How can I do it with Orbeon XFoms? > > > > Thank you, > > > > -- > > Chaminda Amarasinghe, > > > > -- > > 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 > > -- > 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 > > > > > -- > Chaminda Amarasinghe, > -- > 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 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 |
Hi Erik,
You came to the correct point what I need :)
What I need it extract request Parameters, in a Servlet (Action class), create required objects using extracted req parameters (say emp name and emp Id are comming in req params), store the created objects as RequestAttributes, and View the details in summary Page(This should be again a XForm)
I expend over 2 week for this simple thing. Any link for this requirement? So I can follow it instead of wasting your time.
Thanks
On 11/27/07, Erik Bruchez <[hidden email]> wrote:
Chaminda, -- Chaminda Amarasinghe, -- 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 |
PS
What I was unable to do was
1). extract request Parameters
2). Access stored attribute in Summary page
Thanks
On 11/27/07, Chaminda Amarasinghe <[hidden email]> wrote:
-- Chaminda Amarasinghe, -- 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 |
Free forum by Nabble | Edit this page |