File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes JSF and rendering Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSF and rendering" Watch "JSF and rendering" New topic

JSF and rendering

Sharon Ross

Joined: Sep 25, 2003
Posts: 13
This is going to sound like a silly question....AND...
With JSF ui components is it possible to render in something other than HTML? Specifically, I am thinking WML.
Related to that, can the framework be used to provide Web Services?

a belly dancing programmer<br />both artistic processes
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
I do think so.
Just like what XSL does, depending on the incoming request, corresponding results is sent back to the client. I think the UI does not only means the GUI in the browser, or HTML stuffs, in fact, anything that related to the component level, maybe specific to presentation level can be generated from JSF.
But, we may need to put extra effort on it.
Such as those custom tags.

SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Bill Dudney
Ranch Hand

Joined: Sep 05, 2003
Posts: 234
Hi Sharon,
Yes all that is needed is a different renderer. No wml renderers are included in the ri but I expect there to be many from third parties.

TTFN,<br /> <br />-bd-<br /> <br /><a href="" target="_blank" rel="nofollow">Jakarta Pitfalls</a> | <a href="" target="_blank" rel="nofollow">J2EE AntiPatterns</a> | <a href="" target="_blank" rel="nofollow">Mastering JavaServer Faces</a> | <a href="" target="_blank" rel="nofollow">Blog</a> | <a href="" target="_blank" rel="nofollow">Eclipse Blog</a> | <a href="" target="_blank" rel="nofollow">Eclipse 3 Live</a>
Consider Paul's rocket mass heater.
subject: JSF and rendering
It's not a secret anymore!