--- Darryl Smith <[EMAIL PROTECTED]> wrote:
> Has anyone got the two to work together?
>
In my ApplicationResources.properties file, I have entries such as:
lookupDispatchParameter=action
button.signin=Sign In
button.image.signin=/images/standardButtons2/signin.gif
My header.jsp file makes this Javascript function available on every
page:
function set(f, v) {
f.<bean:message key="lookupDispatchParameter"/>.value = v;
}
I include this at the top of each form:
<input
type='hidden'
name='<bean:message key="lookupDispatchParameter"/>' value="">
And my buttons look like this:
<input
type='image'
src='<html-el:rewrite page="${buttonImageSignin}"/>'
onclick="set(this.form,'<c:out value="${buttonSignin}"/>');"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]