Re: Tapestry 5.3-beta-9

2011-09-16 Thread Steve Eynon
Hi Howard, Just to say I've not been able to replicate the lock-up I had with beta-8 when working with beta-9. Steve. On 17 September 2011 08:09, Howard Lewis Ship wrote: > I've just uploaded 5.3-beta-9.  This corrects (hopefully) the deadlock > problems in beta-8, and adds a few minor fixes be

Re: Datefield update causes PageAttached TAP 5.2.6

2011-09-16 Thread Steve Eynon
I'm not sure you can, for when you use the calendar selector, it makes an ajax call back to the page component for parsing and formatting. Of course, this means attaching a page to find the component! From the DateField docs: * One wierd aspect here is that, because client-side JavaScript formatt

Datefield update causes PageAttached TAP 5.2.6

2011-09-16 Thread Koka Kiknadze
I have noticed that pageattached is called each time I change value in DateField using calendar selector but not if I manually type in the value. What is the purpose of such behaviour and how can I avoid calling pageattached ? TIA Nicholoz TAP 5.2.6

Re: dereferencing

2011-09-16 Thread Steve Eynon
This is a good question (if I understood you correctly!) for it often confuses people. A good rule of thumb (and the short answer) is never use ${expressions} in ="attributes", only use them to print out text in your HTML. The longer answer involves understanding what's going on; you'll see you d

dereferencing

2011-09-16 Thread Ken in Nashua
Hi All, Under what conditions would I operate the ${} for a property... or not... Just trying to understand the scope and range of when to de-reference a property. I look at tml code and sometimes I see properties referenced directly and other times with ${...} Thanks for any clarification.

Tapestry 5.3-beta-9

2011-09-16 Thread Howard Lewis Ship
I've just uploaded 5.3-beta-9. This corrects (hopefully) the deadlock problems in beta-8, and adds a few minor fixes beyond that. -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive

Re: PageRenderLinkTransformer, SessionState and InjectPage

2011-09-16 Thread Thiago H. de Paula Figueiredo
On Fri, 16 Sep 2011 17:14:58 -0300, Dimitri wrote: Hi all, Hi! I m using the new PageRenderLinkTransformer thing, very helpful but, in the decodePageRenderRequest i would like to set up some things for others pages. I can do it either by injecting page and call the appropriate method

PageRenderLinkTransformer, SessionState and InjectPage

2011-09-16 Thread Dimitri
Hi all, I m using the new PageRenderLinkTransformer thing, very helpful but, in the decodePageRenderRequest i would like to set up some things for others pages. I can do it either by injecting page and call the appropriate methods one those, or use a session state object. Unfortunately, the Sessi

Re: Free Tapestry Laptop Stickers

2011-09-16 Thread Michael Gentry
Looks like they can be used on non-laptops, too ... :-) mrg On Thu, Sep 15, 2011 at 6:20 PM, Howard Lewis Ship wrote: > I just got in the second batch of Tapestry laptop stickers.  Do you > want one?  They're free --- all I ask is that you share your Tapestry > story (or tell me not too).  Detai

Re: Alert box

2011-09-16 Thread Bob Harner
That was a cut-and-paste from the component registry app I'm working on (which I'm calling Unicorn). Otherwise it would have taken forever to find all those. There are something like 275 components in the database now. Need to get the darn thing done. On Fri, Sep 16, 2011 at 1:26 PM, Kalle Korhone

Re: Alert box

2011-09-16 Thread Kalle Korhonen
10 points to Bob for a rather exhaustive answer! Kalle On Fri, Sep 16, 2011 at 3:41 AM, Bob Harner wrote: > There are a number of modal dialog components & mixins: > > Confirm, from Lombok, a JavaScript "confirm" pop-up prompt, > implemented as a mixin that you can attach to a PageLink or Actio

Re: Grid "overrides" question

2011-09-16 Thread cqasker
Hmm...so publishParameters in the container component? I'll give that a shot later today. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Grid-overrides-question-tp4807689p4811311.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

RE: outputting expression logic

2011-09-16 Thread Ken in Nashua
Thanks Thiago... logically it makes sense... just trying to avoid code bloat in the java module and going for the short cut drill into the object at the tml level. I do think moving the logic to java will prompt the developer to make things more reasonably understandable by working in realisti

Re: outputting expression logic

2011-09-16 Thread Thiago H. de Paula Figueiredo
On Thu, 15 Sep 2011 23:53:18 -0300, Ken in Nashua wrote: I guess I am asking for an ognl engine... to do these calculations within tml files Are you really sure you want to have logic in your template and make it look like JSP (which sucks), as Steve said? Mixing output generation and

Re: Alert box

2011-09-16 Thread Bob Harner
There are a number of modal dialog components & mixins: Confirm, from Lombok, a JavaScript "confirm" pop-up prompt, implemented as a mixin that you can attach to a PageLink or ActionLink component. (docs: http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained, demo: http://lombok.demon.co

Re: Alert box

2011-09-16 Thread Steve Eynon
What extra functionality are looking for, above and beyond ye olde default JavaScript alert("!") ? There are alerts in T5.3 which render extra lines in your code (like validation errors but more generalised). Steve. On 16 September 2011 17:25, csckid wrote: > Is there any alert box(Pop up box)

Re: Grid "overrides" question

2011-09-16 Thread Steve Eynon
I'm not really sure, but I wonder if @Component(publishParameters="...") would help anywhere? Steve. On 16 September 2011 01:43, cqasker wrote: > So say I have a component that wraps a grid like: > > SomeGrid.tml > http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"; > xmlns:p="tapestry:parame