Have a look:
.html:
<table t:type="grid" rowsPerPage="5" row="tUser" source="usersList"
model="model">
... some code here
</table>
.java:
void pageLoaded()
{
_model = _beanModelSource.create(TUser.class, true, _resources);
_model.remove("password");
}
and:
http://www.mail-archive.com/[email protected]/msg12953.html
--
E.L.
On 18/06/07, Gabriel Lozano <[EMAIL PROTECTED]> wrote:
Hi,
I'm right now working in user administration. So I have a page that list
the
users I have but I don't want to show passwords so I use the 'NonVisual'
anotation in the User class. But, in the edit page, I want to insert some
new password for a user and because of the anotation I am not able. What I
decided to do is to quit the anotation and in the users page ( the one
with
the grid ) I use a t:parameter and just fill the password column with ***.
Is there any other, more elegant, way to just not show the password column
in the users page and be able to edit it in a beaneditform?
Thanks in advance.
Gabriel H. Lozano M.