File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RAD problem

 
Jerry Davidson
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I get RAD to accept (publish) changes to the code on a html page?

I changed the CSS id on one div, but it never appears when I display the page from RAD. Despite closing the product, stopping the server, restarting the server, publishing the page and hopping on one leg while whistling the theme to 2001, nothing seems to convince RAD to use what I wrote as opposed to what it wants to use.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the web xmi file in the web-inf folder.

Is there an enablereload setting? If so, set it to true.

That might help.

-Cameron McKenzie
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33694
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Jerry",
Please see your PMs for an important administrative matter.
 
Jerry Davidson
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Cameron Wallace McKenzie:
Check the web xmi file in the web-inf folder.

Is there an enablereload setting? If so, set it to true.

That might help.

-Cameron McKenzie


Thanks for the reply. It was set to true. I noticed this, however:
reloadInterval="3" reloadingEnabled="true"

Could the reloadInterval be a problem? Too fast or slow?
 
Bob Good
Ranch Hand
Posts: 86
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sometimes you have to do CTRL+F5 (hard refresh) in the browser because of browser cache settings. Likewise for javascript changes. it never hurts anyway.

Also if you doubleclick the server, you will see a tab called 'automatic publishing', with a publish interval (in RAD 7 with WAS 6.1 anyway).

Finally note that if there is any syntax error in your .css file, like forgetten semi colon, bad spelling, invalid option, the css change is pretty much ignored with no fanfare or messages. You can use CTRL+space to provide popup syntax of CSS from RAD.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic