beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srinivas Surapaneni (JIRA)" <...@beehive.apache.org>
Subject [jira] Commented: (BEEHIVE-1116) CLONE -the netui:form tag doesn't work when the body is in a <jsp:include>
Date Fri, 26 May 2006 04:00:30 GMT
    [ http://issues.apache.org/jira/browse/BEEHIVE-1116?page=comments#action_12413347 ] 

Srinivas Surapaneni commented on BEEHIVE-1116:
----------------------------------------------

It is working for netui datasource tags

<netui:textBox dataSource="acionForm.xxxxxx"/>

But actionForm is not working for JSTL EL in the included jsp

<c:out value="${actionForm}"/> is always null in the included page

> CLONE -the netui:form tag doesn't work when the body is in a <jsp:include>
> --------------------------------------------------------------------------
>
>          Key: BEEHIVE-1116
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-1116
>      Project: Beehive
>         Type: Bug

>   Components: NetUI
>     Versions: V1, 1.0.1
>     Reporter: Srinivas Surapaneni
>     Assignee: Eddie O'Neil
>      Fix For: v.next

>
> The <netui:form> tag often uses the "actionForm" implicit object for data binding,
but in this situation:
>   <netui:form>
>     <!-- foo-include.jsp -->
>   </netui:form>
> foo-include.jsp
>   
>   <netui:textBox dataSource="actionForm.foo"/>
> the expression in the dataSource attribute is unable to find the actionForm object. 
The problem is that NetUI is unable to find the "actionForm" implicit object because it just
uses the JspContext's VariableResolver.  The fix is to wrap this VR in another one that is
aware of the "actionForm" object.

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


Mime
View raw message