[jboss-user] [JBoss Seam] - Re: External AJAX access to webremote?

2007-12-18 Thread [EMAIL PROTECTED]
File a feature request in jira View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113908#4113908 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113908 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: External AJAX access to webremote?

2007-12-14 Thread whafrog
For those interested, Seam appears to be using the XmlHttpRequest.responseXML property, but this triggers a Firefox/javascript/security problem, in that you aren't allowed to access the XML version of the data you're requesting. You can, however, get the raw text, do your own reparsing, and play

[jboss-user] [JBoss Seam] - Re: External AJAX access to webremote?

2007-12-14 Thread whafrog
Now that I included jboss-seam-remoting.jar...yes. (doh! slap!) Different issue now, both IE and Firefox have security issues. I'm logged in to my work via VPN, it must think "localhost" is a different domain. In IE I can enable the session, in Firefox I get a red "Please wait..." box in the

[jboss-user] [JBoss Seam] - Re: External AJAX access to webremote?

2007-12-13 Thread [EMAIL PROTECTED]
If you browse directly to http://localhost:8080/myapp/seam/resource/remoting/resource/remote.js does it work? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112754#4112754 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [JBoss Seam] - Re: External AJAX access to webremote?

2007-12-13 Thread whafrog
"[EMAIL PROTECTED]" wrote : Oh, and you also need to override the Seam.Remoting.resourcePath after you import the script. It defaults to "/appname/seam/resource/remoting", so you'll need to give it an absolute url also... According to the Firefox javascript console, "Seam is not defined". Her

[jboss-user] [JBoss Seam] - Re: External AJAX access to webremote?

2007-12-13 Thread dakna
I'm also interested in this topic, and with a quick search I came up with this thread: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069622#4069622 Maybe in this case it is also a cross domain policy problem, because of the different http port (80) of your static pages in comparison

[jboss-user] [JBoss Seam] - Re: External AJAX access to webremote?

2007-12-12 Thread [EMAIL PROTECTED]
Oh, and you also need to override the Seam.Remoting.resourcePath after you import the script. It defaults to "/appname/seam/resource/remoting", so you'll need to give it an absolute url also: Seam.Remoting.resourcePath = "http://localhost:8080/appname/seam/resource/remoting"; Make sure this l

[jboss-user] [JBoss Seam] - Re: External AJAX access to webremote?

2007-12-12 Thread [EMAIL PROTECTED]
The remoting stubs should work, just make sure you specify the absolute url to them. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112439#4112439 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112439 _

[jboss-user] [JBoss Seam] - Re: External AJAX access to webremote?

2007-12-12 Thread whafrog
For those interested: All the examples I was looking at used @Resource to inject the UserTransaction into the servlet, but it was always null. This works better: ut = (UserTransaction)context.lookup("java:comp/UserTransaction"); I wish there was a better way though. View the original post :

[jboss-user] [JBoss Seam] - Re: External AJAX access to webremote?

2007-12-12 Thread whafrog
Since it appears I can't get a functioning EntityManager in my servlet (I can get an entity manager, but can't inject a UserTransaction or get an EntityTransaction from the entity manager)...any suggestions? I basically want to expose a method on a stateless bean, accept a couple of parameters,