Re: T5 Component Info Passing

2007-07-31 Thread Nick Westgate
Great. Or put it on the wiki so others can use and improve it. Cheers, Nick. Todd Orr wrote: As imperfect as it is, I'll probably post the code after I've tinkered with the capabilities a little bit. Thanks all. - To unsub

Re: T5 Component Info Passing

2007-07-31 Thread Todd Orr
Since I'd like the number of panels to be configurable by the page building programmer, having a set number of @Components in my TabGroup will not work. I've found a workaround for now: This is stuff 1 This is stuff 2

Re: T5 Component Info Passing

2007-07-31 Thread Nick Westgate
Hi Todd. The documentation is not exactly clear on this topic, so I'm not sure whether that or the implementation is incomplete ... The docs say: "Components inside another components template are called embedded components." Whereas the implementation WRT getEmbeddedComponentIds() is: "Compone

Re: T5 Component Info Passing

2007-07-31 Thread Todd Orr
I absolutely agree that the components should have as loose coupling as possible. However, from my testing on simple, non-form related, nested components the components that render later cannot pass any information to the components that render sooner. Perhaps a solid example will better illustrat

Re: T5 layout

2007-07-31 Thread Howard Lewis Ship
It is not yet possible; it is a feature to be added. Not sure of the JIRA number. On 7/31/07, Chris Lewis <[EMAIL PROTECTED]> wrote: > > Hello all, > > I've seen several threads about T5 and layout components, but still none > that show how to duplicate the functionality of $content$ in Tap 4. My

T5 layout

2007-07-31 Thread Chris Lewis
Hello all, I've seen several threads about T5 and layout components, but still none that show how to duplicate the functionality of $content$ in Tap 4. My layout works as long as the page templates include only their body (ie, no , , ). I liked $content$ in 4 because I could have normal-ish p

Re: T5 Component Info Passing

2007-07-31 Thread Howard Lewis Ship
The design as it stands exists to remove invisible and unwanted dependencies. Component names, ids, types and classes can change ... and yet, using Environmental or ASOs to communicate will stand up to many kinds of refactorings, large and small. Introducing the ability to create arbitrary linkag

Problem with XTile component

2007-07-31 Thread Dave Kallstrom
I am having problem getting the XTile component to correctly send data back to the server. Whenever a user types in a string with an ampersand in it the text after the ampersand as well as the ampersand itself is being cut off. For example "this & that" is being sent back to the server as "this". I

Re: T5 How to get form name

2007-07-31 Thread Shing Hing Man
Thanks! Shing --- Nick Westgate <[EMAIL PROTECTED]> wrote: > The id and name of a form are the same, so: > > @Environmental > private FormSupport _formSupport; > > ... > > String name = _formSupport.getClientId(); > > Cheers, > Nick. > > > Shing Hing Man wrote: > > I have a component that

Re: T5 Component Info Passing

2007-07-31 Thread Todd Orr
I've been running my debugger to try to determine what is available to the components at various points during rendering. As far as I can see there is very little information provided regarding what other components exist anywhere else in the page. The only thing I can get for sure is the Page. How

String in validator

2007-07-31 Thread Siddhartha Argollo
Hi all, Is it possible to use a string with spaces as a constraint for a validator? For example: t:validate="required,date=dd/MM/ HH:mm" I tried without quotes, single quotes and double quotes, but I get a syntax error caused by the space inside the constraint string. Thanks, Sid. -

Re: [T5] StackMapTable format error

2007-07-31 Thread Janko Muzykant
thanks Howard, the newest javassist (3.6.0.CR1) solved my problem! jm. On 7/31/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > I haven't tested myself under JDK 1.6. I suspect its Javassist that's > having the problem. Not much we can do about that, except see if there's > a > newer versio

Re: [T5] StackMapTable format error

2007-07-31 Thread Howard Lewis Ship
I haven't tested myself under JDK 1.6. I suspect its Javassist that's having the problem. Not much we can do about that, except see if there's a newer version of it that can handle JDK 1.6 better. On 7/31/07, Janko Muzykant <[EMAIL PROTECTED]> wrote: > > hi all, i found something weird today. i'

[T5] StackMapTable format error

2007-07-31 Thread Janko Muzykant
hi all, i found something weird today. i've just changed jvm from 1.5 to 1.6.0.02 and got immediately such an exception: java.lang.ClassFormatError: StackMapTable format error: bad class index at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredC

Re: 4.1.2 - problem starting tapestry app

2007-07-31 Thread craigham
Hi Jesse, I have narrowed this down a little. I only get this error if I attempt to deploy the war as ROOT.war. If I name it myApp.war, it deploys fine. Do you know what could be prohibiting me from deploying as ROOT.war ? thanks, craig Jessek wrote: > > That sounds about right to me. The

Re: Tapestry 4.1.2 upgrade

2007-07-31 Thread Peter Stavrinides
I run both... I have to support apps written in 4.1 still :-) Chris Lewis wrote: Now get on with Tap 5 ;-) Peter Stavrinides wrote: Thank guys for your hard work on Tapestry 4.1.2, I have noticed a massive performance improvement, especially with the asynchronous stuff. well done! ;-) Pete

Tapestry 4.1.2 upgrade

2007-07-31 Thread Peter Stavrinides
Thank guys for your hard work on Tapestry 4.1.2, I have noticed a massive performance improvement, especially with the asynchronous stuff. well done! ;-) Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: Tapestry 4.1.2 upgrade

2007-07-31 Thread Chris Lewis
Now get on with Tap 5 ;-) Peter Stavrinides wrote: Thank guys for your hard work on Tapestry 4.1.2, I have noticed a massive performance improvement, especially with the asynchronous stuff. well done! ;-) Peter - To unsubsc

Re: [T5] Eclipse WTP - conflict between class reloading and context reloading

2007-07-31 Thread Markus Fischer
thanks for the answer! > you should set up your environment as it's described > in the tutorial > (http://tapestry.apache.org/tapestry5/tutorial1/env.html). I would really like to stick to our Eclipse/Tomcat WTP setup, which is a well-established workflow standard in my company. Also, it reso

RE: T4.1 List of pages

2007-07-31 Thread Craig Spry
Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, 31 July 2007 4:47 PM To: users@tapestry.apache.org Subject: RE: T4.1 List of pages Hi Craig, most probably, you don't have your page-specifications listed in your *.application (or *.library, if yo

RE: T4.1 List of pages

2007-07-31 Thread Marcus.Schulte
Hi Craig, most probably, you don't have your page-specifications listed in your *.application (or *.library, if you're interested in a library's pages.) Unfortunately, Tapestry's page-/component-lookup mechanism is sufficiently complicated to make it hard to detect all pages before usage -- unles