Announcement Announcement Module
Collapse
No announcement yet.
spring webflow 2.2.0 and tiles 2.2.2: rendering value in jsp without setter. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring webflow 2.2.0 and tiles 2.2.2: rendering value in jsp without setter.

    Hi I have a model to be render (output only).

    Code:
    <c:forEach items="${foundCars}" var="car">
    	     <tr>
    	       <td>${car.model}</td>
    	       <td>${car.make}</td>
    	     </tr>
    </c:forEach>
    i get this error.
    Code:
    javax.el.PropertyNotFoundException: Property 'model' not found on type com.cars.CarModel
    I don't want to add setters to the object.. since its "read-only".

    Thanks.

  • #2
    neverm ind.. i forgot to put the getter as public. err....

    Comment

    Working...
    X