beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Schoettger" <>
Subject Re: [jira] Created: (BEEHIVE-1101) netui JSP tags should support dataSource "refs"
Date Wed, 18 Oct 2006 20:03:10 GMT
Hi Eddie,

I was wondering if you'd had much of a chance to look into this issue?
If not, would you mind if I took a look and posted a proposed solution
back to the dev list for discussion?  Assuming agreement on the dev
list for the solution I could also make the necessary code changes.

It's your bug, so I don't know if you've already looked into it or
have code ready to be commited -- if that's the case I'll look for
something else in the current set of open bugs.

  -- Thanks, Chad

On 4/17/06, Eddie O'Neil (JIRA) <> wrote:
> netui JSP tags should support dataSource "refs"
> -----------------------------------------------
>          Key: BEEHIVE-1101
>          URL:
>      Project: Beehive
>         Type: New Feature
>   Components: NetUI
>     Versions: V1, 1.0.1,
>     Reporter: Eddie O'Neil
>  Assigned to: Eddie O'Neil
> In 1.0.1, the NetUI JSP tags use a "dataSource" attribute to refer to data in a data
bindable object.  For UI elements that are translated into HTML "input"s, the "dataSource"
attribute is often bound to an action form.  For example:
>   <netui:textBox dataSource=""/>
> where the rendered HTML will contain:
>   <input type="text" name="{}"/>
> In some circumstances, however, this behavior is limiting; for example, wnen building
reusable UI components using JSP 2.0 .tag files, the dataSource might need to be referred
to via a dataSource "ref" that refers to a property on a JavaBean or entry in a Map to find
the actual expression.  This might look like:
>   <netui:textBox dataSource="ref:refBean.textProperty"/>
> where the "ref:" prefix would cause the <textBox> tag to lookup the "refBean.textProperty"
to ultimately find the expression "".  This would allow the creation of larger,
reusable components that could be data bound to objects of different shapes rather than to
a the shape of a single action form.
> Would be a nice-to-have feature...
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> -
> For more information on JIRA, see:

View raw message