I cut-n-pasted directly from my altered page. The form stuff is only
commented out on production machine.

Also, to qualify, if I use a form without PerForm there's no issue.

----- Original Message -----
From: "Riley James" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 23, 2002 9:06 AM
Subject: PerForm *too* sticky


I've been experiencing an issue where PerForm seems to be hyper-sticky,
reprocessing the same form parameters over and over even though they're
being entered differently.

This is happening inconsistently (it'll work long enough to make me think
it's not a problem, then I come back in a couple hours).

For instance, I have an XSP page which is a very simple search. The form
posts to itself, and I'm using AxKit::XSP::IfParam along with
AxKit::XSP::AttrParam in the body to test for submission and output the
matching rows. The problem is that once I post the first time, that's it.
This persists when I leave the page and come back, but I haven't tested it
methodically enough to determine an actual pattern.

I'm not using any session handling AxKit libraries.
I'm not getting any errors with AxLogLevel at 10.
All is from CVS, 3 days old.

Has anyone else experienced this?

-- Ryan

<?xml version="1.0"?>
<?xml-stylesheet href="." type="application/x-xsp"?>
<?xml-stylesheet href="/stylesheets/general.xsl" type="text/xsl"?>

<xsp:page xmlns:xsp="http://apache.org/xsp/core/v1";
          xmlns:f="http://axkit.org/NS/xsp/perform/v1";
          xmlns:p="http://xmlns.knowscape.com/xsp/AttrParam";
          xmlns:if="http://axkit.org/NS/xsp/if-param/v1";
          xmlns:doc="http://itoc/ODIE/XSP/Library/Document";>

<!--
<xsp:logic>
 sub validate_query {
  my($ctxt,$value) = @_;
  unless($value) {
   die "A query must be supplied.";
  }

 }
</xsp:logic>
-->

<page title="Library Search Results">
<body>
<!--
 <para title="Search The Library">
  <f:form name="searcher">
   <f:textfield name="query" tdlabel="Enter your search term" />
   <f:submit name="search" value="Search"/>
  </f:form>
 </para>
-->
 <if:search>
 <para title="Your Search Results">
  <doc:search-docs>
   <doc:term>
    <p:param name="search" />
   </doc:term>
  </doc:search-docs>
 </para>
 </if:search>
</body>
</page>
</xsp:page>



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

Reply via email to