You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by michael steindl <li...@gmx.net> on 2001/12/10 13:05:43 UTC

UIManager.get() out of action?

hi !

trying to use skins to write data.setMessage() Strings out via an action
class.

my problem is, that I can't get the Instance of the global UIManager within
the action and so I can't read out any strings via UIManager.get()

any idear ?

cu,
michael.

========


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: UIManager.get() out of action?

Posted by Jason van Zyl <jv...@zenplex.com>.
On 12/10/01 7:05 AM, "michael steindl" <li...@gmx.net> wrote:

> hi !
> 
> trying to use skins to write data.setMessage() Strings out via an action
> class.

My suggestion is that you leave the styling in the template. Just set the
message as text and use the ui manager in the template.
 
> my problem is, that I can't get the Instance of the global UIManager within
> the action and so I can't read out any strings via UIManager.get()

You shouldn't be using it in an action.
 
> any idear ?


 
> cu,
> michael.
> 
> ========
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>