[JBoss JIRA] Created: (RF-4390) Calendar zindex doesn't work (IE7)
by Hrvoje Jo (JIRA)
Calendar zindex doesn't work (IE7)
----------------------------------
Key: RF-4390
URL: https://jira.jboss.org/jira/browse/RF-4390
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: a4j, jsf
Reporter: Hrvoje Jo
In IE7 zindex doesn't work. If calendar is inside rich:panelBarItem and after them there is another rich:panelBarItem it is behind the rich:panelBarItem no matter what zindex values are.
<rich:panelBarItem id="p1"
label="someLabel" headerStyle="z-index: 1;"
headerStyleActive="z-index: 1;" contentStyle="z-index: 1;" >
<rich:calendar id="p1c1" value="#{d_bean.date}" popup="true" rendered="true"
inputClass="input-field input-field-cal"
converter="DateConverter" enableManualInput="true"
buttonClass="calendar-button" datePattern="dd.MM.yyyy"
buttonIcon="/images/datepicker.gif" showApplyButton="false"
direction="bottom-right" jointPoint="bottom-right"
weekDayLabels="1,2,3,4,5,6,7"
weekDayLabelsShort="1,2,3,4,5,6,7"
monthLabels="1,2,3,4,5,6,7,8,9,10,11,12"
monthLabelsShort="1,2,3,4,5,6,7,8,9,10,11,12"
todayControlMode="hidden" required="false" cellWidth="15"
cellHeight="15" zindex="2000">
</rich:panelBarItem>
<rich:panelBarItem id="p2"
label="someOtherLabel" headerStyle="z-index: 1;"
headerStyleActive="z-index: 1;" contentStyle="z-index: 1;" >
...
</rich:panelBarItem>
--
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
16 years
[JBoss JIRA] Created: (RF-4462) a4j:support issues
by Metin OSMAN (JIRA)
a4j:support issues
------------------
Key: RF-4462
URL: https://jira.jboss.org/jira/browse/RF-4462
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: Facelets 1.1.14, JSF RI 1.2_04-P02 or 1.2_09-BETA1, jboss 4.2.2
Reporter: Metin OSMAN
Hi,
I have just migrated from 3.2.1 to 3.2.2 and I am experiencing 2 problems with the a4j:support tag.
1. As there is no "onclick" attribute on h:outputText, I used a4j:support to attach an action to the "onclick" event of the outputText (rendered as a span) :
{code}
<h:outputText style="CURSOR: pointer" value="#{lbl.header_deconnexion}">
<a4j:support event="onclick" onsubmit="window.location='session.stop'; return false;" />
</h:outputText>
{code}
As this does'nt work anymore, I had to change it to :
{code}
<h:outputLabel style="CURSOR: pointer" value="#{lbl.header_deconnexion}" onclick="window.location='session.stop'; return false;" />
{code}
2. Lets say I need to populate some data and then open a modalPanel on a given position.
These lines used to work :
{code}
<h:panelGrid column="2">
<h:column>
<h:graphicImage alt="green"
url="/resources/img/feurouge-vert-16x16.gif"
styleClass="priorityIcon" rendered="false" />
</h:column>
<h:panelGrid cellpadding="0" cellspacing="0">
<h:outputText value="Qualification" />
<h:outputText value="#{client.qualification}%" />
</h:panelGrid>
<a4j:support action="#{client.openQualification}" immediate="true"
reRender="..."
event="onclick"
oncomplete="showIndicatorModalPanel(this);" />
</h:panelGrid>
{code}
The showIndicatorModalPanel(this) js function calculate a position and open the modalPanel on this position.
With 3.2.2, all the dom attributes relative to dimensions and positions of the clicked panelGrid are set to 0. Then, the calculated position is wrong and the modalPanel is misplaced.
But when I call the same js function on the "onclick" attribute of the panelGrid, the modalPanel is correctly placed, but its data are not filled as I did not call the client.openQualification action.
{code}
<h:panelGrid column="2" onclick="showIndicatorModalPanel(this);">
<h:column>
<h:graphicImage alt="green"
url="/resources/img/feurouge-vert-16x16.gif"
styleClass="priorityIcon" rendered="false" />
</h:column>
<h:panelGrid cellpadding="0" cellspacing="0">
<h:outputText value="Qualification" />
<h:outputText value="#{client.qualification}%" />
</h:panelGrid>
</h:panelGrid>
{code}
Any idea on what change could have make theses issues happen ?
--
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
16 years
[JBoss JIRA] Created: (RF-4190) inplaseSelect: in case using rich:componentControl for call setValue() JS API [object Object] appears
by Tatyana Romanovich (JIRA)
inplaseSelect: in case using rich:componentControl for call setValue() JS API [object Object] appears
-----------------------------------------------------------------------------------------------------
Key: RF-4190
URL: https://jira.jboss.org/jira/browse/RF-4190
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: IE6, 7
FF3
Safari
Opera
RF-3.2.2.BETA4
Reporter: Tatyana Romanovich
Assignee: Nick Belaevski
1. Add link called "setValue()" on the page with inplaceSelect component:
<a href="#" id="setValueID">setValue('passeds','passeds')</a>
2. Bind this link & inplaceSelect component following way:
<rich:componentControl attachTo="setValueID" event="onclick"
for="inplaceSelectID" operation="setValue">
<f:param name="value" value="passeds"/>
<f:param name="label" value="passeds"/>
</rich:componentControl>
3. Navigate to the test application, select InplaceSelect component.
4. Click on inplaceSelect('passed','passed') link
5. Verify inplaceSelect value.
FAILURE: [object Object] displays in the inplaceSelect component
--
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
16 years