Two Laptop Bag
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: 12
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: 17038
    
  26

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.


An IDE is no substitute for an Intelligent Developer.
bruce truong
Greenhorn

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

bruce
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: JSF/JSP
 
It's not a secret anymore!