Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassCastException occured : play.templates.GroovyTemplate$ExecutableTemplate$ActionBridge cannot be cast to play.mvc.Router$ActionDefinition #3

Open
dgouyette opened this issue Oct 1, 2011 · 1 comment

Comments

@dgouyette
Copy link

Seems doesn't work with with play 1.2.X

@dgouyette
Copy link
Author

In {module:jqvalidate-0.3}/app/tags/jqvalidate/JqValidateTags.java (around line 31)
public class JqValidateTags extends FastTags {
public static void _form(Map args, Closure body, PrintWriter out, ExecutableTemplate template, int fromLine) {
ActionDefinition actionDef = (ActionDefinition) args.get("arg");
if (actionDef == null) {
actionDef = (ActionDefinition) args.get("action");
}
String enctype = (String) args.get("enctype");
if (enctype == null) {

         enctype = "application/x-www-form-urlencoded";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant