cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew C. Oliver" <acoli...@apache.org>
Subject Re: passing a value into an XML form from somewhere else
Date Sun, 14 Jul 2002 22:39:39 GMT
Ivelin Ivanov wrote:

>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?
>  
>
I don't think so.  I need to pass the data into the pipeline from 
outside.  If I just pass the same parameter as a propery it
is not picking it up.  Or at least its not ending up in the form.

-Andy

>Ivelin
>
>
>----- Original Message -----
>From: "Andrew C. Oliver" <acoliver@apache.org>
>To: <cocoon-users@xml.apache.org>
>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:     <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>
>
>
>  
>




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