RE: Why can't tapestry have LGPL code?

2005-05-29 Thread David Leangen
It has to do with the legal interpretation of the LGPL by the Apache Board. No Apache projects can contain LGPL or GPL code. Cheers, Dave > -Original Message- > From: phillip rhodes [mailto:[EMAIL PROTECTED] > Sent: 30 May 2005 02:12 > To: tapestry > Subject: Why can't tapestry have

RE: DirectLink Within Component

2005-05-26 Thread David Leangen
Or, IMO, if you want a more reusable component, you should never call the page directly from your component. Rather, you should pass in a listener as a parameter. Cheers, Dave > -Original Message- > From: Jamie Orchard-Hays [mailto:[EMAIL PROTECTED] > Sent: 27 May 2005 00:33 > To: Ta

RE: Reference asset from css [auf Viren geprueft]

2005-05-19 Thread David Leangen
Hi, Random Tapestry User, or tappapp, whichever you prefer... > > It would be nice to be able to dynamically generate CSS. Is > > there a (simple) way this could be done? > Ideally, you probably have an "images" directory that is probably a > peer directory to your "css" directory. Sorry that

RE: Reference asset from css [auf Viren geprueft]

2005-05-19 Thread David Leangen
Actually, I have a similar question... I haven't yet tried, but since this thread is on the same topic, I just thought I'd ask. It would be nice to be able to dynamically generate CSS. Is there a (simple) way this could be done? One complicated way is to have Tapestry generate an XML file and tr

RE: [Client-side scripting] onRezise()

2005-05-17 Thread David Leangen
> > The value of onResize can also be an ognl expression if you want that... Ok, simple enough. Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [Client-side scripting] onRezise()

2005-05-17 Thread David Leangen
> function doSomething() { alert("got here"); } > > > > > > > - Original Message - > From: "David Leangen" <[EMAIL PROTECTED]> > To: > Sent: Monday, May 16, 2005 11:01 AM > Subject: [Client-side scripting] onRezise() >

RE: HTML in response stream

2005-05-17 Thread David Leangen
Although browsers have come a long way in terms of XML support, personally I wouldn't yet put my faith in that approach for at least another few years. I've tried it out casually, so to speak, and that was my conclusion. I would definately not do it in a production environment, but that's just me

[Client-side scripting] onRezise()

2005-05-16 Thread David Leangen
I just discovered client-side scripting with Tapestry. Very nice!! I am now going to use it extensively. However, I am having one problem: I can't figure out how to implement the onResize() that usually works with the body tag: ... I tried, both in the and the sections: window.onRe

HTML "map" element

2005-05-15 Thread David Leangen
What's the easiest way to deal with the HTML "map" and "area" elements? I'd like to use them as either DirectLinks, PageLinks, or ExternalLinks. Thank you! Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

RE: Browser detection component?

2005-04-12 Thread David Leangen
Thank you, Robert and Matt, for you helpful hints. I'll write some test cases (since I like TDD) and send them back to you. Once I get this working, perhaps we could think about committing it so it becomes a default "feature" of Tapestry. Seems to be that this should be included in the platform.

RE: Browser detection component?

2005-04-11 Thread David Leangen
From: news [mailto:[EMAIL PROTECTED] Behalf Of Kent Tong > Sent: 12 April 2005 11:22 > To: tapestry-user@jakarta.apache.org > Subject: Re: Browser detection component? > > > David Leangen canada.com> writes: > > > > > Anybody know where I can find a browser d

Browser detection component?

2005-04-09 Thread David Leangen
Anybody know where I can find a browser detection component? Thanks! Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Duplicate controls in form

2005-04-04 Thread David Leangen
submit, the odd one out is the input that changed. > Pieter > > > > -Original Message- > > From: David Leangen [mailto:[EMAIL PROTECTED] > > Sent: Monday, March 14, 2005 10:46 AM > > To: Tapestry users > > Subject: RE: Duplicate controls in form >

Component name prefixes (was Tapestry Form component name)

2005-04-04 Thread David Leangen
This leads me to a question that I've been a bit curious about... Would somebody mind kindly explaining the mechanism of having a prefix, such as the [EMAIL PROTECTED] below? Why is this legal? What does the prefix "form_name" mean? How can it be reused? Why is this useful? Or, alternatively, i

RE: Foreach-Troubles

2005-04-04 Thread David Leangen
I think you need to declare a "value" attribute in your loop component: And don't forget to declare a specification-property in your .page file. HTH Dave > -Original Message- > From: Reinhold Gruber [mailto:[EMAIL PROTECTED] > Sent: 4 April 2005 18:21 > To: Tapestry users > Subjec

RE: java.util.ConcurrentModificationException

2005-04-03 Thread David Leangen
> source="ognl:new ArrayList(terms)" >value="ognl:term" > element="tr"> > > viktor > > On Apr 3, 2005 10:23 PM, David Leangen <[EMAIL PROTECTED]> wrote: > > > > Hi, Kent, > > > > Thanks for the repl

RE: java.util.ConcurrentModificationException

2005-04-03 Thread David Leangen
Hi, Kent, Thanks for the reply. (Comments below) > > I have a table in which I use a Foreach to add rows. > > > > When I click on one of the buttons in the table, I am getting a > > java.util.ConcurrentModificationException (full stack trace below). > > The collection is being modified while an

java.util.ConcurrentModificationException

2005-04-02 Thread David Leangen
I have a table in which I use a Foreach to add rows. When I click on one of the buttons in the table, I am getting a java.util.ConcurrentModificationException (full stack trace below). Any ideas why this would happen? Thanks! Dave Stack Trace: * java.util.AbstractList$Itr.checkForCo

RE: Modifying values of getters/setters

2005-04-01 Thread David Leangen
will let you call a > method. Just use: > > value="ognl:showComponent()" > > It has the disadvantage that it doesn't look like an OGNL property > call, but the advantage that you can name the method whatever you want. > > Todd > > On Apr 2, 2005, at

RE: Modifying values of getters/setters

2005-04-01 Thread David Leangen
) for the cases you mention. > > Todd > > On Apr 2, 2005, at 1:21 AM, David Leangen wrote: > > > > > Is it possible to change what Tapestry considers a valid getter/setter > > name? > > > > Specifically, I have boolean values such as: > > > > -

Modifying values of getters/setters

2005-04-01 Thread David Leangen
Is it possible to change what Tapestry considers a valid getter/setter name? Specifically, I have boolean values such as: - showComponent - hideComponent - hasValue etc. It appears that I have to use getters/setters such as: - getShowComponent - getHideComponent - getHasValue This is