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

Integrate with Spring 3+ #8

Open
palmerabollo opened this issue Jul 28, 2011 · 3 comments
Open

Integrate with Spring 3+ #8

palmerabollo opened this issue Jul 28, 2011 · 3 comments

Comments

@palmerabollo
Copy link

As a view technology, as Tiles does. Would be a nice enhancement.

@raymyers
Copy link
Owner

I would absolutely like to get Spring MVC integration going. A ViewResolver implementation (which Spring requires) would also make the Grails integration cleaner. Seems like the basis of using Haml as a preprocessor for the JSP compiler would no longer work with that approach.

Therefore, the simplest thing to do might be to incorporate Groovy interpreter calls into JHaml's engine. How would you feel about a required dependency on Groovy for JHaml, if it meant Spring integration?

@raymyers raymyers reopened this Jul 28, 2011
@palmerabollo
Copy link
Author

Would be a great starting point (not really sure about how big the groovy dependency would be).

Some points to take into account:

  • It should be able to have access the available Model attributes (that are set in the controllers)
  • It should be able to have access JSP variables (pageScope, applicationScope...)

@raymyers
Copy link
Owner

Adding a groovy dependency would add around 5 to 6 megs. Seems like this would be a good direction.

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

2 participants