Button Names templates

Robert Duncan Robert.Duncan at ncirl.ie
Fri Jan 26 12:29:10 EST 2018


Hi,

How can we change the button name values on the velocity templates?

this template is generating a button for password login and SPNEGO, I don't want users to see "SPNEGO" as a button label, as they have no idea what that means

#if ($passwordEnabled)
              <div>
                <button class="ogin_button" type="submit" name="_eventId_proceed"
                    onClick="this.childNodes[0].nodeValue='#springMessageText("idp.login.pleasewait", "Logging in, please wait...")'"
                    >#springMessageText("idp.login.login", "Login")</button>
            #end
                <div class="form-element-wrapper">
                #foreach ($extFlow in $extendedAuthenticationFlows)
              #if ($authenticationContext.isAcceptable($extFlow) and $extFlow.apply(profileRequestContext))
                  <button class="login_button" type="submit" name="_eventId_$extFlow.getId()">
                   #springMessageText("idp.login.$extFlow.getId().replace('authn/','')", $extFlow.getId().replace('authn/',''))
                  </button>
              #end
            #end
                </div>
                </div>


Thanks,


Robert Duncan


________________________________

The information contained and transmitted in this e-mail is confidential information, and is intended only for the named recipient to which it is addressed. The content of this e-mail may not have been sent with the authority of National College of Ireland. Any views or opinions presented are solely those of the author and do not necessarily represent those of National College of Ireland. If the reader of this message is not the named recipient or a person responsible for delivering it to the named recipient, you are notified that the review, dissemination, distribution, transmission, printing or copying, forwarding, or any other use of this message or any part of it, including any attachments, is strictly prohibited. If you have received this communication in error, please delete the e-mail and destroy all record of this communication. Thank you for your assistance.
________________________________


More information about the users mailing list