So I have been struggling with this for a while now but it seems that the
answer should be straight forward. 
 
The Tomahawk data scroller and other components place parameters such as
pageIndex in request scope. I have been trying to access these by going
through the variableResolver and have been getting the following exception
 
javax.faces.el.ReferenceSyntaxException: Invalid expression: 'pageIndex'.
Parsed Expression of unexpected type java.lang.String

It seems that the reference implementation only allows beans to be accessed
in this way while the Data Scolled uses simple String variables. 

So, 

[1] How to access (read/write) these request scope string values from a
backing bean as we would like our JSFs to automatically return to the same
data scroller page in a pagable list when the user re-enters the page.

[2] Why is this design implemented over a more standard value-binding
expresssion?

I feel that there is something fundamental that I have missed so any help is
appreciated.

 

Thanks

Julian


Reply via email to