Hidden Field?

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

Hidden Field?

Dustin Henson-2
I have a setting called editMode I want to pass between pages to track what the user is aloud to edit. This field has no home in the XML and normally I would pass it as a hidden field on the form. I found reference to the <xxforms:hidden> tag that may do the same thing in xforms, but I can't find the documentation for it.

Is <xxforms:hidden> the right way to pass this kind of meta data between pages or is there a better way to handle it? If it is can anyone point me to the documentation?

Thanks,
Dustin


--
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: Hidden Field?

Erik Bruchez
Administrator
Dustin,

xxforms:hidden is no longer supported in Orbeon Forms (it is part of  
the old "Classic" XForms engine which we don't develop anymore).

There are different ways of passing this kind of information between  
pages:

* Through a URL parameter you pass with a link or xforms:load
* In data which you submit (POST) from one page to the other with  
xforms:submission
* In the session (usually not a good idea)

So you actually don't need a hidden control in the page to represent  
information.

-Erik

On Apr 10, 2008, at 10:00 PM, Dustin Henson wrote:

> I have a setting called editMode I want to pass between pages to  
> track what the user is aloud to edit. This field has no home in the  
> XML and normally I would pass it as a hidden field on the form. I  
> found reference to the <xxforms:hidden> tag that may do the same  
> thing in xforms, but I can't find the documentation for it.
>
> Is <xxforms:hidden> the right way to pass this kind of meta data  
> between pages or is there a better way to handle it? If it is can  
> anyone point me to the documentation?
>
> Thanks,
> Dustin
--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Hidden Field?

Dustin Henson-2
Hi Erik,

Thanks for the help. I got it working.

FYI: I added the data fields as parameters on the url, '?editMode=true&userName=bob'. The catch was that Orbeon appears to map the URL into an xml document prior to constructing the final HTML. To get it to work I had to escape the '&', '?editMode=true&amp;serName=bob'.

-Dustin

On Fri, Apr 11, 2008 at 8:52 AM, Erik Bruchez <[hidden email]> wrote:
Dustin,

xxforms:hidden is no longer supported in Orbeon Forms (it is part of the old "Classic" XForms engine which we don't develop anymore).

There are different ways of passing this kind of information between pages:

* Through a URL parameter you pass with a link or xforms:load
* In data which you submit (POST) from one page to the other with xforms:submission
* In the session (usually not a good idea)

So you actually don't need a hidden control in the page to represent information.

-Erik


On Apr 10, 2008, at 10:00 PM, Dustin Henson wrote:
I have a setting called editMode I want to pass between pages to track what the user is aloud to edit. This field has no home in the XML and normally I would pass it as a hidden field on the form. I found reference to the <xxforms:hidden> tag that may do the same thing in xforms, but I can't find the documentation for it.

Is <xxforms:hidden> the right way to pass this kind of meta data between pages or is there a better way to handle it? If it is can anyone point me to the documentation?

Thanks,
Dustin

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




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