-
Jun 10th, 2009, 12:11 AM
#1
Using a property value in relationships
Added relationships is very easy with ROO. I have a thing that I would like to have improved. Maybe it is already possible. If you have a relationship, in all the jsps the toString method is used to describe that relationship. This looks strange in drop down lists and on the list screen. Therefore I have changed the jsps to add properties like this:
A theme has stories and is part of a project:
- list.jsp : ${fn:substring(theme.project, 0, 10)} -> ${fn:substring(theme.project.title, 0, 10)}
- create.jsp : <form:options itemValue="id" items="${projects}"/> ->
<form:options itemValue="id" items="${projects}" itemLabel="title"/>
Now the jsps cannot be managed anymore by ROO, which is of course a pitty.
Is there another way? Can we introduce an annotation on a field to become the label field or something like that?
thanks
-
Jun 10th, 2009, 12:33 AM
#2
Hi,
Yes we are aware of this issue and this needs to be addressed
. We have an open Jira ticket ROO-8 (http://jira.springframework.org/browse/ROO-8) which should be used to collect ideas, suggestions, comments and requirements. Please feel free to add your opinion or even suggestions there.
-Stefan
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