p:autocomplete ignores styleClass

UI Components for JSF
Post Reply
oraether
Posts: 2
Joined: 05 Jan 2011, 16:33

05 Jan 2011, 16:39

Hey,

p:autocomplete does not understand/ignores the attribut styleClass

the following code has no effect

<style>
.mywidth { width: 280px; }
</style>

<p:autoComplete value="#{myBean.value}" completeMethod="#{myBean.complete}" styleClass="mywidth" />

This works!

<p:autoComplete value="#{myBean.value}" completeMethod="#{myBean.complete}" style="width:280px;" />


Should be the same or not?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 53 guests