Re : Use cases for the "any" component

2014-03-08 Thread nhhockeyplayer nashua
I have had good luck animating structural fluff for the stuff using Any and having a custom component under the hood.

Re: Use cases for the "any" component

2014-03-06 Thread Thiago H de Paula Figueiredo
On Mon, 03 Mar 2014 04:18:31 -0300, Lance Java wrote: I've also extended "any" to make new components. I'm really not following you . . . -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br --

Re: Use cases for the "any" component

2014-03-06 Thread Thiago H de Paula Figueiredo
On Sun, 02 Mar 2014 19:42:29 -0300, Bob Harner wrote: Hi Tapestry users, Does anyone have any good use cases for the "any" component? I think there's only one: adding mixins to something that wasn't a component before. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consult

Re: Use cases for the "any" component

2014-03-06 Thread Bob Harner
Thanks, Geoff. Very nice. On Mar 5, 2014 11:28 PM, "Geoff Callender" < geoff.callender.jumpst...@gmail.com> wrote: > Here's an Any div that is a container of things you can click on to > select, identified by having CSS class "selectable". JavaScript listens for > click from selectables in the con

Re: Use cases for the "any" component

2014-03-05 Thread Geoff Callender
Here's an Any div that is a container of things you can click on to select, identified by having CSS class "selectable". JavaScript listens for click from selectables in the container. It adds css class "active" to the selected thing and removes "active" from the others. You can see an EventLink

Re: Use cases for the "any" component

2014-03-05 Thread Bob Harner
Geoff, Kristian, do you have any examples for using the "any" component when you need to generate a unique client id to pass to JavaScript? On Wed, Mar 5, 2014 at 8:23 AM, Bob Harner wrote: > javadocs. I meant javadocs > > On Wed, Mar 5, 2014 at 8:23 AM, Bob Harner wrote: >> Thanks, everybody!

Re: Use cases for the "any" component

2014-03-05 Thread Bob Harner
javadocs. I meant javadocs On Wed, Mar 5, 2014 at 8:23 AM, Bob Harner wrote: > Thanks, everybody! I'll be updating the avocados for that component > soon, with examples. > > On Wed, Mar 5, 2014 at 8:08 AM, Geoff Callender > wrote: >> My biggest use is the same as Kristian mentioned: to generate

Re: Use cases for the "any" component

2014-03-05 Thread Bob Harner
Thanks, everybody! I'll be updating the avocados for that component soon, with examples. On Wed, Mar 5, 2014 at 8:08 AM, Geoff Callender wrote: > My biggest use is the same as Kristian mentioned: to generate a unique > client id to pass to javascript. It's usually on a div, span, but sometimes >

Re: Use cases for the "any" component

2014-03-05 Thread Geoff Callender
My biggest use is the same as Kristian mentioned: to generate a unique client id to pass to javascript. It's usually on a div, span, but sometimes on a ul, p, area, or canvas. Option 2 too, but less often. On 3 March 2014 19:51, Kristian Marinkovic wrote: > i use it if i need unique clientIds fo

Re: Use cases for the "any" component

2014-03-03 Thread Emmanuel DEMEY
Most of the time I use any with the use case 2 also Le 3 mars 2014 20:50, "George Christman" a écrit : > Like lance, I use it for option 2 as well as extended to make new > components from it. > > > On Mon, Mar 3, 2014 at 3:51 AM, Kristian Marinkovic < > kristian.marinko...@gmail.com> wrote: > >

Re: Use cases for the "any" component

2014-03-03 Thread George Christman
Like lance, I use it for option 2 as well as extended to make new components from it. On Mon, Mar 3, 2014 at 3:51 AM, Kristian Marinkovic < kristian.marinko...@gmail.com> wrote: > i use it if i need unique clientIds for certain dom elements to access it > with my javascripts. > g, > Kris > > > O

Re: Use cases for the "any" component

2014-03-03 Thread Kristian Marinkovic
i use it if i need unique clientIds for certain dom elements to access it with my javascripts. g, Kris On Mon, Mar 3, 2014 at 8:18 AM, Lance Java wrote: > I've used option 2 and I've also extended "any" to make new components. >

Re: Use cases for the "any" component

2014-03-02 Thread Lance Java
I've used option 2 and I've also extended "any" to make new components.