Board index JavaServer Faces General p:messages cannot control summary/detail[SOLVED]

p:messages cannot control summary/detail[SOLVED]

Components, Ajax Framework, Utilities and More.


Posts: 137
As long as we're on the topic of p:messages, here's a bug:

<p:messages showSummary="false" showDetail="true"/>



This will show an empty messages box, with no messages at all, even if there are messages with a detail.

Also, if I simply state showDetail="false" , it still shows detail. It would appear, in all of my tests with this component, that I have no control over the summary or detail printing.

Note: I am using myfaces implementation 1.2.2.


Posts: 15114
Location: Cybertron

Well this component isn't even released yet so it's a good idea to fix these issues before the release deadline. I'll fix, deploy a snapshot and let you know today. Thanks for the update.
PrimeFaces Lead


Posts: 137
cagatay.civici wrote:
Well this component isn't even released yet so it's a good idea to fix these issues before the release deadline. I'll fix, deploy a snapshot and let you know today. Thanks for the update.


Cagatay,

I notice that now the p:messages component has been released. I say this because it now appears in the reference documentation located here:http://primefaces.googlecode.com/files/primefaces_guide_301109.pdf


however, it still has the same issues, as I originally described in this thread. I just took the latest 1.0.0 RC from here:
http://repository.prime.com.tr/org/prim ... -SNAPSHOT/


Posts: 15114
Location: Cybertron

Hey Lance,

Just checked and seems to be working, you seem to have tested with a snapshot of RC. Can you try with RC itself or 1.0.0-SNAPSHOT.
PrimeFaces Lead


Posts: 137
I changed my version to 1.0.0.RC (and my artifactId to primefaces) and I'm getting a classNotFoundException:

java.lang.ClassNotFoundException: org.primefaces.ui.resource.ResourceServlet

EDIT: I see you've moved the Resource Servlet. I've updated my web.xml file.


Posts: 15114
Location: Cybertron

Yes it should be;

org.primefaces.resource.ResourceServlet
PrimeFaces Lead


Posts: 137
Just an update, i'll that this certainly is fixed and working in the current 1.0.0.RC version.

thanks again


Return to General