You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Doug Donohoe <do...@donohoe.info> on 2008/05/05 17:00:48 UTC
wicketstuff jira down or moved?
Is the wicketstuff jira down or moved elsewhere?
http://wicketstuff.org/jira/
I'm following these instructions:
http://wicketstuff.org/confluence/display/STUFFWIKI/Developer+Information
-Doug
--
View this message in context: http://www.nabble.com/wicketstuff-jira-down-or-moved--tp17063599p17063599.html
Sent from the Wicket - Dev mailing list archive at Nabble.com.
Re: Scriptaculous events onStart + onEnd
Posted by Stefan Lindner <li...@visionet.de>.
Hi Ryan,
the documentationURL is http://wiki.script.aculo.us/scriptaculous/show/Draggable
I'm building a calendar application with the ability to
a) klick on an appointment to edit the appointment in a ModalWindow
a) drag and drop the appointment to another free slot in a day's column. So I have to use an AjaxFallbackLink as the draggable Component. The problem now with Scriptaculous is that a AjaxFallbackLink generates an onClick event after it was dropped. So I must distinguish between a pseudo-klick following a drag operation and a real klick. So I register the onEnd event and set an internal flag. That was the original reason to implement the onEnd event.
Stefan
-----Ursprüngliche Nachricht-----
Von: Ryan Sonnek [mailto:ryan.sonnek@gmail.com]
Gesendet: Dienstag, 6. Mai 2008 15:51
An: dev@wicket.apache.org
Betreff: Re: Scriptaculous events onStart + onEnd
Thanks for the post!
I'm all for extending the scriptaculous project if there are useful additions! can you point me to the scriptaculous documentation for these hooks? what are they typically used for?
On Tue, May 6, 2008 at 7:40 AM, Stefan Lindner <li...@visionet.de> wrote:
> Dear Ryan,
>
> I have implemented the Scriptaculous dragAndDrop events onStart und
> onEnd. The implementation is experimental at the moment but it works
> fine. To do a proper implementation I need to extend the
> DraggabeBehavior class. Are you interrested in a collaboration in
> development of Scriptaculous for wicket? Or should I simply generate a
> patch? The questions I want do discuss are:
>
> 1. The DraggableBehavior class has a common respond-method, currently
> commented as //no callback...yet
>
> 2. Now it would be possible to something like
>
> enum DragEventType = {NONE, ON_START, ON_END}
>
> private DragEventType dragEventType = none;
>
> protected DragEventType getEventType( return dragEventType; );
>
>
> protected void respond(AjaxRequestTarget target) {
> // extract eventType from target
> dragEventType = extractedEventType;
> }
>
> -----
>
> The client could do
> @Overwrite
> protected void respond(AjaxRequestTarget target) {
> super(target);
>
> switch (getEventType()) {
> case ON_START....
> case ONENDSTART....
> }
> }
>
> 3. Or we could do something like
>
> protected void onStart(AjaxRequestTarget target){}
>
> protected void onEnd(AjaxRequestTarget target){}
>
> protected void respond(AjaxRequestTarget target) {
> // extract eventType from target
> if (eventType == onStart)
> onStart();
> else fi (eventType == onEnd)
> onEnd();
> }
>
> -----
>
> The client could do
> @Overwrite
> protected void onEnd(AjaxRequestTarget target) {
> // do onEnd processing
> }
>
> 4. In both cases we need something like
>
> public void setOnStart(boolean createOnStartListender)
> ...
>
> public void setOnEnd(boolean createOnEndListender) ...
>
> 5. We also could implement the onHover event of the DraggableTarget to
> complete the drag and drop events.
>
> Please let me know which was you want to go.
>
> Keep on Wicket!
>
> Stefan Lindner
>
>
Re: Scriptaculous events onStart + onEnd
Posted by Stefan Lindner <li...@visionet.de>.
Thank you for your response! I think, I'll contact you directly to avoid confusion on the dev list.
Stefan
-----Ursprüngliche Nachricht-----
Von: Ryan Sonnek [mailto:ryan.sonnek@gmail.com]
Gesendet: Mittwoch, 7. Mai 2008 23:07
An: dev@wicket.apache.org
Betreff: Re: Scriptaculous events onStart + onEnd
for sure. i'd be very interested in collaborating.
i went through the scriptaculous documentation yesterday, but i haven't made any changes yet. if you have a patch for new features, or changes, feel free to send them my way.
On Wed, May 7, 2008 at 4:03 PM, Stefan Lindner <li...@visionet.de> wrote:
> Dear Ryan,
>
> are you interrested in any collaboration concerning Wicket integration
> of Scriptaculous? E.G. gererifying things like DraggableTarget? I did
> not yet receive any response from you.
>
> Stefan
>
> -----Ursprüngliche Nachricht-----
> Von: Ryan Sonnek [mailto:ryan.sonnek@gmail.com]
> Gesendet: Dienstag, 6. Mai 2008 15:51
> An: dev@wicket.apache.org
> Betreff: Re: Scriptaculous events onStart + onEnd
>
> Thanks for the post!
>
> I'm all for extending the scriptaculous project if there are useful
> additions! can you point me to the scriptaculous documentation for
> these hooks? what are they typically used for?
>
> On Tue, May 6, 2008 at 7:40 AM, Stefan Lindner <li...@visionet.de>
> wrote:
>
> > Dear Ryan,
> >
> > I have implemented the Scriptaculous dragAndDrop events onStart und
> > onEnd. The implementation is experimental at the moment but it works
> > fine. To do a proper implementation I need to extend the
> > DraggabeBehavior class. Are you interrested in a collaboration in
> > development of Scriptaculous for wicket? Or should I simply generate
> > a patch? The questions I want do discuss are:
> >
> > 1. The DraggableBehavior class has a common respond-method,
> > currently commented as //no callback...yet
> >
> > 2. Now it would be possible to something like
> >
> > enum DragEventType = {NONE, ON_START, ON_END}
> >
> > private DragEventType dragEventType = none;
> >
> > protected DragEventType getEventType( return dragEventType;
> > );
> >
> >
> > protected void respond(AjaxRequestTarget target) {
> > // extract eventType from target
> > dragEventType = extractedEventType;
> > }
> >
> > -----
> >
> > The client could do
> > @Overwrite
> > protected void respond(AjaxRequestTarget target) {
> > super(target);
> >
> > switch (getEventType()) {
> > case ON_START....
> > case ONENDSTART....
> > }
> > }
> >
> > 3. Or we could do something like
> >
> > protected void onStart(AjaxRequestTarget target){}
> >
> > protected void onEnd(AjaxRequestTarget target){}
> >
> > protected void respond(AjaxRequestTarget target) {
> > // extract eventType from target
> > if (eventType == onStart)
> > onStart();
> > else fi (eventType == onEnd)
> > onEnd();
> > }
> >
> > -----
> >
> > The client could do
> > @Overwrite
> > protected void onEnd(AjaxRequestTarget target) {
> > // do onEnd processing
> > }
> >
> > 4. In both cases we need something like
> >
> > public void setOnStart(boolean
> > createOnStartListender) ...
> >
> > public void setOnEnd(boolean createOnEndListender) ...
> >
> > 5. We also could implement the onHover event of the DraggableTarget
> > to complete the drag and drop events.
> >
> > Please let me know which was you want to go.
> >
> > Keep on Wicket!
> >
> > Stefan Lindner
> >
> >
>
Re: Scriptaculous events onStart + onEnd
Posted by Ryan Sonnek <ry...@gmail.com>.
for sure. i'd be very interested in collaborating.
i went through the scriptaculous documentation yesterday, but i haven't made
any changes yet. if you have a patch for new features, or changes, feel
free to send them my way.
On Wed, May 7, 2008 at 4:03 PM, Stefan Lindner <li...@visionet.de> wrote:
> Dear Ryan,
>
> are you interrested in any collaboration concerning Wicket integration of
> Scriptaculous? E.G. gererifying things like DraggableTarget? I did not yet
> receive any response from you.
>
> Stefan
>
> -----Ursprüngliche Nachricht-----
> Von: Ryan Sonnek [mailto:ryan.sonnek@gmail.com]
> Gesendet: Dienstag, 6. Mai 2008 15:51
> An: dev@wicket.apache.org
> Betreff: Re: Scriptaculous events onStart + onEnd
>
> Thanks for the post!
>
> I'm all for extending the scriptaculous project if there are useful
> additions! can you point me to the scriptaculous documentation for these
> hooks? what are they typically used for?
>
> On Tue, May 6, 2008 at 7:40 AM, Stefan Lindner <li...@visionet.de>
> wrote:
>
> > Dear Ryan,
> >
> > I have implemented the Scriptaculous dragAndDrop events onStart und
> > onEnd. The implementation is experimental at the moment but it works
> > fine. To do a proper implementation I need to extend the
> > DraggabeBehavior class. Are you interrested in a collaboration in
> > development of Scriptaculous for wicket? Or should I simply generate a
> > patch? The questions I want do discuss are:
> >
> > 1. The DraggableBehavior class has a common respond-method, currently
> > commented as //no callback...yet
> >
> > 2. Now it would be possible to something like
> >
> > enum DragEventType = {NONE, ON_START, ON_END}
> >
> > private DragEventType dragEventType = none;
> >
> > protected DragEventType getEventType( return dragEventType; );
> >
> >
> > protected void respond(AjaxRequestTarget target) {
> > // extract eventType from target
> > dragEventType = extractedEventType;
> > }
> >
> > -----
> >
> > The client could do
> > @Overwrite
> > protected void respond(AjaxRequestTarget target) {
> > super(target);
> >
> > switch (getEventType()) {
> > case ON_START....
> > case ONENDSTART....
> > }
> > }
> >
> > 3. Or we could do something like
> >
> > protected void onStart(AjaxRequestTarget target){}
> >
> > protected void onEnd(AjaxRequestTarget target){}
> >
> > protected void respond(AjaxRequestTarget target) {
> > // extract eventType from target
> > if (eventType == onStart)
> > onStart();
> > else fi (eventType == onEnd)
> > onEnd();
> > }
> >
> > -----
> >
> > The client could do
> > @Overwrite
> > protected void onEnd(AjaxRequestTarget target) {
> > // do onEnd processing
> > }
> >
> > 4. In both cases we need something like
> >
> > public void setOnStart(boolean createOnStartListender)
> > ...
> >
> > public void setOnEnd(boolean createOnEndListender) ...
> >
> > 5. We also could implement the onHover event of the DraggableTarget to
> > complete the drag and drop events.
> >
> > Please let me know which was you want to go.
> >
> > Keep on Wicket!
> >
> > Stefan Lindner
> >
> >
>
Re: Scriptaculous events onStart + onEnd
Posted by Stefan Lindner <li...@visionet.de>.
Dear Ryan,
are you interrested in any collaboration concerning Wicket integration of Scriptaculous? E.G. gererifying things like DraggableTarget? I did not yet receive any response from you.
Stefan
-----Ursprüngliche Nachricht-----
Von: Ryan Sonnek [mailto:ryan.sonnek@gmail.com]
Gesendet: Dienstag, 6. Mai 2008 15:51
An: dev@wicket.apache.org
Betreff: Re: Scriptaculous events onStart + onEnd
Thanks for the post!
I'm all for extending the scriptaculous project if there are useful additions! can you point me to the scriptaculous documentation for these hooks? what are they typically used for?
On Tue, May 6, 2008 at 7:40 AM, Stefan Lindner <li...@visionet.de> wrote:
> Dear Ryan,
>
> I have implemented the Scriptaculous dragAndDrop events onStart und
> onEnd. The implementation is experimental at the moment but it works
> fine. To do a proper implementation I need to extend the
> DraggabeBehavior class. Are you interrested in a collaboration in
> development of Scriptaculous for wicket? Or should I simply generate a
> patch? The questions I want do discuss are:
>
> 1. The DraggableBehavior class has a common respond-method, currently
> commented as //no callback...yet
>
> 2. Now it would be possible to something like
>
> enum DragEventType = {NONE, ON_START, ON_END}
>
> private DragEventType dragEventType = none;
>
> protected DragEventType getEventType( return dragEventType; );
>
>
> protected void respond(AjaxRequestTarget target) {
> // extract eventType from target
> dragEventType = extractedEventType;
> }
>
> -----
>
> The client could do
> @Overwrite
> protected void respond(AjaxRequestTarget target) {
> super(target);
>
> switch (getEventType()) {
> case ON_START....
> case ONENDSTART....
> }
> }
>
> 3. Or we could do something like
>
> protected void onStart(AjaxRequestTarget target){}
>
> protected void onEnd(AjaxRequestTarget target){}
>
> protected void respond(AjaxRequestTarget target) {
> // extract eventType from target
> if (eventType == onStart)
> onStart();
> else fi (eventType == onEnd)
> onEnd();
> }
>
> -----
>
> The client could do
> @Overwrite
> protected void onEnd(AjaxRequestTarget target) {
> // do onEnd processing
> }
>
> 4. In both cases we need something like
>
> public void setOnStart(boolean createOnStartListender)
> ...
>
> public void setOnEnd(boolean createOnEndListender) ...
>
> 5. We also could implement the onHover event of the DraggableTarget to
> complete the drag and drop events.
>
> Please let me know which was you want to go.
>
> Keep on Wicket!
>
> Stefan Lindner
>
>
Re: Scriptaculous events onStart + onEnd
Posted by Ryan Sonnek <ry...@gmail.com>.
Thanks for the post!
I'm all for extending the scriptaculous project if there are useful
additions! can you point me to the scriptaculous documentation for these
hooks? what are they typically used for?
On Tue, May 6, 2008 at 7:40 AM, Stefan Lindner <li...@visionet.de> wrote:
> Dear Ryan,
>
> I have implemented the Scriptaculous dragAndDrop events onStart und
> onEnd. The implementation is experimental at the moment but it works
> fine. To do a proper implementation I need to extend the
> DraggabeBehavior class. Are you interrested in a collaboration in
> development of Scriptaculous for wicket? Or should I simply generate a
> patch? The questions I want do discuss are:
>
> 1. The DraggableBehavior class has a common respond-method, currently
> commented as //no callback...yet
>
> 2. Now it would be possible to something like
>
> enum DragEventType = {NONE, ON_START, ON_END}
>
> private DragEventType dragEventType = none;
>
> protected DragEventType getEventType( return dragEventType; );
>
>
> protected void respond(AjaxRequestTarget target) {
> // extract eventType from target
> dragEventType = extractedEventType;
> }
>
> -----
>
> The client could do
> @Overwrite
> protected void respond(AjaxRequestTarget target) {
> super(target);
>
> switch (getEventType()) {
> case ON_START....
> case ONENDSTART....
> }
> }
>
> 3. Or we could do something like
>
> protected void onStart(AjaxRequestTarget target){}
>
> protected void onEnd(AjaxRequestTarget target){}
>
> protected void respond(AjaxRequestTarget target) {
> // extract eventType from target
> if (eventType == onStart)
> onStart();
> else fi (eventType == onEnd)
> onEnd();
> }
>
> -----
>
> The client could do
> @Overwrite
> protected void onEnd(AjaxRequestTarget target) {
> // do onEnd processing
> }
>
> 4. In both cases we need something like
>
> public void setOnStart(boolean createOnStartListender)
> ...
>
> public void setOnEnd(boolean createOnEndListender) ...
>
> 5. We also could implement the onHover event of the DraggableTarget to
> complete the drag and drop events.
>
> Please let me know which was you want to go.
>
> Keep on Wicket!
>
> Stefan Lindner
>
>
Scriptaculous events onStart + onEnd
Posted by Stefan Lindner <li...@visionet.de>.
Dear Ryan,
I have implemented the Scriptaculous dragAndDrop events onStart und
onEnd. The implementation is experimental at the moment but it works
fine. To do a proper implementation I need to extend the
DraggabeBehavior class. Are you interrested in a collaboration in
development of Scriptaculous for wicket? Or should I simply generate a
patch? The questions I want do discuss are:
1. The DraggableBehavior class has a common respond-method, currently
commented as //no callback...yet
2. Now it would be possible to something like
enum DragEventType = {NONE, ON_START, ON_END}
private DragEventType dragEventType = none;
protected DragEventType getEventType( return dragEventType; );
protected void respond(AjaxRequestTarget target) {
// extract eventType from target
dragEventType = extractedEventType;
}
-----
The client could do
@Overwrite
protected void respond(AjaxRequestTarget target) {
super(target);
switch (getEventType()) {
case ON_START....
case ONENDSTART....
}
}
3. Or we could do something like
protected void onStart(AjaxRequestTarget target){}
protected void onEnd(AjaxRequestTarget target){}
protected void respond(AjaxRequestTarget target) {
// extract eventType from target
if (eventType == onStart)
onStart();
else fi (eventType == onEnd)
onEnd();
}
-----
The client could do
@Overwrite
protected void onEnd(AjaxRequestTarget target) {
// do onEnd processing
}
4. In both cases we need something like
public void setOnStart(boolean createOnStartListender)
...
public void setOnEnd(boolean createOnEndListender) ...
5. We also could implement the onHover event of the DraggableTarget to
complete the drag and drop events.
Please let me know which was you want to go.
Keep on Wicket!
Stefan Lindner
Re: wicketstuff jira down or moved?
Posted by Johan Compagner <jc...@gmail.com>.
I also tried to look to it already
But probe wasnt also up and then it makes it a bit harder to test it quickly
I moved in probe again but that didnt help to much. I think i have to
restart it once more.
if i have time i will look into it today or else tomorrow
On Mon, May 5, 2008 at 5:04 PM, Maurice Marrink <ma...@gmail.com> wrote:
> the wicketstuff jira is currently down.
> Not sure when it will be up again.
> Martijn care to comment?
>
> Maurice
>
> On Mon, May 5, 2008 at 5:00 PM, Doug Donohoe <do...@donohoe.info> wrote:
> >
> > Is the wicketstuff jira down or moved elsewhere?
> >
> > http://wicketstuff.org/jira/
> >
> > I'm following these instructions:
> >
> >
> http://wicketstuff.org/confluence/display/STUFFWIKI/Developer+Information
> >
> > -Doug
> > --
> > View this message in context:
> http://www.nabble.com/wicketstuff-jira-down-or-moved--tp17063599p17063599.html
> > Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >
> >
>
Re: wicketstuff jira down or moved?
Posted by Maurice Marrink <ma...@gmail.com>.
the wicketstuff jira is currently down.
Not sure when it will be up again.
Martijn care to comment?
Maurice
On Mon, May 5, 2008 at 5:00 PM, Doug Donohoe <do...@donohoe.info> wrote:
>
> Is the wicketstuff jira down or moved elsewhere?
>
> http://wicketstuff.org/jira/
>
> I'm following these instructions:
>
> http://wicketstuff.org/confluence/display/STUFFWIKI/Developer+Information
>
> -Doug
> --
> View this message in context: http://www.nabble.com/wicketstuff-jira-down-or-moved--tp17063599p17063599.html
> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>
>