Re: [xwiki-users] Clean URL and WYSIWYG Issues

2008-11-21 Thread RBrennanJr
I ran into the same issue Jonathan mentioned the other day with 
wysiwyg/wiki editor after applying servlet mapping changes etc to get 
'Short URLs' working.  There appears to be 2 solutions, one is that you 
have to adjust servlet mappings for all directories  .js files at the top 
level (*.js, tiny_mce, wiki_editor, yui) in order for everything to play 
nice together. 

A work around I've found if you don't want to do that (or have easy access 
to it) is that everything does appear to work if you move  those 
directories under /skins/  adjust the references to those files,  in 
javascript.vm  editwysiwyg.vm (there may be a couple other references 
...) 

 I'm using a custom skin built on top of the defaults, which has the 
advantage that I can have my own versions of those files  not have to 
worry about changing paths to those js libraries in the default skin files 
upon future upgrades. 

I'm undecided which the better method is (servlet mapping vs. moving those 
dirs), but in either case,  this might be good info to add to the Short 
URL instructions - unless Jonathan  I are the only ones who have 
encountered this , in which case, not sure where we went wrong in our 
respective configurations  :-) 

Incidentally, the adaptation of XWiki I'm working on is a pilot product 
for www.boston.com (http://www.boston.com/yourtown/wiki/Newton/  - not 
quite ready for prime time however ;-)   as we get it more solidified I'll 
be happy to share with the XWiki community  get more involved - 
specifically I may be able to contribute some tips  tricks  shortcuts to 
the custom skin documentation ... 

Best, 
Ricky Brennan
[EMAIL PROTECTED]




___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Clean URL and WYSIWYG Issues

2008-11-17 Thread Jonathan Rudenberg
I sent this a few days ago. Did anyone get a chance to take a look?

Jonathan

On Wed, Nov 12, 2008 at 16:54, Jonathan Rudenberg [EMAIL PROTECTED] wrote:

 /tiny_mce/tiny_mce.js
 /wiki_editor/wiki_editor.js


 On Wed, Nov 12, 2008 at 16:49, Sergiu Dumitriu [EMAIL PROTECTED] wrote:

 Jonathan Rudenberg wrote:
  Now, when I try to edit a page with the WYSIWYG editor it doesn't show
 up,
  and I get  wikiEditor is not defined in firebug.
 

 There seems to be a hard-coded URL left somewhere (or several), although
 we checked for this a long time ago. Can you look with firebug what URLs
 are accessed, and which ones end with 404 responses?

 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu/



___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Clean URL and WYSIWYG Issues

2008-11-12 Thread Jonathan Rudenberg
/tiny_mce/tiny_mce.js
/wiki_editor/wiki_editor.js


On Wed, Nov 12, 2008 at 16:49, Sergiu Dumitriu [EMAIL PROTECTED] wrote:

 Jonathan Rudenberg wrote:
  Now, when I try to edit a page with the WYSIWYG editor it doesn't show
 up,
  and I get  wikiEditor is not defined in firebug.
 

 There seems to be a hard-coded URL left somewhere (or several), although
 we checked for this a long time ago. Can you look with firebug what URLs
 are accessed, and which ones end with 404 responses?

 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu/

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users