Title: Website Java Issues Post by: Graham C on July 07, 2011, 04:57:15 PM Not sure if anyone can help but thought I'd ask just in case.
My work website uses a java back end text editor thingy (screenshot attached) It's just a page builder where you type in what you want and then it puts it on the main website. On most of my computers though, when I hit the update button, it does update it on the main site but the box clears (as in the image) it does this on my main pc at work, my home pc and lappy, two other pc's here at work and another at someone elses house I tried. Strangely we have one pc here that it does save and work fine on and I can see the text after I press update. All the computers have different operating systems, the one that it works on is Windows XP but I have another XP computer that it doesn't work on. I've tried the same versions of Java on various pc's but there seems to be no obvious link. Any ideas on what else I can try? It seems wierd that it doesn't work on so many of the computers I've tried yet on one random one it's working. My home lappy is pretty new and I haven't added much to it at all so it's pretty much fresh and it doesn't work on that. I guess it's something that needs installing but can't for the life of me work out what it is. Title: Re: Website Java Issues Post by: millidonk on July 07, 2011, 05:10:37 PM I use java/html and and a tonne of other fun stuff. Your pic looks like a bog standard text editor. Probs in the advanced settings/properties etc to clean/clear on update imo. What programme is it? I could download and take a look. Probs tomorrow as i am shooting soon.
Test your script on here: http://www.w3schools.com/js/default.asp (http://www.w3schools.com/js/default.asp) make sure it doesn't have some weird self clearing syntax. Title: Re: Website Java Issues Post by: Bongo on July 07, 2011, 05:17:33 PM I'd bet it's javascript and not java and there is a world of difference.
So the updates actually work but the text clears? Is it the same for adding and editing? Title: Re: Website Java Issues Post by: Longines on July 07, 2011, 05:22:25 PM I'd bet it's javascript Bet it's not. Silo, Control Panel > Java > Temporary Internet Files? Check the JRE versions? Enable logging on the Advanced tab? Title: Re: Website Java Issues Post by: Bongo on July 07, 2011, 05:27:03 PM Looks just like one of the many JS CMS editors that are out there to me, although I could be wrong and it could be Java. I certainly think it's worth finding out for sure before spending too much time looking at the issue as the two are often confused.
Title: Re: Website Java Issues Post by: millidonk on July 07, 2011, 05:27:45 PM i reckon its the text editor itself!!
Title: Re: Website Java Issues Post by: paulpitchford on July 07, 2011, 05:42:25 PM I'm not a web developing expert but I know that there are several ways of posting the data to the backend depending on which browser is used. Sometimes the data "POST" can be done without a page refresh using AJAX and therefore probably won't clear the input but sometimes page refreshes are needed and you may loose the data this way. Basically what I'm suggesting is try a newer browser as it's more likely to support posting of data without the page refresh. Like I say though, I'm more of a desktop app developer than a web developer.
Title: Re: Website Java Issues Post by: Graham C on July 07, 2011, 05:54:34 PM Cheers guys
Cant test the script as it's built into a CMS back end thingy, it's just part of it. The icons and text are part of the java thing too, they load up but these buttons all work So the updates actually work but the text clears? Is it the same for adding and editing? yes, the updates do work but the box just clears. Same for adding new content and editing existing. it says it's java and I'm running 1.6.0_24 here but different versions elsewhere. The one that works is running v21 but I have tried v21 on other computers and it doesn't work still. I'd bet it's javascript Bet it's not. Silo, Control Panel > Java > Temporary Internet Files? Check the JRE versions? Enable logging on the Advanced tab? Don't have a Java thing in my control panel here (at home now) but do at work. I opened the Java control panel from the icon in my system tray though. Clicked on view under temp int files and there's only a model viewer aplet under the applications drop down which I've deleted but there's various things under resources, should I delete these too? Have enabled logging on the advanced tab - what does that do? It's called Site content editor +, not sure it's anything special, as mentioned above, it's built in to the back end of our website, I can't do anything with it. Title: Re: Website Java Issues Post by: Graham C on July 07, 2011, 05:59:27 PM I'm not a web developing expert but I know that there are several ways of posting the data to the backend depending on which browser is used. Sometimes the data "POST" can be done without a page refresh using AJAX and therefore probably won't clear the input but sometimes page refreshes are needed and you may loose the data this way. Basically what I'm suggesting is try a newer browser as it's more likely to support posting of data without the page refresh. Like I say though, I'm more of a desktop app developer than a web developer. Wierdly it's an older version of IE that it works on, my newer up to date versions don't work. Strangely it's working in IE at home now but not in Firefox. Wasn't working on IE last time I checked here - perhaps the enable logging made a difference for IE? I'll check that when I get to work tomorrow. I can cope if IE only IE works, doesn't have to be Firefox, something would just be nice :D Thanks for your help guys, really appreciate it. Title: Re: Website Java Issues Post by: Graham C on July 08, 2011, 10:27:42 AM Think I've cracked it. I downloaded the Java Developers toolkit v21 and it seems to be all working again.
Thanks again guys, helpful as ever |