Dan Adams <dan <at> ifactory.com> writes: > > Anyone done this before? I have a javascript confirm dialog that pops up > and was wondering what the easiest way to localize the message is. > Haven't done much with tapestry + js yet.
First, you should have a component encapsulating this. Then, see if the message to be passed into the component? If yes, it is just a normal parameter and the the localized message should probably be defined in the page's .properties file. If no, it should go into the component's .properties file. In either case, finally, the component should pass the message into the Script component as a symbol. -- Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
