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

  • toString

    i have this select:
    Code:
    <field:select field="escola" id="c_com_divae_ResultadoFinal_escola" itemValue="id" items="${escolas}" path="/escolas" z="EsNQjJVXAEvBD5etKKcsOuB3qH8="/>
    To display an item of the select, it uses the toString, right?
    I am trying to change the way it is displayed, but unsucesfully so far.
    In my .java, i removed the @RooToString and created a toString().
    Code:
        public String toString(){
        	return this.nome + "some string";
        }
    Roo removed the to_string.aj file.

    After that no changes happend, the select is still displaying the same way before.
    Placing a breakpoint in the toString method, it is not used.
    Seens like the app is still using the old .aj toString.
Working...
X