Re: Grid cell with customized font color

2008-07-04 Thread victor zhou
Geoff, Thanks for your suggestion. It worked out well for me. I'm using severity level as a string value in the cell. I defined css class as the same name as severity level so I skipped getSeverityLevelClass method. Example: In css file: div.Critical{ color: red; } div.Major{ color: orange; }

Re: [T5] Rendering a button for a t:eventlink

2008-07-04 Thread Martijn Brinkers (List)
Initially I used a submit button for the cancel button. But, that is problematic when you use client side validation because it's not (yet) AFAIK possible to disable client side validation. That's why I tried to use a link to 'escape' from the page. Perhaps a combination of sumbit button and link w

Re: [T5] Rendering a button for a t:eventlink

2008-07-04 Thread Geoff Callender
Agreed. For anyone who's wondering if this is a Tapestry limitation, I'm pretty sure the answer is no. The limitation is IE. If anyone knows how to write plain HTML to make a hyperlink look like a button, or to make a button behave like a hyperlink, then please chime in! The tricky bit i

can we use zone and block for grid with inplace=true?

2008-07-04 Thread Tan Min Hong
hi, can we use zone and block for grid with inplace enabled? because data in grid need to refresh without refreshing the whole page. is there any way to do it? ajaxformloop is not really much documentation. any other way? Thank you MH

Re: [T5] Rendering a button for a t:eventlink

2008-07-04 Thread Martijn Brinkers (List)
On Sat, 2008-07-05 at 10:03 +1000, Geoff Callender wrote: > Ouch, the button displays correctly in IE7 but it just don't respond. > In that case I think we're left with the Button component at > t5components: > > Do > something That's what I finally did as well and that's working. T

Re: Form event order issues

2008-07-04 Thread Geoff Callender
Sorry but the technique I posted for an Abort button doesn't work in IE7. However, the Buttons component from t5components does work. t:event="abort">Abort See http://87.193.218.134:8080/t5c-demo/buttonpage . Get t5c-commons and t5c-contrib jars from http://code.google.com/p/tapestry5-compo

Re: [T5] Rendering a button for a t:eventlink

2008-07-04 Thread Geoff Callender
Ouch, the button displays correctly in IE7 but it just don't respond. In that case I think we're left with the Button component at t5components: Do something with Object onClick() { return _page2; } See http://87.193.218.134:8080/t5c-demo/buttonpage . G

Re: [T5] Handling an event from an embedded component

2008-07-04 Thread Stephane Decleire
Isn't it the purpose of EventLink ? Stephane Thiago H. de Paula Figueiredo a écrit : Em Fri, 04 Jul 2008 13:42:58 -0300, Thiago H. de Paula Figueiredo <[EMAIL PROTECTED]> escreveu: Say I have a List page. Inside it, I have an ActionLinks component. Inside ActionLinks, I have an ActionLink wi

Re: T4.1.* - Frustration with the Tapestry Maven Example

2008-07-04 Thread Andreas Andreou
a JIRA would help here - esp. if it contains such details (i.e. possible date the problem was introduced) and/or the simplest way to reproduce it On Fri, Jul 4, 2008 at 9:08 PM, Richard Clark <[EMAIL PROTECTED]> wrote: > It would also help to mention that EventListener support is broken > when usi

Re: T4.1.* - Frustration with the Tapestry Maven Example

2008-07-04 Thread Richard Clark
It would also help to mention that EventListener support is broken when using the 4.1.6-SNAPSHOT archetype. (Apparently, EventListener has been broken since at least May in 4.1.6-SNAPSHOT, per an earlier post on this list.) Better yet, how about fixing it? ...Richard (who just wasted several hour

Re: [T5] Rendering a button for a t:eventlink

2008-07-04 Thread Martijn Brinkers (List)
I have tried this as well but it doesn't seemt to be working with IE7 (it does with FF2 though). I have tried to replace by but that does not work either. Is there another way to get a button that just links to another page? Martijn On Sat, 2008-07-05 at 00:03 +1000, Geoff Callender wrote: >

Re: [T5] Handling an event from an embedded component

2008-07-04 Thread Thiago H. de Paula Figueiredo
Em Fri, 04 Jul 2008 13:42:58 -0300, Thiago H. de Paula Figueiredo <[EMAIL PROTECTED]> escreveu: Say I have a List page. Inside it, I have an ActionLinks component. Inside ActionLinks, I have an ActionLink with t:id remove. How, in the List page, can I handle the action event from the remove

[T5] Handling an event from an embedded component

2008-07-04 Thread Thiago H. de Paula Figueiredo
Say I have a List page. Inside it, I have an ActionLinks component. Inside ActionLinks, I have an ActionLink with t:id remove. How, in the List page, can I handle the action event from the remove ActionLink? In other words, how can I handle events from a given component embedded in another

[T5] Looped component question

2008-07-04 Thread José Paumard
Hello all, I'm using a "component in a loop" T5 feature, that looks like this : encoder="encoder" index="index"> t:value="message:enter-search" t:mixins="autocomplete"/> It works very nicely, T5 creates a list of such textfields, w

Re: [T4.1.5] RadioGroup EventListener doesn't work

2008-07-04 Thread Christophe Mesplede
Hi. I experienced the exact same problem trying to use the RadioGroup Ajax behaviour. As you did, I also tried the sample code from the documentation, it did not work. Finally, I gave up the Ajax way, and added a looot of stuff in javascript to make some kind of workaround, but with no server inte

Using the Autocompleter

2008-07-04 Thread Andy Pahne
I am trying to implement a form that uses the Autocompleter component http://tapestry.apache.org/tapestry4.1/components/dojo/autocompleter.html I had a look at the TimeTracker demo application. It already works, but I have one requirement that's differnet from the way the demo is implemente

what is the max data size of post request for jetty 5.1.2??

2008-07-04 Thread Oliver Lee
hi,every one who have ever used jetty 5.1.2? i want know the max post data size of it,who can tell me? thank you!! Oliver Lee 2008-07-04

Re: [T5] Rendering a button for a t:eventlink

2008-07-04 Thread Geoff Callender
Try with Object onClick() { return _page2; } Geoff On 04/07/2008, at 11:46 PM, Rene A wrote: Hi Serge, i tried what you suggested, it works fine with FireFox 2.0. But when i try it on IE 7.06, it doesn't work ! Have you an

Re: T5.0.13 - Oracle10gDialect class not found

2008-07-04 Thread Patrick Moriarty
Found https://issues.apache.org/jira/browse/TAPESTRY-2428 which would seem to explain it. On 04/07/2008, Patrick Moriarty <[EMAIL PROTECTED]> wrote: > > Well, > > It looks like the tapestry-hibernate pom.xml was changed and > provided was removed from the hibernate dependency. Which > suddenly br

Re: [T5] Rendering a button for a t:eventlink

2008-07-04 Thread Rene A
Hi Serge, i tried what you suggested, it works fine with FireFox 2.0. But when i try it on IE 7.06, it doesn't work ! Have you any idea why ? Best regards Rene SergeEby wrote: > > Hi, > > Try this: > > in your template: > > . > > value="Cl

Any component / client id

2008-07-04 Thread Sven Homburg
do i interpret the any component docs wrong,? the doc says: "The desired client id, which defaults to the components id. " but the default client id never be rendered. -- with regards Sven Homburg http://tapestry5-components.googlecode.com http://chenillekit.googlecode.com

Re: can we inject grid using @inject ?

2008-07-04 Thread Sven Homburg
I really want recommend you to read the documentation first and then ask the newsgroup or consult a specialist for an inhouse training 2008/7/4 Tan [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > hi , > > can we inject grid component using @inject? > Thank you. > > Regards, > Cyber > > --

Re: [T4.1.5] RadioGroup EventListener doesn't work

2008-07-04 Thread Gerold Glaser
Hi! I am using the @EventListener Annotation for the RadioGroup Component and it works fine. The difference is that I register the listener not on the RadioGroup, but on the single Radio Component. In addition to "onchange" I register the events "onclick" and "onkeyup", due to different behaviour

can we inject grid using @inject ?

2008-07-04 Thread Tan [EMAIL PROTECTED]
hi , can we inject grid component using @inject? Thank you. Regards, Cyber - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [T4.1.5] RadioGroup EventListener doesn't work

2008-07-04 Thread Christophe Mesplede
Hi. I've been experiencing the exact same problem trying to use the RadioGroup Ajax behaviour. As you did, I also tried the sample code from the documentation, it did not work. Finally, I gave up the Ajax way, and added a looot of stuff in javascript to make some kind of workaround, but with no se

Re: T5.0.13 - Oracle10gDialect class not found

2008-07-04 Thread Patrick Moriarty
Well, It looks like the tapestry-hibernate pom.xml was changed and provided was removed from the hibernate dependency. Which suddenly brought in 3.2.2.ga which of course doesn't include the Oracle10gDialect. Is this a mistake? Explicitly excluding org.hibernate hibernate solved the problem. I

Re: Form event order issues

2008-07-04 Thread Geoff Callender
I'm assuming Abort can ignore what you've typed into the form, in which case the more common technique is to use a link component instead of a submit. That way you bypass the validators. You can style a link to look like the submit button easily enough if that's what you'd like, eg.

T5.0.13 - Oracle10gDialect class not found

2008-07-04 Thread Patrick Moriarty
Hi, After switching to 5.0.13, I can't start my Tapestry + Spring [2.5.4] + Hibernate [3.2.6.ga] application with any oracle dialect other than Oracle9Dialect, which is now deprecated. Funny enough, the deprecation warning, present when using 5.0.12 with Oracle9Dialect, is no longer showing! Any

Form event order issues

2008-07-04 Thread Udo Abel
Hi, I think the order of events during form submission should be described in a state diagram or so, otherwise you cannot know when to do what. I found out that the onValidate event is fired before any button select event. That means, in onValidateForm you don't know whether the user pressed "

Re: form validation recorderror problem

2008-07-04 Thread Harish Kudriyal
Oooops!! sorry it was Harish Kudriyal wrote: > > To display the message you need to place inside > component. > > Harish > > > Udo Abel wrote: >> >> Hi, >> >> when I call the method >> form.recordError(field, message) >> in onValidateForm(), the field is highlighted but the message i

Re: form validation recorderror problem

2008-07-04 Thread Harish Kudriyal
To display the message you need to place inside component. Harish Udo Abel wrote: > > Hi, > > when I call the method > form.recordError(field, message) > in onValidateForm(), the field is highlighted but the message is not > displayed (and not in the html anywhere). > > Anything else that

Antwort: form validation recorderror problem

2008-07-04 Thread Kristian Marinkovic
use the Errors component to display the error messages please see documentation for more details g, kris "Udo Abel" <[EMAIL PROTECTED]> 04.07.2008 11:41 Bitte antworten an "Tapestry users" An Kopie Thema form validation recorderror problem Hi, when I call the method form.recordE

form validation recorderror problem

2008-07-04 Thread Udo Abel
Hi, when I call the method form.recordError(field, message) in onValidateForm(), the field is highlighted but the message is not displayed (and not in the html anywhere). Anything else that need to be done here? Thanks, Udo. -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Intere

Re: how to refresh only in tapestry 5?

2008-07-04 Thread Filip S. Adamsen
Hi, You're looking for the Zone component. It's described here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/ajax.html http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html -Filip On 2008-07-04 02:45, Tan [EMAIL PROTECTED] wrote: D

Re: server hangs with parallel requests

2008-07-04 Thread Sven Homburg
i had a similar problem after updating my environment to linux/java-1.6.0_6/jetty-6.1.11 it works for me 2008/7/4 Udo Abel <[EMAIL PROTECTED]>: > Hi, > > I have a page with 4 iframes loading 4 different pages from a tapestry 5 > application. > > In 2 of 3 cases, th server hangs and does not retu

server hangs with parallel requests

2008-07-04 Thread Udo Abel
Hi, I have a page with 4 iframes loading 4 different pages from a tapestry 5 application. In 2 of 3 cases, th server hangs and does not return any page. When I first load 1 page, subsequent loading of the 4-page frame succeeds. Is there a possible synchronization problem? The stacks of the for

RE: After using Tapestry 5.0.13 Javascript(.js) files loads after loading content causing problem when use the functions written in .js files within content

2008-07-04 Thread Kristian Marinkovic
please read: http://tapestry-user.markmail.org/search/?q=javascript#query:javascript%20order%3Adate-backward+page:2+mid:cufkwcxepsfzqsqi+state:results and/org http://tapestry-user.markmail.org/search/?q=javascript#query:javascript%20order%3Adate-backward+page:3+mid:o26tiyw5xm4rmecs+state:results

After using Tapestry 5.0.13 Javascript(.js) files loads after loading content causing problem when use the functions written in .js files within content

2008-07-04 Thread Harish Kudriyal
Hi, I have updated Tapestry 5.0.13 version beacause of which I am facing javascript issues. I have written some function(for example 'fun1' ) in zzz.js files and including this using annotation @IncludeJavaScriptLibrary on the page MyPage.java. Within the page content in 'MyPage.tml' I am u