Re: wicketstuff-push is over, wickestuff-dojo-1.1 is born ???

2008-11-21 Thread Stefan Fußenegger

see
http://www.nabble.com/Dojo-1.1-integration-available-from-wicketstuff-to20625220.html


Michael Sparer wrote:
 
 Hi Julien, 
 
 we're doing our last tests today and tomorrow and will put
 wicketstuff-dojo-1.1 into production by Monday. If no issues arise, we'll
 share it as a wicketstuff project next week. Please note that so far, we
 only ported some components to 1.1. (includes wiper, slider, drag and drop
 and cometd). We're also making extensive use of cometd, which is quite a
 bit better than in dojo 0.4 by the way, and it is also included in the
 wicketstuff-dojo-1.1 project then. Then it's your turn to give
 recommendations, improvements and, most important, help to get the same
 functionality working for 1.1.
 
 as for the corrupted push project: rodolfo made some changes, so I don't
 know what's going on there. A version of wicketstuff-push before rodolfo
 started with the makeover is available as a branch. Just check out
 wicketstuff's branches, if you can't wait till next week.
 
 regards,
 Michael
 
 
 julien Graglia wrote:
 
 Hi,
 I have read some posts (1) that seems to say that wicketstuff-push will
 be replaced by a new wicketstuff-dojo-1.1 artifact.
 
 The post says that this artifact is in a private SVN repo, but will be
 available shortly..
 
 Do you have any informations about that?
 
 I need to do reverse ajax with wicket (cometd...) ie. push event from a
 server thread at the server initiative. It works with an old (rev 4245)
 version  of wicketstuff-push. The trunk seems corrupted : a dojo
 folder is missing..
 
 
 
 1 : http://www.nabble.com/New-wicketstuff-dojo-project-td19070145.html
 -- 
 Julien Graglia
 NetCeler
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 


-
---
Stefan Fußenegger
http://talk-on-tech.blogspot.com // looking for a nicer domain ;)
-- 
View this message in context: 
http://www.nabble.com/wicketstuff-push-is-over%2C-wickestuff-dojo-1.1-is-born-tp20356751p20625246.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: wicketstuff-push is over, wickestuff-dojo-1.1 is born ???

2008-11-12 Thread Julien Graglia
Le samedi 08 novembre 2008 à 08:56 -0400, Rodolfo Hansen a écrit :
 I'm currently using wicketstuff-push on a small app I have.
 The only bug I am aware of is related to the RemoveListener.
 
 What exactly is the issue you are having?
I have some javascript errors with the trunk (rev 4309): 

dojo is not defined
http://jgr-pc:8080/WicketTestProject/pages/HomePage/
Line 59
dojox is not defined
http://jgr-pc:8080/WicketTestProject/pages/HomePage/
Line 30
dojox is not defined
http://jgr-pc:8080/WicketTestProject/pages/HomePage/
Line 59


But with an older version (rev 4245) it works. The most visible
difference is the presence of folders  dojo, and dojox in the old
revision : 
[EMAIL PROTECTED]:~/workspaceOLD/push$ ls -alh
src/main/resources/org/wicketstuff/push/cometd/dojo/
total 24K
drwxr-xr-x 6 julien julien 4,0K 2008-09-19 18:37 .
drwxr-xr-x 4 julien julien 4,0K 2008-09-19 18:37 ..
drwxr-xr-x 5 julien julien 4,0K 2008-09-19 18:37 dijit
drwxr-xr-x 5 julien julien 4,0K 2008-09-19 18:37 dojo
drwxr-xr-x 4 julien julien 4,0K 2008-09-19 18:37 dojox
drwxr-xr-x 6 julien julien 4,0K 2008-09-30 21:14 .svn


In the trunk : 
[EMAIL PROTECTED]:~/workspace/wicketstuff-push$ ls -alh
src/main/resources/org/wicketstuff/push/
total 16K
drwxr-xr-x 4 julien julien 4,0K 2008-11-12 13:29 .
drwxr-xr-x 4 julien julien 4,0K 2008-11-12 13:29 ..
drwxr-xr-x 4 julien julien 4,0K 2008-11-12 13:29 dojo
drwxr-xr-x 6 julien julien 4,0K 2008-11-12 13:29 .svn


The
org.wicketstuff.push.cometd.CometdAbstractBehavior.getInitCometdScript() , 
getSubscriberScript seems to inject invalid js links...

I just notice that the folder stucture changed...

My test app is basically  : 
A Wicket Application with a channel service and and update thread: 
private final IChannelService cometdService;

public AddressBookApplication() {
cometdService = new CometdService(this);

final Thread thread = new Thread(new Runnable() {
@Override
public void run() {
update(cometdService);
}
});
thread.start();
}

public void update(final IChannelService service) {
try {
int counter = 0;
while (true) {
counter++;
Thread.sleep(1000);
final ChannelEvent event = new 
ChannelEvent(chat);
final String msg = counter + counter;
event.addData(message, msg);
/* xxx */System.out.println(JGr  Publishing 
 + event.getData() +
 on channel : chat);
service.publish(event);
}
} catch (final Exception exc) {
//...
}
}


And a page displaying the message pushed in a label
public HomePage() {
final IChannelService service = ((AddressBookApplication)
WebApplication.get()).getCometdService();
...
service.addChannelListener(this, chat, new IChannelListener() {
 public void onEvent(final String channel, final Map datas, final
IChannelTarget target) {
  labelModel.strvalue =String.valueOf(datas.entrySet().toArray()[0]);
  target.addComponent(label);
 }
});


I you need more informations, you can contact me!

-- 
Julien Graglia
NetCeler


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: wicketstuff-push is over, wickestuff-dojo-1.1 is born ???

2008-11-08 Thread Rodolfo Hansen
I'm currently using wicketstuff-push on a small app I have.
The only bug I am aware of is related to the RemoveListener.

What exactly is the issue you are having?


On Thu, Nov 6, 2008 at 4:17 AM, Julien Graglia [EMAIL PROTECTED]wrote:

 Hi,
 I have read some posts (1) that seems to say that wicketstuff-push will
 be replaced by a new wicketstuff-dojo-1.1 artifact.

 The post says that this artifact is in a private SVN repo, but will be
 available shortly..

 Do you have any informations about that?

 I need to do reverse ajax with wicket (cometd...) ie. push event from a
 server thread at the server initiative. It works with an old (rev 4245)
 version  of wicketstuff-push. The trunk seems corrupted : a dojo
 folder is missing..



 1 : http://www.nabble.com/New-wicketstuff-dojo-project-td19070145.html
 --
 Julien Graglia
 NetCeler


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




wicketstuff-push is over, wickestuff-dojo-1.1 is born ???

2008-11-06 Thread Julien Graglia
Hi,
I have read some posts (1) that seems to say that wicketstuff-push will
be replaced by a new wicketstuff-dojo-1.1 artifact.

The post says that this artifact is in a private SVN repo, but will be
available shortly..

Do you have any informations about that?

I need to do reverse ajax with wicket (cometd...) ie. push event from a
server thread at the server initiative. It works with an old (rev 4245)
version  of wicketstuff-push. The trunk seems corrupted : a dojo
folder is missing..



1 : http://www.nabble.com/New-wicketstuff-dojo-project-td19070145.html
-- 
Julien Graglia
NetCeler


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: wicketstuff-push is over, wickestuff-dojo-1.1 is born ???

2008-11-06 Thread Michael Sparer

Hi Julien, 

we're doing our last tests today and tomorrow and will put
wicketstuff-dojo-1.1 into production by Monday. If no issues arise, we'll
share it as a wicketstuff project next week. Please note that so far, we
only ported some components to 1.1. (includes wiper, slider, drag and drop
and cometd). We're also making extensive use of cometd, which is quite a bit
better than in dojo 0.4 by the way, and it is also included in the
wicketstuff-dojo-1.1 project then. Then it's your turn to give
recommendations, improvements and, most important, help to get the same
functionality working for 1.1.

as for the corrupted push project: rodolfo made some changes, so I don't
know what's going on there. A version of wicketstuff-push before rodolfo
started with the makeover is available as a branch. Just check out
wicketstuff's branches, if you can't wait till next week.

regards,
Michael


julien Graglia wrote:
 
 Hi,
 I have read some posts (1) that seems to say that wicketstuff-push will
 be replaced by a new wicketstuff-dojo-1.1 artifact.
 
 The post says that this artifact is in a private SVN repo, but will be
 available shortly..
 
 Do you have any informations about that?
 
 I need to do reverse ajax with wicket (cometd...) ie. push event from a
 server thread at the server initiative. It works with an old (rev 4245)
 version  of wicketstuff-push. The trunk seems corrupted : a dojo
 folder is missing..
 
 
 
 1 : http://www.nabble.com/New-wicketstuff-dojo-project-td19070145.html
 -- 
 Julien Graglia
 NetCeler
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 


-
Michael Sparer
http://talk-on-tech.blogspot.com
-- 
View this message in context: 
http://www.nabble.com/wicketstuff-push-is-over%2C-wickestuff-dojo-1.1-is-born-tp20356751p20357888.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]