• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

posting preview does not work because of javascript

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Preview button does not work because of javascript on firefox Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b3) Gecko/20050712 Firefox/1.0+
Submit buttot works (this is why I am still able to post)



[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Preview" button makes two kind of errors
on javascript console:
---- About 7 errors with this message (line changes) --
Error: Unknown property 'scrollbar-darkshadow-color'. Declaration dropped.
Source File: http://www.jforum.net/templates/default/style.css
Line: 32

--- one line with this message -
Error: AjaxUtils is not defined
Source File: http://www.jforum.net/js/list/post.page
Line: 229

------- why it is not possible to create a forum without javascript. javascript often works poorly and breakes things
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You have these references on web site http://www.jforum.net/ which do not exist:

<script type='text/javascript' src='/dwr/dwr.page?script=AjaxUtils'></script>
<script type='text/javascript' src='/templates/default/js/dwr-engine.js'></script>
<script type='text/javascript' src='/templates/default/js/dwr-util.js'></script>

<script type="text/javascript" src="/js/list/post.page"></script>

Also, how can I disable javascript alltogether?





<form action="/jforum.page" method="post" enctype= <br /> [originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The 2.1.5 that it's here in jforum.net is outdated. I need to add the latest cvs head.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I happens to use the CVS version dated 15 Nov which has the same "AjaxUtils Undefined" preview error in post_form.htm with the post.js. Is there a simple fix to this? I hope I don't need to switch to the current CVS version dated Dec as I have unfortunately made sustantial modification to the other files.
Many thanks for any guidance here!
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure about that, but I think that in 2.1.4 JForum version the visualization option works correctly... (it's fine locally)... but it's not OK in JForum.net JForum 2.1.5 CVS 08/10/2005 version...

What happens? Newer version with new bug? I don't think so... but I really don't know what is happenning... ideas? :?:
[originally posted on jforum.net by leandro_salvador]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the response!
The preview function 2.14 version & the 2.15 Dec CVS version worked fine. The 2.14 version don't use AjaxUtils though.
A code comparsion between the 2.15 Nov & Dec CVS version showed surprising lot of changes/improvement, which is actually good for the project, but can be tedious for implementors to upgrade when customisation to code need to be made based on their specific need.
Seems to me the preview error is due not just to the post.js, there seems other related files to change if I need to upgrade my Nov version to the current Dec version, the related files are utils.js, dw-util.js, dw-engine.js, postaction.java, privatemessageaction.java. Plus updating to the new dwr-1.0.jar library. :-(
If it can be a simple fix to the AjaxUtils error, it will be much appreciated. Thanks again!

munhin
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looks a problem with the generated Ajax code. I'll try to get another dwr version

Rafael
[originally posted on jforum.net by Rafael Steil]
reply
    Bookmark Topic Watch Topic
  • New Topic