Migrate NetUI tags to Apache Beehive

When you migrate an application to Apache Beehive, you must also update the corresponding NetUI tags in the JavaServer Pages (JSP) files.


BEA Beehive references Java™ objects in the NetUI tags using brackets "{ }". Apache Beehive does not use these brackets.

The following example shows a BEA Beehive NetUI tag with brackets.


<netui:textBox dataSource=“{actionForm.recordnum}” />

This Java object reference when migrated should not use brackets "{ }".


<netui:textBox dataSource="actionForm.recordnum" />

To reference non-datasource values in Apache Beehive, enclose with brackets "{ }" and add a '$' to the beginning of the command. This will implicitly provide access to the attribute maps for the request object and "request." is no longer needed in the value field.


<netui:content value="request.myActionForm.username"/>

An automated fix will change this value for use with Apache Beehive as shown in the following example.


<netui:content value="${myActionForm.username}"/>