You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk> on 2008/06/05 03:32:16 UTC

scriptaculous toaster

Hi Ryan?

I need this effect : 
http://github.com/madrobby/scriptaculous/wikis/effect-multiple to be 
able to build the toaster. It's almost done, a scriptaculous header 
contributor would also be very nice.

When im done with the toaster should I just add it to the project?

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: scriptaculous toaster

Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.

Ryan Sonnek wrote:
> Not sure what this 'toaster' is, but i really like the multiple effect!  is
> it available in 1.8 or is this in scriptaculous 2.0?
>
>   
Im not sure what the definition of toaster really are. But im thinking 
of something like this:

http://www.demay-fr.net:8080/Wicket-start/app?wicket:bookmarkablePage=:wicket.contrib.dojo.examples.ToasterSample
> We have a scriptaculous header contributor using the
> ScriptaculousAjaxBehavior.newJavascriptBindingBehavior().  do you need
> something different?
>   
Doh did not see that!
>
> On Wed, Jun 4, 2008 at 8:32 PM, Nino Saturnino Martinez Vazquez Wael <
> nino.martinez@jayway.dk> wrote:
>
>   
>> Hi Ryan?
>>
>> I need this effect :
>> http://github.com/madrobby/scriptaculous/wikis/effect-multiple to be able
>> to build the toaster. It's almost done, a scriptaculous header contributor
>> would also be very nice.
>>
>> When im done with the toaster should I just add it to the project?
>>
>> --
>> -Wicket for love
>>
>> Nino Martinez Wael
>> Java Specialist @ Jayway DK
>> http://www.jayway.dk
>> +45 2936 7684
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>     
>
>   

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: scriptaculous toaster

Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
Hi Ryan

So, now I have merged our two versions, I had to add the two new 
interface methods as NOOP's on multiple effect. I use the setQueue to 
obtain the same as the new multiple effect btw. Funny how many ways 
there are todo stuff:)

I guess I should add blind up and blind down effects too?

Nino Saturnino Martinez Vazquez Wael wrote:
>
>
> Ryan Sonnek wrote:
>> Nino,
>> you overwrote my changes to the Effect class.  Please revert your 
>> changes
>> and restore my Effect.multiple addition.
>>
>>   
> I'll do that ASAP, will probably first be tommorrow.
>> I can't find *any* reference to this "toaster" in the core scriptaculous
>> library.
> It's a combination of effects(the example effects from scriptaculous), 
> something that fades in shakes and for example squishes.. Did you see 
> the example?
>>   please provide a url.  is this a custom effect?  If so, i think it
>> should be moved out of the scriptaculous project and into a separate
>> wicketstuff project.
>>   Reason being, keeping the core scriptaculous library
>> uncluttered allows for a quicker upgrade cycle since we don't need to 
>> track
>> down and test every user contributed component.
>>
>> On Mon, Jun 9, 2008 at 3:08 AM, Nino Saturnino Martinez Vazquez Wael <
>> nino.martinez@jayway.dk> wrote:
>>
>>  
>>> Sorry, something were messed up with my svn, so I think I might have
>>> overriden what you just commited(it stated that you just deleted 
>>> files). But
>>> take a look at it and see if it's okay.. It turned out that I only 
>>> need to
>>> add an option to set queue on effects... However I also added the 
>>> parallel
>>> effect, but we could remove it  since i do not use it.
>>>
>>> You can see in the scriptacoulus how the toaster works...
>>>
>>>
>>> Ryan Sonnek wrote:
>>>
>>>    
>>>> Okay Nino, I've created a new Effect.multiple that should give you 
>>>> what
>>>> you
>>>> need.  take a look and let me know what you think.  here's how it 
>>>> works:
>>>>
>>>> AbstractEffect[] effects =   new AbstractEffect[] {
>>>>    new Effect.Fade(component1),
>>>>    new Effect.Highlight(component2),
>>>>    etc...
>>>>   }
>>>>
>>>> new Effect.multiple(effects).toJavascript();
>>>>
>>>> On Fri, Jun 6, 2008 at 9:41 PM, Ryan Sonnek <ry...@gmail.com>
>>>> wrote:
>>>>
>>>>
>>>>
>>>>      
>>>>> I'll take a swing at it and try to check something workable in asap.
>>>>>
>>>>>
>>>>> On 6/6/08, Nino Saturnino Martinez Vazquez Wael 
>>>>> <nino.martinez@jayway.dk
>>>>>         wrote:
>>>>>
>>>>>
>>>>>        
>>>>>> Hmm
>>>>>>
>>>>>> The Effect's as they are now gives me some trouble, because you 
>>>>>> need to
>>>>>> give the component when creating the component. It would be much 
>>>>>> more
>>>>>> flexible if it could be changed. And would allow the user to control
>>>>>> which
>>>>>> effects were used..
>>>>>>
>>>>>> So what do you say? I could make the change:) API should be okay, 
>>>>>> and we
>>>>>> could deprecate the old constructor..
>>>>>>
>>>>>> Ryan Sonnek wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>          
>>>>>>> Not sure what this 'toaster' is, but i really like the multiple 
>>>>>>> effect!
>>>>>>>  is
>>>>>>> it available in 1.8 or is this in scriptaculous 2.0?
>>>>>>>
>>>>>>> We have a scriptaculous header contributor using the
>>>>>>> ScriptaculousAjaxBehavior.newJavascriptBindingBehavior().  do 
>>>>>>> you need
>>>>>>> something different?
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Jun 4, 2008 at 8:32 PM, Nino Saturnino Martinez Vazquez 
>>>>>>> Wael <
>>>>>>> nino.martinez@jayway.dk> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>            
>>>>>>>> Hi Ryan?
>>>>>>>>
>>>>>>>> I need this effect :
>>>>>>>> http://github.com/madrobby/scriptaculous/wikis/effect-multiple 
>>>>>>>> to be
>>>>>>>> able
>>>>>>>> to build the toaster. It's almost done, a scriptaculous header
>>>>>>>> contributor
>>>>>>>> would also be very nice.
>>>>>>>>
>>>>>>>> When im done with the toaster should I just add it to the project?
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> -Wicket for love
>>>>>>>>
>>>>>>>> Nino Martinez Wael
>>>>>>>> Java Specialist @ Jayway DK
>>>>>>>> http://www.jayway.dk
>>>>>>>> +45 2936 7684
>>>>>>>>
>>>>>>>>
>>>>>>>> --------------------------------------------------------------------- 
>>>>>>>>
>>>>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>               
>>>>>>>
>>>>>>>             
>>>>>> -- 
>>>>>> -Wicket for love
>>>>>>
>>>>>> Nino Martinez Wael
>>>>>> Java Specialist @ Jayway DK
>>>>>> http://www.jayway.dk
>>>>>> +45 2936 7684
>>>>>>
>>>>>>
>>>>>> --------------------------------------------------------------------- 
>>>>>>
>>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>           
>>>>       
>>> -- 
>>> -Wicket for love
>>>
>>> Nino Martinez Wael
>>> Java Specialist @ Jayway DK
>>> http://www.jayway.dk
>>> +45 2936 7684
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>     
>>
>>   
>

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: scriptaculous toaster

Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.

Ryan Sonnek wrote:
> if we reach a point where there are several contributed scriptaculous
> components, i think it would make sense to create a
> wicketstuff-scriptaculous-sandbox project that can house them all.
>
>   
+1, if we get to that...
> the sync and queue methods should be moved off of the core Effect interface
> and into the AbstractEffect class.  that way, the Effect.multiple doesn't
> need to do a no-op.
> http://github.com/madrobby/scriptaculous/wikis/core-effects
>   
Done.
> On Tue, Jun 10, 2008 at 2:05 AM, Nino Saturnino Martinez Vazquez Wael <
> nino.martinez@jayway.dk> wrote:
>
>   
>> Ok. But I think that we should be a little carefull splitting up in too
>> many projects... But it's fine with me, so we should just move all the stuff
>> from the fx package away from your project right? Since the other stuff(only
>> the queue part though) I do need to be present or i'll have to build a new
>> project to depend on.
>>
>>
>> Ryan Sonnek wrote:
>>
>>     
>>>>> It's a combination of effects(the example effects from scriptaculous),
>>>>>
>>>>>
>>>>>           
>>>> something that fades in shakes and for example squishes.. Did you see the
>>>> example?
>>>>
>>>>
>>>>         
>>> I still think this would best be served in a separate project.
>>>
>>>
>>>
>>>       
>> --
>> -Wicket for love
>>
>> Nino Martinez Wael
>> Java Specialist @ Jayway DK
>> http://www.jayway.dk
>> +45 2936 7684
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>     
>
>   

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: scriptaculous toaster

Posted by Ryan Sonnek <ry...@gmail.com>.
if we reach a point where there are several contributed scriptaculous
components, i think it would make sense to create a
wicketstuff-scriptaculous-sandbox project that can house them all.

the sync and queue methods should be moved off of the core Effect interface
and into the AbstractEffect class.  that way, the Effect.multiple doesn't
need to do a no-op.
http://github.com/madrobby/scriptaculous/wikis/core-effects

On Tue, Jun 10, 2008 at 2:05 AM, Nino Saturnino Martinez Vazquez Wael <
nino.martinez@jayway.dk> wrote:

> Ok. But I think that we should be a little carefull splitting up in too
> many projects... But it's fine with me, so we should just move all the stuff
> from the fx package away from your project right? Since the other stuff(only
> the queue part though) I do need to be present or i'll have to build a new
> project to depend on.
>
>
> Ryan Sonnek wrote:
>
>>
>>>
>>>> It's a combination of effects(the example effects from scriptaculous),
>>>>
>>>>
>>> something that fades in shakes and for example squishes.. Did you see the
>>> example?
>>>
>>>
>>
>>
>> I still think this would best be served in a separate project.
>>
>>
>>
>
> --
> -Wicket for love
>
> Nino Martinez Wael
> Java Specialist @ Jayway DK
> http://www.jayway.dk
> +45 2936 7684
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: scriptaculous toaster

Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
Ok. But I think that we should be a little carefull splitting up in too 
many projects... But it's fine with me, so we should just move all the 
stuff from the fx package away from your project right? Since the other 
stuff(only the queue part though) I do need to be present or i'll have 
to build a new project to depend on.

Ryan Sonnek wrote:
>>     
>>> It's a combination of effects(the example effects from scriptaculous),
>>>       
>> something that fades in shakes and for example squishes.. Did you see the
>> example?
>>     
>
>
> I still think this would best be served in a separate project.
>
>   

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: scriptaculous toaster

Posted by Ryan Sonnek <ry...@gmail.com>.
>
>
>> It's a combination of effects(the example effects from scriptaculous),
> something that fades in shakes and for example squishes.. Did you see the
> example?


I still think this would best be served in a separate project.

Re: scriptaculous toaster

Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.

Ryan Sonnek wrote:
> Nino,
> you overwrote my changes to the Effect class.  Please revert your changes
> and restore my Effect.multiple addition.
>
>   
I'll do that ASAP, will probably first be tommorrow.
> I can't find *any* reference to this "toaster" in the core scriptaculous
> library.
It's a combination of effects(the example effects from scriptaculous), 
something that fades in shakes and for example squishes.. Did you see 
the example?
>   please provide a url.  is this a custom effect?  If so, i think it
> should be moved out of the scriptaculous project and into a separate
> wicketstuff project.
>   Reason being, keeping the core scriptaculous library
> uncluttered allows for a quicker upgrade cycle since we don't need to track
> down and test every user contributed component.
>
> On Mon, Jun 9, 2008 at 3:08 AM, Nino Saturnino Martinez Vazquez Wael <
> nino.martinez@jayway.dk> wrote:
>
>   
>> Sorry, something were messed up with my svn, so I think I might have
>> overriden what you just commited(it stated that you just deleted files). But
>> take a look at it and see if it's okay.. It turned out that I only need to
>> add an option to set queue on effects... However I also added the parallel
>> effect, but we could remove it  since i do not use it.
>>
>> You can see in the scriptacoulus how the toaster works...
>>
>>
>> Ryan Sonnek wrote:
>>
>>     
>>> Okay Nino, I've created a new Effect.multiple that should give you what
>>> you
>>> need.  take a look and let me know what you think.  here's how it works:
>>>
>>> AbstractEffect[] effects =   new AbstractEffect[] {
>>>    new Effect.Fade(component1),
>>>    new Effect.Highlight(component2),
>>>    etc...
>>>   }
>>>
>>> new Effect.multiple(effects).toJavascript();
>>>
>>> On Fri, Jun 6, 2008 at 9:41 PM, Ryan Sonnek <ry...@gmail.com>
>>> wrote:
>>>
>>>
>>>
>>>       
>>>> I'll take a swing at it and try to check something workable in asap.
>>>>
>>>>
>>>> On 6/6/08, Nino Saturnino Martinez Vazquez Wael <nino.martinez@jayway.dk
>>>>         
>>>> wrote:
>>>>
>>>>
>>>>         
>>>>> Hmm
>>>>>
>>>>> The Effect's as they are now gives me some trouble, because you need to
>>>>> give the component when creating the component. It would be much more
>>>>> flexible if it could be changed. And would allow the user to control
>>>>> which
>>>>> effects were used..
>>>>>
>>>>> So what do you say? I could make the change:) API should be okay, and we
>>>>> could deprecate the old constructor..
>>>>>
>>>>> Ryan Sonnek wrote:
>>>>>
>>>>>
>>>>>
>>>>>           
>>>>>> Not sure what this 'toaster' is, but i really like the multiple effect!
>>>>>>  is
>>>>>> it available in 1.8 or is this in scriptaculous 2.0?
>>>>>>
>>>>>> We have a scriptaculous header contributor using the
>>>>>> ScriptaculousAjaxBehavior.newJavascriptBindingBehavior().  do you need
>>>>>> something different?
>>>>>>
>>>>>>
>>>>>> On Wed, Jun 4, 2008 at 8:32 PM, Nino Saturnino Martinez Vazquez Wael <
>>>>>> nino.martinez@jayway.dk> wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>             
>>>>>>> Hi Ryan?
>>>>>>>
>>>>>>> I need this effect :
>>>>>>> http://github.com/madrobby/scriptaculous/wikis/effect-multiple to be
>>>>>>> able
>>>>>>> to build the toaster. It's almost done, a scriptaculous header
>>>>>>> contributor
>>>>>>> would also be very nice.
>>>>>>>
>>>>>>> When im done with the toaster should I just add it to the project?
>>>>>>>
>>>>>>> --
>>>>>>> -Wicket for love
>>>>>>>
>>>>>>> Nino Martinez Wael
>>>>>>> Java Specialist @ Jayway DK
>>>>>>> http://www.jayway.dk
>>>>>>> +45 2936 7684
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>               
>>>>>>
>>>>>>             
>>>>> --
>>>>> -Wicket for love
>>>>>
>>>>> Nino Martinez Wael
>>>>> Java Specialist @ Jayway DK
>>>>> http://www.jayway.dk
>>>>> +45 2936 7684
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>           
>>>       
>> --
>> -Wicket for love
>>
>> Nino Martinez Wael
>> Java Specialist @ Jayway DK
>> http://www.jayway.dk
>> +45 2936 7684
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>     
>
>   

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: scriptaculous toaster

Posted by Ryan Sonnek <ry...@gmail.com>.
Nino,
you overwrote my changes to the Effect class.  Please revert your changes
and restore my Effect.multiple addition.

I can't find *any* reference to this "toaster" in the core scriptaculous
library.  please provide a url.  is this a custom effect?  If so, i think it
should be moved out of the scriptaculous project and into a separate
wicketstuff project.  Reason being, keeping the core scriptaculous library
uncluttered allows for a quicker upgrade cycle since we don't need to track
down and test every user contributed component.

On Mon, Jun 9, 2008 at 3:08 AM, Nino Saturnino Martinez Vazquez Wael <
nino.martinez@jayway.dk> wrote:

> Sorry, something were messed up with my svn, so I think I might have
> overriden what you just commited(it stated that you just deleted files). But
> take a look at it and see if it's okay.. It turned out that I only need to
> add an option to set queue on effects... However I also added the parallel
> effect, but we could remove it  since i do not use it.
>
> You can see in the scriptacoulus how the toaster works...
>
>
> Ryan Sonnek wrote:
>
>> Okay Nino, I've created a new Effect.multiple that should give you what
>> you
>> need.  take a look and let me know what you think.  here's how it works:
>>
>> AbstractEffect[] effects =   new AbstractEffect[] {
>>    new Effect.Fade(component1),
>>    new Effect.Highlight(component2),
>>    etc...
>>   }
>>
>> new Effect.multiple(effects).toJavascript();
>>
>> On Fri, Jun 6, 2008 at 9:41 PM, Ryan Sonnek <ry...@gmail.com>
>> wrote:
>>
>>
>>
>>> I'll take a swing at it and try to check something workable in asap.
>>>
>>>
>>> On 6/6/08, Nino Saturnino Martinez Vazquez Wael <nino.martinez@jayway.dk
>>> >
>>> wrote:
>>>
>>>
>>>> Hmm
>>>>
>>>> The Effect's as they are now gives me some trouble, because you need to
>>>> give the component when creating the component. It would be much more
>>>> flexible if it could be changed. And would allow the user to control
>>>> which
>>>> effects were used..
>>>>
>>>> So what do you say? I could make the change:) API should be okay, and we
>>>> could deprecate the old constructor..
>>>>
>>>> Ryan Sonnek wrote:
>>>>
>>>>
>>>>
>>>>> Not sure what this 'toaster' is, but i really like the multiple effect!
>>>>>  is
>>>>> it available in 1.8 or is this in scriptaculous 2.0?
>>>>>
>>>>> We have a scriptaculous header contributor using the
>>>>> ScriptaculousAjaxBehavior.newJavascriptBindingBehavior().  do you need
>>>>> something different?
>>>>>
>>>>>
>>>>> On Wed, Jun 4, 2008 at 8:32 PM, Nino Saturnino Martinez Vazquez Wael <
>>>>> nino.martinez@jayway.dk> wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> Hi Ryan?
>>>>>>
>>>>>> I need this effect :
>>>>>> http://github.com/madrobby/scriptaculous/wikis/effect-multiple to be
>>>>>> able
>>>>>> to build the toaster. It's almost done, a scriptaculous header
>>>>>> contributor
>>>>>> would also be very nice.
>>>>>>
>>>>>> When im done with the toaster should I just add it to the project?
>>>>>>
>>>>>> --
>>>>>> -Wicket for love
>>>>>>
>>>>>> Nino Martinez Wael
>>>>>> Java Specialist @ Jayway DK
>>>>>> http://www.jayway.dk
>>>>>> +45 2936 7684
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>> --
>>>> -Wicket for love
>>>>
>>>> Nino Martinez Wael
>>>> Java Specialist @ Jayway DK
>>>> http://www.jayway.dk
>>>> +45 2936 7684
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>
> --
> -Wicket for love
>
> Nino Martinez Wael
> Java Specialist @ Jayway DK
> http://www.jayway.dk
> +45 2936 7684
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: scriptaculous toaster

Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
Sorry, something were messed up with my svn, so I think I might have 
overriden what you just commited(it stated that you just deleted files). 
But take a look at it and see if it's okay.. It turned out that I only 
need to add an option to set queue on effects... However I also added 
the parallel effect, but we could remove it  since i do not use it.

You can see in the scriptacoulus how the toaster works...

Ryan Sonnek wrote:
> Okay Nino, I've created a new Effect.multiple that should give you what you
> need.  take a look and let me know what you think.  here's how it works:
>
> AbstractEffect[] effects =   new AbstractEffect[] {
>     new Effect.Fade(component1),
>     new Effect.Highlight(component2),
>     etc...
>    }
>
> new Effect.multiple(effects).toJavascript();
>
> On Fri, Jun 6, 2008 at 9:41 PM, Ryan Sonnek <ry...@gmail.com> wrote:
>
>   
>> I'll take a swing at it and try to check something workable in asap.
>>
>>
>> On 6/6/08, Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>
>> wrote:
>>     
>>> Hmm
>>>
>>> The Effect's as they are now gives me some trouble, because you need to
>>> give the component when creating the component. It would be much more
>>> flexible if it could be changed. And would allow the user to control which
>>> effects were used..
>>>
>>> So what do you say? I could make the change:) API should be okay, and we
>>> could deprecate the old constructor..
>>>
>>> Ryan Sonnek wrote:
>>>
>>>       
>>>> Not sure what this 'toaster' is, but i really like the multiple effect!
>>>>  is
>>>> it available in 1.8 or is this in scriptaculous 2.0?
>>>>
>>>> We have a scriptaculous header contributor using the
>>>> ScriptaculousAjaxBehavior.newJavascriptBindingBehavior().  do you need
>>>> something different?
>>>>
>>>>
>>>> On Wed, Jun 4, 2008 at 8:32 PM, Nino Saturnino Martinez Vazquez Wael <
>>>> nino.martinez@jayway.dk> wrote:
>>>>
>>>>
>>>>
>>>>         
>>>>> Hi Ryan?
>>>>>
>>>>> I need this effect :
>>>>> http://github.com/madrobby/scriptaculous/wikis/effect-multiple to be
>>>>> able
>>>>> to build the toaster. It's almost done, a scriptaculous header
>>>>> contributor
>>>>> would also be very nice.
>>>>>
>>>>> When im done with the toaster should I just add it to the project?
>>>>>
>>>>> --
>>>>> -Wicket for love
>>>>>
>>>>> Nino Martinez Wael
>>>>> Java Specialist @ Jayway DK
>>>>> http://www.jayway.dk
>>>>> +45 2936 7684
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>           
>>>>
>>>>         
>>> --
>>> -Wicket for love
>>>
>>> Nino Martinez Wael
>>> Java Specialist @ Jayway DK
>>> http://www.jayway.dk
>>> +45 2936 7684
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>       
>
>   

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: scriptaculous toaster

Posted by Ryan Sonnek <ry...@gmail.com>.
Okay Nino, I've created a new Effect.multiple that should give you what you
need.  take a look and let me know what you think.  here's how it works:

AbstractEffect[] effects =   new AbstractEffect[] {
    new Effect.Fade(component1),
    new Effect.Highlight(component2),
    etc...
   }

new Effect.multiple(effects).toJavascript();

On Fri, Jun 6, 2008 at 9:41 PM, Ryan Sonnek <ry...@gmail.com> wrote:

> I'll take a swing at it and try to check something workable in asap.
>
>
> On 6/6/08, Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>
> wrote:
>>
>> Hmm
>>
>> The Effect's as they are now gives me some trouble, because you need to
>> give the component when creating the component. It would be much more
>> flexible if it could be changed. And would allow the user to control which
>> effects were used..
>>
>> So what do you say? I could make the change:) API should be okay, and we
>> could deprecate the old constructor..
>>
>> Ryan Sonnek wrote:
>>
>>> Not sure what this 'toaster' is, but i really like the multiple effect!
>>>  is
>>> it available in 1.8 or is this in scriptaculous 2.0?
>>>
>>> We have a scriptaculous header contributor using the
>>> ScriptaculousAjaxBehavior.newJavascriptBindingBehavior().  do you need
>>> something different?
>>>
>>>
>>> On Wed, Jun 4, 2008 at 8:32 PM, Nino Saturnino Martinez Vazquez Wael <
>>> nino.martinez@jayway.dk> wrote:
>>>
>>>
>>>
>>>> Hi Ryan?
>>>>
>>>> I need this effect :
>>>> http://github.com/madrobby/scriptaculous/wikis/effect-multiple to be
>>>> able
>>>> to build the toaster. It's almost done, a scriptaculous header
>>>> contributor
>>>> would also be very nice.
>>>>
>>>> When im done with the toaster should I just add it to the project?
>>>>
>>>> --
>>>> -Wicket for love
>>>>
>>>> Nino Martinez Wael
>>>> Java Specialist @ Jayway DK
>>>> http://www.jayway.dk
>>>> +45 2936 7684
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>> --
>> -Wicket for love
>>
>> Nino Martinez Wael
>> Java Specialist @ Jayway DK
>> http://www.jayway.dk
>> +45 2936 7684
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>

Re: scriptaculous toaster

Posted by Ryan Sonnek <ry...@gmail.com>.
I'll take a swing at it and try to check something workable in asap.

On 6/6/08, Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>
wrote:
>
> Hmm
>
> The Effect's as they are now gives me some trouble, because you need to
> give the component when creating the component. It would be much more
> flexible if it could be changed. And would allow the user to control which
> effects were used..
>
> So what do you say? I could make the change:) API should be okay, and we
> could deprecate the old constructor..
>
> Ryan Sonnek wrote:
>
>> Not sure what this 'toaster' is, but i really like the multiple effect!
>>  is
>> it available in 1.8 or is this in scriptaculous 2.0?
>>
>> We have a scriptaculous header contributor using the
>> ScriptaculousAjaxBehavior.newJavascriptBindingBehavior().  do you need
>> something different?
>>
>>
>> On Wed, Jun 4, 2008 at 8:32 PM, Nino Saturnino Martinez Vazquez Wael <
>> nino.martinez@jayway.dk> wrote:
>>
>>
>>
>>> Hi Ryan?
>>>
>>> I need this effect :
>>> http://github.com/madrobby/scriptaculous/wikis/effect-multiple to be
>>> able
>>> to build the toaster. It's almost done, a scriptaculous header
>>> contributor
>>> would also be very nice.
>>>
>>> When im done with the toaster should I just add it to the project?
>>>
>>> --
>>> -Wicket for love
>>>
>>> Nino Martinez Wael
>>> Java Specialist @ Jayway DK
>>> http://www.jayway.dk
>>> +45 2936 7684
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>>>
>>
>>
>>
>
> --
> -Wicket for love
>
> Nino Martinez Wael
> Java Specialist @ Jayway DK
> http://www.jayway.dk
> +45 2936 7684
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: scriptaculous toaster

Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
Hmm

The Effect's as they are now gives me some trouble, because you need to 
give the component when creating the component. It would be much more 
flexible if it could be changed. And would allow the user to control 
which effects were used..

So what do you say? I could make the change:) API should be okay, and we 
could deprecate the old constructor..

Ryan Sonnek wrote:
> Not sure what this 'toaster' is, but i really like the multiple effect!  is
> it available in 1.8 or is this in scriptaculous 2.0?
>
> We have a scriptaculous header contributor using the
> ScriptaculousAjaxBehavior.newJavascriptBindingBehavior().  do you need
> something different?
>
>
> On Wed, Jun 4, 2008 at 8:32 PM, Nino Saturnino Martinez Vazquez Wael <
> nino.martinez@jayway.dk> wrote:
>
>   
>> Hi Ryan?
>>
>> I need this effect :
>> http://github.com/madrobby/scriptaculous/wikis/effect-multiple to be able
>> to build the toaster. It's almost done, a scriptaculous header contributor
>> would also be very nice.
>>
>> When im done with the toaster should I just add it to the project?
>>
>> --
>> -Wicket for love
>>
>> Nino Martinez Wael
>> Java Specialist @ Jayway DK
>> http://www.jayway.dk
>> +45 2936 7684
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>     
>
>   

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: scriptaculous toaster

Posted by Ryan Sonnek <ry...@gmail.com>.
Not sure what this 'toaster' is, but i really like the multiple effect!  is
it available in 1.8 or is this in scriptaculous 2.0?

We have a scriptaculous header contributor using the
ScriptaculousAjaxBehavior.newJavascriptBindingBehavior().  do you need
something different?


On Wed, Jun 4, 2008 at 8:32 PM, Nino Saturnino Martinez Vazquez Wael <
nino.martinez@jayway.dk> wrote:

> Hi Ryan?
>
> I need this effect :
> http://github.com/madrobby/scriptaculous/wikis/effect-multiple to be able
> to build the toaster. It's almost done, a scriptaculous header contributor
> would also be very nice.
>
> When im done with the toaster should I just add it to the project?
>
> --
> -Wicket for love
>
> Nino Martinez Wael
> Java Specialist @ Jayway DK
> http://www.jayway.dk
> +45 2936 7684
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>