Session.get()?
http://wicket.apache.org/docs/1.4/org/apache/wicket/Session.html#get%28%29
In your custom session class, you can add your own get() method that
returns your specific type:
public static MySession get()
{
return (MySession)Session.get();
}
Then, you don't have to cast:
MySession.get().getMySessionInformationThatImInterestedIn();
On Sat, Nov 7, 2009 at 5:22 AM, Haulyn R. Jason <[email protected]> wrote:
> Hi,
>
> I want to implement IAuthorizationStrategy in MyApplication, but I do
> not know how to get WicketSession, I need to get Component Action List
> from WicketSession. Is there some reference?
>
> --
> Many thanks!
>
> Haulyn Microproduction
>
> You can access me via:
> Location: Shandong Jinan Shumagang 6H-8, 250000
> Mobile: +086-15864011231
> email: [email protected]
> website: http://haulynjason.net
> gtalk: [email protected]
> skype: saharabear
> QQ: 378606292
> persional Twitter: http://twitter.com/saharabear
> persional Linkedin: http://www.linkedin.com/in/haulyn
> Haulyn Microproduction Twitter: http://twitter.com/haulynmp
>
>
> Haulyn Jason
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]