I removed the status indicator tag, removed some extra loggings I had. The
following is a excerpt of debug info when I click the "show" button and then
reload the page manually:

 DEBUG http-8085-7 org.apache.myfaces.renderkit.html.util.ReducedHTMLParser
- PI found at line 1
 DEBUG http-8085-7 org.apache.myfaces.renderkit.html.util.ReducedHTMLParser
- PI found at line 2
 DEBUG http-8085-7 org.apache.myfaces.renderkit.html.util.ReducedHTMLParser
- Marked section found at line 3. Surroundings: 'CDATA[<div
id="searchResults">'.
 DEBUG http-8085-7 org.apache.myfaces.renderkit.html.util.ReducedHTMLParser
- Marked section found at line 252. Surroundings: 'CDATA[<span
id="tr_j_id_jsp_21'.
 DEBUG http-8085-7 org.apache.myfaces.lifecycle.LifecycleImpl - exiting from
lifecycle.execute in RESTORE_VIEW(1) because getRenderResponse is true from
one of the after listeners
 DEBUG http-8085-7 org.apache.myfaces.renderkit.html.util.ReducedHTMLParser
- DOCTYPE found at line 1

Justinas, with regards to what you said. How can I verify the return value
of the show/hide jsf navigation function?

Thank you,

Marco

On Sun, Aug 24, 2008 at 8:35 AM, Justinas <[EMAIL PROTECTED]> wrote:

> Marco Vieira wrote:
>
>> Hello everyone,
>>
>> After finally getting skinning to work, I face another problem. I have a
>> table, that has a select-one column and a show-details column. However, when
>> I click on show/hide or show all or hide all nothing happens. Only after I
>> manually reload the page, or after a few clicks and a manual reload do I see
>> the requested changes in the table. With firebug, upon clicking the links, a
>> request is sent, I'm assuming this is the table's built-in PPR working, but
>> the table isn't refreshed automatically.
>>
>> I'm using Tomcat 6.0.16, Trinidad 1.2.8 and testing with Firefox 3.0.1,
>> although I see the same behavior in IE 7.
>>
>> This is my page:
>>
>> <[EMAIL PROTECTED] contentType="text/html" pageEncoding="UTF-8"%>
>> <[EMAIL PROTECTED] prefix="f" uri="http://java.sun.com/jsf/core"%>
>> <[EMAIL PROTECTED] prefix="h" uri="http://java.sun.com/jsf/html"%>
>> <[EMAIL PROTECTED] prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
>> <[EMAIL PROTECTED] prefix="trh" 
>> uri="http://myfaces.apache.org/trinidad/html"%>
>> <[EMAIL PROTECTED] prefix="tr" uri="http://myfaces.apache.org/trinidad"%>
>>
>> <f:view>
>> <tr:document title="Pesquisar por Medicamentos">
>>        <tr:form>
>>            <tr:table id="searchResults" summary="Resultados de Pesquisa"
>>                allDetailsEnabled="true"
>>                binding="#{medSearchUITable.medSearchTable}"
>>                rendered="true"
>>                rowSelection="single"
>>                rowBandingInterval="1"
>>                value="#{medSearchUITable.dbResults}"
>>                var="row"
>>                rows="20">
>>                <f:facet name="actions">
>>                    <tr:outputText value="Resultados"/>
>>                </f:facet>
>>                <f:facet name="footer">
>>                    <tr:commandButton text="Seleccionar"
>> actionListener="#{medSearchUITable.selectMedication}"/>
>>                </f:facet>
>>                <tr:column>
>>                    <f:facet name="header">
>>                        <tr:outputText value="Nome"/>
>>                    </f:facet>
>>                    <tr:outputText value="#{row.medName}"/>
>>                </tr:column>
>>                <tr:column>
>>                    <f:facet name="header">
>>                        <tr:outputText value="DCI"/>
>>                    </f:facet>
>>                    <tr:outputText value="#{row.medDCIPT}"/>
>>                </tr:column>
>>                <tr:column>
>>                    <f:facet name="header">
>>                        <tr:outputText value="Forma"/>
>>                    </f:facet>
>>                    <tr:outputText value="#{row.medPharmForm}"/>
>>                </tr:column>
>>                <f:facet name="detailStamp">
>>              <tr:panelGroupLayout layout="vertical">
>>                <tr:outputText value="Preēo: #{row.medPrice}"/>
>>                <tr:outputText value="Tratamento: #{row.medTreatment}"/>
>>                <tr:outputText value="Via Admin.: #{row.medAdminis}"/>
>>                <tr:outputText value="Tipo Emb.: #{row.medPackType}"/>
>>              </tr:panelGroupLayout>
>>            </f:facet>
>>            </tr:table>
>>        </tr:form>
>>  </tr:document>
>>     </f:view>
>>
>>
>> Any ideas? Thanks in advance,
>>
>> Marco
>>
> hi,
> there could be problem with show/hide jsf navigation function: if it
> returns null, the page isn't rerendered.
>
> Justinas
>

Reply via email to