Cookies will, of course, manage the session if you bypass Tapestry
completely and just do <a href=""> ... but it doesn't sound right
that PageLink behaves that way inside a form.
If nobody comes up with a good answer on the list, I'd say file it in
Jira.
On May 2, 2006, at 2:12 PM, Oscar Picasso wrote:
There was a PageLink in the actual form component. If I move the
PageLink out of the form component the ;jsessionid=xxx is generated.
The strange thing is that if the browser support cookies, the
session is correctly managed even if the form component contains a
PageLink.
Isn't that a bug ? It is at least inconsistent.
// The login form
...
<form jwcid="@Form" class="login" listener="listener:login">
<table>
<tr>
<td><label jwcid="@FieldLabel" field="component:username"/
></td>
<td><input jwcid="[EMAIL PROTECTED]"
value="ognl:username" displayName="votre pseudo"
maxlength="15"/></td>
</tr>
<tr>
<td><label jwcid="@FieldLabel" field="component:password"/
></td>
<td>
<input jwcid="[EMAIL PROTECTED]" value="ognl:password"
displayName="mot de passe"
maxlength="15" hidden="true"/>
<input type="submit" value="ok" class="ok"/>
</td>
</tr>
</table>
<a href="#" jwcid="@PageLink" page="pages/LostLogin"><small>mot
de passe ou pseudo oublié ?</small></a>
</form>
...
---------------------------------
Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using
Yahoo! Messenger with Voice.
_________________________________________________________________
Piano music podcast: http://inthehands.com
Other interesting stuff: http://innig.net
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]