cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat t <>
Subject Default behavior not working with cocoon
Date Sun, 18 Mar 2001 15:40:07 GMT
Default behavior doesn't works with cocoon:

If I use a plain html file on the server with:
<META content="snapshot" name="save" >
<STYLE> .saveSnapshot 
<FORM id="Expense_Form" class="saveSnapshot">
Date:<INPUT type="text" name=date >

Let's say I fill the date textbox with "2/3/2001" on the browser, just by going to "save as"
and saving the file to my computer, it automatically updates the html to:
<INPUT type="text" name=date value="2/3/2001">
If I do this with cocoon (xml and xsl) it doesn't work, why?

Here is my XML and XSL:


<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="test.xsl"?>
<?cocoon-process type="xslt"?>

<textbox name="Date"></textbox>


<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="">
<xsl:template match="/">
<xsl:processing-instruction name="cocoon-format">type="text/html"</xsl:processing-instruction>

  <META content="snapshot" name="save"/>
    <STYLE> .saveSnapshot
 <body bgcolor="#FFFFFF">
  <form name="form1" class="saveSnapshot">

<xsl:template match="textbox">
 <xsl:value-of select="@name"/>
 <input type="text" name="date"/>


Does cocoon have a way of saving forms to client side?


Pick up your email anywhere in the world --->

To unsubscribe, e-mail:
For additional commands, email:

View raw message