views:

831

answers:

4

Has anybody tried doing GSP design with Adobe Dreamweaver CS4? It has support for JSPs, but it doesn't recognize the gsp extension, and even if it did I think there would be problems regarding the gsp tags that it would not recognize. I found a little cookbook here (http://www.bitwalker.nl/blog/using-groovyserver-pages-in-dreamweaver) for getting GSPs partially working with Dreamweaver CS3, but many of the files and directories it references no longer appear to exist in CS4.

A: 

I am not going to directly answer your question, but really, an IDE like NetBeans or Eclipse would be much better suited for Groovy/Grails development. Dreamweaver was never intended to be a developers editor but to be more of a designers editor. Hence it lacks many features that more developer-centric IDEs have.

I am assuming that you are using Dreamweaver for its design-centric behavior. Both NetBeans and Eclipse have preview modes where you can see your changes in a near instant fashion, just like what I am guessing you like about Dreamweaver.

Long story short, use a more appropriate IDE.

Cody Caughlan
The person said DESIGN in his first sentence. Assume that he uses an IDE for development and he really wants to use Dreamweaver appropriately, do you have a more useful answer?
You're right, I did shy away from suggesting a clear cut answer based on Dreamweaver. In my head I was thinking something along the lines of: "use Dreamweaver for its design capabilities, but when you need to atually code, switch over to NetBeans/Eclipse/etc"
Cody Caughlan
Yes that is actually what we are doing right now... coding in IntelliJ, doing html/css design with dreamweaver, then applying the html and css to our views manually. Mostly I just want dreamweaver not to puke on a gsp tag so we can do the design directly to the gsp views without the extra step.
Chris King
A: 

Are you using Grails Layouts, Partial Templates, ajax library(s)?

tranced_UT3
All of the above, and much more. We are using JQuery as our library. However, even partial Dreamweaver support would help.
Chris King
A: 

Agreed, coding in intelliJ is the way forward but HTML and css design is best done in another tool more suited to the purpose, just as intelliJ is to java and things groovy. Any thoughts welcome.

A: 

Is there an actual answer to this or are all of you going to argue IDEs?

bob