[xwiki-users] Navigation Menu Wiki Macro for all wiki

2013-04-24 Thread Hoang Tuan Viet

Hi all,

I want to use "Navigation Menu Wiki Macro"

http://extensions.xwiki.org/xwiki/bin/view/Extension/Navigation+Menu+Wiki+Macro

to make vertical and horizontal menus in all wiki.

But I could not use the panel with this content:

{{menutype="vertical"position="right"id="panelmenu"}}
* [[Main>>Main.WebHome]]
* [[Sandbox>>Sandbox.WebHome]]
** [[Sandbox.TestPage1]]
** [[Sandbox.TestPage2]]
** [[Sandbox.TestPage3]]
* [[Blog>>Blog.WebHome]]
{{/menu}}


How could I define a new panel for this purpose?

Regards,
--
*Viet Hoang*
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Cannot create a hyperlink to another page on the Wiki using Link > Wiki page.

2013-04-24 Thread JasoYeom
I'm getting a similar error when trying to change my profile.  Under
dashboard preferences I try to add a gadget and get the following error
(similar to the error when trying to link to an existing page):

500Error 500 Error number 2 in 0: The wiki
[ntri-test-620] does not exist  
HTTP ERROR 500
 Problem accessing
/xwiki/resources/js/xwiki/wysiwyg/xwe/MacroService.gwtrpc. Reason: 
Error number 2 in 0: The wiki [ntri-test-620] does not exist
Caused by:
com.xpn.xwiki.XWikiException: Error number 2 in 0: The wiki
[ntri-test-620] does not exist
 at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:505)
 at
org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.initializeXWikiContext(XWikiContextInitializationFilter.java:134)
 at
org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:83)
 at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
 at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
 at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
 at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
 at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
 at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
 at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
 at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)
 at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
 at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
 at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
 at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
 at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
 at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
 at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
 at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
 at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
 at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
 at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
 at org.eclipse.jetty.server.Server.handle(Server.java:368)
 at
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:488)
 at
org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:943)
 at
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1004)
 at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861)
 at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
 at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
 at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
 at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
 at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
 at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
 at java.lang.Thread.run(Unknown Source)
  /Powered by Jetty:///   
   
 
 



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Cannot-create-a-hyperlink-to-another-page-on-the-Wiki-using-Link-Wiki-page-tp7584743p7584810.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Body attributes are lost when apache proxy filter is used — solved

2013-04-24 Thread Valdis Vītoliņš
I found that problem was too many continuous spaces between tags in
header part.

If amount of spaces was more than 1000, mod_proxy_html module wrongly
assumed that head part is finished, arbitrary closed head and opened
body without attributes (and then ignored original one).

As the most part of spaces is produced by colorThemeInit.vm foreach
loops, I replaced each pair of leading spaces with only one.
(Note that increasing ProxyHTMLBufSize didn't help.)

Valdis

> On Mon, Apr 22, 2013 at 8:17 PM, Valdis Vītoliņš  
> wrote:
> > I'm working on shortening Xwiki instance URLs
> > (see details in http://odo.lv/Recipes/XwikiShortURLs_en )
> > and strangely I can't do it for newer Xwiki instance
> > (it works for odo.lv which uses 2.7 version).
> >
> > I found out that HTML is broken, when proxy server rewrites hyperlinks for 
> > preduced XHTML
> > (SetOutputFilter proxy-html
> > ProxyHTMLURLMap /xwiki/bin/view/ /
> > direcives in apache2.conf)
> >
> > Then it changes .. to simple .. element without attributes.
> >
> > Only weakly related thing I found is that could be related is:
> > http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxybadheader
> >
> 
> > I suspect it somehow is related on how header is finished and body is 
> > started.
> 
> We have web standards validation tests that ensure the HTML produced
> for the default wiki pages (at least) is valid, so I believe this is a
> bug in the proxy filter. You can pass the HTML produced by your wiki
> page to an XHTML validator like http://validator.w3.org/ to double
> check.
> 
> Hope this helps,
> Marius
> 
> > Can you suggest any ideas?
> >
> > Thanks!
> > Valdis
> >
> >
> >
> >
> >
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users


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


Re: [xwiki-users] Using display macro and SkinExtension

2013-04-24 Thread Ecaterina Moraru (Valica)
Hi,

You should check out the Skin Extension Tutorial
http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial
You need to use JavaScriptExtensions and StyleSheetExtensions.

Thanks,
Caty


On Wed, Apr 24, 2013 at 12:12 PM, Grüner Heinrich <
gruener.heinr...@googlemail.com> wrote:

> Hi,
>
> I want to inject css and js to some of my pages.
>
> I decided to put all the Extensions to one page, say "MyExtensions" and
> then tried und include it in the pages.
>
> {{display reference="MyExtensions"/}}
>
> Unfortunately the js code is not injected.
>
> Any help appreciated.
> Stefan.
>
> __**_
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Using display macro and SkinExtension

2013-04-24 Thread Grüner Heinrich

Hi,

I want to inject css and js to some of my pages.

I decided to put all the Extensions to one page, say "MyExtensions" and
then tried und include it in the pages.

{{display reference="MyExtensions"/}}

Unfortunately the js code is not injected.

Any help appreciated.
Stefan.

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