Re: [xwiki-devs] Use WYSIWG New Backgournd Color API To: XWiki Developers
Hi Marius, I integrate the tree in the latest XE snapshot, it works! Thank you! Where can I find the color vocabulary specified by your API? Can I use hex number to specify color? It seems the snapshot version can not save document and it will automatically generate so many sessions. It only works on my Dell pc, does not work on the linux server. If I try to save document (on linux I even can not create and save edit panel) it will prompt me this error: HTTP Status 500 - ------------------------------ *type* Exception report *message* ** *description* *The server encountered an internal error () that prevented it from fulfilling this request.* *exception* java.lang.StringIndexOutOfBoundsException: String index out of range: -1 java.lang.String.substring(Unknown Source) java.lang.String.substring(Unknown Source) com.xpn.xwiki.web.ActionFilter.getTargetURL(ActionFilter.java:167) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:105) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) Next Friday it is our University Graduate Forum, I have a poster presentation. Do you need me to print and hand out flyer of Xwiki to people to give Xwiki a advertisement? Really appreciate your help! Have a nice weekend! -Leon
Hi Leon, Leon Wang wrote:
Hi Marius,
I integrate the tree in the latest XE snapshot, it works! Thank you!
Where can I find the color vocabulary specified by your API? Can I use hex number to specify color?
You should be able to pass any value that is accepted by the CSS color property ( http://w3schools.com/css/pr_text_color.asp ). The command manager indirectly sets the color property to the value you specify. See also http://w3schools.com/css/css_colors.asp .
It seems the snapshot version can not save document and it will automatically generate so many sessions. It only works on my Dell pc, does not work on the linux server. If I try to save document (on linux I even can not create and save edit panel) it will prompt me this error:
HTTP Status 500 - ------------------------------
*type* Exception report
*message* **
*description* *The server encountered an internal error () that prevented it from fulfilling this request.*
*exception*
java.lang.StringIndexOutOfBoundsException: String index out of range: -1 java.lang.String.substring(Unknown Source) java.lang.String.substring(Unknown Source) com.xpn.xwiki.web.ActionFilter.getTargetURL(ActionFilter.java:167) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:105) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
Strange, some of the WYSIWYG selenium tests save the test page and they all pass. There might be something wrong with your install.
Next Friday it is our University Graduate Forum, I have a poster presentation. Do you need me to print and hand out flyer of Xwiki to people to give Xwiki a advertisement?
That would be great! Do we have any promotional flyers to print? Thanks, Marius
Really appreciate your help! Have a nice weekend!
-Leon _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (2)
-
Leon Wang -
Marius Dumitru Florea