Announcement Announcement Module
Collapse
No announcement yet.
Using a property value in relationships Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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

    Comment

    Working...
    X