Announcement Announcement Module
Collapse
No announcement yet.
@RooEntity with transient Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • @RooEntity with transient

    Hi,

    I'm trying to create a transient method in an entity created with roo, but presents problems when I run deploy.

    ie:

    Code:
    @RooJavaBean
    @RooToString
    @RooEntity
    public class Person {
    
    	private String name;
    
    	private String surname;
    
           @Transient
    	public String getFullName() {
                return name +  " " + surname;
            }
    
    }

    The console tells me that I have add the method setFullname, and then when I add this method in the Person's screen shows me a text field fullname as input...

    I think the problem occurs only with gwt

    How do I add this transient method without being displayed on the screen as an entry?
    Last edited by titobundy; Jul 26th, 2011, 09:38 AM.

  • #2
    Can you please open a bug ticket for this, so we can investigate what is going wrong?

    Comment


    • #3
      I think the problem occurs only when the method name has prefixed 'get'. I changed the name of the method by anyFullName and the problem was solved. it was only with gwt and don't mvc.

      Comment

      Working...
      X