[
https://jira.jboss.org/jira/browse/RF-5522?page=com.atlassian.jira.plugin...
]
bimlendu shekhar updated RF-5522:
---------------------------------
Attachment: screenshot-1.jpg
I have picked up the code from richfaces live demo to demonstarate model panel.I am using
right to left rendering of this page by setting the dir attribute of the page to
"rtl".
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: 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