facebook

jsf error messages not shown on screen but on console why ?

  1. MyEclipse Archived
  2.  > 
  3. Examples On-Demand
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #290067 Reply

    amir55
    Participant

    hi all

    I have my jsf project working fine but when I used the tiles I got the error messages on the console instead of the screen site as it used to be.

    Ther is a warning message saying
    INFO: WARNING: FacesMessage(s) have been enqueued, but may not have been displayed

    I use Myeclipse 6.1 full subscription , Mysql 5 , JBoss 4.2.2

    how to ficx this with gratitude

    Amir

    #290079 Reply

    Loyal Water
    Member

    Can you make the change in your code as suggested here:-
    http://forums.sun.com/thread.jspa?threadID=5268173

    Let me know if that helps.

    #290143 Reply

    amir55
    Participant

    Dear Nip

    There is nothing with my code as it is the same one without tlles and it worked before the tiles use.

    The only difference is that I removed the <f:view> from all the JSPs to put one inr mainLayOutTemplate.jsp which has subview

    <f:subview id=”body”>
    <tiles:insert attribute=”body” flush=”false” />
    </f:subview>

    by removing the tag f:view from all JSPs, the tag loadBundle in those JSPs needs <f:view>.

    therefore the bundle i s not found then the displaying occurs on the console instead. the screen.

    So the solution should lie when there is a way to use f:bundle globally like in the faces-config.xml or or else.

    many thanks

    Amir

    <f:loadBundle basename=”bundle.messages” var=”message”/>

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: jsf error messages not shown on screen but on console why ?

You must be logged in to post in the forum log in