As bobharner said, there is a non-tapestry way of doing this with a
HttpSessionListener (although I would synchronize his solution to make it
thread-safe).
Another option is to override / decorate the TapestrySessionFactory [1] to
return a Session instance with the hooks that you want.
[1]
Hi,
I am trying to use Shiro via tapestry-security. It has been a hits-n-misses
so far.
Nevertheless, it has been a good learning experience.
However, I have run into one specific case with filters which i thought
would post here for insight.
When i use the following filter:
code
The problem w/ the wildcard statement is that when Shiro tries to redirect
it to the login page, the login page ends up requiring authentication
(because it matches the /* wildcard pattern), etc. In order to make it do
what you want, you'll need to allow the login page to be accessed w/o
It's a well known gotcha but nothing we can or plan to do about except
to improve documentation. Also note that the order in which the rules
are contributed is significant.
Kalle
On Mon, Sep 24, 2012 at 9:11 AM, Alex Kotchnev akoch...@gmail.com wrote:
The problem w/ the wildcard statement is
Hello
I have a component called program that is called from my page template
called purchaseRequest. Within program, I have a field called evaluators and
within the component class I'm @InjectComponent evaluators. I'm trying to do
some field validations on evaluators from within my page
On Mon, 24 Sep 2012 14:29:02 -0300, George Christman
gchrist...@cardaddy.com wrote:
Hi Thiago, I'm not completely following you here. What do you mean by
trigger an event passing to the page?
Something like this (not tested):
@Inject
private ComponentResources resources;
...
Martin Grotzke wrote
On Fri, 2007-07-27 at 17:37 -0300, Thiago H de Paula Figueiredo wrote:
And has anyone implemented a Select-like component for multiple option
selection? It would be very nice to have both multiselect and palette, as
T4 has.
Take a look at this thread, it's really easy
/I am trying to make a palette with using http://chenillekit.codehaus.org/
generics with database entity objects.
This i my page template/
t:layout t:pageTitle=${message:title}
xmlns:t=http://tapestry.apache.org/schema/tapestry_5_1_0.xsd;
xmlns:tx=tapestry-library:tapx