Tapestry automatically assigns unique id to every object in the page. it is
created something along the lines of id underscore number (id, id_0, id_1,
id_2). However, if the event handler that handles the actionlink click
should receive the actionId then it should be the context.
context="item.act
Using the @Property annotation will make Tapestry add getters and
setters for this property during class transformation that will override
your supplied ones. Leave out the @Property annotation and specify your
own getters and setters and you should be fine.
Uli
inyokoyoko-deve...@yahoo.co.jp
Hi All,
I am using a lot of the Chenille Kit components to build my applications and
they are great! But i am having a lot of issues with them when i try to use
them inside of a Zone.
If i position a Chenille Component (so far this has happened with Window,
Slider, Rating) inside a zone i get a ja
Hi,
I have already known a solution.
It seems to be a bug.
Don't you think so?
osamuo
Using the @Property annotation will make Tapestry add getters and
setters for this property during class transformation that will override
your supplied ones. Leave out the @Property annotation and specif
No, it's not. This is expected behaviour.
Uli
inyokoyoko-deve...@yahoo.co.jp schrieb:
Hi,
I have already known a solution.
It seems to be a bug.
Don't you think so?
osamuo
Using the @Property annotation will make Tapestry add getters and
setters for this property during class transforma
Hi,
I use the code at end of this message to strip the Jsessionid, it works very
well, however it started to have error when I call this in my T5 app:
Session session = request.getSession(false);
if (session != null) {
session.invalidate();
}
cookies.rem
2009/1/22 scott russell
>
> Hi all,
>
> I have just started with Tapestry 5 (having previously used versions 3 and
> 4), and have found that while I like the new client-side validation bubbles,
> they are very distracting and annoying when they appear for every focus
> change between form fields.
On Mon, Feb 23, 2009 at 11:47 AM, Juan E. Maya wrote:
> Hi All,
> I am using a lot of the Chenille Kit components to build my applications and
> they are great! But i am having a lot of issues with them when i try to use
> them inside of a Zone.
>
> If i position a Chenille Component (so far this
Oh i am sorry :) i didnt' know there was a mailing list! Great! thanks
On Mon, Feb 23, 2009 at 2:57 PM, Massimo Lusetti wrote:
> On Mon, Feb 23, 2009 at 11:47 AM, Juan E. Maya
> wrote:
>
> > Hi All,
> > I am using a lot of the Chenille Kit components to build my applications
> and
> > they are
Just in cas someone wanted to know, our relay team in India found a
solution
adding javassist.runtime.Desc.useContextClassLoader = true in AppModule
did the trick.
/**
* This module is automatically included as part of the Tapestry IoC
Registry, it's a good place to
* configure and extend Tapes
I haven't tested this behavior, but I would consider it a bug for two
reasons:
1) write = false is specified for @Property. So tapestry really
shouldn't be creating any setters for this property during the class
transformation.
2) From Osamuo's text, it sounds like that if you don't have
@
I suspect that setName() isn't being called because the input destined
for the property fails validation.
On Mon, Feb 23, 2009 at 8:35 AM, Robert Zeigler wrote:
> I haven't tested this behavior, but I would consider it a bug for two
> reasons:
> 1) write = false is specified for @Property. So ta
I set up a fresh application from the maven quickstart archetype and added
the sample code posted earlier by osamuo. I also added one sysout to see if
the setter is called.
I cannot confirm that the setter isn't called when @Validate( "required") is
added to the property and you type at least one
Any chance the PageTester's contributeApplicationDefaults() issues (...
should use FactoryDefaults instead of ApplicationDefaults...) will be fixed
in 5.1.0.0-GA?
thanks
- alex
Howard Lewis Ship wrote:
>
> Thanks for the input; I definitely changed a few things in PageTester
> to simplify the
Hello All,
I search a solution to launch an http error (500) when tapestry throw an
Exception. I have found documentation on how to override tapestry
Exception ... but that launch a "200 OK"
have you a solution ?
--
Thomas Clavier http://www.tcweb.org
Argia Engineering
I rather meant @Property adding getters and setters in general.
And like Markus, this is working fine for me (just tested it with 5.0.18).
page class:
@Property(write=false)
@Validate("required")
private String foo;
public void setFoo(String foo)
{
this.foo = foo;
System.out.println("s
Never tested it but you should be able to inject Response, call response.setStatus(500) and
response.sendRedirect(Link/String).
Uli
Thomas Clavier schrieb:
Hello All,
I search a solution to launch an http error (500) when tapestry throw an
Exception. I have found documentation on how to o
Oh yes; 5.1.0.0 is just an alpha release (that hasn't even been fully
voted up yet). I hope to address glaring bugs in it in a follow on
release in a couple of weeks, and progress quickly to a final release.
Thanks for checking it out so early!
On Mon, Feb 23, 2009 at 10:13 AM, alex_yt_cheung
wr
Hi!
I've found some tutorials for AJAX in Tapestry, but there all about action
event, fired form actionlink component.
My questions is how to define custom events, i.e.. when some is
dropped.
Thanks!
I would like to know what's the "best" way to manage optional parameters
in the tml template ?
For example, if i have to write a tag like :
or
based on the value of a property.
In one hand, i would rather avoid tags in the template but in the
other hand, something simple like validate="${myval
Thanks Alex. Are you using Tapestry 5.1?
Cheers,
Levi
akochnev wrote:
>
> I had tested my app on Glassfish v. 2 and v. 3 prelude and didn't have any
> issues.
>
> Cheers,
>
> Alex K
>
--
View this message in context:
http://n2.nabble.com/-T5.1--Running-on-Glassfish--tp2362542p2374812.h
Hi Howard,
Does Tapestry set any of these system properties:
javax.xml.stream.XMLEventFactory
javax.xml.stream.XMLInputFactory
javax.xml.stream.XMLOutputFactory
and if so, to what values?
Thanks,
Levi
Howard Lewis Ship wrote:
>
> 5.1 parses templates using the Woodstock STaX parser ... and
I've found that the "inherit:" parameter binding makes quite a good job
in this case !
Stephane
Stephane Decleire a écrit :
> I would like to know what's the "best" way to manage optional parameters
> in the tml template ?
>
> For example, if i have to write a tag like :
> validate="required" />
I'm implementing my user interface tests using selenium and the provided
AbstractIntegrationTestSuite class. Everything is working fine.
Still, i'd like to replace my DAO services implementation with some mock
ones when i run the tests. The problem is that the services are declared in
the applicat
Hi,
I'd like to render multiple elements within the same grid row.
Searching this mailing list seems to come up with a combination of
subclassing Grid and GridRows (i.e.
http://tapestry.markmail.org/search/?q=override+gridrows#query:override%20gridrows+page:1+mid:ztjjoksxggnbkstv+state:results_)
Using the t:beandisplay I noticed a subtle bug?
Normally, empty fields get a label on the left and a on the right.
This keeps the spacing correct.
E.g., my Hibernate Entity has two java.util.Date classes, createdOn and
modifiedOn.
When I display the Entity via t:beandisplay, the outer brown ba
What I do is, for test, to create a new application module almost the same as
the one used in production, and then replace
with mock dao if necessary. So the mock dao can be put in the test sources.
Thanks!
DH
- Original Message -
From: "Hugo Palma"
To: "Tapestry users"
Sent: Tuesd
On Sun, Feb 22, 2009 at 8:17 PM, Luther Baker wrote:
> I have written an application property block (per the BeanEditForm tutorial)
> for a custom type. Is there a ideal event in the block component when I can
> assign the property to the PropertyEditContext?
You don't assign values to PropertyEd
On Sun, Feb 22, 2009 at 6:48 PM, Luther Baker wrote:
> Now, I'd like to add @Validate("required") to this entity - only it isn't
> having any effect.
I guess it only works for types Tapestry know how to handle
(DefaultDataTypeAnalyzer, DataTypeAnalyzer). Maybe this could be
expanded to handle any
One thing I've done is to create a test module that @SubModule's the
application module, and then uses alias/alias overrides to spot-
override services from the sub-module (the application module) with
test-specific services. Works pretty well.
Robert
On Feb 23, 2009, at 2/236:06 PM , Hugo
Hello,
The event method of ActionLink seems to be called twice.
Is this expected behavior?
If yes, is there any way to let the event method to be called only once?
osamuo
--
View this message in context:
http://www.nabble.com/-T5.0.18--event-method-of-actionlink-was-called-twice-tp22176003p22
31 matches
Mail list logo