Questions Tagged With htmluserdialoghttps://answers.axonivy.com/tags/htmluserdialog/?type=rss&user=dbalassequestions tagged <span class="tag">htmluserdialog</span>enFri, 24 Apr 2015 20:01:12 -0400Include a xhtml from webcontent in a HTML Dialog viewhttps://answers.axonivy.com/questions/1290/include-a-xhtml-from-webcontent-in-a-html-dialog-view<p>In the view of a HTML dialog, I am trying to include footer that is located in the webcontent. Like this :</p> <pre><code>&lt; ui:include src="#{resource['ivy-webcontent:layouts/includes/Footer.xhtml']}" /&gt; </code></pre> <p>doing this i have this error </p> <pre><code> java.io.FileNotFoundException: /ivy/faces/javax.faces.resource/layouts/includes/Footer.xhtml?ln=xpertivy-5-webContent Not Found in ExternalContext as a Resource </code></pre> <p>I've tried to access the file directly :</p> <pre><code><a href="http://localhost:8081/ivy/faces/javax.faces.resource/layouts/includes/Footer.xhtml?ln=xpertivy-5-webContent">http://localhost:8081/ivy/faces/javax.faces.resource/layouts/includes/Footer.xhtml?ln=xpertivy-5-webContent</a> </code></pre> <p>and i got 404. But when i try to access an image that is also in the webcontent, it works fine.</p> <pre><code><a href="http://localhost:8081/ivy/faces/javax.faces.resource/images/actions/add.png?ln=xpertivy-5-webContent">http://localhost:8081/ivy/faces/javax.faces.resource/images/actions/add.png?ln=xpertivy-5-webContent</a> </code></pre> <p>What am i doing wrong ?</p>dbalasseFri, 24 Apr 2015 20:01:12 -0400https://answers.axonivy.com/questions/1290/include-a-xhtml-from-webcontent-in-a-html-dialog-viewhtmluserdialogjsfHow to implement a PostProcessorhttps://answers.axonivy.com/questions/1194/how-to-implement-a-postprocessor<p>Hello,</p> <p>i've export some data from a datatable in csv. Now i would like to apply a post processor at the created file (<a href="http://www.primefaces.org/showcase/ui/data/dataexporter/basic.xhtml)">http://www.primefaces.org/showcase/ui/data/dataexporter/basic.xhtml)</a></p> <pre><code>&lt; p:dataExporter type="csv" target="tbl" fileName="cars" postProcessor="???"/&gt; </code></pre> <p>What must I in place of the ??? ? Where can I define the bean ? How can I refer to this bean ?</p>dbalasseTue, 03 Mar 2015 17:23:09 -0500https://answers.axonivy.com/questions/1194/how-to-implement-a-postprocessorhtmluserdialogjsf