Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change 
notification.

The following page has been changed by JonathanLinczak:
http://wiki.apache.org/lenya/HowToEditFormsWithKupu

New page:
Have some HTML form elements on a page but still want users to edit the page 
for various reasons without ruining the HTML form?  Well, be default, Kupu in 
Lenya will remove most of the attributes to `input` tags, specifically the 
`name` and `type` attributes.

To fix this, edit the file 
`$LENYA_HOME/resources/kupu/apache-lenya/lenya/kupusave.xsl` with your favorite 
editor.  Look for some lines that look like this:

{{{
<xsl:template match="@shape"/>
<xsl:template match="@align"/>
<xsl:template match="@name"/>
<xsl:template match="@type"/>
}}}

Simply remove the last two lines above for [EMAIL PROTECTED] and [EMAIL 
PROTECTED] and save.  Now your input items should save without any problems.

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

Reply via email to