voyent
11:38:39,750 INFO [STDOUT] iceMsgsError messages on IceFaces 1.7 DR2  XML
Forum Index -> General Help Go to Page: 1, 2 Next 
Author Message
edykory


Joined: 27/Nov/2006 00:00:00
Messages: 332
Offline


Hi there!
Whenever I get any message enqueued in FacesMessages, I also get, beside the already usual
[lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
sourceId=null[severity=(ERROR 2), summary=(My summary), detail=(My detail)]
 
the new
11:38:39,750 INFO [STDOUT] iceMsgsError 

Does it have a special meaning, or somebody forgot to put it to DEBUG level?

Thanx
deryk.sinotte


Joined: 26/Oct/2004 00:00:00
Messages: 1008
Offline


This would be a bug so if it can be easily reproduced you should log a JIRA case for it. I can't find the offending code in the 1.7 DR 2 release, however. It appears to be a rogue System.out statement spitting out the standard style that is applied to that component.

Deryk Sinotte
Team Lead
ICEsoft Technologies, Inc.
edykory


Joined: 27/Nov/2006 00:00:00
Messages: 332
Offline


Have a look at DomBasicRenderer.java line 732, you have a
Code:
System.out.println(severityStyleClass);
, and the message I posted looks really like one of the IceFaces message error styles.

Cheers!
Eduard
deryk.sinotte


Joined: 26/Oct/2004 00:00:00
Messages: 1008
Offline


The line has been removed so if you're working from the repository, it should be up to date shortly. If you're waiting for the next 1.7 DR release, it will be in there as well. Thanks for helping to track this down.

Deryk Sinotte
Team Lead
ICEsoft Technologies, Inc.
edykory


Joined: 27/Nov/2006 00:00:00
Messages: 332
Offline


Hi hi .... that's why I'm here :)

Cheers!
enda

Joined: 17/Nov/2007 00:00:00
Messages: 2
Offline


I have this problem as well it is seam 2.0.0.GA problem we need to report it

I use richfaces and have my own conversation id
georges.goebel@pch.etat.l


Joined: 23/Jun/2007 00:00:00
Messages: 276
Offline


I have exactly the same behaviour with seam 2.0.0 GA an Icefaces 1.6.2

I occures when I have a inputtext field with required true
Code:
 <ice:inputText id="i_characteristique" value="#{cart.caracteristique}" required="true" />
 


In the log of JBoss I see that the validation is done an that there is an error but the page does not render the error.

Code:
 [lifecycle] WARNING: FAcesMessage(s) have been enqueued, bur may have been displayed.
 


Does anybody have a hint ?

Thanks
[Email]
adnan.durrani


Joined: 19/Jan/2006 00:00:00
Messages: 437
Offline


Hi Georges,

Just wondering, is there any instance of ice:message or ice:messages on the page?

Thanks,

-- Adnan Durrani --
[Email]
jguglielmin

Joined: 20/Jul/2007 00:00:00
Messages: 181
Offline


Existing Jira is ICE-1900

For Seam users (only for jsf1.2 implementation):- I have found that I get this warning when I am using partialSubmit=true on an inputText component and use it with required=true. If I have several of these on a page, the partialSubmit on one of the fields kinds of turns off the required=true on some of the other input components so it suppresses the messages for them. Adnan or Mark can comment whether partialSubmit should behave in this manner, since this field is the only one we currently want to validate on a partialSubmit. You can also get the css showing styles for validation only on the active field using the partialSubmit. I didn't take them time to really delve into this though as the behaviour fit what I wanted to see. (and that's why the Jira is still open).

georges.goebel@pch.etat.l


Joined: 23/Jun/2007 00:00:00
Messages: 276
Offline


Hi adnan

Yes I tried with ice:messages, ice:message, h:message, h:messages with no luck

Hi jguglielmin

Yes I use the jsf 1.2 implementation and have a small helloWorld example with this problem. If I use only Icefaces with facelets the messages are shown.
But when I integrate Seam the previous problem occurs.
You can try with the following example (sorry but I had no time to clean up the libs which are not needed -> 40MB)

http://www2.pch.etat.lu/seamIceTest.tar.gz
(set the jboss_home environment variable and execute ant clean copy)
[Email]
jguglielmin

Joined: 20/Jul/2007 00:00:00
Messages: 181
Offline


Did you check out the icefaces example from the jboss-seam-2.0.0.GA distribution? FacesMessages are used in this example and are shown properly. This is the application I was referring to with my previous message.
adnan.durrani


Joined: 19/Jan/2006 00:00:00
Messages: 437
Offline


Yes this is an intended behavior to set the "required" to false on all Input component's except the one which caused the partialSubmit.

Thanks

-- Adnan Durrani --
[Email]
enda

Joined: 17/Nov/2007 00:00:00
Messages: 2
Offline


So it is a parameter in components.xml

concurrent-request-timeout

Code:
 <core:manager concurrent-request-timeout="1000"
                  conversation-timeout="120000"
                  conversation-id-parameter="cid"/>
 


http://jira.jboss.com/jira/browse/JBSEAM-2267?page=all

This work for me, but probably slow the server? does anybody know?
georges.goebel@pch.etat.l


Joined: 23/Jun/2007 00:00:00
Messages: 276
Offline


Hi enda

I tried to change the parameter but that did not the job. Furthermore the message in jboss log does not specify something about a timeout but specifies the message : "Validation error" which is the correct error to be shown

Hi jguglielmin

I checked the icefaces example in the seam distribution but I did not get the trick. In the example, they use the s:decorate which a template message which I do not use. Furthermore I included the missing servlet "seam ressource servlet" but that didn't the job too.
I also played around with partital sumit but with no luck.

So I know it is possible but I do not know what is wrong in my example

Thanks
[Email]
jguglielmin

Joined: 20/Jul/2007 00:00:00
Messages: 181
Offline


First, are you using org.jboss.seam.FacesMessages in your backing bean or using the jsf FacesMessage class?

The seam class interpolates the JSF expression embedded in the message string and adds a JSF FacesMessage to the view, whereas with the other you have to do the work yourself.

Since you are using Seam, the seam class is very easy to use (just check out many of the seam example applications or look into the seam documentation. You can either inject the FacesMessage or you can use FacesMessage.instance()..... to get the FacesMessages to your facelet page).
 
Forum Index -> General Help Go to Page: 1, 2 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team