cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joose Vettenranta <jo...@iki.fi>
Subject JPath and flow variables?
Date Tue, 09 Dec 2003 11:40:11 GMT
Hello,

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?

- Joose

--
"Always remember that you are unique, just like everyone else!"
* http://iki.fi/joose/ * joose@iki.fi * +358 44 561 0270 *


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


Mime
View raw message