#{backingBean.someproperty[linkBean.arg1]} is correct syntax, assuming
that backingBean.someproperty is a map or list or other java object
and not a primitive or something that the [] cannot be applied to.
What is the signature of the getSomeProperty method on backingBean and
the getArg1 on the linkBean?Is the error on evaluating a get or set of the EL? -Andrew On Fri, Apr 3, 2009 at 1:31 PM, JavaRunner <[email protected]> wrote: > > Can anyone solve this? > I have an expression that looks like this: > #{backingBean.someproperty[linkBean.arg1]} which causes an EL parsing error. > I've tried some variations such as: > #{backingBean.someproperty[#{linkBean.arg1}]} and > #{backingBean[linkBean.arg1].someproperty}. These cause parsing errors also. > I've verified that both backingBean.someproperty and linkBean.arg1 have > valid values. > These expressions in part implement a link as in <h:commandLink... on a > master list which grabs the current datatable row and renders the row > details on the next page - or at least it's supposed to! > What am i missing here? > Help appreciated. > > > -- > View this message in context: > http://www.nabble.com/JSF-EL-Problem-tp22874219p22874219.html > Sent from the MyFaces - Users mailing list archive at Nabble.com. > >

