Perhaps you are looking for #{requestScope.pageIndex} or a component binding 
can help.  For example, by setting the binding attribute to something like 
#{managedBean.dataScroller} , you can access the properties of the dataScroller 
component instance via value binding (which I think it what you are looking 
for).

Dennis Byrne

>-----Original Message-----
>From: Julian Ray [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, April 26, 2006 09:27 PM
>To: ''MyFaces Discussion''
>Subject: Strings in Request Scope -- Data Scroller and Others
>
>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