On 11/3/06, James Carman [EMAIL PROTECTED] wrote:
Maybe you could just create your own Tapestry form (just like you do
for any other page) and submit it. Within the form's processing, you
could use the Acegi API
(SecurityContextHolder.getContext().setAuthentication() maybe?) to set
up the
FYI, for people using HtmlUnit with 4.1 and Tacos. Marc is the author of
HtmlUnit.
Forwarded Message
From: Marc Guillemot [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [Htmlunit-user] Testing Tapestry
Date: Fri, 10 Nov 2006 10:01:10 +0100
I
You could use a callback somehow to do that, I would think. But, you
would probably have to implement the auto-redirect-to-login-page logic
yourself, so that you could save the callback into the session or set
it on the login page as a property or something.
On 11/10/06, Robin Ericsson [EMAIL
BTW We currently use version 4.0.2. and run it on tomcat. I would also
appreciate if somebody can point me to the rewind document if any. I have
heard so many stories about common newbie rewind mistakes but couldnt find
what they really are.
Thanks again.
Srini.
On 11/10/06, Srinivas Yermal
Hi
I'm a bit confused about validators in Tapestry 4.0.2. The doc says the
following ought to work:
import org.apache.tapestry.annotations.*;
import org.apache.tapestry.form.validator.Max;
import org.apache.tapestry.form.validator.Validator;
@ComponentClass(allowInformalParameters = false,
Use parentheses rather than square brackets:
ognl:getName('titi')
OR (if that doesn't do it),
ognl:page.getName('titi')
Cheers,
Bill
On 11/8/06, Micha Roon [EMAIL PROTECTED] wrote:
I have one page (Home.html) with its Class (Home.java) and in the class I
have the two methods
public
Hi,
I have defined something like:
tr jwcid=@Foreach source=ognl:accountFieldDefinitionsList
value=ognl:accountFieldDefinition index=ognl:index element=tr
tr
td bgcolor=#EAEAF7 colspan=2img border=0
src=images/spacer.gif width=1
I've been using HtmlUnit for the BeanForm integration tests. The one bug I
encountered in HtmlUnit was patched within days. Of course, I'm not using
any of the async stuff :-)
Also FYI, I'm currently pushing to get the unit tests for some of the more
popular JavaScript libraries integrated into