[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-1575) Seam s:decorate not displayed "visually" in VPE

steve tynor (JIRA) jira-events at lists.jboss.org
Thu Jan 3 09:32:13 EST 2008


Seam s:decorate not displayed "visually" in VPE
-----------------------------------------------

                 Key: JBIDE-1575
                 URL: http://jira.jboss.com/jira/browse/JBIDE-1575
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: Visual Page Editor
    Affects Versions: 2.0.0.GA
         Environment: Windows, Eclipse 3.3.1.1 (eclipse-jee-europa-fall2-win32/),  JBoss Tools 2.0.0.GA
            Reporter: steve tynor
         Attachments: screenshot-1.jpg

Seam s:decorate tags are rendered textually rather than visually in the VPE.  Max asked me to post screenshots and my xhtml.
Have I configured something incorrectly?
 
Here is the text of the facelet being rendered: 



<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                             "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:s="http://jboss.com/products/seam/taglib"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:rich="http://richfaces.ajax4jsf.org/rich"
                template="/WEB-INF/facelets/templates/template.xhtml">
                       
<ui:define name="title">Select a Client</ui:define>                       
<ui:define name="body">

    <rich:panel>
    <f:facet name="header">Welcome!</f:facet>
    Welcome #{currentUser.firstName} #{currentUser.lastName} (#{currentUser.username}). 
    You must select a client.
    <br/>
    <br/>
    
    <h:form id="clientListForm" styleClass="edit">
    <table>
   	       <s:decorate id="clientDecoration" template="/WEB-INF/facelets/templates/edit.xhtml">
                <ui:define name="label">Client</ui:define>
                <h:selectOneMenu id="client" value="#{authenticator.currentClient}" required="true">
				   <s:selectItems value="#{authenticator.clientsForUser}" var="client" label="#{client.name}" noSelectionLabel="#{messages['select.noneSelected']}"/>
   				   <s:convertEntity />                                      
				</h:selectOneMenu>
			    <h:commandButton id="chooseClient" 
            	      value="Choose Client" 
            	    action="#{authenticator.chooseClient}"/>
            </s:decorate>
	</table>          
    </h:form>
    </rich:panel>
    
</ui:define>

</ui:composition>



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list