[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-3349) Facets for calendar don't work

Yura Zhishko (JIRA) jira-events at lists.jboss.org
Thu Dec 4 10:39:36 EST 2008


     [ https://jira.jboss.org/jira/browse/JBIDE-3349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yura Zhishko updated JBIDE-3349:
--------------------------------

    Description: 
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

  was:
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)



> 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: Sergey Dzmitrovich
>         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

        



More information about the jbosstools-issues mailing list