T5: Can Grid support custom label in UTF-8 encoding?

2008-03-24 Thread yuan gogo
I have UserList.java UserList.tml UserList.properties. In UserList I used a grid to show all registerd users and I'd like to custom the Grid header. So I defined some column titles in UserList.properties (of course, in Chinese and the file is UTF-8 encoding), but it can not be displayed correctly.

RE: T5: Problems with Tapestry5-Acegi

2008-03-24 Thread Jonathan Barker
5-Acegi-tp16266687p16267063.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >

RE: T5: Problems with Tapestry5-Acegi

2008-03-24 Thread Jacob Bergoo
Thanks Jonathan for your quick answer... accually I am Using T5, Spring 2.5.1, Hibernate 3.2 so I am looking for a solution where I can Use the Acegi for the security and using the @Secure annotation for pages/methos... I have seen another wiki page that shows on how to set up the Acegi to work wi

T5: current row as zone?

2008-03-24 Thread Angelo Chen
I have grid and an ActionLink is embedded, I'd like to specify a zone for the actionLink so that when it is clicked, the current row will be refreshed, is this possible? Thanks Send -- View this message in context: http://www.nabble.com/T5%3A-

RE: T5: Problems with Tapestry5-Acegi

2008-03-24 Thread Jonathan Barker
The Tapestry5-Acegi project is set up to use Hibernate (hence the Session). Tapestry-ioc is trying to inject the Session, but apparently you don't have a Session service available. Do you want to use a Hibernate-based DAO for authentication? Consider using the tapestry-hibernate package. Jonatha

T5: referring to default prototype.js

2008-03-24 Thread Angelo Chen
Hi, How to refer to the default prototype.js come with t5? i use this, not really t5's way: this works, but i have to duplicate the prototype.js. any idea? Thanks. A.C. -- View this message in context: http://www.nabble.com/T5%3A-referring-to-default-prototype.js-tp16266780p16266780.html S

T5: Problems with Tapestry5-Acegi

2008-03-24 Thread Jacob Bergoo
Hi All, I have a problem when I try to integrat the Tapestry5-Acegi project into my application. I copied the code from the example application from tapestry5=acegi projects website and when I tried to run it I got this exception: 20:44:55.150 INFO [main] org.springframework.web.context.Contex

Re: How is T5 tutorial?

2008-03-24 Thread Kevin Menard
Three weeks maybe. Shorter if someone helps with it. Longer if nobody does. Your best resource on any form related questions are the tests in Tapestry and this mailing list. -- Kevin On 3/24/08 12:27 PM, "osamuo" <[EMAIL PROTECTED]> wrote: > > How long do we have to wait for the completion

Re: T5: OutputRaw filtering?

2008-03-24 Thread Andy Huhn
Thank you, Filip! That was exactly what I needed! Andy On Sun, 2008-03-23 at 01:42 +0100, Filip S. Adamsen wrote: > You need to have an (X)HTML DOCTYPE somewhere in your page. > > See "Template Doctypes" at > http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/templates.html. > >

[t5] Validator question

2008-03-24 Thread Julian Wood
How can you get access to an arbitrary Field from inside a Validator, given its id? In t4 it was relatively easy to grab the form and from there grab a field. Thanks, J - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Select box and validation

2008-03-24 Thread Julian Wood
The situation is this: I have a select box in a form, and I want to make it required. This is simple enough, but the blank option disappears when the required validation is applied, client-side validation is not performed, and is indeed not needed, because there are no blank values. As a c

Re: T5: Tapestry-Hibernate and Hibernate validator

2008-03-24 Thread Howard Lewis Ship
Eventually, it would be nice if we could come up with a way to extract the validation meta data and use that to generate Tapestry validations. Maybe in 5.1. On Mon, Mar 24, 2008 at 9:37 AM, Josh Canfield <[EMAIL PROTECTED]> wrote: > Tapestry doesn't do anything with the hibernate Validators so you

Re: T5: Tapestry-Hibernate and Hibernate validator

2008-03-24 Thread Josh Canfield
Tapestry doesn't do anything with the hibernate Validators so you use them just like you would outside of a tapestry project. In tapestry you'd handle them the same way you do other constraint violoations. On Fri, Mar 21, 2008 at 3:38 PM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > Hi Josh, > > Any

How is T5 tutorial?

2008-03-24 Thread osamuo
How long do we have to wait for the completion of T5 tutorial: Chapter 5: Forms in Tapestry? Thanks. -- View this message in context: http://www.nabble.com/How-is-T5-tutorial--tp16255566p16255566.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: Problem with Script file (Migration from Tapestry 4.0.2 to 4.1.5 )

2008-03-24 Thread Damian Krzeminski
Sumanth Dupuguntla wrote: Hi all, I'm using a script component , which was working fine with tapestry 4.0.2, when I changed the jar files (Tapesrtry 4.1.5 jars( tapestry-annotations-4.1.5.jar , tapestry-contrib-4.1.5.jar, tapestry-framework-4.1.5.jar, tapestry-portlet-4.1.5.jar and ognl-2.7.2.j

Standard J2EE security on Tapestry

2008-03-24 Thread Abar42
I use T5. I have to use standard J2EE security (not ACEGI): roles, security-constraints defined in web.xml, login form like But T5 is described as filter in the web.xml, not as servlet and there is no 'security-role-ref' element for filter! How can I map my applicaton role names to serv

How to identify - What is a TROLL, what a troll does

2008-03-24 Thread adasal
Don't know if this is helpful. I have been wondering how people know if someone is trolling. I have been reading through recent mailings using Mark Mail, which I find very precise for filtering by search. I have found three main things. First of all it is not always known, but this may not be as de

Re: T5: LayoutCmpnt and inherit: prefix

2008-03-24 Thread Howard Lewis Ship
disabled="inherit:readOnly" That says "inherit the disabled parameter from the containing component's readOnly parameter". There is no containing component parameter, because the containg of the AddUpdateLayoutCmpnt is the page, which doesn't have parameters, just properties. So strip out "inher

Problem with Script file (Migration from Tapestry 4.0.2 to 4.1.5 )

2008-03-24 Thread Sumanth Dupuguntla
Hi all, I'm using a script component , which was working fine with tapestry 4.0.2, when I changed the jar files (Tapesrtry 4.1.5 jars( tapestry-annotations-4.1.5.jar , tapestry-contrib-4.1.5.jar, tapestry-framework-4.1.5.jar, tapestry-portlet-4.1.5.jar and ognl-2.7.2.jar) I'm getting null pointer

Re: Please help me in migration of Tapestry 4.0.2 to 4.1.5

2008-03-24 Thread rohan.kalyan
I did change the getter and setter methods to return and set List instead of ArrayList and it worked. thanks a lot for replying. Steve Shucker wrote: > > I suspect you have an accessor hardcoded to get/set a > java.util.ArrayList. java.util.Arrays$ArrayList implements List but > does not ext

Re: Client side validation and IE

2008-03-24 Thread kranga
T5 uses Prototype and Scriptaculous for client side validation/ajax stuff. Our experience with Prototype and Scriptaculous has not been that great, especially when it comes to upgrading versions. Is there any way to disable the use of those libraries and/or the use of a different library (JQuery

Re: Migration of Tapestry 4.0.2 to 4.1.5. Please help!!!

2008-03-24 Thread Alejandro Scandroli
Hi Rohan Like Steve said in a previous email about this same subject (http://article.gmane.org/gmane.comp.java.tapestry.user/59751), it's likely that you have an accessor hardcoded to get/set a java.util.ArrayList. Taking a closer look at your exception I guess the issue is in the "statusList" ac

Re: t5: extending Tapestry.js and ValidationMessages.properites

2008-03-24 Thread Chris Lewis
1) This has been talked about on the wiki I think, and I believe you can add your own properties file with the same name and package, within your own application structure. I believe that doing so will append your messages to the core file (or override ones you override). 2) Sure, just add your ow