cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohamed El-Refaey" <m.ref...@imkenberg.de>
Subject Re: passing a value into an XML form from somewhere else
Date Mon, 15 Jul 2002 09:54:06 GMT
Hi Andrew

I don't know If what I'll tell can help or not, but u can set the OfferBean
before populating the XMLForm by the value of the itemNo into the
OfferAction or in another Action that act when u press"Make Offer"
Link --->OfferBean.setItemNo(newItemNo) and it will automatically rendered
into the Form.
I wish it can help

Mohamed
----- Original Message -----
From: "Andrew C. Oliver" <acoliver@apache.org>
To: <cocoon-users@xml.apache.org>
Sent: Sunday, July 14, 2002 7:50 PM
Subject: Q: passing a value into an XML form from somewhere else


> Hi All,
>
> I've got a situation where I have multiple items on a dynamically
> generated page and I want to be able to allow the user to
> click on a link and "post an offer" on them.  So for instance
>
> on
>
http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antique
s/3.html
> I want to be able to have the user click
> "make an offer"
>
http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffer
.html?itemNo=3
> which will pass to an XMLForm based action.
>
> The problem is I need itemNo to end up in my OfferBean.java along with
> the user populated fields in the form.  How do I take
> an http parameter and get it into the bean attached to an XMLForm?
>
> Thanks,
>
> Andy
>
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message