[JBoss-user] [JBoss Seam] - Conversational annotation enforcement by remoting

2006-06-16 Thread knaas
When an object is marked as Conversational(ifNotBegunOutcome=...) and the request is made to a WebRemote method, it still allows the method call to proceed. Is this a bug or a feature? I expected a http error code to be returned - since you can't redirect to the outcome :) View the original

[JBoss-user] [JBoss Seam] - possible to call outside of web app?

2006-05-31 Thread knaas
Is it possible (or will it eventually be possible) to invoke seam javabeans outside the scope of a web application? I am thinking through the implementation of a progress bar where the progress is updated by a service. Currently it throws an IllegalStateException at | 6:43:14,096 INFO [ST

[JBoss-user] [JBoss Seam] - Re: cancelling remoting requests

2006-05-30 Thread knaas
It's working exactly as I would expect it to. Thanks for doing this so quickly! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947689#3947689 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947689 -

[JBoss-user] [JBoss Seam] - cancelling remoting requests

2006-05-26 Thread knaas
Any thoughts about JIRA issue 240? http://jira.jboss.com/jira/browse/JBSEAM-240 The ajax request object does support aborting of a command. If that object could be somehow be held onto, it would be easy to do. For instance, Seam.Remoting.sendAjaxRequest could return the asyncReq. Then, insid

[JBoss-user] [JBoss Seam] - Re: Debug page

2006-05-22 Thread knaas
Whoops, Copied the wrong thing, it should have said where ".jsf" is the url-pattern for your Faces Servlet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945482#3945482 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=39

[JBoss-user] [JBoss Seam] - Re: Debug page

2006-05-22 Thread knaas
The debug page is available at any point by going to "myapppath/debug.jsf" where "myapppath" is the context path of your application and ".jsf" is the url-pattern for you Seam Redirect Filter. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945481#3945481 Rep

[JBoss-user] [JBoss Seam] - Re: WebRemote method serialization with interfaces

2006-05-19 Thread knaas
Here's another interesting related problem, when the server serializes the return object, it serializes the class. Because the WebRemote method returns an interface, the javascript client does not know that that class actually implements that interface. Hypothetical Example: | | @Name(

[JBoss-user] [JBoss Seam] - WebRemote method serialization with interfaces

2006-05-18 Thread knaas
We have a Remoting method in a Service that returns an interface A. Interface A extends Interface B. When the javascript interface is generated by the InterfaceGenerator, it does not generate metadata for Interface B. This means that the object is not fully serialized/deserialized. Is there

[JBoss-user] [JBoss Seam] - Events.raiseEvent with javabeans

2006-05-01 Thread knaas
When one javabean raises an event to another javabean, what needs to be the syntax for the event method? A nonarg method is easy. How does one raise an event such that the Observer knows who initiated it? It doesn't appear from the CVS source that the initiator is passed to the Observer. S

[JBoss-user] [JBoss Seam] - Re: communication from nested to parent conversation

2006-05-01 Thread knaas
The following also appears to work. Of course, this is an abuse of the API :) | public void selectVendor() | { | if ( this.vendors==null ) | { | return; | } | setVendor(); | Conversation.instance().pop(); | Co

[JBoss-user] [JBoss Seam] - communication from nested to parent conversation

2006-05-01 Thread knaas
In http://docs.jboss.com/seam/reference/en/html/conversations.html#d0e2697 it states that: anonymous wrote : nested conversation has its own conversation context, and also has read-only access to the context of the outer conversation. (It can read the outer conversation's context variables, but

[JBoss-user] [JBoss Seam] - resuming parent conversations

2006-04-28 Thread knaas
We have a screen where the user can enter an id into a field or search for the id by clicking a link. My approach to this was to have a s:link button that nests a conversation when the user clicks the search button. After fixing a small problem in the HtmlLink class (see [http://jira.jboss.co