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 t
I think your problem is in using validators: prefix in
"validators=validators:" That tells tapestry, that your listing
validators. However, $myMaxValidator is actually a bean (your custom
validator). Thus, you need to use bean: prefix. "validators=bean:.."
If you want to use more than
Hi,
I have defined something like:
value="ognl:accountFieldDefinition" index="ognl:index" element="tr">
src="images/spacer.gif" width="1" height="3"/>
width="1" height="3"/>
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 Stri
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, allo
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 <[E
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
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 c
Hi,
I am a newbie trying to learn Tapestry. I did try to search through the
archives for a solution, but couldnt find anything relavant. It would be
great if someone could point me in the right direction.
I have a page with a listing of a collection. I am using "For" component
(ForBean) in the f
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 secu
Hi,
it is not much difficult: First the URL to servise is
http://your.server/your.app.context/app?service=pdf_report&pdf=xx
where the pdf_report is the name of the service and attribute pdf specified
what report to return (you can use any
attributes you want and need).
Then you create the ser
11 matches
Mail list logo