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

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

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

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 return any

Re: how to refresh only div 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:

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

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 users@tapestry.apache.org An users@tapestry.apache.org Kopie Thema form validation recorderror problem

Re: form validation recorderror problem

2008-07-04 Thread Harish Kudriyal
To display the message you need to place t:error inside t:form 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

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

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!

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.

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

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

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

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 using

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: button t:type=t5components/Button type=button t:event=clickDo something/button with Object onClick() { return

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. button t:type=t5components/Button type=button t:event=abortAbort/button See http://87.193.218.134:8080/t5c-demo/buttonpage . Get t5c-commons and

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 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

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

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;