I have an user object which contains several properties, including account,
name, gender and password. However, due to the object only provide
getAccount() method. So when displaying using beaneditform, the web page
does not show the Account column. 

Then I search the forum

http://www.nabble.com/-T5--How-to-add-a-extra-column-for-delete-update-action-using-Grid-component.-td12255655.html#a12258689
http://www.nabble.com/T5-%3A-Rendering-one-column-in-Grid-compoenent-made-the-paging-disappeared---td14565259.html#a14565259

and add the following lines to create a column called Account after using
beanModel to create required BeanModel. 

        model = beanModelSource.create(User.class, ...); 
        model.add("account", null).label("Account").sortable(false); 

Unfortunately, after compilation and deployment, the web page still do not
show the column Account. Is this the right way to add a new column to
beaneditform? Or what is the correct way to achieve such purpose?

I appreciate any suggestion,

Thank you.


-- 
View this message in context: 
http://www.nabble.com/Add-a-column-to-beaneditform-question-tp25477600p25477600.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to