Allow to set ID on <p:column selectionMode>

UI Components for JSF
Post Reply
BalusC
Posts: 36
Joined: 23 Jul 2010, 20:21

23 Dec 2011, 16:57

Using PF 3.0 RC2. For Selenium testing it would be helpful if the <p:column selectionMode> allows setting an ID on the checkbox/radiobutton. Currently setting the ID on <p:column> doesn't generate any useable ID in the HTML output.

Issue report: http://code.google.com/p/primefaces/iss ... il?id=3178

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

23 Dec 2011, 17:29

I'd like to avoid non-functional markup, render little as possible.

BalusC
Posts: 36
Joined: 23 Jul 2010, 20:21

23 Dec 2011, 17:31

I understand that. I didn't mean to suggest that you should always render IDs. You can just render nothing if there's no explicit ID set. But if there's a selectionMode *and* an ID, then render the ID on checkbox/radiobutton. There's really no other way to set the ID on the input element.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 21 guests