is there any eclipse plugin for tapestry4.1

2008-11-05 Thread Muralidhar Y
Hi friends is there any eclipse plugin for tapeatry 4.1. if so where can I get it? Warm regards, Muralidhar Y [EMAIL PROTECTED] US Main: 877 KENSIUM (536.7486) India Main: +91 9949495511 India Fax: +91 9949495522 Kensium 200 S Wacker Dr, Suite 3100 Chicago, IL 60606 Confide

Re: Template customisation depending on certain parameters

2008-11-05 Thread Edouard sur edouardmercier.fr
Hello Carl. I do not have much experience on the subject, but I'm facing the same problem. At the moment, if use statements depending on the server agent, which works, because I only need to support a few smart phone models, but which be difficult to maintain as soon as new devices come in line.

RE: problem with validators

2008-11-05 Thread Muralidhar Y
Hi I found the solution. In form component I have to use "success" instead of " listener" thank you so much. But If you add this in the documentation (in user guide under input validation) It will be more helpful. Thanking you so much. Warm regards, Muralidhar Y [EMAIL PROTECTED] US Main: 877 K

RE: Tapestry 5 and ServletContext

2008-11-05 Thread Muralidhar Y
I am not sure of T5 but you can use ASO with global scope. In this way the ASO will store in the servlet context. That might solve your problem. Warm regards, Muralidhar Y [EMAIL PROTECTED] US Main: 877 KENSIUM (536.7486) India Main: +91 9949495511 India Fax: +91 9949495522 Kensium 200 S Wack

RE: problem with validators

2008-11-05 Thread Muralidhar Y
Hi The following is my html:- Guess the Word Guess the Word User Name User Name

Tapestry 5 and ServletContext

2008-11-05 Thread Tuan
Hi all, I am new comer to tapestry. I am joining a project require using servlet context. I read emails from tapestry-user mail archive. Some info I get is that T5 dev planned to support it. So I want to know that T5 whether support servlet context in ApplicationState (beside the session in d

RE: [T5] upload component validate issue

2008-11-05 Thread Henry Chen
Great! Problem solved. For some weird reason, maven didn't want to update the core file from today. I had to download the file manually... -Original Message- From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2008 6:53 PM To: Tapestry users; [EMAIL PROTECTED]

Re: [T5] upload component validate issue

2008-11-05 Thread Howard Lewis Ship
Make sure you have refreshed from Maven, *all* the Tapestry JARs. Looks like you are using the latest tapestry-upload.jar with a slightly out-of-date tapestry-core.jar. You're seeing changes I made yesterday. On Wed, Nov 5, 2008 at 4:42 PM, Henry Chen <[EMAIL PROTECTED]> wrote: > I found my code

[T5] upload component validate issue

2008-11-05 Thread Henry Chen
I found my code was broken today where I have "". This worked well before but not any more. After I added validate="require" it worked again. Is this a bug? Below is the error: java.lang.NoSuchMethodError org.apache.tapestry5.services.ComponentDefaultProvider.defaultValidatorBindi ng(L

Re: [T5] using annotations in an separated JAR

2008-11-05 Thread Lucas Silva
My mistake! I realize that my ejb-jar(JPA entity) was using an annotation that its JAR was inside of WAR. I should put tapestry5-annotations.jar in the jboss/server/default/lib so I did then it worked !! Lucas On Wed, Nov 5, 2008 at 10:08 AM, Lucas Silva <[EMAIL PROTECTED]> wrote: > Hi, > I spe

Template customisation depending on certain parameters

2008-11-05 Thread Carl Crowder
Hi all, I'm about to start work on a project for which the clients will mainly be mobile phones. It's just a simple message board; the server side code will be straightfoward enough. The main issue with mobile phone browsers, though, is that every one of them is different and has its own set of d

Re: Why would you use a web framework?

2008-11-05 Thread Daniel Jue
Also consider the "Hit by a bus" factor. We recently had this issue come up at my company, although it was a metaphorical bus. Do not expect the people designing your app now to be around in the future or even 6 months from now. So pick something that is maintainable and can be picked up by a jun

Setting Cookies

2008-11-05 Thread Keith Bottner
I am attempting to set a cookie for a user; however, it does not seem to be retained by the browser. I have tried all 3 major browsers. Here is the relevant code: @Inject private Cookies cookies; private void setCookies() { String value = "test"; cookies.writeCookieValue(Constants.COOKIE_

Re: onActivate() called twice when document.write is called in Javascript

2008-11-05 Thread Howard Lewis Ship
The first step to diagnosing problems with onActivate() is to check the web log and see what URLs are coming in, and deduce why. On Wed, Nov 5, 2008 at 6:45 AM, Thiago H. de Paula Figueiredo <[EMAIL PROTECTED]> wrote: > Em Wed, 05 Nov 2008 10:16:52 -0300, Robert Vojta <[EMAIL PROTECTED]> > escreve

Re: T5: @ApplicationState is misleading - voters wanted!

2008-11-05 Thread Howard Lewis Ship
I don't see this as a "last chance" ... we can define a new annotation with a better name and deprecate @ApplicationState, but still support it indefinitely. I'm trying to stick to the absolutely essential work to get a release out; bad naming is ugly but workable. On Wed, Nov 5, 2008 at 9:59 AM,

Re: AppPropertyBlocks & @PageAttached

2008-11-05 Thread Howard Lewis Ship
I would address this using component parameters to tell the components where they can obtain those resources from. Perhaps there's a ResourcesProvider interface that a page could implement. The default for the parameter could be "componentResources.page", which would provide the containing page,

[t5] nested radiogroups?

2008-11-05 Thread Lutz Hühnken
Hi, is it possible (in 5.0.15) to have a radiogroup within a radiogroup? In the Tapestry 4.1 docs, it says quite clearly "RadioGroup components may not nest. ", but there is no such warning on the T5 RadioGroup page. Regards, Lutz ---

Re: Why would you use a web framework?

2008-11-05 Thread Howard Lewis Ship
I think you have a handle on the problem. It's all about productivity and the ability to generate results quickly. Sounds like you have a few people pushing the "not invented here" doctrine. What you have with a framework, such as Tapestry, is a lot of institutional knowledge realized as code. Th

Re: T5: @ApplicationState is misleading - voters wanted!

2008-11-05 Thread Daniel Jue
Good Suggestion for ApplicationSessionObject. I usually don't like it when such a commonly used feature is changed this "late" in the game. My suggestion would be to have the old annotation deprecated for a while, with the new Annotation in place. Furthermore, if a new annotation for Application

Re: Why would you use a web framework?

2008-11-05 Thread César Lesc
One tip... go to ohloh and show them how much cost to build your own framework and ask if they are willing to invest such amount of money. http://www.ohloh.net/projects/4017 regards. César. - To unsubscribe, e-mail: [EMAIL PROT

Why would you use a web framework?

2008-11-05 Thread devilabit
I apologize in advance if this is a little off topic. I recently started work for a new company and they are looking at moving some of their desktop apps to web apps. I have been tasked with investigating how we would go about this. The web app in question will need a rich interface but I woul

Re: T5: @ApplicationState is misleading - voters wanted!

2008-11-05 Thread César Lesc
I think we must support both @ApplicationStateObject and the new annotation, but i suggest not to change de acronym ASO because is so widely used that would break a lot of useful searchs and is a common lingo in tapestry, so the new annotation may be @ApplicationSessionObject. César.

RE: problem with validators

2008-11-05 Thread Jonathan Barker
Please include the portion of the HTML that includes the Form. Please include your page class code... at least any form-related methods, but preferably the whole file. Jonathan > -Original Message- > From: Muralidhar Y [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 05, 2008 03

Re: [ANN] JumpStart 3.17 is out - with editable loops

2008-11-05 Thread Ulrich Stärk
As it's relying on the EJB3 API (the JPA, precisely), a Java EE container is necessary (although I think only a few changes are necessary to make it work with Spring). Uli Stephane Decleire schrieb: Hi, Is Jumpstart glued to JBoss or can i use it with Tomcat alone ? Stephane Geoff Callende

Re: [ANN] JumpStart 3.17 is out - with editable loops

2008-11-05 Thread Stephane Decleire
Hi, Is Jumpstart glued to JBoss or can i use it with Tomcat alone ? Stephane Geoff Callender a écrit : Hi all, JumpStart 3.17 is now available. Lots of people have been asking for Editable Loops and Encoders, so that's the big thing in this release. In addition, Event Bubbling and Editable

[T5] using annotations in an separated JAR

2008-11-05 Thread Lucas Silva
Hi, I spent yesterday looking for a solution and I did not find. So, I have this tree in a WAR package: | | | `-- epcsato | | | |-- components | | | | `-- TEsteaAcs.class | | | |-- pages | | | | |-- Index.cl

T5 - how to efficently highlight one selected row in a grid

2008-11-05 Thread mdes
Dear all, I simply want to highlight one row in a grid component when the user click on one action link in that line. is it a good idea trying to use the rowClass attribute? Can you suggest me the best way to do it? -- View this message in context: http://www.nabble.com/T5---how-to-efficentl

AppPropertyBlocks & @PageAttached

2008-11-05 Thread José Paumard
Hello all, I just came across a problem that really puts me into trouble. I have a page that holds some components. Those components need to access some resources bound to each page, initialized on the @PageAttached event. Those resources are closed on the @PageDetached event. To access thos

Re: onActivate() called twice when document.write is called in Javascript

2008-11-05 Thread Thiago H. de Paula Figueiredo
Em Wed, 05 Nov 2008 10:16:52 -0300, Robert Vojta <[EMAIL PROTECTED]> escreveu: onActivate() is called twice on my page when I have following Javascript code included. When I remove document.write() call, onActivate() is called once. Any idea how can I solve this? Just make sure that every

Re: T5: @ApplicationState is misleading - voters wanted!

2008-11-05 Thread Peter Stavrinides
+1 for changing this... it should be @StateObject or @UserStateObject or something else (Application implies an application wide scope rather than user session scoped) a real gotcha for newbies! - Original Message - From: "Geoff Callender" <[EMAIL PROTECTED]> To: "Tapestry users" Sent:

Re: Best practice for onActivate and onPassivate without persistence

2008-11-05 Thread Peter Stavrinides
thanks guys! - Original Message - From: "Geoff Callender" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Wednesday, 5 November, 2008 2:52:35 PM GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Best practice for onActivate and onPassivate without persistence http://jumpstart.

T5: @ApplicationState is misleading - voters wanted!

2008-11-05 Thread Geoff Callender
With the final version Tap 5.0 fast approaching, this may be the last chance to address issues of confusing terminology. If you feel that the term @ApplicationState is misleading - that is, if you have ever felt that @ApplicationState implies a field will become shared between all users in

onActivate() called twice when document.write is called in Javascript

2008-11-05 Thread Robert Vojta
Hi all, onActivate() is called twice on my page when I have following Javascript code included. When I remove document.write() call, onActivate() is called once. Any idea how can I solve this? Sample.tml ... ... styleloader.js function loadBrowserStyle() { ... handling routines, where sp

Re: Best practice for onActivate and onPassivate without persistence

2008-11-05 Thread Geoff Callender
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/state/passingdatabetweenpages1 http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/navigation/onactivateandonpassivate/3 On 06/11/2008, at 12:15 AM, Thiago H. de Paula Figueiredo wrote: Em Wed, 05 Nov 2008 04:56:21 -0300,

Re: Best practice for onActivate and onPassivate without persistence

2008-11-05 Thread Thiago H. de Paula Figueiredo
Em Wed, 05 Nov 2008 04:56:21 -0300, Peter Stavrinides <[EMAIL PROTECTED]> escreveu: Thanks Thiago, its good to know its not using serialization, but the question remains, how does onPassivate retain those values? I doesn't. onPassivate returns the activation context for that page. This co

even tried with deligate

2008-11-05 Thread Muralidhar Y
Hi friends, This is the extension of my earlier mail. I have used deligate also in the form like the following and I have configured the beans in the page like the following still there is no luck. kindly help me. Thanking you all. Warm regards, Muralidhar Y [EMAIL PR

problem with validators

2008-11-05 Thread Muralidhar Y
Hi friends, I am working on tapestry4.1. I have problem with validators. In the html file I have done the following User Name After I kept the validator required also I am able to move to the nextpage with empty username. The username field is empty still when I click on submi