RE: how to Internationalized submit button?

2002-07-19 Thread René Eigenheer
, Hai [mailto:[EMAIL PROTECTED]] Sent: Freitag, 19. Juli 2002 05:56 To: '[EMAIL PROTECTED]' Subject: how to Internationalized submit button? I want to internationalize the submit buttons on a form and I don't know how to do it. Currently, I mapped the value on the submit button to the property

how to Internationalized submit button?

2002-07-18 Thread Hoang, Hai
I want to internationalize the submit buttons on a form and I don't know how to do it. Currently, I mapped the value on the submit button to the property actionName in the ActionForm class. Base on the button the use clicked, I handle it propriately in the Action class, just like event handling

Re: how to Internationalized submit button?

2002-07-18 Thread Tadashi Ishikawa
You can use hidden field and Javascript. SCRIPT function setAction(target) { document.forms[0].actionName.value=target; } /SCRIPT $B!D(B html:hidden property="actionName" value="Add"/ html:submit property="foo" onClick="setAction('Add');"/bean:message key="button.add"//html:submit