[Laszlo-user] Your vote needed: Text formatting and datapaths
Paulo Scardine
paulo at scardine.com.br
Wed Jul 11 14:28:35 PDT 2007
> We recently added a `format` method to the text tag that allows you to
> format the content of a text tag using the standard printf-style
> controls. We think this will be most useful when data binding a text
> node. As an example, if you have an XML dataset of people with
> firstName and lastName nodes, you currently would display each
> element... [choped]
I vote #2.
Reason: We have xml, javascript and ${foo} syntaxes. It's too much.
<twocents>IMHO ${foo} is a nice hack (I love laszlo contraints) but I
would avoid using it or at least keep use very simple if possible.
Abusing ${foo} is asking for trouble.</twocents>
Regards,
--
Paulo
More information about the Laszlo-user
mailing list