Questions about T5 html markup generated

2008-05-13 Thread Joe Chen
Hi, I've noticed some quirks about the html generated by T5, and I was wondering how I could go about changes these things. I would appreciate it if someone could point out how to fix these things. 1) When using t:body/, an additional attribute xmlns= http://www.w3.org/1999/xhtml; is added to

Errors with @InjectState after upgrading to T4.1.2

2007-05-01 Thread Joe Chen
Hi, I'm seeing some strange errors with the @InjectState after upgrading from T4.0 to T4.1.2. The problem shows up only in Tomcat 5.5. In our code, we have a component that declares: @InjectState(playerInfo) public abstract HashMap getPlayerInfo(); The code was working fine for months under

Re: Errors with @InjectState after upgrading to T4.1.2

2007-05-01 Thread Joe Chen
Kuhnert [EMAIL PROTECTED] wrote: I'm not sure, there seems to be some missing information. I find it hard to believe that having a single @InjectState method alone would cause that error. Where are you messing with the data that was injected? On 5/1/07, Joe Chen [EMAIL PROTECTED] wrote: Some

Question on overriding T41 client-side validation

2007-01-04 Thread Joe Chen
Hi all, I'd like to override the default client-side validation behavior in T41 to be more like the implementation in Tacos (or the validation examples in the Dojo toolkit). The client side dojo Dialog widget that pops up isn't a good default in certain situations. For instance, we are using a

How to execute javascript from EventListener (T4.1)

2006-09-24 Thread Joe Chen
Does anybody have an example of how to execute javascript from an EventListener in Tapestry 4.1? I'd like to implement the Dialog from tacos in T4.1 and also implement some of the tacos effects before updating a component. For instance, In tacos, in order to hide the dialog, a listener would