menuitem validation error:Missing required attribute "label"

UI Components for JSF
Post Reply
gus315
Posts: 66
Joined: 01 Dec 2009, 21:08

07 Apr 2010, 21:09

Hi Cagatay,

When I imported the prime-showcase example into Eclipse or coded menuitem tag, I always get the menuitem tag validation error: Missing required attribute "label", but it looks that "label" is not required now. Could you please look into it? Thanks,

Sheng

gus315
Posts: 66
Joined: 01 Dec 2009, 21:08

07 Apr 2010, 22:43

I created an issue ticket here: http://code.google.com/p/primefaces/iss ... ail?id=721. Thanks, Cagatay.

Sheng

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

08 Apr 2010, 11:20

Thanks Sheng, I think I forgot it to make it not required, since menuitems now extend from UICommand to execute actions, they get a new value property from UICommand, so right now both value and label can be used although label is deprecated and will be removed in a future release, it is still there for backward compatibility though.

I'll fix the required thing thanks for the heads up.

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

08 Apr 2010, 16:58

Done, label is not required now, thanks Sheng.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 63 guests