You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Vladimir Lisin <vl...@emgas.gazprom.ru> on 2005/02/03 15:06:33 UTC

"hasLoggedIn" property and UserBrowser portlet

Hi all,

I wanted to add  in the table of  users in UserBrowser portlet  the column 
with flag "hasLoddeIn".
But simple insert  the  line " #entryCell ($!user.hasLoggedIn) " in 
user-browser.vm  don't  provide result.
Why ?  This "user" is JetspeedUser and has ".hasLoggedIn" property !?
In  UserBrowserAction this "user"  appear by the next :

            ............................. 
            Iterator users = JetspeedSecurity.getUsers();
            List userList = new ArrayList();
           ...............................
            while(users.hasNext()) 
                        {
                          JetspeedUser user = (JetspeedUser)users.next();
                           userList.add(user);
                          }
             .....................................
Can anybody comment this ? 
Thanks in advance, Vladimir

Re: "hasLoggedIn" property and UserBrowser portlet

Posted by Vladimir Figurov <vf...@asia-soft.kz>.
8) hi! tezka!!!

In velocity, if use full method's name, need write "hasLoggedIn()".  

#entryCell ($!user.hasLoggedIn())

but this - not help you 8((( - as is hasLoggeId look in TEMP hash in 
user object - and, on Browser User portlet the any user-object return 
FALSE 8(((


Vladimir Lisin wrote:

>Hi all,
>
>I wanted to add  in the table of  users in UserBrowser portlet  the column 
>with flag "hasLoddeIn".
>But simple insert  the  line " #entryCell ($!user.hasLoggedIn) " in 
>user-browser.vm  don't  provide result.
>Why ?  This "user" is JetspeedUser and has ".hasLoggedIn" property !?
>In  UserBrowserAction this "user"  appear by the next :
>
>            ............................. 
>            Iterator users = JetspeedSecurity.getUsers();
>            List userList = new ArrayList();
>           ...............................
>            while(users.hasNext()) 
>                        {
>                          JetspeedUser user = (JetspeedUser)users.next();
>                           userList.add(user);
>                          }
>             .....................................
>Can anybody comment this ? 
>Thanks in advance, Vladimir
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org