My answer my be totally off as I'm still new to Lift but if you use
class="lift:MySnippet?form=post>, lift will assign the action to the
current page, if you try to change that, maybe you don;t want
MySnippet to handle the post data, in which case you may want to omit
the attribute
class="lift:MySnippet?form=post" and just use a regular html form and
in the action
This works for me:
<lift:MySnippet.renderresults>
<form id="myform" action="menos">
diego
</form>
</lift:MySnippet.renderresults>
===============
class MySnippet {
def renderresults = {
"#myform [action] " #> "/foo"
}
}
I hope this helps
Diego