| Author |
RAD problem
|
Jerry Davidson
Greenhorn
Joined: Feb 22, 2008
Posts: 4
|
|
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
Joined: Aug 26, 2006
Posts: 4967
|
|
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
|
Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26216
|
|
"Jerry", Please see your PMs for an important administrative matter.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Jerry Davidson
Greenhorn
Joined: Feb 22, 2008
Posts: 4
|
|
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
Joined: Jan 09, 2008
Posts: 86
|
|
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.
|
 |
 |
|
|
subject: RAD problem
|
|
|