[JBoss-user] [JBoss Seam] - Re: Script.aculo.us with Seam Remoting
Gavin, Any chance your prototype + scriptaculous integration work will appear in a Seam downloadable soon? Will this appears, will there changes in how Seam currently supports remoting? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943273#3943273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943273 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Script.aculo.us with Seam Remoting
Sorry, I have not had any time to work on this stuff, I've been superbusy lately. It won't make it into Seam 1.0. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943350#3943350 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943350 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Script.aculo.us with Seam Remoting
I haven't really looked at the sciptaculous stuff, but what kind of integration is it that's needed? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943359#3943359 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943359 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Script.aculo.us with Seam Remoting
Looked at how Seam might play with jMaki? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943334#3943334 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943334 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Script.aculo.us with Seam Remoting
Marcio, thanks for that! I've managed to get your version of Autocomplete working in my environment too. Autocomplete is the control that wanted to get working in the first place but then I got distracted with InPlaceEditor (see first post). I'm hoping that somebody who really knows what they're doing will produce a full Seam and Script.aculo.us integration solution... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937947#3937947 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937947 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Script.aculo.us with Seam Remoting
Ok, so based on everybody's examples here I managed to get the Autocompleter working with Seam Remote. What I did was the following: 1. Create a extensions.js in which you extend the scriptaculous Autocompleter.Base | SeamAutocompleter = Class.create(); | Object.extend(Object.extend(SeamAutocompleter.prototype, Autocompleter.Base.prototype), { | | initialize: function(element, update, options) { | SeamRemote.log('SeamAutocompleter.initialize()\n'); | this.baseInitialize(element, update, options); | }, | | getUpdatedChoices: function() { | SeamRemote.log('SeamAutocompleter.getUpdatedChoices()\n'); | var instance = this; | var callback = function(returnVal) { instance.updateChoices(returnVal); }; | SeamRemote.create("autoComplete").getSuggestion(this.getToken(), callback); | } | | }); | 2. Create the Seam Remote component AutoCompleteAction.java with its interface AutoComplete.java | @Stateless | @Name("autoComplete") | @Interceptors(SeamInterceptor.class) | public class AutoCompleteAction implements AutoComplete { | | public String getSuggestion(String query) { | | // You would have a database query to get the actual | // suggestions based upon the user's input 'query' | return "option 1option 2"; | | } | | } | | @Local | public interface AutoComplete { | | @WebRemote | public String getSuggestion(String query); | | } | 3. Put the scriptaculous input box in your HTML | | | |new SeamAutocompleter('contact_name', 'contact_name_auto_complete',{}); | | Don't forget to import the correct JavaScript files in the HEAD section of your HTML. Hope this is of any use to anybody as JavaScript debugging can be quite a pain! :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937529#3937529 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937529 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Script.aculo.us with Seam Remoting
"d1g" wrote : | As an example, I wasn't able to use a member function of a script.aculo.us class as a remoting callback. The function executed but it lost it's 'instance' context. This might not be possible to solve... I usually define an anonymous function to handle situations like this: | function doRemoteCall() { | var instance = new SomeInstance(); | var callback = function(returnVal) { instance.doSomething(returnVal); }; | SeamRemote.create("myComponent").executeSomeMethod(callback); | } | Sorry about the sparse documentation, its high on my to-do list. I've also been wracking my brains trying to think of another example application that I can write that will demonstrate all the features of the remoting framework. I didn't want to write another e-commerce example... something different. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936728#3936728 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936728 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Script.aculo.us with Seam Remoting
I'm currently working on integrating SeamRemote and scriptaculous. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936721#3936721 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936721 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Script.aculo.us with Seam Remoting
Hi sbryzak2, My application is mapped to the root context as I want to have complete control of URLs for the entire site. You're right, it would be more portable if I'd used your SeamRemote.contextPath value and I'll add this in to my code. Thanks! Well done with Seam Remoting, it's pretty cool. The deep integration with Seam is vital as the other remoting libraries won't offer this. I do suggest that you add to the existing documentation (seen in CVS) as I think you could explain the capabilities further. A full example application would be good too. You mention integration with other libraries. My biggest area of difficulty was merging/integrating the transport of Seam Remoting with prototype and script.aculo.us. I could probably have used the Seam Remoting transport but I ended up using prototype, as it was more closely integrated with script.aculo.us. Perhaps you could consider integrating Seam Remoting with prototype somehow. As an example, I wasn't able to use a member function of a script.aculo.us class as a remoting callback. The function executed but it lost it's 'instance' context. This might not be possible to solve... I'm looking forward to seeing how you take this forward. Keep up the good work! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936717#3936717 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936717 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Script.aculo.us with Seam Remoting
Nicely done, I hadn't even considered integrating Seam Remoting in this manner and it is nice to see that it is actually possible. One little thing I noticed, is that where you're calling the initialize method you're not including the context path of your application in the URL: anonymous wrote : this.__initialize(element, '/seam/remoting' + SeamRemote.PATH_EXECUTE, options); I'm not sure how your application is being served but you may need to prefix this with SeamRemote.contextPath to make it more portable. Is there anything you think that could be changed or improved to make it easier to integrate remoting with other JS frameworks? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936479#3936479 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936479 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Script.aculo.us with Seam Remoting
Ah, neither is mine. It would at least be good to have an idea of where you're going with your related work. Not least because it may save me time! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936363#3936363 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936363 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Script.aculo.us with Seam Remoting
Sorry, not quite ready yet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936362#3936362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936362 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Script.aculo.us with Seam Remoting
So share your work too Gavin. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936360#3936360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936360 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Script.aculo.us with Seam Remoting
Haha, what a coincedence, I was actually working on this on the w/e. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936353#3936353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936353 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user