> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:jdbforms-interest-admin@;lists.sourceforge.net] Im 
> Auftrag von Shawn
> Gesendet: Samstag, 9. November 2002 09:53
> An: dbf; Henner Kollmann
> Betreff: Re: [dbforms] taglib_docu and doc ref merged
> 
> 
> So is there a better example of the message tag that uses the format
> attribute than the following which is in the doc?   There's 
> no example in
> taglib_docu.xml now.
>From the taglib_docu.xml:

                        <info>
                                 parameterlist for the message. Format:
param0, param1, param2
                                 message must be of the form: 'this is a
message with parameter: {0}, {1}, {3}
                                 each occurence of {0} will be replaced
with param0 and so on.
                                 This is the same mechanism wich is used
in xmlErrors!
                        </info>



Example:

        <db:message key="testkey" param="param0, param1, param2" />

        testkey in resourcefile
        This is a testmessage with {0}, {1}, {2} params!

        Result
        This is a testmessage with param0, param1, param2 params!


Is the same mechanism used somewhere else - i think in error-xml....

Regards,
Henner



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to