I`ve got strange problem, while i`m trying to use commandLink inside the dataTable. It seems that it doesn`t work corectly - it`s not redirecting to the page I want to, instead its refreshing current page with clearing variables(dataTable ends empty). But when i put exactly the same link outside datatable, it works fine. What might be the problem? I`m using Glassfish v3 with netbeans 6.8.
Here`s code:
<h:form>
<h:commandLink action="#{Controller.someMethod('621020522600002475416')}">action!</h:commandLink>
<h:outputText value="#{rl.adres1}"/>
<h:messages/>
</h:form>
<h:dataTable value="#{Controller.variable}" var="rl">
<h:column>
<h:form>
<h:commandLink id="ActionLink" action="#{Controller.someMethod('621020522600002475416')}">action!</h:commandLink>
<h:outputText value="#{rl.adres1}"/>
</h:form>
</h:column>
</h:dataTable>
[Message sent by forum member 'madierfakier']
http://forums.java.net/jive/thread.jspa?messageID=475118