Note that there are some explanatory texts on larger screens.

plurals
  1. POunable to refresh page on jsf commandlink click
    primarykey
    data
    text
    <p>unable to refresh jsf page when I click on commandlink, commandlink in inside datatable, I have already asked but didnt get any response.</p> <pre><code>&lt;h:dataTable id="datatableIterator" value="#{relationBean.datatables}" var="datatable" cellspacing="1" cellpadding="0" class="role_detail_section"&gt; &lt;h:column&gt; &lt;h:dataTable id="relationIterator" value="#{datatable}" var="item" binding="#{bind}"&gt; &lt;h:column&gt; &lt;f:facet name="header"&gt; Relation Type Name&lt;/f:facet&gt; &lt;h:outputText value="#{item.relationType}" /&gt; &lt;/h:column&gt; &lt;h:column&gt; &lt;f:facet name="header"&gt;language&lt;/f:facet&gt; &lt;h:outputText value="#{item.language.languageName}" /&gt; &lt;/h:column&gt; &lt;h:column&gt; &lt;f:facet name="header"&gt; Value&lt;/f:facet&gt; &lt;h:inputText value="#{item.relationForm}" /&gt; &lt;/h:column&gt; &lt;/h:dataTable&gt; &lt;/h:column&gt; &lt;h:column&gt; &lt;h:dataTable id="relationIterator" value="#{datatable}" var="item" binding="#{bind}"&gt; &lt;h:column&gt; &lt;h:panelGroup rendered="#{bind.rowIndex eq 0}" id="rrr" &gt; &lt;p:commandLink action="#{relationBean.deactivateRelationById(item.relationId,item.relationType)}" rendered="#{item.status.statusId==3}" value="Deativate" process="@this" update="@form" immediate="true"&gt; &lt;/p:commandLink&gt; &lt;p:commandLink action="#{relationBean.activateRelationById(item.relationId)}" rendered="#{item.status.statusId==1}" value="Activate" process="@this" update="@form" immediate="true"&gt; &lt;/p:commandLink&gt; &lt;/h:panelGroup&gt; &lt;/h:column&gt; &lt;/h:dataTable&gt; &lt;/h:column&gt; </code></pre> <p> my motto is to refresh page any how. so that status can be updated.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload