This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems Extending HtmlCommandLink

 
Shasi Mitra
Ranch Hand
Posts: 101
Flex Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All - I am facing issues when i try to customize HtmlCommandLink.I do not want to create a new component. I just need to add an extra attribute to the existing commandlink.Suggest me any links where I can get some info about customizing my component. Or please guide me how to do that. Thanks in advance..
 
Kavita Tipnis
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cannot just extend a UIComponent and add attributes to it, how will you get/set values to this attribute?
For that, you need to extend the UIComponentELTag as well.

I would suggest that before creating custom components, first evaluate all your options.
If you have strong reasons for creating a custom component, then you are better of creating a new component from scratch
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic