On 6/26/07, Gerolf Seitz <[EMAIL PROTECTED]> wrote:

thx,

but attention: the animatiorbehavior is there to bind the action (play,
toggle, reverse, ...) of the animator to an event of a component.
the objects that will be animated are passed to the constructor of the
StyleSubjects (or the convenience methods in Animator) ideally using the
MarkupIdModel class (with which you can wrap any number of components - the
model extracts the markupids of the components).

or do you mean, that setOutputMarkupId(true) should be called on every
component involved?


it should be called on any component that javascript expects to interact
with, so in this case something like this would be better

MarkupIdModel.getobject() { c.setoutputmarkupid(true); return c.getmarkupid();
) <== the problem with that is that you are already in the render phase and
it might be too late to call setoutputmarkupid on c. but oh well. cant do
everything for users :)

-igor



gerolf

On 6/26/07, Igor Vaynberg < [EMAIL PROTECTED]> wrote:

> On 6/26/07, Gerolf Seitz <[EMAIL PROTECTED] > wrote:
> >
> > hi,
> > i just wanted to annouce the release of the project
> > wicketstuff-animator, which integrates the great animation library
> > animator.js [0] and wicket.
> >
> > take a look at the wicketstuff-animator wiki page [1] and check it out
> > from the repository [2]
> >
> > if you want to contribute to wicketstuff-animator (since i'm rather a
> > newbie with wicket, there's probably a lot to be improved ;) ), i'd be happy
> > to receive any kind of feedback.
> >
> > so long,
> >   gerolf
> >
> >
> > [0] http://berniecode.com/writing/animator.html
> > [1] http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-animator
> >
> > [2] 
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-animator/
> >
>
>
> looks sweet!
>
> i havent looked at the source too closely, but do you have something
> that automatically calls setoutputmarkupid(true) on the object that will be
> animated. that would make it less error prone. maybe
> abstractanimationbehavior { onbind(component c) { c.setoutputmarkupid(true);
> ... }
>
> -igor
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to