So the answer is that Magnolia doesn't have this ability and we'll have to develop our own, correct? (*Chris*)
On Thu, Sep 24, 2009 at 12:06 PM, Ruben Reusser <[email protected]> wrote: > > well, that might be :-) I probably would add an additional config to the > whole paragraph that lists the role this user has to be off in order to see > the paragraph and then use code to check the role on the fly. Or do a search > and replace in the text to add the username for example (how about > [[username]]) :-) > > Ruben > > Chris Pratt wrote: > >> I think what Jaswinder is asking is, is there a way to process JSP or JSTL >> tags (or some other replacement nomenclature) in the text from an edit or >> fckEdit paragraph to insert replacement parameters with data stored in the >> session? >> (*Chris*) >> >> On Thu, Sep 24, 2009 at 10:37 AM, Ruben Reusser <[email protected] <mailto: >> [email protected]>> wrote: >> >> >> something like this? >> >> User user = MgnlContext.getInstance().getUser(); >> if(user != null && !"anonymous".equals(user.getName().toString())) { >> } else { >> >> } >> >> >> Jaswinder Kaur wrote: >> >> >> Is there a way to access session attributes inside a paragraph >> ? The requirement is if a user's login, we want to some user >> specific information within a text >> >> Thanks in advance >> Jaswinder >> >> >> >> >> MailGate.vsp.com <http://MailGate.vsp.com> made the following >> annotations >> >> --------------------------------------------------------------------- >> NOTICE: This message is intended only for the individual to >> whom it is addressed and may contain information that is >> confidential or privileged. If you are not the intended >> recipient, or the employee or person responsible for >> delivering it to the intended recipient, you are hereby >> notified that any dissemination, distribution, copying or use >> is strictly prohibited. If you have received this >> communication in error, please notify the sender and destroy >> or delete this communication immediately. >> >> --------------------------------------------------------------------- >> >> >> >> >> ------------------------------------------------------------------------ >> ---------------------------------------------------------------- >> For list details see >> http://www.magnolia-cms.com/home/community/mailing-lists.html >> To unsubscribe, E-mail to: >> <[email protected] >> <mailto:[email protected]>> >> ---------------------------------------------------------------- >> >> >> ---------------------------------------------------------------- >> For list details see >> http://www.magnolia-cms.com/home/community/mailing-lists.html >> To unsubscribe, E-mail to: <[email protected] >> <mailto:[email protected]>> >> ---------------------------------------------------------------- >> >> >> > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > > ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
