incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rösch, Christian <Christian.Roe...@icongmbh.de>
Subject AW: Syntax error in jspwiki-edit.js
Date Tue, 19 Jun 2012 12:25:16 GMT
Yes .. and thanks for your help!

--
Christian Rösch			http://www.icongmbh.de
Application Development
icon Systemhaus GmbH		Tel. +49(711)806098-260 		
Sophienstrasse 40 		
70178 Stuttgart			Fax. +49(711)806098-299
	

Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121 


++++++++++++++++++++++++++++++++++++++++
icon Events: www.icongmbh.de/events.html
++++++++++++++++++++++++++++++++++++++++

-----Ursprüngliche Nachricht-----
Von: Dirk Frederickx [mailto:dirk.frederickx@gmail.com] 
Gesendet: Dienstag, 19. Juni 2012 14:24
An: jspwiki-user@incubator.apache.org
Betreff: Re: Syntax error in jspwiki-edit.js

I noticed that when using ShortURLConstructor, the contents of jspwiki-edit.js is wrong. It
contains the HTML page, and not the expected javascript file.

This is definitely a bug -- can you file it in JIRA plse.


dirk


On Tue, Jun 19, 2012 at 2:07 PM, Rösch, Christian < Christian.Roesch@icongmbh.de> wrote:

> Okay, thanks - if required, I can test that later.
>
> In the meantime I tried redoing my changes to the properties .. I 
> figured out, which change caused the toolbar to work anymore:
>
> In the jspwiki.properties I configured:
> jspwiki.urlConstructor = ShortURLConstructor 
> #jspwiki.shortURLConstructor.prefix =
>
> After commenting the ShortURLConstructor out - everything works quite well.
>
> Sorry for not having mentioned which changes I exactly did to the 
> default delivered JSPWiki configuration.
>
>
> Is that a bug or did I just forget something else to configure with 
> the ShortURLConstructor?
>
>
> Christian
>
> --
> Christian Rösch                 http://www.icongmbh.de
> Application Development
> icon Systemhaus GmbH            Tel. +49(711)806098-0
> Sophienstrasse 40
> 70178 Stuttgart                 Fax. +49(711)806098-299
>
>
> Geschäftsführer: Uwe Seltmann
> HRB Stuttgart 17655
> USt-IdNr.: DE 811944121
>
>
> ++++++++++++++++++++++++++++++++++++++++
> icon Events: www.icongmbh.de/events.html
> ++++++++++++++++++++++++++++++++++++++++
>
> -----Ursprüngliche Nachricht-----
> Von: Dirk Frederickx [mailto:dirk.frederickx@gmail.com]
> Gesendet: Dienstag, 19. Juni 2012 14:02
> An: jspwiki-user@incubator.apache.org
> Betreff: Re: Syntax error in jspwiki-edit.js
>
> If you have FF,  the best approach is to download the  Firebug plugin.
>  It'll add a testbutton to the FF toolbar, providing you excellent 
> support for js debugging.
>
> dirk
>
> On Tue, Jun 19, 2012 at 1:52 PM, Rösch, Christian < 
> Christian.Roesch@icongmbh.de> wrote:
>
> > Yes, the console says, that the error happens in the line:
> >
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
> > http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> >
> > Checking .js file this output doesn't make much sense. I'm not 
> > familiar with js-debugging.
> > How can I test in detail, what's going wrong?
> >
> >
> > Christian
> >
> > --
> > Christian Rösch                 http://www.icongmbh.de
> > Application Development
> > icon Systemhaus GmbH            Tel. +49(711)806098-0
> > Sophienstrasse 40
> > 70178 Stuttgart                 Fax. +49(711)806098-299
> >
> >
> > Geschäftsführer: Uwe Seltmann
> > HRB Stuttgart 17655
> > USt-IdNr.: DE 811944121
> >
> >
> > ++++++++++++++++++++++++++++++++++++++++
> > icon Events: www.icongmbh.de/events.html
> > ++++++++++++++++++++++++++++++++++++++++
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Dirk Frederickx [mailto:dirk.frederickx@gmail.com]
> > Gesendet: Dienstag, 19. Juni 2012 13:49
> > An: jspwiki-user@incubator.apache.org
> > Betreff: Re: Syntax error in jspwiki-edit.js
> >
> > Can you check is all .js files are properly loaded.
> > For the editor that includes: jspwiki-edit.js, and posteditor.js.
> >
> > Could you retrieve from the FF console more info on the line13 of 
> > the javascript error ?
> > (in case the jspwiki-edit.js is a compressed file; I suggest to 
> > replace it by the uncompressed file, to ease debugging)
> >
> > dirk
> >
> >
> > On Tue, Jun 19, 2012 at 9:50 AM, Rösch, Christian < 
> > Christian.Roesch@icongmbh.de> wrote:
> >
> > > Hello Dirk,
> > >
> > > yes - when editing a page, there are several buttons, e.g. "bold".
> > > But none of them works. Neither I can mark text as bold, italic, ...
> > > nor can I undo/redo something.
> > > No button is working.
> > > Also the quick preview below the editing text area is not working.
> > >
> > > The only thing I changed is to add the add-on for namespaces.
> > >
> > > I'm running the version of 9-May-2010, regarding to the Changelog 
> > > it might be SVN-Rev 12/13 ..
> > >
> > >
> > > Christian
> > >
> > > --
> > > Christian Rösch                 http://www.icongmbh.de
> > > Application Development
> > > icon Systemhaus GmbH            Tel. +49(711)806098-0
> > > Sophienstrasse 40
> > > 70178 Stuttgart                 Fax. +49(711)806098-299
> > >
> > >
> > > Geschäftsführer: Uwe Seltmann
> > > HRB Stuttgart 17655
> > > USt-IdNr.: DE 811944121
> > >
> > >
> > > ++++++++++++++++++++++++++++++++++++++++
> > > icon Events: www.icongmbh.de/events.html
> > > ++++++++++++++++++++++++++++++++++++++++
> > > -----Ursprüngliche Nachricht-----
> > > Von: Dirk Frederickx [mailto:dirk.frederickx@gmail.com]
> > > Gesendet: Montag, 18. Juni 2012 19:29
> > > An: jspwiki-user@incubator.apache.org
> > > Betreff: Re: Syntax error in jspwiki-edit.js
> > >
> > > Christian,
> > >
> > > Can you indicate what 'toolbar' problem you have.
> > > I've tried jspwiki.org (v2.8.4svn9) on a FF 13.1, and had no problems.
> > >
> > >
> > > dirk
> > >
> > >
> > > On Mon, Jun 18, 2012 at 5:30 PM, Rösch, Christian < 
> > > Christian.Roesch@icongmbh.de> wrote:
> > >
> > > > Hello,
> > > >
> > > > I'm using JSPWiki 2.8.4 and the toolbar when editing a page is 
> > > > not
> > > working.
> > > > Has anyone had the same problem?
> > > >
> > > > The console of Firefox (13.1) says: Syntax error in
> > > > jspwiki-edit.js:13 I'm running JSPWiki on Tomcat 7.0.27
> > > >
> > > >
> > > > Kind regards!
> > > >
> > > > --
> > > > Christian Rösch                 http://www.icongmbh.de
> > > > Application Development
> > > > icon Systemhaus GmbH            Tel. +49(711)806098-0
> > > > Sophienstrasse 40
> > > > 70178 Stuttgart                 Fax. +49(711)806098-299
> > > >
> > > >
> > > > Geschäftsführer: Uwe Seltmann
> > > > HRB Stuttgart 17655
> > > > USt-IdNr.: DE 811944121
> > > >
> > > >
> > > > ++++++++++++++++++++++++++++++++++++++++
> > > > icon Events: www.icongmbh.de/events.html
> > > > ++++++++++++++++++++++++++++++++++++++++
> > > >
> > >
> >
>

Mime
View raw message