[
https://jira.jboss.org/jira/browse/JBIDE-3349?page=com.atlassian.jira.plu...
]
Yura Zhishko closed JBIDE-3349.
-------------------------------
Verified in JBossTools-ALL-win32-3.0.0.CR2-N200901091812
Facets for calendar don't work
------------------------------
Key: JBIDE-3349
URL:
https://jira.jboss.org/jira/browse/JBIDE-3349
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor Templates
Affects Versions: 3.0.0.cr1
Reporter: Yura Zhishko
Assignee: Yura Zhishko
Fix For: 3.0.0.CR2
Attachments: screenshot-1.jpg
Paste next code:
<html>
<head>
<title></title>
</head>
<body>
<f:view>
<rich:calendar>
<f:facet name="optionalHeader">
<h:outputText value="Optional Header" />
</f:facet>
<f:facet name="weekDay">
<h:outputText value="Day Label" />
</f:facet>
<f:facet name="weekNumber">
<h:outputText value="Week Number" />
</f:facet>
<f:facet name="optionalFooter">
<h:outputText value="Optional Footer" />
</f:facet>
</rich:calendar>
</f:view>
</body>
</html>
Visual representation of the component is different in VPE and Browsers (see screenshot)
1) Insert next part inside <rich:calendar>
<f:facet name="header">
<h:panelGrid columns="2" width="100%"
columnClasses="width100, fake">
<h:outputText value="{selectedDateControl}" />
<h:outputText value="{todayControl}"
style="font-weight:bold; text-align:left"/>
</h:panelGrid>
</f:facet>
2) Do not press button to open popup menu (make it hidden)
Footer/header is rendered below - that is no correct
3) Open popup menu
All works fine
--
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