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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>