Note that there are some explanatory texts on larger screens.

plurals
  1. POPage jsf into dialog not working
    primarykey
    data
    text
    <p>I try to folow exemple from primefaces site .using Dialog Framework - Basic</p> <pre><code> &lt;p:commandButton value="Options" icon="ui-icon-extlink" action="#{dialogBean.viewCarsCustomized}" /&gt; </code></pre> <p>Bean DialogBean</p> <p>public class DialogBean { </p> <pre><code>public String viewCarsCustomized() { return "dialog:viewCars?modal=true"; } </code></pre> <p>} </p> <p>viewCars.xhtml</p> <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui"&gt; &lt;h:head&gt; &lt;/h:head&gt; &lt;h:body&gt; &lt;p:dataTable var="car" value="#{tableBean.carsSmall}"&gt; &lt;p:column headerText="Model"&gt; &lt;h:outputText value="#{car.model}" /&gt; &lt;/p:column&gt; &lt;p:column headerText="Year"&gt; &lt;h:outputText value="#{car.year}" /&gt; &lt;/p:column&gt; &lt;p:column headerText="Manufacturer"&gt; &lt;h:outputText value="#{car.manufacturer}" /&gt; &lt;/p:column&gt; &lt;p:column headerText="Color"&gt; &lt;h:outputText value="#{car.color}" /&gt; &lt;/p:column&gt; &lt;/p:dataTable&gt; &lt;/h:body&gt; &lt;/html&gt; </code></pre> <p>this is My exemple on My Bean . I Try like this </p> <pre><code>public String viewComposant(){ return "dialog:AjoutC?modal=true"; } </code></pre> <p>it is not working,I try to do like this .but every time error </p> <blockquote> <p>Impossible de trouver un cas de navigation correspondant depuis l'ID de vue '/pagess/Parsing/ReacgModule.xhtml' pour l'action '#{parserXls.viewComposant()}' avec le résultat 'dialog:/pagess/pagesComposant/AjoutC.jsf?modal=true'.</p> </blockquote> <pre><code>public String viewComposant(){ return "dialog:/pagess/pagesComposant/AjoutC.jsf?modal=true"; } </code></pre> <p>But When I do like this the page returend but not as I like</p> <pre><code>public String viewComposant(){ return "/pagess/pagesComposant/AjoutC.jsf"; } </code></pre>
    singulars
    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.
 

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