myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Felix.Bec...@t-systems.com>
Subject RE: Displaying messages over the content - generated by the content?
Date Thu, 11 Dec 2008 17:36:42 GMT
Hi Gerhard,

 

Thank you for your answer. Unfortunately I can't use orchestra here but
a prerenderer method is exactly what I need. Can it be possible to hook
up something like a prerendererphase in myfaces / Trinidad? I don't see
any other way how solve this problem.

 

Thank you

 

Felix

 

________________________________

From: Gerhard Petracek [mailto:gerhard.petracek@gmail.com] 
Sent: Thursday, December 11, 2008 6:29 PM
To: MyFaces Discussion
Subject: Re: Displaying messages over the content - generated by the
content?

 

hello,

 

it's better to load it before the rendering process starts.

you can do that on your own (depending on your application) or you can
use e.g. a mechanism of orchestra (the prerender-method).

 

regards,

gerhard

 

 

 

2008/12/11 <Felix.Becker@t-systems.com>

Hi,

 

I've got a JSF page divided in 2 parts - the status message area and the
content area. The content area is positioned under the status message
area.  In the status area all messages for the user should be shown -
for example success messages, error messages and exceptions.  In my
content area I've got a  <tr:dataTable value="#{myBean.values}"..>. When
the method getValues() of myBean throws an exception, I'm catching this
exception. I want to display this exception in the status message area -
but this does not work - apparently because the status area is already
rendered when the content el-methods are called.  Is there any solution
for this problem? Is it possible to render the status area at last?

 

Thank you

 

Felix




-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Mime
View raw message