aspose file tools*
The moose likes JSF and the fly likes JSF/JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF/JSP" Watch "JSF/JSP" New topic
Author

JSF/JSP

bruce truong
Greenhorn

Joined: Mar 14, 2011
Posts: 11
Hello All,

I am a newbie and need your expertise. I googled and found nothing. I am struggling to understand the JSF/JSP mixing rendering sequence. We have a pre-built JSP template and I would like to incorporate JSF little know how into it. It seems to load fine but the output shows that the JSF form is outside the template. Can someone give me a quick overview the rendering sequence? How can I get "Login" form inside the template? Below is what I have tried...

Thanks

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16068
    
  21

Welcome to the JavaRanch, Bruce!

Well, I feel obligated to point out that any webapp that has its own login logic is a security nightmare, but that's not actually the point here.

JSF builds up a tree based on compiling the JSF View. It looks like your "template" tags are a custom tag library and don't know how to interact with JSF.

Incidentally, JSF offers a very nice templating system of its own: facelets. Standard in JSF 2, and easy to implement in JSF 1.x apps.


Customer surveys are for companies who didn't pay proper attention to begin with.
bruce truong
Greenhorn

Joined: Mar 14, 2011
Posts: 11
Thanks, Tim. I didn't use your suggestion but I got a workaround.

bruce
 
 
subject: JSF/JSP