[richfaces-issues] [JBoss JIRA] Commented: (RF-1355) Incorrect behaviour of a4j:htmlCommandLink
Troyanoff Slava (JIRA)
jira-events at lists.jboss.org
Thu Nov 15 08:24:18 EST 2007
[ http://jira.jboss.com/jira/browse/RF-1355?page=comments#action_12387713 ]
Troyanoff Slava commented on RF-1355:
-------------------------------------
Valid code
<code>
<h:panelGrid columns="1" style="padding-top: 5px;">
<c:forEach items="#{report.drilldowns}" var="item" varStatus="stat">
<a4j:commandLink
id="dditem#{tabId}_#{stat.index}" styleClass="tooltip_repStyle"
oncomplete="var rez = processRow(event||window.event,'mainForm:drilldowns#{tabId}'); if(!rez) return rez;"
action="#{reportsBean.openReport}">
<a4j:actionparam assignTo="#{reportsBean.reportForProcess}" name="reportForLoad" value="#{item.reportId}" />
<a4j:actionparam assignTo="#{reportsBean.currentTabIndex}" name="currentTabIndex" value="#{index}" />
<a4j:actionparam assignTo="#{reportsBean.currentDrilldownName}" name="currentDrilldownName" value="#{item.drilldownName}" />
<h:outputText value="#{item.drilldownName}" />
</a4j:commandLink>
</c:forEach>
<c:if test="#{report.reportPackAvailable}">
<a4j:htmlCommandLink onclick="hideTooltip('mainForm:drilldowns#{tabId}'); prepareDrilldownInfo();" styleClass="tooltip_repStyle"
action="#{reportsBean.getDataForExcelReportPack}">
<h:outputText value="#{msg.reportPack}"></h:outputText>
</a4j:htmlCommandLink>
</c:if>
</h:panelGrid>
</code>
> Incorrect behaviour of a4j:htmlCommandLink
> -------------------------------------------
>
> Key: RF-1355
> URL: http://jira.jboss.com/jira/browse/RF-1355
> Project: RichFaces
> Issue Type: Bug
> Environment: Win XP, FF2, IE6
> Reporter: Troyanoff Slava
> Fix For: 3.2.0
>
>
> a4j:htmlCommandLink makes hidden input. Than it is doesn't remove this hidden input, because Action from previous a4j:htmlCommandLink is called.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list