cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ard Schrijvers" <a.schrijv...@hippo.nl>
Subject RE: pass checkbox values through sitemap
Date Tue, 12 Dec 2006 15:22:25 GMT

> callSomething?sameName=value1&sameName=value2&sameName=value3&
> submit=Submit
> 
> And question is how to pass those values to generator in sitemap:
> 
> <map:match pattern="navigator/callSomething*">
> 	<map:act type="request">
> 		<map:parameter name="parameters" value="true"/>
> 		<map:generate 
> src="http://localhost/?sameName={sameName}"/>

Just remove the map:act. You want to pass on the request to another host, right?

Just use map:generate src="http://localhost/?{request:queryString}"/>

Ard

> 		<map:call resource="check-this"/>
> 	</map:act>
> </map:match>
> 
> When I call this:
> 	http://localhost/?sameName={sameName}
> id adds only first value.
> 
> And this does not send anything.
> <map:generate src="http://127.0.0.1/">
> 	<map:parameter name="use-request-parameters" value="true"/>
> </map:generate>
> 
> 
> Renaming sameName parameter to sameName1, sameName2, ... is 
> not an option.
> 
> Please help. Maybe it's a really newbie question, but I need 
> to hack an
> existing sitemap to support this and I don't want to see Cocoon again.
> 
> BTW I'm using Cocoon 2.
> 
> Thanks.
> -- 
> View this message in context: 
http://www.nabble.com/pass-checkbox-values-through-sitemap-tf2806933.html#a7831351
Sent from the Cocoon - Users mailing list archive at Nabble.com.


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


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


Mime
View raw message