You could write the message in your JSP and change the method so you
pass the message in.

Matt

On Fri, Nov 21, 2008 at 5:29 AM, Lars angman <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a problem with the javascript global.js, which isn't using any
> localization when displaying confirmDelete-alert. The message displayed to
> the user is hardcoded in the method:
>
>  function confirmDelete(obj) {
>    var msg = "Are you sure you want to delete this " + obj + "?";
>    ans = confirm(msg);
>    if (ans) {
>      return true;
>    } else {
>      return false;
>    }
>  }
>
> Anyone that have a quick solution for this? Can I use something else in the
> framework to confirm a Delete?
> I prefer not write my own javascript.
>
> Thanks in advance
>
> Lars
> --
> View this message in context: 
> http://www.nabble.com/confirmDelete-in-global.js---not-localized-tp20621028s2369p20621028.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to