Tapestry looks for a label in your message catalog, if none is found it uses
name() to automatically create a proper label.
toString() is not used.
To fix your problem, put this in the message catalog (YourPage.properties):
oms = OMS
payment = Payment
On Thu, 09 Jul 2009 08:28:18 +0200, Baldu
Hi Paul,
I hope you won't mind if I pick your brain a little more. I may be having an
issue again with transitive dependencies.
I have now written a suite of tests using JUnit 4, Mockito (thanks for this
tip! ...VERY happy with it) and Testify, it all works great in eclipse but the
tests won'
Hi all.
I have a somewhat complex form ( a big form with 2 form fragments inside
), like
The page is loaded via an onActivation call ( it's an Edit object page
), and the checkboxes gets filled the information provided from the object.
If the boolean properties of
Hi again.
It looks like this problem is firefox related ( 3.0.x / 3.5 ) , both
windows and ubuntu .. in internet explorer works !
Hi all.
I have a somewhat complex form ( a big form with 2 form fragments
inside ), like
The page is loaded via an onActivation call
Thanks for getting back to me. I can see difference but it still feels a bit
odd.
I would expect anything declared inside a loop not to persist between
iterations. But thanks for explaining it to me, I can ensure that my
components have the relevant cleanup methods.
On Wed, Jul 8, 2009 at 6:26 PM
I've created a JIRA issue for what I think are flaws in T5's script
combination. I'm very interested in what other think about the issue, so please
take a look and make any comments you have.
Thanks,
Andy.
And the link?
- Original Message -
From: "Andy Blower"
To: "Tapestry users"
Sent: Thursday, 9 July, 2009 14:44:16 GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject: Tapestry script combination flaws
I've created a JIRA issue for what I think are flaws in T5's script
combination.
Yes, oops. It would be helpful wouldn't it:
https://issues.apache.org/jira/browse/TAP5-769
Thanks Peter.
> -Original Message-
> From: Peter Stavrinides [mailto:p.stavrini...@albourne.com]
> Sent: 09 July 2009 12:47
> To: Tapestry users
> Subject: Re: Tapestry script combination flaws
>
Hi Andy,
+ 1
I think you made a good case, if indeed Tapestry has to re-download core
resources for every page.
Kind regards,
Peter
- Original Message -
From: "Andy Blower"
To: "Tapestry users"
Sent: Thursday, 9 July, 2009 14:54:17 GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subje
On Thu, Jul 9, 2009 at 4:15 AM, Martin
Strand wrote:
> To fix your problem, put this in the message catalog (YourPage.properties):
You can also put them in the global message catalog (app.properties).
> oms = OMS
> payment = Payment
You can also use Team.oms (the class name before the enum value
Hi Peter,
> I suspect that Testify is sourcing in JUnit 3.8.1 and TestNG and
> trying to run my tests with those, and as I have no reference to
> either in my project I am guessing they come fro Testify... take a
> look at this debug output:
You might find it useful to use the Maven "depende
I recently struggled with the same issue and in the end implemented a cookie
persist strategy similar to the one on the tapestry wiki. I've since
concluded that cookie persist strategies are far from ideal.
It would be great if tapestry could accommodate non-redirects on form errors
so persistent
Hi Paul,
Thanks for the reply!
>I know Surefire does some interesting things around picking how to run the
>tests. Have you got an explicit JUnit 4 depenency in your pom? Also make
>sure you aren't using any TestNG specific things in your Surefire config
>(such as suiteXmlFiles).
Yes, JUnit 4.
I have a page with a grid in a form and a checkbox per row in the grid.
The checkbox is bound to a property in the page which backs off to a
hash set, like so:
// TODO: not sure why this works - should not be persisted between
requests!
private HashSet selectedSet=new HashSet();
Hi!
I'm using BeanDisplay to view objects that have a List
property, "emails". At first, BeanDisplay doesn't show this property,
as expected. Then I add t:add="emails" and a . BeanDisplay shows two rows for emails: one with a
label and a blank value (the emails property is not null nor empty)
and
The mutable object, an instance of HashSet, has become the default
value for the field and the selectedSet property is reset to it at the
end of each request. What you should do:
private Set selectedSet;
void onPrepare()
{
selectedSet = new HashSet();
}|
Prepare is a form event t
Hi Peter,
> Okay, here is my tree:
>
> [INFO] [dependency:tree]
> [INFO] com.albourne.web:webframework:jar:5.11-SNAPSHOT
> [INFO] +- com.formos.tapestry:tapestry-testify:jar:1.0.0-SNAPSHOT:test
> [INFO] | \- org.apache.tapestry:tapestry-test:jar:5.1.0.5:test
> [INFO] | \- org.testng:testng:j
I'm sorry for posting a dumb question . . . :-(
BeanDisplay works as intended. I added the property label in the
override block (), but BeanDisplay overrides just override the
property display, not its label, so I got it twice. (facepalm)
--
Thiago
--
Great stuff, thanks so much for following up Paul, will let you know if it
works.
Cheers
Peter
- Original Message -
From: "Paul Field"
To: "Tapestry users"
Cc: "Tapestry users"
Sent: Thursday, 9 July, 2009 17:46:46 GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject: Re: [Announc
And that workaround fixed it!
So I can confirm Testify works perfectly with JUnit 4.
Thanks again,
Peter
- Original Message -
From: "Peter Stavrinides"
To: "Tapestry users"
Sent: Thursday, 9 July, 2009 17:53:25 GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject: Re: [Announce] T
Not sure who depends on those files.. but they do not exist in those
repositories..
http://mvnrepository.com/artifact/javassist/javassist
that's why it keep trying and trying to download them, but is never
successful. Since it's only a pom file, I suppose it doesn't break the
build... i gues
Hi,
after some hours of reading articles, tutorials & doc around tapestry5
i'm now really excited.
After some painful experiences with JSF & MyFaces, GWT, WingS and, of
course, plain JSP stuff, i'm
searching for the really right one for my current project.
The problem is that i have to buil
One of the main distinguishing features of Tapestry is that you don't need
workarounds to solve certain problems. Implementing dynamic forms is a pain
when using other frameworks. Please have a look into the following
Tapestry's integration test:
http://svn.apache.org/repos/asf/tapestry/tapestry5/
Thiago H. de Paula Figueiredo wrote:
> On Tue, Jul 7, 2009 at 12:15 PM, shymon wrote:
>
>> I have message with parameter which I replace using messages.format method.
>> I also create link object with createEventLink() and element using Element
>> class.
>> It almost works, but link created this
Just a few finding while doing SEO for a t5 app:
1. activation context and Index pages
The root Index page of the t5 webapp catches a lot of requests that
otherwise would have been a 404.
(already discussed on the list).
For our website that means: there are many pages in the google index
By overriding internal services (and a bit of cut-n-paste) you can
accomplish this kind of thing.
I hope to make it easier in Tapestry 5.2 by splitting a few bigger
services into smaller ones, to isolate the little bit of logic that
needs to be overridden.
Further discussion to the user mailing l
Good points. There are two conflicting demands from the community:
First, that everything should work, and work well (and fast) out of
the box. Second, that everything be customizable.
When resolving such conflicts, I will tend to favor the first (work
and work well with no configuration) over th
Hi,
from here (
http://www.nabble.com/-T5.0.18--Bug--:-Null-property-problem-with-the-custom-component-inside-a-grid-to22006082.html#a22021616
)
In fact, if you look at the rendered URL you'll see that every time
the Image component rendered, it rendered the same URL.
Yes, it's always the same
28 matches
Mail list logo