GeeCON Prague 2014*
The moose likes Websphere and the fly likes RAD problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Websphere
Bookmark "RAD problem" Watch "RAD problem" New topic
Author

RAD problem

Jerry Davidson
Greenhorn

Joined: Feb 22, 2008
Posts: 7
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: 4968
    
    1

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

Joined: May 26, 2003
Posts: 30586
    
154

"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: 7
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.
 
GeeCON Prague 2014
 
subject: RAD problem