[xwiki-users] Fetching resources from cdn

2016-03-25 Thread Andrew Kuang
Hi, I had a question regarding resource calls in XWiki. Currently, they are being made to my local environment and I would like to know if there is any simple way to modify the calls to fetch the resources from a CDN. I was able to replicate my desired functionality by extending the AbstractSkinEx

[xwiki-users] Formatting Blocks

2016-04-10 Thread Andrew Kuang
Hi, I had a question regarding styling Blocks (ParagraphBlock, TextBlock, etc). I noticed in the documentation of the code (https://github.com/xwiki/xwiki-rendering/blob/master/xwiki-rendering-api/src/main/java/org/xwiki/rendering/block/Block.java#L247-L248) that we could use the parameters map; ho

[xwiki-users] Disabling javascript in HTML macro

2016-04-15 Thread Andrew Kuang
Hi, I wanted to assess how difficult it might be to disable all javascript execution in HTML macros on XWiki. My main concern would be to avoid breaking any important XWiki pages that utilize javascript within the HTML macro (as referenced here: http://lists.xwiki.org/pipermail/users/2009-June/012

Re: [xwiki-users] Disabling javascript in HTML macro

2016-04-18 Thread Andrew Kuang
Thank you for the responses, Vincent and Marius. After playing around with the HTML macro, I came across a potential solution. It appears that all the XWiki-created pages reside within certain spaces (xwiki:Wiki, xwiki:WikiManager, etc). With that in mind, I was able to prototype an override for t

[xwiki-users] Changing border-top color of basic tables

2016-06-13 Thread Andrew Kuang
Hi, I was looking into a way to modify the border-top color of tables in XWiki (defined in table.less) such that all basic tables have a solid 1px black top border (instead of the current solid 1px #ddd definition). I've been having trouble with finding a proper way to apply the style only to bas

Re: [xwiki-users] Changing border-top color of basic tables

2016-06-15 Thread Andrew Kuang
Thanks for the suggestion! I have thought about this; however, I was hoping for a more robust solution. Ideally, I'd prefer to not have users do extra work to have what should be the default behavior. -- View this message in context: http://xwiki.475771.n2.nabble.com/Changing-border-top-color-o

[xwiki-users] Redirect to page on 'Save' action

2016-06-29 Thread Andrew Kuang
Hi there, I had a question regarding the redirect that is happening in the SaveAction class. When you have a title such as "1 & 2", hitting 'Save' will make the AJAX call and redirect you to "www.wiki.com/bin/view/1+%26+2". The encoding of the '&' appears to be done in the call to Util.getRedirect