You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by alvaro tovar <al...@gmail.com> on 2006/12/27 20:11:56 UTC

strange error in data table and commandButton

thanks for your time,
i have this problem

   <t:dataTable binding="#{
manejadorAsociarEvaluadoresProyecto.tablaPosiblesEvaluadores}"
                               cellpadding  = "6"
                            cellspacing  = "3"
                            value        = "#{
manejadorAsociarEvaluadoresProyecto.listaPosiblesEvaluadores}"
                            var          = "posibleEvaluador"
                            preserveDataModel="false">


  <h:inputTextarea value="#{posibleEvaluador.correoActualCuerpo}"
                                             cols="50"
                                             rows="50"
                                             rendered="#{
posibleEvaluador.detalle}" />
                            <h:commandLink immediate="false" action="#{
posibleEvaluador.editar}" value="Editar Correo"/>

</t:dataTable>

 <h:panelGroup id="panelBotonEvaluadores"
rendered="#{!manejadorAsociarEvaluadoresProyecto.b_mostrarEvaluadores &&
manejadorAsociarEvaluadoresProyecto.tieneProyectos}">
            <h:commandButton action="#{
manejadorAsociarEvaluadoresProyecto.mostrarEvaluadores}"
            value="Asociar evaluadores"/>
  </h:panelGroup>


this is the method of posibleEvaluador

public String editar()
    {
        setDetalle(!getDetalle());
        return "";
    }

all run perfect, until y click in "asociar evaluadores" button, after of
this the commandLink "editar Correo" not run, this commanlLink is for not
show the inputTextArea, i don't know what happend.

thanks for your help