Issue Details (XML | Word | Printable)

Key: APF-913
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Matt Raible
Reporter: Matt Raible
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
AppFuse

JSF List page only works when POJO uses "id" as @Id property

Created: 24/Sep/07 10:29 AM   Updated: 24/Sep/07 10:31 AM   Resolved: 24/Sep/07 10:31 AM
Component/s: Tools - AMP
Affects Version/s: 2.0 Final
Fix Version/s: 2.0.1


 Description  « Hide
Caused by the following line in list-view.ftl:

<f:param name="id" value="${'#'}{${pojoNameLower}.${field.name}}"/>

Changing to the following should fix:

<f:param name="${field.name}" value="${'#'}{${pojoNameLower}.${field.name}}"/>


3020 by  Matt Raible (1 file)
24/Sep/07 10:31 AM (34 months, 20 days ago)
APF-913: Fixed bug where @Id property name not read - was hardcoded to "id"
appfuse: trunk/plugins/appfuse-maven-plugin/src/main/resources/appfuse/web/jsf/list-view.ftl 3020 history download (+1 -1) diffs

Matt Raible made changes - 24/Sep/07 10:31 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]