Can I use The metadata  as properties of my dialogs definitions.

I would like display the paragraphs only posted by a actual user. Then I
would like add a hidden property with the userName to compare with the
actual user :
<c:set var="user_actu" /><cms:out nodeDataName="user /></c:set>
<% 
   MgnlUser user = (MgnlUser) MgnlContext.getUser();
   String name_user = user.getName(); 
   pageContext.setAttribute("mon_user", name_user);
%>

<c:if test="${user_actu == mon_user}">


Which is the metadata can I use ?




Magnolia - User mailing list wrote:
> 
> You can't just use code as properties of your dialog definitions. The  
> user who saved a dialog is available in the metadata of the given  
> node. If that's not good enough, you'll probably need a custom control  
> to fill the value in.
> 
> -g
> 

-- 
View this message in context: 
http://www.nabble.com/Get-User-Name-in-Dialog-in-Admin-Central-tp19990273p19995222.html
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to