Hi Ibrahim, Glad it is working.
Yes, it also works with valueb="String:" because it is casting an empty string into string. By default, when values are passed uncasted, rendertag assumes it is of string type. -Jian On Jun 29, 1:38 pm, Ibrahim Sawadogo <[email protected]> wrote: > Hi, > > thanks for your reply. for the record, it also works with valueb="String:" > Dont aks me why. > > Thanks. > Ibrahim > > On 29 June 2011 19:22, Jian Huang <[email protected]> wrote: > > > > > > > > > Hi Ibrahim, > > > Good question, in your case, you can just do valueb="" > > > -Jian > > > On Jun 29, 11:39 am, Ibrahim Sawadogo <[email protected]> wrote: > > > Hi All, > > > > can someone please tell me why the first part always evaluating true and > > > never false? > > > > <reddot:cms> > > > <if> > > > <query valuea="<%std_url%>" operator="!=" > > > valueb="Escape:EmptyString"> > > > <htmltext> > > > > </htmltext> > > > </query> > > > <query type="else"> > > > <htmltext> > > > > </htmltext> > > > </query> > > > </if> > > > </reddot:cms> > > > > is this (Escape:EmptyString) the real syntax for evaluating empty or null > > > value? > > > > Thanks, > > > Ibrahim > > > -- > > You received this message because you are subscribed to the Google Groups > > "RedDot CMS Users" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > >http://groups.google.com/group/reddot-cms-users?hl=en. -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
