hello,
I'm hoping to get a least one response this time. oauthlink and textfield. when the user click the oauthlink, i want the value of texfield to be added to the parameters of the oauthlink. I am currently using a set variable but it doesnt seem to work. here is a partial of my gsp view:
when this gets sent to the controller, the value is null. for testing purposes, I have replaced the value of the set variable with a string and it works fine. I just can get the value of the text box. please, let me know if you have any suggestions. remember, if everyone assumes that someone else will respond, no one willHTML Code:<g:set var="myVar" value="${myField}"/> <g:oauthLink consumer='linkedin' returnTo="[controller:'profile', id:myVar ]" > <img src="${createLinkTo(dir:'images', file:'log-in-linkedin-small.png')}" style="border: 0; float: right"/> </g:oauthLink> Email: <g:textField name="myField" value="" />
thanks
jason


Reply With Quote