[richfaces-issues] [JBoss JIRA] Commented: (RF-4343) inplaceSelect: reRender doesnt's work
Tatyana Romanovich (JIRA)
jira-events at lists.jboss.org
Fri Aug 29 13:43:38 EDT 2008
[ https://jira.jboss.org/jira/browse/RF-4343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12427393#action_12427393 ]
Tatyana Romanovich commented on RF-4343:
----------------------------------------
I can't reproduce that bug. There is part of my code:
<rich:inplaceSelect id="iSId1"
value="#{inplaceComponentsBean.inputValue2}"
defaultLabel="Click here to edit"
layout="block" minSelectWidth="600px" maxSelectWidth="600px"
listHeight="400px" listWidth="600px"
selectWidth="600px"
oneditactivation="if (confirm('Are you sure you want to change value?')){return false;}"
onselect="alert('fdsafsa');"
showControls="false">
<f:selectItems value="#{inplaceComponentsBean.capitals}" />
<f:selectItem itemLabel="Outras Atividades" itemValue="10" />
<a4j:support event="onviewactivated" oncomplete="alert ('Some functions');"/>
</rich:inplaceSelect>
<a4j:commandLink id="codigo" value="Click here" reRender="iSId1"></a4j:commandLink>
> inplaceSelect: reRender doesnt's work
> -------------------------------------
>
> Key: RF-4343
> URL: https://jira.jboss.org/jira/browse/RF-4343
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.1
> Environment: IE *, Firefox *
> Reporter: TarcÃsio Filó
> Priority: Blocker
> Original Estimate: 4 days
> Remaining Estimate: 4 days
>
> After reRender a inplaceSelect component, it is impossible to select an item again. The edit view doesn't work and the component seems to be disabled.
> This is my component in the page:
> <rich:inplaceSelect id="codigoCnae1"
> value="#{emissaoNFSeBean.indicadorAtividadeSelecionada}" layout="block" minSelectWidth="600px" maxSelectWidth="600px" listHeight="400px" listWidth="600px"
> selectWidth="600px" selectOnEdit="true" oneditactivation="if (confirm('Are you sure you
> want to change value?')){return false;}" onselect="alert('fdsafsa');">
> <f:selectItems value="#{emissaoNFSeBean.tiposAtividades}" />
> <f:selectItem itemLabel="Outras Atividades" itemValue="0" />
> <a4j:support event="onviewactivated" action="#{emissaoNFSeBean.selectCnaeCompleteListaServico}" reRender="itemListaServico, indEstimativaParcial, regimeEspecialTributacao, indRegimeEspTrib, panelCnae, critCodAtividade, critDescricao" oncomplete="javascript:openWindowEstParcial();javascript:openAtividade();"/>
> </rich:inplaceSelect>
> and in this commandLink I set a new value in the itemValue of the inplaceSelect and call a reRender action in my component, and after this, it is impossible to select an item again.
> <a4j:commandLink
> id="codigo"
> action="#{emissaoNFSeBean.selecionarAtividadeCnae}"
> value="#{item.codigoFormatado}" reRender="codigoCnae1, itemListaServico, indEstimativaParcial, regimeEspecialTributacao, indRegimeEspTrib"
> oncomplete="javascript:openWindowEstParcial(); javascript:Richfaces.hideModalPanel('selecaoCnae');"
> ></a4j:commandLink>
--
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