Serkan Camurcuoglu escreveu:
Session javadoc says:
*Access via Thread Local *- In the odd case where neither a
RequestCycle nor a Component is available, the currently active
Session for the calling thread can be retrieved by calling the static
method Session.get(). This last form should only
Session javadoc says:
*Access via Thread Local *- In the odd case where neither a RequestCycle
nor a Component is available, the currently active Session for the
calling thread can be retrieved by calling the static method
Session.get(). This last form should only be used if the first two form
Am I on wrong direction?
How can I have a PDF generator integrated with Wicket authentication?
I can't image how can I ask Wicket if user is authenticated or not. I
don't even see how can I access the Session from WebResource...
Adriano
Adriano dos Santos Fernandes escreveu:
H!
I inherit
H!
I inherited my application class from AuthenticatedWebApplication so my
pages requires authentication. It worked.
But I've created a class inherited from WebResource to deliver Jasper
Report in PDF and mounted it with this code:
mountSharedResource("/Report", new ResourceReference(