Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Custom tag use in <h:dataTable>  RSS feed

 
Andy Holm
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to use a custom component within my <h:dataTable>. The problem is the value for "number" below doesn't seem to be passed in correctly. It is blank.
Using an outputText tag works, however. What needs to be changed in the custom tag to make it work?

 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does it extend UIComponent? It should.
You're using JSP EL instead of JSF (Unified) EL. This is indeed not going to work.
 
Andy Holm
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I misspoke in my original post. What I meant to say was I am trying to use a custom tag within a dataTable, and that is not working. What should I be doing instead to get this custom tag functionality? Do you have a link with an example?
 
Andy Holm
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any suggestions?
 
suresh dasari
Ranch Hand
Posts: 121
Chrome Eclipse IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am also facing the same problem, normal inputtext control is working in datatable whereas custom component of input text control is not working.
the problem I am facing is:
when I used input text inside the datatable page is submiting prefectly and I am able to retrive the input value in the backing bean after submiting the page but when I used a custom input text inside the datatable page is not submiting as there is an issue with custom component.

thanks for any help???
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!