[opencms-dev] Re: Re: * Fetch USER_ID from cms_users table *

Robert Petermeier robert2.0 at gmx.de
Thu Nov 25 14:28:23 CET 2004


James schrieb:
>  
> C:\Program Files\Apache Group\Tomcat
> 4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\testa\edit_details
> _jsp.java:71: incompatible types
> found   : int
> required: com.opencms.flex.util.CmsUUID
> CmsUUID useriddd = cmsjsp.getRequestContext().currentUser().getId();

Well, I was assuming you were using version 6 where the above line works 
(return value is of type CmsUUID). In v5 it returns an int, so there is 
your ID.


Regards,
Robert



More information about the opencms-dev mailing list