[JBoss JIRA] Created: (RF-4982) rich:calendar component styleClass is applied on the table and not the actual input component
by Mike (JIRA)
rich:calendar component styleClass is applied on the table and not the actual input component
---------------------------------------------------------------------------------------------
Key: RF-4982
URL: https://jira.jboss.org/jira/browse/RF-4982
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2, 3.2.1, 3.2.0.SR1, 3.2.0, 3.1.6, 3.1.5, 3.1.4, 3.1.3, 3.1.2, 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0
Environment: Win XP, Linux Ubuntu 8.10, Jboss 4.2.2, JDK1.5 / JDK1.6 JSF1.2 RI (mojarra)
Reporter: Mike
In case of a validation error we add a styleClass property (e.g. css-class 'failureMarker') on the relevant element (input, select etc.)
Unfortunately the rich:calendar component added this property on the table of the calendar-popup, not at the input field as expected, see example:
Section of the rendered html of a calendar component:
Actual
...
<input type="text" value="xxx" class="rich-calendar-input textDefault"/>
...
<input id="form:deliverydateInputCurrentDate" type="hidden" value="11/2008" style="display: none;" name="form:deliverydateInputCurrentDate"/>
</span>
<div id="form:deliverydateIFrame" style="display: none;"/>
<table id="form:deliverydate" class="rich-calendar-exterior rich-calendar-popup failureMarker" cellspacing="0" cellpadding="0" border="0" onclick="$('form:deliverydate').component.skipEventOnCollapse=true;" style="display: none; position: absolute; z-index: 3;">
<tbody>
...
Expected
...
<input type="text" value="xxx" class="rich-calendar-input textDefault failureMarker"/>
...
<input id="form:deliverydateInputCurrentDate" type="hidden" value="11/2008" style="display: none;" name="form:deliverydateInputCurrentDate"/>
</span>
<div id="form:deliverydateIFrame" style="display: none;"/>
<table id="form:deliverydate" class="rich-calendar-exterior rich-calendar-popup" cellspacing="0" cellpadding="0" border="0" onclick="$('form:deliverydate').component.skipEventOnCollapse=true;" style="display: none; position: absolute; z-index: 3;">
<tbody>
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 11 months
[JBoss JIRA] Created: (RF-4518) Bug introduces on suggestionbox when upgrading from 3.2.1 to 3.2.2
by Shervin Asgari (JIRA)
Bug introduces on suggestionbox when upgrading from 3.2.1 to 3.2.2
------------------------------------------------------------------
Key: RF-4518
URL: https://jira.jboss.org/jira/browse/RF-4518
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: JBoss 4.2.2 , Seam 2.0.2.SP1
Reporter: Shervin Asgari
I have just upgraded to 3.2.2.GA from 3.2.1.GA and suddenly something is terribly wrong with my suggestionbox.
It looks like it is a styling issue of some sort.
Because combined it is correct.
The suggestionbox lists all the elements withouth any styling, but however the styling appears on top left corner of the screen.
And I cannot select.
The code worked on 3.2.1
Please see the forum link for more description on the code.
There are other suggestionboxes we use in the same project and there it works correctly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 11 months