[
https://jira.jboss.org/jira/browse/RF-5522?page=com.atlassian.jira.plugin...
]
Iov Gherman commented on RF-5522:
---------------------------------
As a work around the property dir="ltr" can be applied to the rich:modalPanel
component and put the "rtl" attribute on the modal panel content (if you want to
preserve the rtl alignment).
Ex: <rich:modalPanel id="userInfoModalPanel" resizeable="false"
width="500" height="200" dir="ltr">
Model Panel appears with a shadow on its right when right to left
rendering is used.
------------------------------------------------------------------------------------
Key: RF-5522
URL:
https://jira.jboss.org/jira/browse/RF-5522
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: windows xp ,jboss 4.3,jsf application.
Reporter: bimlendu shekhar
Fix For: Wishes
Attachments: rtl.jsp, screenshot-1.jpg
When the dir attribute of the html tag is set to "rtl".The Model panel appears
with a shadow on its right side.The jsp code
<%@taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib
uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<html dir="rtl">
<body>
<f:view>
<h:form>
<rich:modalPanel id="panel" width="350"
height="100">
<f:facet name="header">
<h:panelGroup>
<h:outputText value="Modal Panel"></h:outputText>
</h:panelGroup>
</f:facet>
<f:facet name="controls">
<h:panelGroup>
<h:graphicImage value="/images/print.gif"
style="cursor:pointer" id="hidelink"/>
<rich:componentControl for="panel"
attachTo="hidelink" operation="hide" event="onclick"/>
</h:panelGroup>
</f:facet>
<h:outputText value="This panel is called using Component Control
Component"></h:outputText>
<br/>
<h:outputText value="Closure link (X) works also through Component
Control"></h:outputText>
</rich:modalPanel>
<h:outputLink value="#" id="link">
Show Modal Panel
<rich:componentControl for="panel" attachTo="link"
operation="show" event="onclick"/>
</h:outputLink>
</h:form>
</f:view>
</body>
</html>
--
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