facebook

JSP Designer does not display value of outputLabel

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #236603 Reply

    paulspencer
    Member

    ME 4.0 GA

    The Design and Preview modes of JSP Designer do not display the value of <h:outputLabel>. In the case of the Design mode, only a thin green box is displayed.

    
    <%@ page language="java" pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    
    <HTML>
    <HEAD></HEAD>
    <BODY>
    <f:view>
        <h:form>
            <h:panelGrid columns="3">
                 <!-- Row 1 -->
                <h:outputLabel for="field11" value="Field 1.1" />
                <h:inputText id="field11" value="#{queryProperty.field11}" />
                <h:message for="field11" errorStyle="color:red;" />
    
                 <!-- Row 2 -->
                <h:outputLabel for="field21" value="Field 2.1" />
                <h:inputText id="field21" value="#{queryProperty.field21}" />
                <h:message for="field21" errorStyle="color:red;" />
    
            </h:panelGrid>
        </h:form>
    </f:view>
    </BODY>
    </HTML>
    

    Paul Spencer

    #236682 Reply

    Greg
    Member

    Currently, the outputLabel component only renders what is nested under it, it doesn’t display what is given for the value=”” attribute. The correct behavior is for it to render the value=””as well as you have demostrated. I will add this issue to our tracking system and it should be fixed when we address many of the JSF rendering issues in the next release. Thanks for the report.

    #237721 Reply

    Greg
    Member

    This message has not been recovered.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: JSP Designer does not display value of outputLabel

You must be logged in to post in the forum log in