I need to embed third party custom jsp tags inside netui tags as
following pattern:
<netui-data:declarePageInput name="pageViews" type="MyPageViewType"/>
<3rdpartytags id="pageViews">
goes here....
....
</3rdpartytags>
In my Controller.java, I create a new object of the page input type,
then forward it the
above jsp page, when I use ${pageInput.pageViews.someAttribute}, it will
output correct value
for the attribute.
But the problem is: inside the 3rd party tags where using "id" to
reference the page input
variable object, it could not find the object under name "pageViews".
The underneath call in custom
tag impl is pageContext.findAttribute(getId()) in the custom tag. If I
use <jsp:useBean id="pageViews"...>
it will work well.
So the question is how do I pass the bean object through page input
netui tag to 3rd party custom jsp tag
which is looking for the object in pageContext with the string value of
"id" attribute?
thanks