beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eddie O'Neil (JIRA)" <...@beehive.apache.org>
Subject [jira] Updated: (BEEHIVE-749) No way to pass a nullable value through netui-data:callPageFlow
Date Fri, 10 Feb 2006 02:12:58 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-749?page=all ]

Eddie O'Neil updated BEEHIVE-749:
---------------------------------

    Assign To:     (was: Eddie O'Neil)

> No way to pass a nullable value through netui-data:callPageFlow
> ---------------------------------------------------------------
>
>          Key: BEEHIVE-749
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-749
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: v1m1
>     Reporter: Rich Feit
>     Priority: Minor

>
> I've got the following in a JSP, where "${requestScope.mayNotExist}" may evaluate to
null:
>         <netui-data:callPageFlow method="doit" resultId="result">
>             <netui-data:methodParameter value="${requestScope.mayNotExist}"/>
>         </netui-data:callPageFlow>
> This produces the following tag error when the value is null:
>     "The MethodParameter tag must have either the isNull attribute set to true or the
value attribute set to a valid value."
> That's OK, but since null is a valid value for the argument to 'doit', I want to do this:
>         <netui-data:methodParameter value="${requestScope.mayNotExist}" null="${requestScope.mayNotExist==null}"/>
> This violates the 'databindable' flag on that attribute ("According to TLD or attribute
directive in tag file, attribute null does not accept any expressions").  Seems like there's
no easy way to pass a nullable value to a method...?

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