Re: Memory issues with Tapestry 4.1.x

2007-09-07 Thread mraible
I was able to fix the OOM issue in Tapestry by bumping up the memory for Maven by just a bit. For example, it'll fail no matter what I set JAVA_OPTS to, but if I change MAVEN_OPTS from "" to " -- View this message in context: http://www.nabble.com/Memory-issues-with-Tapestry-4.1.x-tf4387514.html

Re: Context.xml

2007-09-07 Thread Nick Westgate
Please reply to your original thread if you solve your problem. Because we care but are busy, and don't want to write unnecessary emails. ;-) Cheers, Nick. Jean-Philippe Steinmetz wrote: Thanks for the response. I actually was able to solve my own problem after some very lengthy troubleshooti

Re: Input Validation example

2007-09-07 Thread Nick Westgate
[ERROR] Login Embedded component(s) form are defined within component class edu.usc.k12.cpanel.pages.Login, but are not present in the component template. Yeah, there is a small bug in the template error reporting. is a component of type "Form" that is assigned a default id, and that's the sam

Re: Comment about Tapestry's growth

2007-09-07 Thread Jesse Kuhnert
Geez those guys are such ass clowns. I wonder what the average kind of shop is that employs JSF engineers anyways? A factory of internal one off app developers? (not that internal apps are bad) Searching on dice.com shows lots of "eh" employers for JSF while under Tapestry I see fun looking

RE: Context.xml

2007-09-07 Thread Jean-Philippe Steinmetz
Thanks for the response. I actually was able to solve my own problem after some very lengthy troubleshooting. I'm using Tomcat as my web server so context.xml is what it uses for resource definitions. Anyway, I was missing mysql-connector and commons-jdbc jars from my war package. Jean-Philippe >

RE: Context.xml

2007-09-07 Thread Fidel Chavarria
Hi, What is context.xml... Are you using Spring ? What framework are you using to access your database ? you need to post more explicit details ... Jean-Philippe Steinmetz-2 wrote: > > Btw I'm using tapestry 5. > >> -Original Message- >> From: Jean-Philippe Steinmetz [mai

Re: [ANN] Tacos 4.1.0 release

2007-09-07 Thread Shing Hing Man
I have deployed the Tacos Demo 4.1.1 on my server at http://lombok.demon.co.uk/tacosDemo41/app Shing --- andyhot <[EMAIL PROTECTED]> wrote: > I should grab this opportunity in order to also > thank Shing Hing Man for > his contributions... > > Thx Shing! > > Martino Piccinato wrote: > > It

Re: Comment about Tapestry's growth

2007-09-07 Thread Filip S. Adamsen
If you take a closer look at the comments you'll see that JSF isn't all that hot after all, and the way the author came up with the numbers is questionable at best, so there's really nothing to see here. -Filip kranga skrev: http://www.javalobby.org/java/forums/t101110.html Tapestry, despite

RE: Comment about Tapestry's growth

2007-09-07 Thread Mark Stang
Or if you want to get anything done, you need A LOT of programmers. Mark J. Stang Software Engineer office: +1 303.468.2900 Ping Identity -Original Message- From: kranga [mailto:[EMAIL PROTECTED] Sent: Fri 9/7/2007 2:14 PM To: Tapestry users Subject: Comment about Tapestry's growth ht

Comment about Tapestry's growth

2007-09-07 Thread kranga
http://www.javalobby.org/java/forums/t101110.html Tapestry, despite being a strong competitor to JSF, has gone virtually no where. once it is experienced its initial growth spurt after being released. It's basically flat. Unlike the Ruby on Rails vs. Spring data, the data at dice.com seems to

Re: [info] Tapestry >= 4.1.2 memory issues potentially fixed in latest 4.1.3-SNAPSHOT

2007-09-07 Thread Renat Zubairov
Thanks Jesse! Solution of this bug was a clear sign for us to switch to the latests Tapestry version. Would be very nice to have a new release ASAP that we can use it in production. Renat On 07/09/2007, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > Short version: > > Some users have brought up wha

Re: [ANN] Tacos 4.1.0 release

2007-09-07 Thread andyhot
I should grab this opportunity in order to also thank Shing Hing Man for his contributions... Thx Shing! Martino Piccinato wrote: It's working perfectly. Thanks again for tacos, I think tapestry isn't really complete without it. The new DojoWidget component is great :-) On 9/6/07, Igor Drobi

I couldn't get updated value of AutoCompleter

2007-09-07 Thread Owais
I tried following code.. when i get onChaneCountry Listener Invoked i get values J instead of Japan. any help... Thnx -- View this message in context: http://www.nabble.com/I-couldn%27t-get-updated-value-of-AutoCompleter-tf4403134.html#a12561184 Sent from the Tapestry - User mailing list

Re: autocompleter can not use EventListener

2007-09-07 Thread Owais
Owais wrote: > > I am trying samething. But my EventListener is invoked. I used following > code. > > < span jwcid="[EMAIL PROTECTED]:AjaxEventSubmit" > updateComponents="ognl:{'tempDiv'}" > effects="template:{highlight:{any:'[255,255,184], 500, 500'}}" > listener="listener:onChaneCountry" /> >

Re: autocompleter can not use EventListener

2007-09-07 Thread Owais
I am trying samething. But my EventListener is invoked. I used following code. flyabovesun wrote: > > I try bind one EventLister to an autocomplter. But it does not work. How > could I listen onblur or onfocus for autocompleter? > Thanks a lot > > -- > Haipeng Du > Software Engineer >

Re: [info] Tapestry >= 4.1.2 memory issues potentially fixed in latest 4.1.3-SNAPSHOT

2007-09-07 Thread andyhot
That's an awesome bug report... thx for all the hard work Jesse. P.S. I thought you were supposed to be on vacation! Jesse Kuhnert wrote: Short version: Some users have brought up what appears to be a genuine memory consumption bug in the new OGNL expression compiling integration with Tapestry

Re: [ANN] Tacos 4.1.0 release

2007-09-07 Thread Martino Piccinato
It's working perfectly. Thanks again for tacos, I think tapestry isn't really complete without it. The new DojoWidget component is great :-) On 9/6/07, Igor Drobiazko <[EMAIL PROTECTED]> wrote: > On 9/6/07, Martino Piccinato <[EMAIL PROTECTED]> wrote: > > > > > > have you tested DojoWidget with m

[info] Tapestry >= 4.1.2 memory issues potentially fixed in latest 4.1.3-SNAPSHOT

2007-09-07 Thread Jesse Kuhnert
Short version: Some users have brought up what appears to be a genuine memory consumption bug in the new OGNL expression compiling integration with Tapestry. The good news is that we think(hope) it has now been addressed and fixed and would urge anyone experiencing any abnormally high memory usa

Re: Input Validation example

2007-09-07 Thread Filip S. Adamsen
if(!userExists) return new Login(); This probably doesn't work because returning a page instance usually assumes it being injected via @InjectPage. Jean-Philippe Steinmetz skrev: Yea I've double checked the code a few times. For whatever reason I can get the form to show up now but I'm still

RE: Input Validation example

2007-09-07 Thread Jean-Philippe Steinmetz
Yea I've double checked the code a few times. For whatever reason I can get the form to show up now but I'm still seeing the following message in the tomcat stdout log. [ERROR] Login Embedded component(s) form are defined within component class edu.usc.k12.cpanel.pages.Login, but are not present i

Re: [T5] New HowTo: Adding a messageformat binding prefix

2007-09-07 Thread Nick Westgate
Nice! Cheers, Nick. Filip S. Adamsen wrote: http://wiki.apache.org/tapestry/Tapestry5HowToAddMessageFormatBindingPrefix describes how to add a messageformat prefix that allows you to do this: ${messageformat:key,value1,value2} or this: in your templates. It uses org.apache.tapestry.

[T5] New HowTo: Adding a messageformat binding prefix

2007-09-07 Thread Filip S. Adamsen
http://wiki.apache.org/tapestry/Tapestry5HowToAddMessageFormatBindingPrefix describes how to add a messageformat prefix that allows you to do this: ${messageformat:key,value1,value2} or this: in your templates. It uses org.apache.tapestry.ioc.Messages#format with the given key and valu

Re: Memory issues with Tapestry 4.1.x

2007-09-07 Thread mraible
I was able to fix the "can't Ctrl+C mvn jetty:run" issue in AppFuse Light by upgrading to Tapestry 4.1.2. The other issue still remains. I guess I'll pull out my profiler. Thanks, Matt mraible wrote: > > If you have MySQL installed, there's a couple demos you should be able to > use: > > ht

Re: T5: How to bind composite class' field(like sale.product.price) in page template

2007-09-07 Thread Howard Lewis Ship
Here's the deal. 1) I always recommend that you provide an explicit t:id for form fields, rather than let Tapestry assign the id. In fact, I recommend assigning an t:id to all non-trivial components. 2) Often, but far from always, you would end up using the same string in a TextField for t:id and

Re: T5: How to bind composite class' field(like sale.product.price) in page template

2007-09-07 Thread smithfox
I do more test based you simple. Yes, a nested class also work. As you said: It's not tapestry issue. Your code is: [Page.java] private BznsPojo pojo= new BznsPojo(); My code is: [Page.java] private BznsPojo pojo; @BeginRender void beginRender(){ pojo = createNewPojo(); } private BznsPojo c

Re: T5: How to bind composite class' field(like sale.product.price) in page template

2007-09-07 Thread Filip S. Adamsen
I did a test, and it worked. Can you show me more of your source code? It might be some non-Tapestry issue. smithfox skrev: Thank your very much. I test your code. It can pass. But my case is different with yours. Your business object is a simple POJO class. But if you add another business c

Re: T5: How to bind composite class' field(like sale.product.price) in page template

2007-09-07 Thread smithfox
Thank your very much. I test your code. It can pass. But my case is different with yours. Your business object is a simple POJO class. But if you add another business class to the simple POJO class as a field, the tapestry doesn't recognise it. "sale.date" can pass, But "sale.product.price" can

Re: T5: How to bind composite class' field(like sale.product.price) in page template

2007-09-07 Thread Filip S. Adamsen
Login.java: public class Login { // Credentials is a simple POJO with two // properties, username and password private Credentials credentials = new Credentials(); /* lots of other stuff */ } Login.html: [header stuff] [footer stuff] Renders as (minus the v

Re: T5: How to bind composite class' field(like sale.product.price) in page template

2007-09-07 Thread smithfox
I'm sure that I have getter and setter for price. Could you show me your code. Thanks Filip S. Adamsen-2 wrote: > > Make sure you've declared a getter and setter for price in your Product > class. The output you're seeing is expected and works for me in a > similar case. > > smithfox skrev:

Re: tapestry components and applets

2007-09-07 Thread Filip S. Adamsen
Tapestry doesn't manage your applet's lifecycle - the browser does. Have you checked if start()/stop() are being called on subsequent requests instead of init()? Jamie Counihan skrev: Hi there, I'm having a few problems with creating a component that contains an applet in tapestry 4.1.2. I

Re: T5: How to bind composite class' field(like sale.product.price) in page template

2007-09-07 Thread Filip S. Adamsen
Make sure you've declared a getter and setter for price in your Product class. The output you're seeing is expected and works for me in a similar case. smithfox skrev: Yes, I tried earlier After render, the html is : Obviously, when i submit, occur exception beacuse my page class has

[T5] Validator JavaScript problem with clientValidation=false

2007-09-07 Thread Christian Koeberl
Hello! Has anybody ever tried to set "clientValidation=false" in a form with validators? The T5 validators still generate the validation JavaScript but the form does not inlude the required JS-libs. This leads to an JS error on the client side. This script is generated with clientValidation=fa

Cedric Brajus est absent(e).

2007-09-07 Thread cedric . brajus
Je serai absent(e) à partir du 07/09/2007 de retour le 08/09/2007. I'm not available. In urgent matters please contact Michel Cardon : [EMAIL PROTECTED]