Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 72388

How to get the value of a Anchor Tag for create an Object with Grails

$
0
0

I'm trying to do a delete operation but when I click on the button I expecte that the value of a g:link tag, that have the value that i need to create the object, the code can't reach it. I don't really know how to explain it properly.

<g:form controller="mensaje" action="delete" method="post">
            <tr>
                <td>
                    <g:link name="mensaje" action="editar" id="=${mensajes.id}">${mensajes.mensaje></g:link>
                </td>
                <td>
                    <g:submitButton name="enviar" value="${message(code: 'default.button.delete.confirm.message',
                            default:"Delete")}"></g:submitButton>
                </td>
            </tr>
        </g:form>

I already do this but instead a link it was an input textfield and textarea. I hope someone can give me some idea to solve it


Viewing all articles
Browse latest Browse all 72388

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>