[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-3690) Incorrect styleClass is applying for the tags, which use <span> wrapping

Yura Zhishko (JIRA) jira-events at lists.jboss.org
Mon Dec 21 09:44:30 EST 2009


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

Yura Zhishko resolved JBIDE-3690.
---------------------------------

    Resolution: Done
      Assignee: Svetlana Yasenovich  (was: Yura Zhishko)


> Incorrect styleClass is applying for the tags, which use <span> wrapping
> ------------------------------------------------------------------------
>
>                 Key: JBIDE-3690
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3690
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor Templates
>    Affects Versions: 3.0.0.CR2
>            Reporter: Yura Zhishko
>            Assignee: Svetlana Yasenovich
>             Fix For: 3.1.0.CR2
>
>         Attachments: CommandLinkSpan.patch, finalPatchForSeam10.patch, JBIDE3690_project.zip, screenshot-1.jpg
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> 1) Insert next source code into source path:
> <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
> <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
> <html>
> 	<head>
> 	<style type="text/css">
> 		span{
> 			color: yellow;
> 			background-color:green;
> 		}
> 	</style>
> 	</head>
> 	<body style="text-align: center">
> 		<f:view>
> 			<h:form id="form1">
> 				<h:outputText value="Command Link"></h:outputText>
> 				<f:verbatim>Exit</f:verbatim>
> 				<a4j:commandLink action="None" value="Begining"/>
> 				<a4j:htmlCommandLink value="Going throw"></a4j:htmlCommandLink>
> 				<h:message for="form1" />
> 				<h:messages />
> 			</h:form>
> 		</f:view>
> 	</body>	
> </html>
> 2) Compare Visual representation in VPE to Server side (see screenshot-1).
> RESULT: This difference occurs due to wrapping with <span> tag of current tags. And our VPE renders this style OK. But browser doesn't wrap this tag in <span>.

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