On 1/10/06, Chan, Jim <[EMAIL PROTECTED]> wrote:
>
> I am refactoring my company's JSP website because the code uses
> only JSP to control navigation.  You can imagine its pretty ugly.

No, I can't.

> Anyone who tried to refactor JSP to JSF will know that it takes some work to
> adapt the existing html/JSP code to utilize the JSF tags.  Because I'm under
> time constraints, I've really only used JSF tags for controls that need to
> be bound the backing beans.  All other html/JSP code was wrapped with
> everybody's favorite tag - <f:verbatim>.  There are verbatim tags everywhere
> - yikes.

Yikes, exactly.

> Anyway, I wanted to know if:
>
> - I am taking a good approach to refactoring the existing webapp?
> - Will JSF evolve to a point where <f:verbatim> tag is not needed?
>
> Any input would be appreciated.  Thanks.

If I were you I'd rather clean scriptlet spaghetti mess with JSTL
tags. Especially JSTL1.1 that allows, for instance, to call methods on
beans. Then I would consider my further options. Quite possibly I
would have been pretty happy with JSTL'ed JSP.

Michael.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to