[jboss-user] [JBoss Seam] - Re: Getting Conversation Id in javascript. Is there a better

2006-09-12 Thread fhh
Im not an expert when it comes to seams remoting fuctionality but I think this:


  | script type=text/javascript
  |   Seam.Remoting.getContext().setConversationId(#{conversation.id});
  | /script
  | 

has the disadvantage of doing an extra round trip to the server which is quite 
unnecessary.

Would it not be simpler to use:


  | function checkConversation()
  | {
  |   conversationId == '#{conversation.id}';
  |   if (conversationId == '') conversationID = null;
  | }
  | 

I have not checked whether it actually works but I think it should.

Regards

fhh

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3970924#3970924

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3970924
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Getting Conversation Id in javascript. Is there a better

2006-09-11 Thread nicola9000
sbryzak2 wrote : 
  |   | script type=text/javascript
  |   |   Seam.Remoting.getContext().setConversationId(#{conversation.id});
  |   | /script
  |   | 

:-)  tk




View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3970799#3970799

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3970799
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Getting Conversation Id in javascript. Is there a better

2006-09-10 Thread sbryzak2

  | script type=text/javascript
  |   Seam.Remoting.getContext().setConversationId(#{conversation.id});
  | /script
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3970637#3970637

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3970637
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user