You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by ur...@bluemail.ch on 2005/10/27 16:02:02 UTC

tag renderer

Hello

I try to implement a render. I have the code from a book.

Must I replace this two classes?

import com.sun.faces.renderkit.HTML_basic.TextRenderer;
import com.sun.faces.util.Util;

What shall I take for this?

Util.getExceptionMessage("com.sun.faces.NULL_PARAMETERS_ERROR"));


Re: tag renderer

Posted by Martin Marinschek <ma...@gmail.com>.
Yes you need to...

org.apache.myfaces.renderkit.html.HtmlTextRendererBase

would be our base class for such things.

MessageUtils.getMessage(xxx)

creates messages for you.

regards,

Martin

On 10/27/05, urswagner@bluemail.ch <ur...@bluemail.ch> wrote:
>
> Hello
>
> I try to implement a render. I have the code from a book.
>
> Must I replace this two classes?
>
> import com.sun.faces.renderkit.HTML_basic.TextRenderer;
> import com.sun.faces.util.Util;
>
> What shall I take for this?
>
> Util.getExceptionMessage("com.sun.faces.NULL_PARAMETERS_ERROR"));
>
>


--

http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German