[richfaces-issues] [JBoss JIRA] Resolved: (RF-4064) Problem with a4j:commandLink

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Mon Aug 4 10:24:56 EDT 2008


     [ https://jira.jboss.org/jira/browse/RF-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Belaevski resolved RF-4064.
--------------------------------

    Resolution: Cannot Reproduce Bug


I couldn't reproduce the issues using the following page:

		<rich:dataTable id="auction" value="#{auctionDataModel}"
			columnClasses="col1,col2,col3,col4" var="item" rows="10" width="100%">
			<rich:column>
				<f:facet name="header">
					<h:outputText value="Description" />
				</f:facet>

				<h:inputText required="true" />
				<a4j:commandLink action="#{auctionDataModel.processAction}"
					value="Link" />
				<h:outputText value="#{item.description}" />
			</rich:column>
			<rich:column>
				<f:facet name="header">
					<h:outputText value="Highest Bid" />
				</f:facet>

				<a4j:commandLink action="#{auctionDataModel.processAction}"
					value="Link" />

				<h:outputText id="highestBid" value="#{item.highestBid}">
					<f:convertNumber pattern="$#,##0.00" />
				</h:outputText>
			</rich:column>
			<rich:column>
				<f:facet name="header">
					<h:outputText value="Your Bid" />
				</f:facet>

				<h:inputTextarea required="true" />
				<a4j:commandLink action="#{auctionDataModel.processAction}"
					value="Link" />

				<rich:message for="bid" />
				<br />
				<h:inputText id="bid" value="#{item.bid}" label="Bid">
					<f:validateDoubleRange minimum="0" maximum="1000000" />
				</h:inputText>
				<a4j:commandLink id="bid_link" actionListener="#{item.placeBid}"
					value="Place a bid!" reRender="bid,amount,highestBid" />

			</rich:column>
			<rich:column>
				<f:facet name="header">
					<h:outputText value="Amount" />
				</f:facet>

				<a4j:commandLink action="#{auctionDataModel.processAction}"
					value="Link" />

				<h:outputText id="amount" value="#{item.amount}">
					<f:convertNumber pattern="$#,##0.00" />
				</h:outputText>
			</rich:column>
		</rich:dataTable>
		<rich:messages style="color:red"></rich:messages>

Can you please provide page code or runnable war file? Thank you in advance!

> Problem with a4j:commandLink 
> -----------------------------
>
>                 Key: RF-4064
>                 URL: https://jira.jboss.org/jira/browse/RF-4064
>             Project: RichFaces
>          Issue Type: Bug
>         Environment: Windows
>            Reporter: Bob Corcoran
>            Priority: Minor
>
> We have a page with a few a4j:commandLinks as well as an h:inputText and h:inputTextarea, among other markup. It works fine until we add the attribute required="true" to either the inputText or InputTextarea. When we add the required="true" to either the inputText or InputTextarea, one of the a4j:commandLinks's (further up on the page) breaks. It still renders fine, but the method on the backing bean (in this case a SEAM stateful bean) is not called, because the link does not fire. What's even more odd is that the remaining a4j:commandLinks on the page continue to work according to specs. These links are contained in separate rich:column tags.

-- 
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