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 is migrated to remove the use of 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"/> |
The source scanner quick fix changes this value for use with Apache Beehive as shown in the following example.
|
<netui:content value="${myActionForm.username}"/> |