> 1.
> ${v content/}
>
> ${bv content}
> ${b ERROR:firstname}Provide a valid firstname.${/b}
> ${b MANDATORY:lastname}The lastname has to be provided.${/b}
> ${b WRONGLENGTH:lastname}The lastname is too long.${/b}
> ${b MANDATORY:*}This field has to be filled in.${/b}
> ${b WRONGLENGTH:url}The url is too long.${/b}
> ....
>
> AFAIK, bv is used as the default value for the accompanying element.
> When the page displayed, why all 'b' elements are not shown?
blocks remain invisible until you set/append them to values
Look at the Template.setBlock, Template.appendBlock methods
2. Elements like ${v FORM:INPUT:firstname} and ${v
> FORM:INPUT:lastname}
> are used to map firstname and lastname to instance propeties of Friend
> object?
FORM:INPUT is a prefix RIFE uses for form generation; look at
http://rifers.org/wiki/display/RIFE/Forms
Cheers,
Emmanuel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"rife-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/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---