This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring Boot in Practice and have Somnath Musib on-line!
See this thread for details.
Win a copy of Spring Boot in Practice this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

JSF Custom Component ,IBM Portal 7

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I have a problem. I'm trying to develope my custom jsf component, It has lot of fields, text,table,input text, and also a button. I have created its fields with html inside the encodeBegin method of my class that extends UIInput, using for example rwWriter.write(sbHeader.toString());
But I have tried to write my commandlink with a
If I use my button appears but when I press the button It doesn't go to the action method
If I use I have two buttons but when I press the button it goes to the action method
What is it wrong?
Thanks in advance,
Regards,
 
Natt Gonzalez
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have resolved it. The problem was I was using encodebegin of the button and It also renders the button because it was a children of the component. I have removed the encodebegin of the button, I have overriden
And I call the cLink.encodeall in the encodeBegin of my componet when I desire.
Thanks
reply
    Bookmark Topic Watch Topic
  • New Topic