Thanks a lot Eelco and Igor.
add(new Label("username", new PropertyModel(this,
"customSession.user.firstName"))) works very well.
Eelco Hillenius a écrit :
> LOL. Of course.
>
> Eelco
>
> On 1/21/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>
>> pfft
>>
>> add(new Label("username", new PropertyModel(this,
>> "customSession.user.firstName")));
>>
>> -igor
>>
>>
>>
>> On 1/21/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>>
>>>> or even:
>>>>
>>>> public SignInSuccess(String id) {
>>>> super(id);
>>>> add(new Label("username", new PropertyModel(new
>>>> PropertyModel("customSession.user"), "firstName")));
>>>> SignOutForm signOut = new SignOutForm("signOutForm");
>>>> add(signOut);
>>>> }
>>>>
>>> Erm, I mean:
>>>
>>> public SignInSuccess(String id) {
>>> super(id);
>>> add(new Label("username", new PropertyModel(new
>>> PropertyModel(this, "customSession.user"), "firstName")));
>>> SignOutForm signOut = new SignOutForm("signOutForm");
>>> add(signOut);
>>> }
>>>
>>>
>>>
>> -------------------------------------------------------------------------
>>
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>
>> your
>>
>>> opinions on IT & business topics through brief surveys - and earn cash
>>>
>>>
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>
>>> _______________________________________________
>>> Wicket-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>>
>>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>
>> _______________________________________________
>> Wicket-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>>
>>
>>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user