Re: T5 first time loading very slow.

2008-07-01 Thread Tan [EMAIL PROTECTED]
thanks all. I'm using Apache Geronimo + tomcat. I don have Hibernate module. Regarding the profiling mentioned by Robert. I not really clear and totally no idea on it. May i have more information about that? Thank you. On Tue, Jul 1, 2008 at 2:27 PM, José Paumard <[EMAIL PROTECTED]> wrote: >

Re: T5components crash with mysql jdbc??

2008-07-01 Thread Tan [EMAIL PROTECTED]
thanks robert, I think due to i have add all the dependency for the t5components. and some will crash with mysql jdbc. once i have remove some unnecessary jar file. the program work perfectly :) On Tue, Jul 1, 2008 at 2:01 PM, Robert Zeigler <[EMAIL PROTECTED]> wrote: > That looks more like you

Grid cell with customized font color

2008-07-01 Thread vincent zhou
Hi, All, I'm using a Grid component to show an alarm table which requires display different font color based on severity level (a string parameter in data model). Any suggestions on how to customize grid cell's font color or background color? Thanks a lot, -victor

T5: Clearing BeanModel properties and adding them back

2008-07-01 Thread Andy Huhn
Hello, It seems that if I create a BeanModel using BeanModel toReturn = _beanModelSrc.create( MyObject.class, false, _cmpntRsrcs ); Things work as they should - I can then use the properties in the BeanModel, as I expect to. But, if I first clear all properties from the BeanModel, an

Why I can not save CSS file while my project is running?

2008-07-01 Thread Harford
Hello, everyone! Recently, I have a problem while I use Tapestry 5.0.13 to build a website. I use eclipse 3.3. When my project is running in the jetty, I can not modify my CSS files and save them. Every time I save these css files , the eclipse said :" Save could not be completed. Reason: could

Re: Why I can not save CSS file while my project is running?

2008-07-01 Thread Sven Homburg
read this http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows 2008/7/1 Harford <[EMAIL PROTECTED]>: > > Hello, everyone! > > Recently, I have a problem while I use Tapestry 5.0.13 to build a website. > > I use eclipse 3.3. When my project is running in the jetty, I can not > modify > m

Re: Why I can not save CSS file while my project is running?

2008-07-01 Thread Martin Strand
It's a Windows vs Jetty problem, but can easily be fixed: http://docs.codehaus.org/display/JETTY/Save+could+not+be+completed http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows Martin On Tue, 01 Jul 2008 14:14:36 +0200, Harford <[EMAIL PROTECTED]> wrote: > Hello, everyone! > > Recentl

OGNL in operator

2008-07-01 Thread Yohan Yudanara
Dear all, Could I use OGNL "in operator" (containment operator) in Tapestry? I'm trying to shorten this expression: into: but I got the following error: HiveMindExpressionCompiler.compileExpression(174) | Error generating OGNL getter for expression user.securityType in { "A", "B" } with root

Grid inplace is working. but table content no update even backend data changed.

2008-07-01 Thread Tan [EMAIL PROTECTED]
hi all, i have a real time data changing at the back end using tapestry grid inplace=true. is working for paging. it didn't refresh the whole page. but, when the data has changed. value that display on the grid didn't update/refresh. i understand that, this is because of ajax. it didn't reload t

Re: t5: BeanEditform and Timestamp

2008-07-01 Thread mister_bobby
I do exactly have the same problem (my data type name is type ) : Render queue error in BeginRender[Search:beaneditform.editor.propertyeditor]: Unable to locate a block to edit property 'type' (with data type 'type') of object [EMAIL PROTECTED]: Unable to resolve 'AppPropertyEditBlocks' to a kno

checkout T4 sources as Eclipse project(s)

2008-07-01 Thread Andy Pahne
I woul like to checkout T4 and use Eclipse to have a look at the sources. Unfortunatly I haven't ever worked with maven and modularized projects. How can I get started quickly? Thanks, Andy - To unsubscribe, e-mail: [EMAIL

Re: checkout T4 sources as Eclipse project(s)

2008-07-01 Thread Andreas Andreou
i use q4e http://code.google.com/p/q4e/ On Tue, Jul 1, 2008 at 4:44 PM, Andy Pahne <[EMAIL PROTECTED]> wrote: > > I woul like to checkout T4 and use Eclipse to have a look at the sources. > > Unfortunatly I haven't ever worked with maven and modularized projects. How > can I get started quickly? >

Re: t5: BeanEditform and Timestamp

2008-07-01 Thread Howard Lewis Ship
That looks like it can't find your AppPropertyEditBlocks class. What's the full package name? Have you verified that the .class file is present where it should be? On Tue, Jul 1, 2008 at 6:43 AM, mister_bobby <[EMAIL PROTECTED]> wrote: > > I do exactly have the same problem (my data type name is

Grid cell with customized font color

2008-07-01 Thread victor zhou
Hi, All, I'm using a Grid component to show an alarm table which requires display different font color based on severity level (a string parameter in data model). Any suggestions on how to customize grid cell's font color or background color? Thanks a lot, -victor

Custom Component Problem

2008-07-01 Thread Michał U
Hi, I am quite new to tapestry and I found a problem with custom component. How can I make parameters of my component persistent? When I reload the page I change value of page properties bound to those parameters. In my component I still habe same value as when the page have been loaded for the f

Re: Custom Component Problem

2008-07-01 Thread Sven Homburg
mark your parameters with @Persist like this: @Persist @Property private Long myParameter; @Component(parameters = {"value=myParameter"}) private MyCustomComponent blablub 2008/7/1 Michał U <[EMAIL PROTECTED]>: > > Hi, > > I am quite new to tapestry and I found a problem with custom component.

Re: [T5] Ajax request and expired session

2008-07-01 Thread Julian Wood
The response is empty because the session has expired, and objects carried in session (specifically security details stored by acegi), are not accessible anymore. So yes, it is easy just to check to see if they are there or not, and set the header appropriately. Thanks, J On 30-Jun-08, a

Re: Creating new components on the fly in T5 using AJAX/JSON

2008-07-01 Thread Denis McCarthy
Thanks for that - we'll hopefully get a chance to do a bit of experimentation on this over the next few days. 2008/7/1 Brian Lough <[EMAIL PROTECTED]>: > You can. Adding a contributer to BeanBlockSource for a given property will > allow you to "check" if it should be displayed, and if so, generat

Re: Loop Component

2008-07-01 Thread Peter Courcoux
Many thanks for your reply Sven. However, I think that I didn't explain the problem properly. If my, much simplified, java class is like this :- public class comp { //note getters/setters/annotations not shown private B valueItem; private List items = new ArrayList(); public Li

Re: Loop Component

2008-07-01 Thread Bill Holloway
Peter, make sure that the properties in your superclass are either annotated with @Property or have public getter and setter methods. Bill On Tue, Jul 1, 2008 at 11:43 AM, Peter Courcoux <[EMAIL PROTECTED]> wrote: > Many thanks for your reply Sven. > > However, I think that I didn't explain the p

Re: Loop Component

2008-07-01 Thread Peter Courcoux
Hi Bill, Thanks for your help. Yes all the public getters and setters are there. I just didn't show them to save space. I've been assuming that beans that are simply being iterated over do not themselves need any annotations, that the annotations are confined to the component/page classes.

t5: Problem with create component

2008-07-01 Thread mdmota
I create component with two parameters: AdressComp.html AdressComp.java @Parameter(required=true) private String person; @Parameter(required=true) private Adress adress; The attribute adress receives correct value, but the attribute person dont receives. Can anyone help me? -- View this mes

[T 4.1.5] client-side validation

2008-07-01 Thread Yohan Yudanara
Hi, I'm using tapestry 4.1.5. Why client-side validation doesn't work? There are 2 errors, which saying: "dojo is undefined" and "tapestry is undefined" When I click view source on Firefox, Tapestry adds these lines on the bottom section: