-
Apr 4th, 2008, 08:03 PM
#1
#springBind to array element
Hi,
Is it possible to bind to an element of a class property instead of binding to the class property itself? In this case my class property is a 2D array "numbersArray" with its getter and setter as required.
Normally I would use this for a class property that is not an array:
#springBind("cartinfo.property")
where cartinfo is the formObjectName.
I tried this and it does not work:
#springBind("cartinfo.numbersArray[0][0])
I get this:
Invalid property 'numbersArray[0][0]' of bean class [com.project.model.Cart]
What is the solution for this?
Curacao
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules