[jboss-jira] [JBoss JIRA] Resolved: (JBAS-7073) ValueExpression is not working with JBOSS 5.1.0

Stan Silvert (JIRA) jira-events at lists.jboss.org
Thu Jul 2 12:34:51 EDT 2009


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

Stan Silvert resolved JBAS-7073.
--------------------------------

    Resolution: Rejected


> ValueExpression is not working with JBOSS 5.1.0
> -----------------------------------------------
>
>                 Key: JBAS-7073
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7073
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JSF
>         Environment: windows environment
>            Reporter: anil kumar
>            Assignee: Stan Silvert
>            Priority: Critical
>
> sample code is here, its giving  /welcomeJSF.jsp(26,12) According to TLD or attribute directive in tag file, attribute title does not accept any expressions
> welcomeJSF.jsp
> <%@page contentType="text/html"%>
> <%@page pageEncoding="UTF-8"%>
>  <%@ page import="javax.el.ValueExpression"  %>
>  <%@ page import="javax.el.ExpressionFactory"  %>
>   <%@ page import ="com.sun.el.ExpressionFactoryImpl"%>
>  
> <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
> <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>    "http://www.w3.org/TR/html4/loose.dtd">
> <%--
>     This file is an entry point for JavaServer Faces application.
> --%>
> <f:view>
> <html>
>     <head>
>         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
>         <title>JSP Page</title>
>     </head>
>     <body>
>         
>         <%
>           ExpressionFactory el = new ExpressionFactoryImpl();         
>        ValueExpression testExpression =  el.createValueExpression( " Test" ,  new String().getClass()); 
>         %>
>        
>         <h:form>        
>             <h:commandLink title="<%=testExpression%>" id="next" action="#">
>    <h:outputText value="Next Page »" />
>     </h:commandLink>
>             <h1><h:outputText value="JavaServer Faces" /></h1>
>        
>     </h:form>
>     </body>
> </html>
>  </f:view>

-- 
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 jboss-jira mailing list