[jboss-user] [JBoss Seam] - s:link missing conversationId, sometimes

pdpantages do-not-reply at jboss.com
Mon Dec 18 21:31:10 EST 2006


Fyi, Using Seam 1.0.1GA, ajax4jsf 1.0.2, Jboss 4.0.4.GA

Hello Seamers, I have a question about rendering of s:link. I have a simple icon that I use an s:link with;


  |  <t:div styleClass="icontool">
  |                <s:link
  |                   title="Create a new scheduled trigger"   
  |                   action="#{workFlowAction.newTrigger}" >
  |                   <img src="/client/img/newtrigger32x32.png"
  |                      class="iconButtonOut"
  |                      onMouseOver="this.className='iconButtonUp'"
  |                      onMouseOut="this.className='iconButtonOut'"
  |                      onMouseDown="this.className='iconButtonDown'"
  |                      onMouseUp="this.className='iconButtonUp'" />
  |                   <f:param name="ctx"   value="triggertable"/>
  |                </s:link>
  |    </t:div>
  | 

My problem is, thatt when the page containing the button is first displayed, the link does not include the conversationId. It looks like so:


  | http://nebula:8080/client/view/workflow/triggertable.seam?ctx=triggertable&actionMethod=workFlowAction.newTrigger
  | 

If I refresh the page with the browser refresh button, it then fixes itself up:


  | http://nebula:8080/client/view/workflow/triggertable.seam?ctx=triggertable&actionMethod=workFlowAction.newTrigger&conversationId=16
  | 

I have other links on this page do not have this problem: 
I have a t:datatable on this page containng s:links, and a4j:commandLinks. Also some other icons with a4j:CommandLinks . Only the above is missing the conversationId. I tried removing the icon and subsituting a value="string" for the link but the behaviour did not change.

The a4j:commandLinks precede this one on the page. The dataTable comes after.

Any clues? I am a bit puzzled by it. I can get my code to work by adding an f:param with the conversationId in it, but I will get duplicate paramters in most cases. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994853#3994853

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994853



More information about the jboss-user mailing list