[jboss-user] [JBoss Seam] - Re: s:link/s:button in RichFaces or Trinidad
rkosiarz82
do-not-reply at jboss.com
Sun Jun 3 17:28:52 EDT 2007
I have similar problem I canot invoke any action="#{Bean.action}" when I'am trining to use RichFaces
i trided to use <t:commandLink, <a4j:commandLink, <s:commandLink, <s:link any of them cannot invoke actions from bean :-/. The code is loking like that
<rich:dataTable id="adressList" rows="10" columnClasses="col" var="adressele" value="#{adressesList}" rendered="#{not empty adressesList}">
<f:facet name="header">
<rich:columnGroup>
<h:column> <h:outputText styleClass="headerText" value="#{messages.name}"/> </h:column>
<h:column> <h:outputText styleClass="headerText" value="#{messages.url}"/> </h:column>
<h:column> <h:outputText styleClass="headerText" value="#{messages.updatefrequency}"/> </h:column>
<h:column> </h:column>
<h:column> </h:column>
</rich:columnGroup>
</f:facet>
<h:column>
<h:commandLink value="#{adressele.name}" action="#{Adress.selectAdressAction}">
<t:updateActionListener property="#{Adress.adress}" value="#{adressele}"/>
</h:commandLink>
</h:column>
<h:column> <h:outputText value="#{adressele.url}"/> </h:column>
<h:column> <h:outputText value="#{messages.updatefrequency}"/> </h:column>
<h:column> <h:commandButton type="submit" value="#{messages.delete}" action="#{Adress.deleteAdressAction}"/> </h:column>
<h:column>
<h:commandButton type="submit" value="#{messages.show_value}" action="#{Adress.walkThroughStepsShowValueAction}">
</h:commandButton>
</h:column>
</rich:dataTable>
<rich:datascroller for="adressList" maxPages="10" />
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050772#4050772
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050772
More information about the jboss-user
mailing list