The name of the parameter has to represent the XPath to the bean property. See the html source of an xmlform page to see how element names are translated into widgets @name attributes.
Does this help? Ivelin ----- Original Message ----- From: "Andrew C. Oliver" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 14, 2002 11:50 AM 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]>