Skip to content

Tag: jsf

Use jsf as template engine on EAR

Thinking about html e-mails for our e-commerce site I thought about reusing jsf and other 3rd party libraries as a template engine to create the e-mails on our application server (Glassfish 3, EAR). Is it possible to manually run jsf with a local file and initialize the necessary bean to capture the html outp…

GAE JSF form tag error?

I make JSF project on GAP and it work well but when I put tag this problem appear HTTP ERROR 500 Problem accessing /welcome.jsf. Reason: DisableIdUniquenessCheck Caused by: Answer java.lang.NoSuchFieldError: DisableIdUniquenessCheck at com.sun.faces.util.Util.checkIdUniqueness(Util.java:812) This field was in…

Link fires method multiple no. of times

The problem is that whenever I click the link Next page on Home.xhtml to goto getMoreStatusList Page, the function getMoreStatusList is called non-stop until it throws a index out of bound exception. I am even printing the value of index that I get from the session object statusindex and the string insidegetm…

Why does p:panelGrid not work with ui:repeat?

If I use as below, I get no error, no output. Why does p:panelGrid not work with ui:repeat? Note : I don’t want to use c:forEach because of the I already face a lot of JSF issue. MyBean.java Expected output with primefaces Answer ui:repeat will not work because it does not actually add components to the…

JSF 1.0 vs JSF 2.0

What is difference between these 2 version of JSF (JSF 1.0 and JSF 2.0)? As I am new to java, I only find that difference is at Architectural level. But, in perspective, I can’t get how much it affects the application development ? Also, the MVC imposed is different with JSF and Spring. Even if JSF has …