That depends on if the page containing the form and/or form handlers
@RequiresAuthentication or @RequiresUser.
On Wed, Jun 25, 2014 at 10:49 PM, George Christman
wrote:
> Okay cool, that works too. Now if I'm setting remember me to true, should I
> still be seeing this exception?
>
>
> On Wed,
On Tue, 24 Jun 2014 09:39:42 -0300, Davide Vecchi wrote:
Hi,
Hi!
I'm decorating the RequestExceptionHandler in order to handle exceptions
and then redirecting to the previous page (the one I find in the
"Referer" HTTP header).
This works fine for normal page requests but I would like t
Okay cool, that works too. Now if I'm setting remember me to true, should I
still be seeing this exception?
On Wed, Jun 25, 2014 at 2:44 PM, Dmitry Gusev
wrote:
> It won't continue form submission, user will be redirected to the page with
> empty form.
>
>
> On Wed, Jun 25, 2014 at 10:31 PM, Ge
It won't continue form submission, user will be redirected to the page with
empty form.
On Wed, Jun 25, 2014 at 10:31 PM, George Christman
wrote:
> Thanks Dmitry, I'm willing to give it a shot. What outcome should I expect
> to see from your code? Will it just bring the user back to a blank for
Thanks Dmitry, I'm willing to give it a shot. What outcome should I expect
to see from your code? Will it just bring the user back to a blank form, or
will it continue with the form submission?
On Wed, Jun 25, 2014 at 1:56 PM, Dmitry Gusev
wrote:
> Hi George,
>
> See one possible solution here:
Hi George,
See one possible solution here:
https://github.com/tynamo/tapestry-security/issues/7#issuecomment-40301795
On Wed, Jun 25, 2014 at 7:36 PM, George Christman
wrote:
> So I finally figured out how to reproduce this exception. I'm using
> Tapestry-Security and if the session times out
So I finally figured out how to reproduce this exception. I'm using
Tapestry-Security and if the session times out and the user submits the
form, the page is redirected to the login page. When the user logs in, it
attempts to resubmit the form and ends with this exception. Does anybody
know how to
Hello all,
Thanks for your replies Thiago and Daniel!
Absolutely correct on Thiago's part though it isn't 5.3.x but 5.4-beta-3!
The culprit is Tynamo's tapestry-security in this case. I overlooked this
multiple times
while checking through my Maven Dependencies due to the 5.4-beta-13 and
5.4-beta
On Wed, 25 Jun 2014 09:00:23 -0300, Daniel Jue wrote:
My intuition says the same thing. Try forcing a mvn clean or the
equivalent.
My intuition says something a little different: some library has a
dependency on Tapestry 5.3.x, so it ends up in the classpath.
--
Thiago H. de Paula Figuei
Just wanted to comment that I do the same thing at startup and look at
annotations attached to the pages, and construct menu items for the pages
which have the right kind of annotation. The annotation I made also has a
parameter fir the type of page, so the menu items get a corresponding
icon. :-
My intuition says the same thing. Try forcing a mvn clean or the
equivalent.
On Jun 25, 2014 7:57 AM, "Thiago H de Paula Figueiredo"
wrote:
> On Wed, 25 Jun 2014 08:46:45 -0300, Peter Hvass wrote:
>
> Digging further I discovered RegistryBuilder and output during startup
>> looks like;
>>
>> [
On Wed, 25 Jun 2014 08:46:45 -0300, Peter Hvass wrote:
Digging further I discovered RegistryBuilder and output during startup
looks like;
[INFO] ioc.RegistryBuilder Adding module definition for class
org.apache.tapestry5.ioc.modules.TapestryIOCModule
[INFO] ioc.RegistryBuilder Adding module de
On Wed, 25 Jun 2014 08:21:15 -0300, Peter Hvass wrote:
Hi guys,
Hi!
Whenever I try to run my projects now I'm getting errors from
HibernateModule saying it can't find x or y Tapestry internal services
(i.e.: PersistentFieldManager, DashboardManager,
ClasspathAssetAliasManager, TemplateParse
On Wed, 25 Jun 2014 05:58:36 -0300, Net Dawg
wrote:
On server startup, what is the best way to preload all *.tml under
[...]resources[...]pages?With all defaults - locale, etc.
Templates themselves are tightly tied to their class counterparts, so
preloading just templates wouldn't ma
Digging further I discovered RegistryBuilder and output during startup
looks like;
[INFO] ioc.RegistryBuilder Adding module definition for class
org.apache.tapestry5.ioc.modules.TapestryIOCModule
[INFO] ioc.RegistryBuilder Adding module definition for class
org.apache.tapestry5.hibernate.modules.H
Hi guys,
I've been away for a few months on a spelunking hiatus in the murky depths
of PHP so this might just be a really silly question! Apologies if it is!
I'm all set up running 5.4-beta-13 (tapestry-hibernate flavour) and
tapestry-security or at least I was until some time this morning.
When
You can try this:
@Inject private ComponentClassResolver componentClassResolver;
@Inject private ComponentSource componentSource;
// then if your code:
List pageNames = componentClassResolver.getPageNames();
for (String pageName : pageNames)
{
componentSource.getPage(pa
On server startup, what is the best way to preload all *.tml under
[...]resources[...]pages? With all defaults - locale, etc.
In other words, how are tapestry (5.3.x) pages mapped to servlets so that
something like this may be attempted in web.xml?
Employees
Employee
18 matches
Mail list logo