html - Overriding element style in apache trinidad -


i have date field in jsp page have used apache trinidad. have written following code

<tr:inputdate label="date from"  id="datefrm" value="#{taskstatus.fromdate}"  > <f:convertdatetime pattern="dd-mm-yyyy"/> </tr:inputdate>  <tr:outputlabel value="dd-mm-yyyy" inlinestyle="color:red; vertical-align:top"> </tr:outputlabel> 

now, problem have whenever enter invalid date error message scattered on page , calender icon! want override element style inputdate element.so ,that not show error message(or calender icon). tried use override element style

 <tr:inputdate label="date from"  id="datefrm" value="#{taskstatus.fromdate}" inlinestyle="display: inline !important" > 

but did not work either

i never have problems layout of error messages. put input fields in tr:panelformlayout tags, result in more consistent layout you.

also suggest use help facet show date format. can skin using selector .orainlineinfotext.

<tr:panelformlayout>   <tr:inputdate label="date from"                 id="datefrm"                 value="#{taskstatus.fromdate}">     <f:convertdatetime pattern="dd-mm-yyyy"/>     <f:facet name="help">       <tr:outputtext value="dd-mm-yyyy"/>     </f:facet>   </tr:inputdate> </tr:panelformlayout> 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -