The only issue I came across is that T5.1 and Spring 3 are using two
incompatible versions of Antlr library
Is there a workaround? Pages will not load after startup due to this.
Excluding one or the other antlr deps will cause an error in either Tapestry
or Spring.
Lubor Gajda wrote:
Hi
On Tue, Sep 1, 2009 at 9:50 PM, Geoff
Callendergeoff.callender.jumpst...@gmail.com wrote:
Good question. Yes, it does still seem to me to be best practice and no, I
don't see it breaking the back button. Can you give an example?
Assuming you use something else than session or client persistence
Hi Kalle,
It looks like you need to use onActivate() in your case. Could you
give us a sample code, so we can understand you better?
Regards, Sergey.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For
Hi Kalle,
The key to it is this snippet: if the stuff you are setting up is not
needed for component event requests, consider putting it elsewhere.
If I understand your example correctly, the object you are creating IS
needed for a component event request so DO put it in onActivate(...).
I think it would be interesting for us to read this discussion, just
to concentrate again on what can be improved in T5. Also good comments
can help the public image of T5.
http://stackoverflow.com/questions/1303438/why-did-you-stop-using-tapestry
Hello,
I created a patch including a test. I used it in an application and it
works like a charm.
https://issues.apache.org/jira/browse/TAP5-831
--
Best Regards / Viele Grüße
Sebastian Hennebrueder
-
Software Developer and Trainer for Hibernate / Java Persistence
http://www.laliluna.de
Hi all,
JumpStart 4.5 is now available. It has more AJAX examples than ever
before (with many thanks to Inge Solvoll for creating the ZoneUpdater
mixin!).
Use it live:
http://jumpstart.doublenegative.com.au:8080/jumpstart/
or download it:
Does exists a similar set of examples for T4 ?
Geoff Callender ha scritto:
Hi all,
JumpStart 4.5 is now available. It has more AJAX examples than ever
before (with many thanks to Inge Solvoll for creating the ZoneUpdater
mixin!).
Use it live:
The T4 versions are less extensive than the latest version, but yes
they do exist:
http://jumpstart.doublenegative.com.au/download.html
On 02/09/2009, at 8:50 PM, Ivano Luberti wrote:
Does exists a similar set of examples for T4 ?
Geoff Callender ha scritto:
Hi all,
JumpStart 4.5
Geoff Callender ha scritto:
The T4 versions are less extensive than the latest version,
of course :-D
but yes they do exist:
http://jumpstart.doublenegative.com.au/download.html
thanks, this is a great work.
--
==
dott. Ivano Mario
I have a textfield enriched with the autocomplete mixin.
input class=search t:minChars=3 t:frequency=0.2 t:type=textfield
t:id=quickTextField t:mixins=autocompletearoer2 id=quickTextField
name=Best type=text value=quickTextValue /
This field always gets the focus even though it isn't the first
Hi!
I've spent some time now trying to get Testify working.
I do it according to the documentation, with an abstract
base class like this:
public abstract class AbstractPageTest extends TapestryTest {
private static final String APP_PACKAGE = com.expekt.web;
private static final
---
This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and delete this e-mail. Any unauthorized
copying, disclosure or distribution of the material in this e-mail
Em Wed, 02 Sep 2009 05:12:10 -0300, Sergey Didenko
sergey.dide...@gmail.com escreveu:
I think it would be interesting for us to read this discussion, just
to concentrate again on what can be improved in T5. Also good comments
can help the public image of T5.
No text?
2009/9/2 Paul Field paul.fi...@db.com
---
This e-mail may contain confidential and/or privileged information. If you
are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and delete this e-mail. Any unauthorized
copying,
Hi Mats,
I then have a subclass with the JUnit 4 test:
public class GamesLauncherTest extends AbstractPageTest {
@ForComponents @Mock
private XyzManager xyzManager;
@Mock
private XyzConfig xyzConfig;
What I get is runtime exceptions, such as this:
Caused by:
To set the scene: in the EditUser example, the user is displayed in a
form and the user roles are displayed below it in a grid with
ActionLinks for View, Edit, and Delete on each row.
The reason it is OK to get the user roles in setupRender() is because
they are not editable - all we need
Hello,
if I run the mvn test in tapestry-core, I get the following test failures
failed tests:
stylesheet_link(org.apache.tapestry5.internal.services.PartialMarkupDocumentLinkerTest)
client_field_format_validation(org.apache.tapestry5.integration.IntegrationTests)
I ran the integration tests from within eclipse this morning and
everything was fine. Try to find out what exactly is going wrong. I'm
guessing some maven thing.
Uli
Sebastian Hennebrueder schrieb:
Hello,
if I run the mvn test in tapestry-core, I get the following test failures
failed
It has been a month without reply. Really need help,
Please!!!
DavidWei wrote:
I was trying to use datefield component to enter a date from builtin
calendar, but it showed a javascript error, this.pupup.clinePosition(...)
is null or not an object, when a calendar
I have no experience with Selenenium. Here are some traces from the
created report pages This is the one to fail in internal api. There are
16 integration tests failing. See below
java.lang.AssertionError:
expected:{stylesheets:[{href:foo.css,media:print},{href:bar.css}]}
but
Hello,
Ulrich remind me to write a unit test for the patch I provided.
https://issues.apache.org/jira/browse/TAP5-832
How to I properly test a form submission to submit no value and to test
that the Hidden component throws an exception.
Shall I use a PageTester
Hello,
Ulrich remind me to write a unit test for the patch I provided.
https://issues.apache.org/jira/browse/TAP5-832
How to I properly test a form submission to submit no value and to test
that the Hidden component throws an exception.
Shall I use a PageTester
Hi Borut,
It looks like the T5 page class also contain the tests.
You need to have separate classes for the page and for the tests. To test
components I create pages that I call demo pages (because they
demonstrate the component).
Also I would advise putting the test class in a different
I want to be able to occassionaly change my PageLink and/or DirectLink URL's
to reference a different servlet root so I can run them through a specific
Servlet Filter as needed
so if my tapestry app is configured at /foo/app, i'll sometimes want a Page
to load from /foo/bar
as well, any other
Have a look at the org.apache.tapestry5.IntegrationTests class in src/test/.
Uli
Sebastian Hennebrueder schrieb:
Hello,
Ulrich remind me to write a unit test for the patch I provided.
https://issues.apache.org/jira/browse/TAP5-832
How to I properly test a form submission to submit no value
Thanks Geoff, no can't see any major issues. Agree on the
initialization of roles in setupRender() since they really are used
for rendering only. Heavy use of lazy getter-based initialization has
gotten me into trouble before, but I may revisit my coding best
practice. And that's really the only
Hello, I have some doubts I can't solve about passing values between pages
and don't understand as I wish.Maybe you could help me.
1.-When I've got more than one onActivate() for a page with different kinds of
arguments, for example:
onActivate() { ...some_code_here... }
Em Wed, 02 Sep 2009 16:30:44 -0300, Martin Torre Castro
mad...@hotmail.com escreveu:
Hello, I have some doubts I can't solve about passing values
between pages and don't understand as I wish.Maybe you could help me.
Hi!
1.-When I've got more than one onActivate() for a page with
Am wondering about ways to support this scenario cleanly in T5, where
visual layout is very different per device but the page classes could be
quite similar (clearly this depends to a large extent on whether devices
have radically different page flows and layouts).
One obvious approach would
Em Wed, 02 Sep 2009 18:10:56 -0300, Alfie Kirkpatrick
alfie.kirkpatr...@ioko.com escreveu:
Am wondering about ways to support this scenario cleanly in T5, where
visual layout is very different per device but the page classes could be
quite similar (clearly this depends to a large extent on
Paul,
thanks VERY much for the explanations.
I refactored my code to almost match your recomendation (I did not put stuff
from src/main/resources into src/main/java). When running mvn clean test I
get:
FAILED: testElementIsOnPage
java.lang.RuntimeException: Request was not handled:
Thiago H. de Paula Figueiredo wrote:
Em Wed, 02 Sep 2009 18:10:56 -0300, Alfie Kirkpatrick
alfie.kirkpatr...@ioko.com escreveu:
Am wondering about ways to support this scenario cleanly in T5, where
visual layout is very different per device but the page classes could be
quite similar
On Wed, Sep 2, 2009 at 2:28 PM, Thiago H. de Paula
Figueiredothiag...@gmail.com wrote:
Em Wed, 02 Sep 2009 18:10:56 -0300, Alfie Kirkpatrick
alfie.kirkpatr...@ioko.com escreveu:
Am wondering about ways to support this scenario cleanly in T5, where
visual layout is very different per device but
Hi all,
First of all, i'm sorry if this as been asked befored, i googled it,
checked javadocs, guides, and some source code but i'm afraid i
couldn't find the answer.
I'm trying to load a select with the chenille kit onevent mixin, the
thing is, the value from the component from wich the event
Em Wed, 02 Sep 2009 19:36:40 -0300, Bruno Santos bitbet...@gmail.com
escreveu:
Hi all,
Hi!
First of all, i'm sorry if this as been asked befored, i googled it,
checked javadocs, guides, and some source code but i'm afraid i
couldn't find the answer.
Try the Nabble archive of this
My official line on this kind of thing is that supporting multiple
devices is really multiple applications. There's plenty of room for
sharing in terms of back end data and maybe some abstract base
classes, but a small device application (to be effective and liked)
needs to be more than just the
While I don't have a lot of experience in this I agree that different
devices have wildly different CSS and Javascript support and simple CSS
adaptation will rarely be enough, but a component could adapt its markup
for different devices in some scenarios.
I had the same thought amount a similar
On Wed, Sep 2, 2009 at 4:36 PM, Alfie
Kirkpatrickalfie.kirkpatr...@ioko.com wrote:
While I don't have a lot of experience in this I agree that different
devices have wildly different CSS and Javascript support and simple CSS
adaptation will rarely be enough, but a component could adapt its
Hi ! I'm developing a small CMS system, where -obviously- a user can
upload a file. I'm using T5 and I'm happy with it (by now I use
tapestry-ioc instead of spring)
My question is, has someone created a upload-component with progress
bar? Maybe not, but... some idea where I can start looking? If I
Em Wed, 02 Sep 2009 20:36:21 -0300, Alfie Kirkpatrick
alfie.kirkpatr...@ioko.com escreveu:
So I think T5 helps separate concerns and assists in building
multi-device apps (ie. it's a decent framework to do this in), but the
framework itself could do more if this becomes something many web
I'd go further - interfaces for the blind, for the hard of hearing -
these are still more clients. If the user experience is going to be
substantially altered, then you can convert from some meta-interface
and have everything automatically expressed, but that often requires
that the
42 matches
Mail list logo