[
https://jira.jboss.org/jira/browse/RF-7476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Javier Quirante reopened RF-7476:
---------------------------------
Putting an a:outputPanel inside each form works fine.
Perhaps some documentation could be necesary? I still doesn´t understand why i
have to put ouputPanel. Up to now i didn´t use outputPanel and the blocks were
correctly reRendered
In any case thanks a lot
> a4j commandLink doesnt work properly when using f:params and disabled
> condition, The link doesnt reRenders the value the first time the condition
> its not fullfilled
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-7476
> URL: https://jira.jboss.org/jira/browse/RF-7476
> Project: RichFaces
> Issue Type: Bug
> Components: component-a4j-core
> Affects Versions: 3.3.1
> Environment: JBoss Seam 2.1.1 GA, OC4j Server
> Reporter: Javier Quirante
> Assignee: Tsikhon Kuprevich
> Fix For: 3.3.2.CR1
>
> Attachments: JiraHome.java, jiraHome.page.xml, jiraHome.xhtml
>
>
> When we have an a4j commandLink that pass parameter via f:parameter, if the
> parameter passed , is on the disabled condition of the a4j commandLink, the
> button doesnt reRender the first time its fullfill the disable condition
> For instance if we have the button
> ------------------
> <a4j:commandLink value="Hello J" reRender="block" bypassUpdates="false"
> disabled="#{jiraHome.disabled}">
> <f:param name="firstName" value="Javier"/>
> </a4j:commandLink>
> --------------
> with pages.xml
> -------------
> <param name="firstName" value="#{jiraHome.firstName}"/>
> -------------
> that reRenders the panelGrid "block" whith an h:inputText
> --------------
> <h:panelGrid columns="1" id="block">
> <h:inputText id="value"
> value="#{jiraHome.firstName}"/>
> </h:panelGrid>
> ----------------
> And in the backup bean the condition is
> -----------
> public boolean getDisabled(){
> return firstName!=null && "Javier".equals(firstName);
> }
> -----------------
> (if the parameter passed is "Javier" --> disable the commandLink)
> If you click the button its never write "Javier" in the input Text. But the
> first time you click, when the commandLink is enabled, it shouds
> reRender the inputText with the text "Javier" becuase its not still disabled.
> Next times is would be ok the commandLink doesnt work because is disabled
> because of the condition.
> If you try with h:commandLink its works like that.
> I try with scopes REQUEST and CONVERSATION on the Bean and doesnt work neither
> Thanks in advance
--
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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues