You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 25 Members of 4546 |
| Forum: Seam Users |
24. Jul 2008, 18:49 CET | Link |
I have the need for an AJAX command button so that I can call some javascript as well as reRender a table of results. The results each have an s:link in them such that I can propagate the conversation. Unfortunately, the CID is being bumped up when I hit the commandButton.
Does any one know how to pass the current conversation ID to propagate into the a:commandButton?
Have you tried this ?
<a:commandButton id="brokerSearch"
value="Search for Brokers"
action="#{signup.findBrokers}"
ajaxSingle="true"
reRender="results"
data = "#{signup.brokerInfoList}"
oncomplete="createBrokerMarkers(data)">
<f:param value="#{accountId}" name="accountId"/>
<s:conversationPropagation type="join" />
</a:commandButton>
Hi Mark: What exactly do you want to achieve?.
To join to the current conversation by using an a:commandButton, or to have the conversation Id on the re rendered region as part of the s:link.
Also, show the code for results and createBrokerMarkers(data).
Roger.