Hi!  I'm new to using PerForm and Axkit taglibs in general.  I'm having
problems getting PerForm to run correctly on a simple form.  It appears
to be processing the form, but not correctly or completely.  

Here is the original code:
<?xml-stylesheet type="application/x-xsp" href="NULL"?>
<xsp:page
        xmlns:xsp="http://www.apache.org/1999/XSP/Core";
        xmlns:esql="http://apache.org/xsp/SQL/v2";
        xmlns:util="http://apache.org/xsp/util/v1";
        xmlns:param="http://axkit.org/NS/xsp/param/v1";
        xmlns:web="http://axkit.org/NS/xsp/webutils/v1";
        xmlns:f="http://axkit.org/NS/xsp/perform/v1";
>
<webpage>
<title>Form Test</title>
<section class="default">
<f:form name="add_user">
   First name: <f:textfield name="firstname" width="30" maxlength="50"/>
   <br />
   Last name: <f:textfield name="lastname" width="30" maxlength="50"/>
   <br />
   <f:submit name="save" value="Save" goto="users.xsp" />
   <f:cancel name="cancel" value="Cancel" goto="home.html" />
  </f:form>
</section>
<revision>
$Id$
</revision>
</webpage>
</xsp:page>

This is the source of the output after running the page:

<webpage>
<title>Form Test</title>
<section class="default">
<form name="add_user" method="POST"
enctype="multipart/form-data"><hidden name="__submitting_add_user"
value="1"/>
   First name: 
<textfield>
  
<maxlength>50</maxlength><index/><width>30</width><value></value><name>firstname</name></textfield><br/>
   Last name: 
<textfield>
  
<maxlength>50</maxlength><index/><width>30</width><value></value><name>lastname</name></textfield><br/>
<submit_button>
  <index/><value>Save</value><name>save</name></submit_button>
<submit_button>
  
<index/><value>Cancel</value><name>cancel</name></submit_button></form></section><revision>
$Id$
</revision></webpage>

My .htaccess file looks like this:

AddHandler AxKit .xml .html

AxAddXSPTaglib AxKit::XSP::PerForm
AxAddXSPTaglib AxKit::XSP::Util
AxAddXSPTaglib AxKit::XSP::WebUtils
AxAddXSPTaglib AxKit::XSP::Param
AxAddXSPTaglib AxKit::XSP::IfParam
AxAddXSPTaglib AxKit::XSP::ESQL

AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP

AxAddStyleMap text/xsl Apache::AxKit::Language::Sablot


After reading the docs, still can't figure out what's going wrong.  Any
help is appreciated.

Thanks!

Laura Huerta


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

Reply via email to