Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Datatable not editable inside of a form  RSS feed

 
Jorge Martinez
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hy,

When I have a datatable of primefaces with paginator and its only readable and not editable, its not needed to be inside of a form, right? although I have seen it many times inside of it

Thanks
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know if it's a fundamental requirement, but my experience is that any sort of data control, whether output-only or input/output should be placed in a form.

I think if I did a little research, I could come up with a good technical reason why that should be so, but it's not that much trouble to code a form tag, so I just make a habit of it.

Besides, that way I don't get stung if I have to come along later and put something like a commandLink control inside the table and forget it's not in a form!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!