Re: datefield - no option to cancel?

2011-05-26 Thread antalk
Hi, Interesting stuff. I've been working with the datefield on 2 projects and stumbled on these issues also. The fact is that i've taken a copy of the javascript and modified it to fix these 2 issues. So i have already a datefield.js that is working and fixes issues 1408 and 1409. I could post th

Re: NullPointerException when using Palette

2011-05-26 Thread michael pe
problem resolved I implement equals in a wrong way -- View this message in context: http://tapestry.1045711.n5.nabble.com/NullPointerException-when-using-Palette-tp4430840p4430966.html Sent from the Tapestry - User mailing list archive at Nabble.com.

How to ignore @Cache annotation while calling a method?

2011-05-26 Thread Ashutosh Dash
How to ignore @Cache annotation while calling a method? Actually I have method say "method1()" with @Cache annotated. and this method is calling from diffrent area from my application. My requirement is that, while this "method1()" will call from only "method2()", the @cache annotation should ig

Re: Tapestry 4 - Need help in Select option

2011-05-26 Thread NewUser
Problem resolved :) Thank you everyone for being there :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-4-Need-help-in-Select-option-tp4414916p4430917.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: NullPointerException when using Palette

2011-05-26 Thread michael pe
GenericSelectModel is initialised like this if (types == null) { types = new GenericSelectModel(typeManager.findAll(), //findAll() returns List Type.class, EntityDisplay.getColumn(Type.class),

NullPointerException when using Palette

2011-05-26 Thread michael pe
Palette NPE I try to use Palette, but always get a NPE when set the its selected property. I have already tried to override equals, hashCode, toString, but still have this exception. Anyone have any clue what I might be doing wrong? Thanks! Caused by: java.lang.NullPointerException at or

Re: White Background on Zone Update

2011-05-26 Thread jackkurosaki
Ah thanks. I had put the update="show" on the event instead of the zone. Now it works. Thank you! Jack -Original Message- From: "Bob Harner" Sent: Thursday, May 26, 2011 8:06pm To: "Tapestry users" Subject: Re: White Background on Zone Update Jack, I'm not seeing this happen mysel

Re: White Background on Zone Update

2011-05-26 Thread Bob Harner
Jack, I'm not seeing this happen myself in the test case I made (ok, IE flashes a little, but FF & Chrome work fine). Have you tried changing setting the zone's "update" parameter to "show"? test http://aleheads.files.wordpress.com/2011/04/free_beer_poster.jpg)"> ... On Thu, May

Re: T5: property expression language intelligence

2011-05-26 Thread Adam Zimowski
No prob. I'll just hire intern monkeys to do all that unnecessary typing for me :-) Just kidding. Thanks for your feedback. On Thu, May 26, 2011 at 9:44 AM, Thiago H. de Paula Figueiredo wrote: > On Thu, 26 May 2011 11:06:44 -0300, Geoff Callender > wrote: > >> -1 for me. I can see it causing i

White Background on Zone Update

2011-05-26 Thread jackkurosaki
I have a zone on a page that has a image in the background. Whenever I update the zone, the background behind the zone switches to white. Is there an easy way to update a zone while allowing the background image to remain the same? Jack ---

Re: T5 Locale problem

2011-05-26 Thread Josh Canfield
Are you sure tapestry/jetty has anything to do with it? Can you write a straight java (no webapp/jetty) unit test that loads the file? On Thu, May 26, 2011 at 1:32 PM, atcach wrote: > Furthermore, if I open the .xml from an hex editor, I only see the < sign, > not the BOM for any encoding. >

Re: T5 Locale problem

2011-05-26 Thread atcach
Furthermore, if I open the .xml from an hex editor, I only see the < sign, not the BOM for any encoding. : 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 .http://tapestry.1045711.n5.nabble.com/T5-Locale-problem-tp4428763p4429973.html Sent from the Tapestry - User mailing list archive at

Re: T5 Locale problem

2011-05-26 Thread atcach
The problem is that it is unpacked (a pentaho report is a zip file with many xml's inside) by the system (running in jetty in linux with utf-8), because if I unzip it and get the encoding of the xml's I see them ok. But I think is reencoding them in the middle or something like that. Could it be t

Re: Ordered MappedConfiguration

2011-05-26 Thread Kalle Korhonen
Let me ask again in more simple terms - is it currently possible to access the contribution element ids of an OrderedConfiguration in a service? Looking through the code but you probably know the answer right off the bat. Kalle On Thu, May 26, 2011 at 12:08 AM, Kalle Korhonen wrote: > On Wed, M

Re: T5 Locale problem

2011-05-26 Thread Josh Canfield
> The prolog is everything that comes before the wrote: >> My guess of a locale problem is that Caused by: >> org.xml.sax.SAXParseException: Content is not allowed in prolog. is usually >> because the " > The prolog is everything that comes before the at the xml and you can't see anything before

Re: T5 Locale problem

2011-05-26 Thread Josh Canfield
> My guess of a locale problem is that Caused by: > org.xml.sax.SAXParseException: Content is not allowed in prolog. is usually > because the " wrote: > Hi, > I'm struggling reading a Pentaho Report. > The report is mainly a jar file with xml's inside. > If I compile it from outside tapestry it wor

Re: T5: property expression language intelligence

2011-05-26 Thread Thiago H. de Paula Figueiredo
On Thu, 26 May 2011 11:06:44 -0300, Geoff Callender wrote: -1 for me. I can see it causing immense confusion in normal maintenance work esp. when refactoring. -1 to me. The less to understand, the better. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate c

T5 Locale problem

2011-05-26 Thread atcach
Hi, I'm struggling reading a Pentaho Report. The report is mainly a jar file with xml's inside. If I compile it from outside tapestry it works ok. But in my T5 project, I'm getting: org.pentaho.reporting.libraries.resourceloader.ResourceCreationException: Unable to parse the document: ResourceKey{s

Re: T5: property expression language intelligence

2011-05-26 Thread Lenny Primak
Exactly the same can be said for URL de-duping. On May 26, 2011, at 10:06 AM, Geoff Callender wrote: > -1 for me. I can see it causing immense confusion in normal maintenance work > esp. when refactoring. > > Geoff > > On 26/05/2011, at 8:26 AM, Bob Harner wrote: > >> Seems like unnecess

Re: A new T5 site! www.bookmarkerpro.com

2011-05-26 Thread David Canteros
Thanks! I'm working with Tapestry about a year ago and I agree that it is a very nice framework, but my collegues are not pretty convinced of that and prefer traditional frameworks. This real sites help a lot, it should be more shown in tapestry main website or in the wiki. I'm from Argentina. Bes

Re: T5: property expression language intelligence

2011-05-26 Thread Geoff Callender
-1 for me. I can see it causing immense confusion in normal maintenance work esp. when refactoring. Geoff On 26/05/2011, at 8:26 AM, Bob Harner wrote: > Seems like unnecessary complexity to me. > > Bob Harner > On May 25, 2011 5:51 PM, "Adam Zimowski" wrote: >> Guys - it is interesting to see

Re: Rendering components from a mixin?

2011-05-26 Thread Thiago H. de Paula Figueiredo
On Wed, 25 May 2011 22:10:02 -0300, wkm wrote: Ah, thanks. :) Although it looks like you can do something vaguely related by returning a RenderCommand from, eg, startRender()? A RenderCommand is not a component but yes, you can return one in any render event phase listener and get it r

Re: Actionlink + action

2011-05-26 Thread degressor
Thank you very much, ael! I works! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Actionlink-action-tp4426703p4427908.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscrib

Re: loops, zones and encoders

2011-05-26 Thread Alexander Rosemann
The (imo) odd behaviour I encounter is that the loop encoder gets executed ie. 10 times and *after* that the setter method of the textarea gets called. I would expect the encoder gets called for textarea1 and then *immediately* after, the textarea-setter. This works if I remove the surroundin

Re: Ordered MappedConfiguration

2011-05-26 Thread Kalle Korhonen
On Wed, May 25, 2011 at 10:30 PM, Howard Lewis Ship wrote: > Or, alternately, could you build your map from the ordered List?  I > really think that having a single structure be ordered and keyed and > expecting IoC to make sense of that is going to open up a can of > ambiguities and that's i