cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roberto Marra" <rma...@montefiore.ch>
Subject Re: Javascript variable...
Date Thu, 28 Apr 2005 15:28:21 GMT
Thanx Wee it works. 
  ----- Original Message ----- 
  From: WeeZard 
  To: users@cocoon.apache.org 
  Sent: Thursday, April 28, 2005 5:19 PM
  Subject: Re: Javascript variable...


  I think it goes something like this:

  var data = "foo";
  form.sendPage("some-pipe", { data : data });

  In sitemap you would use it like this:
  ...
  <map:transform src="blah.xsl">
      <map:parameter name="myparam" value="{flow-attribute:data}" />
  </map:transform>
  ...

  Weez


    ----- Original Message ----- 
    From: Roberto Marra 
    To: users@cocoon.apache.org 
    Sent: Thursday, April 28, 2005 4:58 PM
    Subject: Javascript variable...


    Hi all,
    maybe Im making a stupid question. I would like to know how to pass a Javascript (from
a flowscript) variable to a sitemap.

    Cheers
    Roberto
Mime
View raw message