i am getting a bit tired of all those threadlocals that have to be
cleaned... I already discussed this with matej and i thing we should
give the RequestCycle metadata... then we can store any thing we want
and it is auto cleanup
On 6/4/07, Eelco Hillenius (JIRA) <[EMAIL PROTECTED]> wrote:
[
https://issues.apache.org/jira/browse/WICKET-605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501258
]
Eelco Hillenius commented on WICKET-605:
----------------------------------------
The best hack I can currently imagine is to set the current PageParameters
instance as a threadlocal somewhere (RequestCycle?) when the
WebPage(PageParameters) constructor is called (btw, I see no reason why this
constructor couldn't be moved to Page... we can do that regardless), and
clean it up again in RequestCycle#detach.
It would be yet another threadlocal unfortunately, but otoh it is valuable
information to have accesible, which is hard to get to right now.
WDYT?
> Stataless form skips page parameters
> ------------------------------------
>
> Key: WICKET-605
> URL: https://issues.apache.org/jira/browse/WICKET-605
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: trunk
> Environment: linux, glassfish v2
> Reporter: József Börcsök
> Assignee: Eelco Hillenius
>
> Page parameters are not included in stataless form action parameter.
> I think stateless form should override urlFor(RequestListenerInterface
listener) method and append page parameters. (Submit works if I manually add
them at runtime ie. with firebug plugin in browser.)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.