Hi Johan,
thank you. The idea behind this is to have a 100%
configurable URL paradigm. I know i can get it via the request cycle, but my
idea is following:
i globally want to configure a URL paradigm like
that:
/preParam1/.../preParamN/PageName/PageParam1/.../PageParamN
where preParams are Mandatory, Sitewide needed values and
PageName is a targetResolving value and Params are the coresponding params that
are used only for the page...
so you could use it for a 2 language site e.g: /en/Page and
/fr/Page but also if you need to store N different params configuring the page
e.g: /en/US/Page -> and then allow the page to have non-mandatory params also
-> e.g: /en/Page/Content/20
I hope this makes it clear what i have in mind -
Best regards,
Korbinian
First of all why are you using so many pageparams?
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Johan Compagner
Gesendet: Freitag, 3. November 2006 17:44
An: [email protected]
Betreff: Re: [Wicket-user] Global, Thread specific Property
Is it that you have to push state to the browser constantly?
RequestCycle.get().getRequest().getRequestParameters().getParameters()
johan
On 11/3/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote:Hi,
i've got a problem and i dont know how to solve it. I work with
PageParameters and the thing that i allways have to pull them around makes
me sad. Is there a way how i can have a global object holding the current
PageParameters that can be accessed without passing in the PageParameters
into a constructor?
e.g: not matter where i want to access
GlobalThreadSpecificObject.getParam("foo") - i can call it on any component
or in any page... ?
The reason is that i use IndexedPageParams and have panels that are
dependent on a specific param value and also need a flexible way to change
the number, the params are hanging on as the number of preceeding
PageParameters can change later on
Best Regards,
Korbinian
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
