This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF 1.2 Custom Component  RSS feed

 
T Adeoye
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am building a custom tld library to hold and <input> element and a <form> element.

completed the tld file with all attributes included. I am having a problem on how to go around the Client ID.

My input has an hard coded name attribute and a value attribute that will be embedded in the form element at all times. My form element has an ID Attribute. JSF generates a custom ID which makes it look messy.

I'm writing a Renderer's class extending an HTMLBasicRenderer but I dont know if I am headed the right direction..
 
John Joe
Ranch Hand
Posts: 289
2
Android Eclipse IDE Java
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seems like you are asking in the wrong forum. This forum is for Java, not HTML.
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Posts: 2904
198
Android Chrome Eclipse IDE
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to other forums.
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 15861
81
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a special reason why you are using JSF 1.2? That is really old. The JSF 2.x versions are much better and easier to use than JSF 1.x.

If you're doing this just for learning and you can choose the JSF version yourself, then go with the current version, JSF 2.2, instead of JSF 1.2.
 
T Adeoye
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Frits Walraven wrote:Moved to other forums.


Thanks  for fixing this for me.
 
T Adeoye
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jesper de Jong wrote:Is there a special reason why you are using JSF 1.2? That is really old. The JSF 2.x versions are much better and easier to use than JSF 1.x.

If you're doing this just for learning and you can choose the JSF version yourself, then go with the current version, JSF 2.2, instead of JSF 1.2.


I am working on refactoring some legacy code . I would have been done if I was working on 2.x , I guess we wont be switching to that any time in the nearest future. Thanks for recommending .
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!