Adam Tuttle
unread,Jun 26, 2008, 9:07:47 AM6/26/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to model...@googlegroups.com
This isn't a big problem, but I figured it was worth mentioning. I've been using event.linkTo('eventName') as my form action to post a form to another event. Today I looked at the source of the generated page, and the code looks like this (including line breaks):
<form action="
index.cfm?event=user.doLogin" method="post">
I tried wrapping it in a trim:
<form action="#trim(event.linkTo(xe.loginFormPost))#" method="post">
... But the output is exactly the same. It doesn't appear to affect the functionality of the form in either Firefox 3 or IE7 -- both still post and function as expected.
But again, I thought it was worth mentioning. I'd file a bug but... ;)
In a copy of MG I checked out from SVN about 2-3 days ago, I modified /ModelGlue/gesture/eventrequest/EventContext.cfc, line 496 (the function definition of linkTo) and simply added: output="false" to the <cffunction> tag, and this resolved the issue -- not even a trim() is needed.
Maybe someone with committer access can make the same change in the SVN repo?
Regards,
Adam