this tutorial didn't work for me:
rich:calendar icon not displaying on same line as display box
i solved this by adding a styleClass to the surrounding panel grid:
<h:panelGrid columns="2" styleClass="tadCal">
<h:outputText value="from date:" />
<rich:calendar buttonIcon="/images/icons/cal_.gif" ... />
</h:panelGrid>
then in my css file i span elements not wrap to a new line.
style.css:
.tadCal span {
white-space: nowrap;
}
because this is what a rich:calendar looks like when rendered:
<span>
<input type="text" .../>
<img .../>
<input type="hidden" .../>
</span>
IT, computer and programming tutorials and tips that i couldnt find anywhere else using google, from my daily work as a Senior Developer of solutions using Java and Linux.

The best place to *find* answers to programming/development questions, imo, however it's the *worst* place to *ask* questions (if your first question/comment doesn't get any up-rating/response, then u can't ask anymore questions--ridiculously unrealistic), but again, a great reference for *finding* answers.
My Music (Nickleus)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment