[richfaces-issues] [JBoss JIRA] Commented: (RF-250) h:commandLink does not work in rich:dataTable on JBoss 4.2
Anton Kudinov (JIRA)
jira-events at lists.jboss.org
Thu Sep 25 02:23:31 EDT 2008
[ https://jira.jboss.org/jira/browse/RF-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12431082#action_12431082 ]
Anton Kudinov commented on RF-250:
----------------------------------
Have same problem on 3.2.1 version
> h:commandLink does not work in rich:dataTable on JBoss 4.2
> ----------------------------------------------------------
>
> Key: RF-250
> URL: https://jira.jboss.org/jira/browse/RF-250
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.0.0, 3.0.1
> Environment: Linux
> Java 6
> JBoss 4.2 (JSF 1.2)
> Richfaces 3.0.0
> Ajax4jsf 1.1.0
> Reporter: Santiago Pastorino
> Assignee: Aleksej Yanul
> Fix For: 3.1.0
>
>
> <h:form id="editId">
> <rich:dataTable id="rubrosListId" width="100%" rows="10" columnClasses="col"
> value="#{rubrosMB.rubros}" var="rubro">
> <f:facet name="header">
> <rich:columnGroup>
> <h:column>
> <h:outputText styleClass="headerText" value="Descripción" />
> </h:column>
> <h:column>
> <h:outputText styleClass="headerText" value="Acción" />
> </h:column>
> </rich:columnGroup>
> </f:facet>
> <h:column>
> <h:commandLink action="rubros_visualizacion" value="#{rubro.descripcion}" />
> </h:column>
> <h:column>
> <h:commandLink action="#{rubrosMB.editar}">
> <f:param name="id" value="#{rubro.id}" />
> <h:graphicImage value="images/modificar.png"/>
> </h:commandLink>
> <h:commandLink action="#{rubrosMB.borrar}">
> <f:param name="id" value="#{rubro.id}" />
> <h:graphicImage value="images/borrar.png"/>
> </h:commandLink>
> </h:column>
> </rich:dataTable>
>
> <rich:datascroller for="rubrosListId" />
> </h:form>
> rubrosMB is a session bean.
> On the first click on any commandlink defined inside the rich:dataTable the same page is rendered. After a second click, the action is correctly executed.
> We noticed that after the first click, although the page shown looks the same as the original, some of the code generated is affected.
> In particular, we noticed this changes:
> before first click:
> <table class="dr-table rich-table" id="rubrosListId"
> after first click:
> <table class="dr-table rich-table" id="editId:rubrosListId"
> before first click:
> <a href="#" onclick="if(typeof jsfcljs == 'function'){jsfcljs(document.forms['editId'],'rubrosListId:0:j_id_jsp_1843078173_17,rubrosListId:0:j_id_jsp_1843078173_17','');}return false">rubro1</a>
> after first click:
> <a href="#" onclick="if(typeof jsfcljs == 'function'){jsfcljs(document.forms['editId'],'editId:rubrosListId:0:j_id_jsp_1843078173_17,editId:rubrosListId:0:j_id_jsp_1843078173_17','');}return false">rubro1</a>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list