I see. Thanks, Frederic

wangwei

-----邮件原件-----
发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 代
表 Frederic Daoud
发送时间: Tuesday, April 04, 2006 11:43 PM
收件人: [email protected]
主题: [Rife-users] Re: Is this a bug ?

> There is another strange issue in my use of rife.  When
> I use ${bv something/}, it sometimes is kept in web page shown to user,
while
> if I change it to ${bv something}${/bv}, it will be erased as it intends.
> 
> Of course, I always use ${bv}${/bv} even empty default
> value now.  Just wonder if this is improper.

As far as I know, this is an intended and useful behavior.

The idea is that if you use an opening and closing tag with an empty default
value, it is completely erased, but if you combine opening and closing into
a
single tag, it will show up in your generated HTML if it is not set to
something. This is useful when you want to know which tags are not set to
something.

See this reference:

http://rifers.org/wiki/display/RIFE/GuideTemplates#GuideTemplates-sect1templ
atesvaluetag

Frederic


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to