Hi,
Can I use a function from another page? For example, I have a page where I
store some functions and this functions would be called from another pages.
Thanks in advance
Hi,
Working on annotation feature, I need to retrieve
xwiki document source code from a selection on XHTML.
This requires to have a correspondence between content
typed by user and content that appears in html.
I noticed in xwiki 2.0 synthax that white spaces typed
in a list item context are ignored :
*<space><space><space><space><space>foo<space><space><space>bar<space><space><space>
renders in XHTML
<li>foo<space> bar </li>
so I could not determine the real offset of selection in xwiki
document source.
This can be solved by not ignoring spaces so render become :
<li> foo<space> bar </li>
This policy of rendering already exists in underline or italic
context so it's strange to have a different behaviour in list
item context.
Moreover I think we should not suppose what content is
relevant for user or not, so source shouldn't be altered.
WDYT ?
Lucien
Hi everyone,
After discussing with Marius and Anca we'd like to postpone the 1.7.1
release a bit. As a reminder the goal of 1.7.1 is to make the new GWT
editor solid enough to be used day to day instead of the current
tinymce editor.
Thus it needs not to have any major bugs. Since we've discovered a few
important bugs recently we need a few more days.
The new plan is to release XE 1.7.1 for Friday afternoon, hoping that
we don't discover too many new ones. If we do we'll have to postpone
by a few more days once more.
Note to everyone: we need the max number of people to test the latest
snapshot versions of the WYSIWYG editor - here:
http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise-je…
Thanks everyone
-Vincent
Hi!
Some pages of my wiki have some code edited with the wiki editor. This code
works fine but if someone tries to use de WYSIWYG editor it changes the code
and it stops working.
I need WYSIWYG editor to work without changing the pages's code, what can I
do?
thanks in advance
Hi devs,
We have an issue in the XWiki renderer when the XDOM contains a bold
starting with a space at the beginning of a line. For example when we
get an html containing <p><strong> some bold text</strong></p> in
the office importer.
In that case currently we lost the bold when rendering because one or
more stars followed by a space is a list in XWiki syntax.
I see two solutions:
1) Escape the first space in a verbatim block : **{{{<space>}}}some bold text**
2) Move the first spaces before the bold block: <space>**some bold text**
3) Remove all the first spaces of the bold block: **some bold text**
I would prefer 1) because it's the only one which is really the same
thing than the input but I think 2) is better for most users because
it's less disturbing for something which is not really that important.
I listed 3) because it's easier to implement than 2).
WDYT ?
Here is my +1 for 2) and +0 for 1) and 3)
--
Thomas Mortagne
Hi,
Hi need to create some documents to my xwiki without using the xwiki editor.
So I created some insert's tu create the document.
INSERT INTO XWIKIDOC VALUES (2141806153, 'Histórico.O processo que executa
os eventos não estava a remover os eventos pendentes que não davam origem a
eventos', 'O processo que executa os eventos não estava a remover os eventos
pendentes que não davam origem a eventos', '', '', 'en', 0, '2008-12-16
17:36:50', '2008-12-16 17:36:50', '2008-12-16 17:36:50', 'XWiki.Admin',
'XWiki.Admin', 'XWiki.Admin', 'Histórico', '','1.1', '', '', null, '2', '',
'', '', b'0', 'xwiki/1.0');
INSERT INTO xwikiobjects VALUES (2125339131, 0, 'Histórico.O processo que
executa os eventos não estava a remover os eventos pendentes que não davam
origem a eventos', 'XWiki.TagClass');
INSERT INTO xwikiproperties VALUES (2125339131, 'tags',
'com.xpn.xwiki.objects.DBStringListProperty');
INSERT INTO xwikilists VALUES (2125339131, 'tags');
INSERT INTO xwikilistitems VALUES (2125339131, 'tags', 'HS-Histórico', 0);
INSERT INTO xwikilistitems VALUES (2125339131, 'tags', '1.0.3 2008/05/20',
1);
INSERT INTO xwikircs VALUES (2141806153, 1, 1, '2008-12-16 17:36:50', '',
'XWiki.Admin', b'1', '<xwikidoc><web>Histórico</web><name>O processo que
executa os eventos não estava a remover os eventos pendentes que não davam
origem a
eventos</name><language></language><defaultLanguage>en</defaultLanguage><translation>0</translation><parent></parent><creator>XWiki.Admin</creator><author>XWiki.Admin</author><customClass></customClass><contentAuthor>XWiki.Admin</contentAuthor><creationDate>1229428967000</creationDate><date>1229428972000</date><contentUpdateDate>1229428972000</contentUpdateDate><version>1.1</version><title>O
processo que executa os eventos não estava a remover os eventos pendentes
que não davam origem a
eventos</title><template></template><defaultTemplate></defaultTemplate><validationScript></validationScript><comment></comment><minorEdit>false</minorEdit><syntaxId>xwiki/1.0</syntaxId><object><class><name>XWiki.TagClass</name><customClass></customClass><customMapping></customMapping><defaultViewSheet></defaultViewSheet><defaultEditSheet></defaultEditSheet><defaultWeb></defaultWeb><nameField></nameField><validationScript></validationScript><tags><cache>0</cache><displayType>input</displayType><multiSelect>1</multiSelect><name>tags</name><number>1</number><prettyName>Tags</prettyName><relationalStorage>1</relationalStorage><separator>
</separator><separators>
,|</separators><size>30</size><unmodifiable>0</unmodifiable><values></values><classType>com.xpn.xwiki.objects.classes.StaticListClass</classType></tags></class><name>
Histórico.O processo que executa os eventos não estava a remover os eventos
pendentes que não davam origem a
eventos</name><number>0</number><className>XWiki.TagClass</className><property><tags/></property></object><content>O
processo que executa os eventos não estava a remover os eventos pendentes
que não davam origem a eventos</content></xwikidoc>');
After this X-Wiki "tells me" that the page does not exist and it shows me
the editor, so I click "Save and view" and the page works fine but I get
duplicated values in my db.
What's wrong with this code?
Thanks in advance.
Winners :
1) With height +1 : offer predefined image sizes.
2) With five +1 : allow to edit image width _and_ height.
3) With seven +1 : offer text flow option.
4) With height +1 : have a simple preview using images.
5) With height +1 : source + options in the same screen for external images (b).
See the mockups here :
http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface#HImage
A question from Vincent has not been answered here nor in the link
thread : ability to filter nodes appearing in the tree. The suggest
input under the tree must be powerful enough to avoid this need.
Thanks,
JV.
Winners :
1) With seven +1 : display the tooltip option.
2) With seven +1 : have a one-step dialog for external links.
See the mockups here :
http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface#HLink
Vincent raised an important issue, how do we handle special parameters
in the WYSIWYG (%%), this will be discussed later since it not only
related to links but any element.
Thanks,
JV.
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.6.2 and XWiki Enterprise Manager 1.4.1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This are the last bug fixes version before deleting the 1.6 branch.
Changes from XE 1.6.0:
* XWIKI-2790 - Jboss cache load configuration in the wrong place
* XWIKI-2821 - Older document revisions have the wrong contentUpdateDate
* XWIKI-2835 - New object may not have their wiki (database) sets,
and defaults is not applied
* XWIKI-2836 - Property validation does not report classname in context
* XWIKI-2852 - The old LDAP authenticator is still used by default
in some cases
* XWIKI-2905 - XWiki#parseGroovyFromPage(page, jarPage) is not
loading jars from jarPage
Changes from XEM 1.4:
* XAWM-91 - When wiki template don't have pretty name it shows
empty string in wiki creation template list
For more information see the respective releases notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise162
and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM141
Thanks
-The XWiki dev team
Hi devs,
We currently have 2 parsers and 2 macros depending on whether the
content is HTML 4.01 or XHTML 1.0. This is way too complex for users.
In addition the XHTML parser/macro expect the content to have the
DOCTYPE declaration + a root element which make them even harder to use.
I propose to simply all this by doing the following:
* A single HTML parser
* A single html macro
* The HTMLCleaner is always called thus transforming HTML into clean
XHTML and not doing anything in case of clean XHTML (actually it'll
add the DOCTYPE and a root element if it's not there)
This simplifies code, documentation and more importantly its usage for
our end users.
Since the xhtml macro was released not long ago I'd rather not go
through a deprecation period and instead commit the changes above for
1.7.1 (with a nice message in the release notes).
I've started working on this (should be finished tonight). Please
shout if you don't agree.
Thanks
-Vincent