Joose Vettenranta wrote:

documentation for JPath in serverpages looks good enough, but I can't find out how the variables are form? Let's say that I have this simple page:

flow.js:
funtion index() {
 var foo="foo";
 cocoon.sendPage ("foo", {"foo" : foo});
}

sitemap.xmap:
<map:match pattern="foo"><map:generate type="serverpages" src="foo.xsp" /> ...


how can I get value of foo in serverpage-file? is it "/foo" or what?

<jpath:value-of select="foo"/> maybe ?


-----------------------------------
Luca Morandini   -   GIS Consultant
[EMAIL PROTECTED]
http://xoomer.virgilio.it/ukmorand/
-----------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to