[ http://issues.apache.org/jira/browse/BEEHIVE-397?page=history ]
     
Nathan Jantz closed BEEHIVE-397:
--------------------------------

    Assign To: Nathan Jantz  (was: Scott Symmank)

This has been verfied to be working now using the <netui:behavior> tag to 
override values set in the data-grid-default.properties file.

> Unable to override default data grid properties using <netui:behavior> tag.
> ---------------------------------------------------------------------------
>
>          Key: BEEHIVE-397
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-397
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Nathan Jantz
>     Assignee: Nathan Jantz
>      Fix For: V1Beta
>  Attachments: dataGrid4.jsp
>
> According to the data grid spec, I should be able to override property values 
> defined in data-grid-default.properties on a given data grid in a JSP using:
> <netui:behavior facet="resource" name="[key name]" value="My new message"/> 
> but I'm seeing no change to text strings I'm trying to override.
> Testcase:
> ------------------
> Accessing a data grid that contains no data by default prints "No data to 
> display" to the page.  I want to override this message with my own custom 
> message.
> data-grid-default.properties contains the following key/value:
> datagrid.msg.nodata=No data to display
> JSP contains the following code snippet:
> <netui-data:dataGrid ...>
>     <netui:behavior facet="resource" name="datagrid.msg.nodata" value="My new 
> message"/>
> ...
> </netui-data:dataGrid>
> Expected Results:
> --------------------
> "My new message" should print to the page when accessing an empty data grid.
> Actual Results:
> --------------------
> Still printing "No data to display" to the page.
> No exception in the logs.  I will attach the actual JSP i'm, but keep in mind 
> this has a database dependency.
>  

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to