Re: JWC anoyance: Creating component based on existing ones

2006-08-27 Thread andyhot
Jesse Kuhnert wrote: > Ahhh I see now. > > I think we'll have to come up with a different attribute name for that > case. > Probably something like the familiar : syntax? Yea, that was what i had in mind when i suggested I feel inherit-specification=true/false is not needed at all > > Either way

Re: JWC anoyance: Creating component based on existing ones

2006-08-27 Thread Jesse Kuhnert
Ahhh I see now. I think we'll have to come up with a different attribute name for that case. Probably something like the familiar : syntax? Either way it will work the same way, but thank you for bringing it up so I don't code myself into a corner for this. (other than whatever other corners I m

Re: JWC anoyance: Creating component based on existing ones

2006-08-27 Thread andyhot
Hate to slow you down Jesse, that's what I (also) fear i'm doing here ... My question is: how will the author of @UserTable extend @CoolerTable ? CoolerTable's class is org.apache.tapestry.contrib.table.components.Table ( CoolerTable only has template enhancments) so, if he writes class UserTabl

Re: JWC anoyance: Creating component based on existing ones

2006-08-27 Thread Jesse Kuhnert
You didn't say what @CoolerTable has to do with @UserTable. If @UserTable extends @CoolerTable and @CoolerTable hasn't set inherit-specification to no AND @UserTable also hasn't set this to no then @UserTable would: -) Get all properties/assets/etc inherited from @CoolerTable and Table, except f

Re: JWC anoyance: Creating component based on existing ones

2006-08-27 Thread andyhot
What I fear of is this: we already have @Table uses class org.apache.tapestry.contrib.table.components.Table Now, assume a library offers @CoolerTable also uses class org.apache.tapestry.contrib.table.components.Table which has better html, perhaps additional assets, e.t.c. What would now hap

Re: JWC anoyance: Creating component based on existing ones

2006-08-27 Thread Jesse Kuhnert
But java only supports single inheritance. On 8/27/06, andyhot <[EMAIL PROTECTED]> wrote: Hmmm... I may be totally wrong, I just have the feeling that having something like I've already created it, it's called "inherit-specification"... > > Description: > > If yes (the default), all elements

Re: JWC anoyance: Creating component based on existing ones

2006-08-27 Thread andyhot
Hmmm... I may be totally wrong, I just have the feeling that having something like I've already created it, it's called "inherit-specification"... > > Description: > > If yes (the default), all elements contained in any superclass components > will be > directly inherited in this specificati

Re: JWC anoyance: Creating component based on existing ones

2006-08-27 Thread Jesse Kuhnert
I've already created it, it's called "inherit-specification"... Description: If yes (the default), all elements contained in any superclass components will be directly inherited in this specification.(this includes parameters/properties/assets/etc..) No one should get their hopes up too mu

Re: JWC anoyance: Creating component based on existing ones

2006-08-27 Thread andyhot
Are you thinking about a new 'inherits' or 'extends' attribute in the element ? Jesse Kuhnert wrote: > Ok...I'm giving the whole "inheritance" thing a go..We'll see how that > works > out ;) > > On 8/27/06, Pedro Viegas <[EMAIL PROTECTED]> wrote: >> >> Humm, so the inheritance is actually easyer

Re: JWC anoyance: Creating component based on existing ones

2006-08-27 Thread Jesse Kuhnert
Ok...I'm giving the whole "inheritance" thing a go..We'll see how that works out ;) On 8/27/06, Pedro Viegas <[EMAIL PROTECTED]> wrote: Humm, so the inheritance is actually easyer that the inclusion of an external .xml... ok, the inheritance is the best solution by far so good news! Has for the

Re: JWC anoyance: Creating component based on existing ones

2006-08-27 Thread Pedro Viegas
Humm, so the inheritance is actually easyer that the inclusion of an external .xml... ok, the inheritance is the best solution by far so good news! Has for the .xml and so on... thanks for the tip. :-D On 8/28/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: I don't think it needs to be as complica

Re: Time to move on..

2006-08-27 Thread Peter Dawn
I agree. Geoff great work mate. Thumbs up to you. I use spindle all the time. I am still using tap3 and this gives me one more reason to not upgrade. Life without spindle would be very difficult using eclipse. I wish Geoff all the best for his future and I hope that his work is picked up by someo

Re: JWC anoyance: Creating component based on existing ones

2006-08-27 Thread Jesse Kuhnert
I don't think it needs to be as complicated as you think. There is a whole set of classes people don't normally see that encapsulate all of the information parsed from templates. It wouldn't be very hard to walk up the class heirarchy and create a "union" view of a template. As for filename exte

Re: JWC anoyance: Creating component based on existing ones

2006-08-27 Thread Pedro Viegas
By the way... since we're diging into this... Again from the wiki... *"Rename the template page from *.page to *.xml or *.page.xml* This feature would allow the IDE to provide some completion and validate the template" If we didn't break compatibility with the use of the previous excception simp

Re: JWC anoyance: Creating component based on existing ones

2006-08-27 Thread Pedro Viegas
Don't you sleep Jesse? :-D Another lightning fast response, thanks! Gathering the bullet item from the wiki... * * *"Default Page/JWC Files and/or Page/JWC Inheritance* Often there is a need to use the exact same services/beans/etc one multiple pages. The current solution is to add them to all t

Re: JWC anoyance: Creating component based on existing ones

2006-08-27 Thread D&J Gredler
JWC inheritance would be very cool. I know this is one wall I've run up against in the past. On 8/28/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: I think inherited jwc configurations are part of the 4.1 wishlist. http://wiki.apache.org/tapestry/Tapestry41WishList Besides that, annotations are

Re: Time to move on..

2006-08-27 Thread Pedro Viegas
Not very good news to the Tapestry project this one! Here and there the IDE and Tools support for tapestry issue arise and all kinds of opinions are issued. A fact is that every platform needs to have IDE support in order for a very good chunk of the programmer community to accept a framework. Is

Submit/LinkSubmit/ImageSubmit "ajax" params deployed

2006-08-27 Thread Jesse Kuhnert
Just thought I'd let people know that these components support the familiar async/json/updateComponents parameters now as well. (though I think I still need to add in an optional validateForm parameter on them to fend of likely future requests for it) -- Jesse Kuhnert Tapestry/Dojo/(and a dash of

Re: JWC anoyance: Creating component based on existing ones

2006-08-27 Thread Jesse Kuhnert
I think inherited jwc configurations are part of the 4.1 wishlist. http://wiki.apache.org/tapestry/Tapestry41WishList Besides that, annotations are definitely the way to go to get inheritance today. I would love nothing more than to be able to use them exclusively - but I don't think I'd be able

JWC anoyance: Creating component based on existing ones

2006-08-27 Thread Pedro Viegas
Hi all, Been creating a component lybrary that is composed of several tapestry components with some add-ons or default customizations and a bunch of new ones. Been having a very repeating anoyance in doing this and would like to get opinions on how to do this the best way, or if this is really so

Re: AjaxLinkSubmit clicked twice directs to webserver root

2006-08-27 Thread Mike Oestereter
I found this problem on tacos-beta2 and it is still present in tacos4. Since upgrading to tacos4 I experience a problem which I beloive is related to this problem: I have a list of recuring component groups each containing several input components. For each of these recuring component groups ther

AjaxLinkSubmit clicked twice directs to webserver root

2006-08-27 Thread Mike Oestereter
Hi I find that if I click on an AjaxLinkSubmit link twice - the second time before the 1st click's result could be rendered - the browser gets directed to the webserver root. In other words if I am on http://localhost:8080/myapp/balhabla and I click twice I get directed to http://localhost:8080/

ProgressBar, call page listener when complete?

2006-08-27 Thread Phillip Rhodes
Forgive me, this is my first few hours with ajax/tacos... I have a application that uses FOP to generate PDF reports. I am implementing the ajax/tacos ProgressBar example into my app. I have everything figured out except for when the ProgressWorkerThread has completed it's job, I need to call a

Re: Tapestry 4.0.2 Dojo Editor and IE bugs

2006-08-27 Thread Josh Long
Try setting focus="ognl:false" on the containing @Form element. If the issue is the tapestry javascript for focus, than that'll remove it. Best of luck, Josh On 8/23/06, Xiaoshu Wang <[EMAIL PROTECTED]> wrote: Hi, I have a pecular problem with using Dojo's Editor in IE. I can take a textarea

Re: How To Set Selected Option For PropertySelection Component ?

2006-08-27 Thread Dwi Ardi Irawan
Thnx very much Shing dwi ardi irawan http://dwiardiirawan.blogs.or.id Shing Hing Man wrote: In order to have a particular element selected when the page is rendered, you need to set the value parameter of your PropertySelection model to the desired value. You can try the following. In the Pa

Re: How To Set Selected Option For PropertySelection Component ?

2006-08-27 Thread Shing Hing Man
In order to have a particular element selected when the page is rendered, you need to set the value parameter of your PropertySelection model to the desired value. You can try the following. In the PageBeginRenderListener method : if (not rewinding){ // In render mode desiredElement = get i

How To Set Selected Option For PropertySelection Component ?

2006-08-27 Thread Dwi Ardi Irawan
i got a form that contain PropertySelection i want when i change to edit Mode (DirectLink with parameter) the PropertySelection automatically to be set based on the parameter that i give in HTML Grid(send the parameter) -> From (Edit Mode set the selected of propertySelction) example para

Re: DirectLinks dont always use ajax but instead cause a full commit? Am i missing something obvious..

2006-08-27 Thread Josh Long
Oooh so it IS possible! I almost felt silly asking but I couldn't figure out what, for the life of me, was causing such behavior. Right now, its happening with direct links that take an int as a parameter. The links seem to work on page 1. click the ajax directlink and page 2 doesnt work and force

Re: Time to move on..

2006-08-27 Thread Josh Long
Well, I for one am sorry to see any ready and willing go, no matter what the circumstances... but I hope things get to where they need to be for you. :-) FWIW, I never used the Spindle plugin but have seen a few colleagues adopt tapestry at my behest because there was (even relatively immature, a