[xwiki-users] reference types in current object in dblist
I have an XWiki class for which I'd like to have a dblist where the hql references types in the same object. Such as: select doc.id from XWikiDocument as doc, XWikiAttachment as att where att.docId = doc.id and att.filename = string from a string member of this object Can this be done? Dan Svoboda University of Pittsburgh
Dear All, Code like the following is totally removed in the XWIKI WYSIWYG editor when the information is saved: "<ol><li>Item 1 characteristics: <ul> <li>Item 1, bullet 1</li> <li>Item 1, bullet 2</li> <li>Item 1, bullet 3</li> </ul> </li> <li>Item 2 characteristics: <ul> <li>Item 2, bullet 1</li> <li>Item 2, bullet 2</li> </ul> </li> <li>Item 3 characteristics: <ul> <li>Item 3, bullet 1</li> </ul> </li> </ol>" It important to never save such HTML snippets in the WYSIWYG editor. And anyone who follows you and edits the file unknowingly in WYSIWYG mode will remove the elements as well. It would be nice if the developers tweak the editors to convert such code in the background to a corresponding wiki format. Greetings, Steven Calkins Steven Calkins IT Consulting and Sales
Hi Stevens, On Thu, Aug 6, 2009 at 11:25 AM, Steven Calkins < [email protected]> wrote:
Dear All,
Code like the following is totally removed in the XWIKI WYSIWYG editor when the information is saved:
"<ol><li>Item 1 characteristics: <ul> <li>Item 1, bullet 1</li> <li>Item 1, bullet 2</li> <li>Item 1, bullet 3</li> </ul> </li> <li>Item 2 characteristics: <ul> <li>Item 2, bullet 1</li> <li>Item 2, bullet 2</li> </ul> </li> <li>Item 3 characteristics: <ul> <li>Item 3, bullet 1</li> </ul> </li> </ol>"
It important to never save such HTML snippets in the WYSIWYG editor. And anyone who follows you and edits the file unknowingly in WYSIWYG mode will remove the elements as well. It would be nice if the developers tweak the editors to convert such code in the background to a corresponding wiki format.
Greetings, Steven Calkins
Which version of XWiki Enterprise are you using? If you're using XE 1.9 / pages in XWiki 2.0 syntax you can enclose such code in a HTML macro: {{html}} HTML code goes here {{/html}} This will protect your code when saving the page and make sure it gets displayed. Guillaume
Steven Calkins IT Consulting and Sales _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Guillaume Lerouge Product Manager - XWiki Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/
Hi Guillaume, I am using XE 1.9 in XWiki 1.0 syntax. I'll try switching this page to XWiki 2.0 syntax and insert the code as you suggest. Thanks Steven Calkins IT-Beratung und Vertrieb CMS - Cross Media Solutions GmbH Beethovenstraße 5 A 97080 Würzburg Tel: +49 (931) 385 - 351 Fax: +49 (931) 385 - 364 Mobil: +49 (175) 5758790 E-Mail: [email protected] Internet: http://www.crossmediasolutions.de Handelsregister: Würzburg HRB 8950 Geschäftsführer: Michael Schardt member of Euradius -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Guillaume Lerouge Gesendet: Donnerstag, 6. August 2009 11:35 An: XWiki Users Betreff: Re: [xwiki-users] Bug with <ol><ul> etc Hi Stevens, On Thu, Aug 6, 2009 at 11:25 AM, Steven Calkins < [email protected]> wrote:
Dear All,
Code like the following is totally removed in the XWIKI WYSIWYG editor when the information is saved:
"<ol><li>Item 1 characteristics: <ul> <li>Item 1, bullet 1</li> <li>Item 1, bullet 2</li> <li>Item 1, bullet 3</li> </ul> </li> <li>Item 2 characteristics: <ul> <li>Item 2, bullet 1</li> <li>Item 2, bullet 2</li> </ul> </li> <li>Item 3 characteristics: <ul> <li>Item 3, bullet 1</li> </ul> </li> </ol>"
It important to never save such HTML snippets in the WYSIWYG editor. And anyone who follows you and edits the file unknowingly in WYSIWYG mode will remove the elements as well. It would be nice if the developers tweak the editors to convert such code in the background to a corresponding wiki format.
Greetings, Steven Calkins
Which version of XWiki Enterprise are you using? If you're using XE 1.9 / pages in XWiki 2.0 syntax you can enclose such code in a HTML macro: {{html}} HTML code goes here {{/html}} This will protect your code when saving the page and make sure it gets displayed. Guillaume
Steven Calkins IT Consulting and Sales _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Guillaume Lerouge Product Manager - XWiki Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Guillaume It worked! Thanks Steven Calkins IT-Beratung und Vertrieb CMS - Cross Media Solutions GmbH Beethovenstraße 5 A 97080 Würzburg Tel: +49 (931) 385 - 351 Fax: +49 (931) 385 - 364 Mobil: +49 (175) 5758790 E-Mail: [email protected] Internet: http://www.crossmediasolutions.de Handelsregister: Würzburg HRB 8950 Geschäftsführer: Michael Schardt member of Euradius -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Steven Calkins Gesendet: Donnerstag, 6. August 2009 11:47 An: XWiki Users Betreff: Re: [xwiki-users] Bug with <ol><ul> etc Hi Guillaume, I am using XE 1.9 in XWiki 1.0 syntax. I'll try switching this page to XWiki 2.0 syntax and insert the code as you suggest. Thanks Steven Calkins IT-Beratung und Vertrieb CMS - Cross Media Solutions GmbH Beethovenstraße 5 A 97080 Würzburg Tel: +49 (931) 385 - 351 Fax: +49 (931) 385 - 364 Mobil: +49 (175) 5758790 E-Mail: [email protected] Internet: http://www.crossmediasolutions.de Handelsregister: Würzburg HRB 8950 Geschäftsführer: Michael Schardt member of Euradius -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Guillaume Lerouge Gesendet: Donnerstag, 6. August 2009 11:35 An: XWiki Users Betreff: Re: [xwiki-users] Bug with <ol><ul> etc Hi Stevens, On Thu, Aug 6, 2009 at 11:25 AM, Steven Calkins < [email protected]> wrote:
Dear All,
Code like the following is totally removed in the XWIKI WYSIWYG editor when the information is saved:
"<ol><li>Item 1 characteristics: <ul> <li>Item 1, bullet 1</li> <li>Item 1, bullet 2</li> <li>Item 1, bullet 3</li> </ul> </li> <li>Item 2 characteristics: <ul> <li>Item 2, bullet 1</li> <li>Item 2, bullet 2</li> </ul> </li> <li>Item 3 characteristics: <ul> <li>Item 3, bullet 1</li> </ul> </li> </ol>"
It important to never save such HTML snippets in the WYSIWYG editor. And anyone who follows you and edits the file unknowingly in WYSIWYG mode will remove the elements as well. It would be nice if the developers tweak the editors to convert such code in the background to a corresponding wiki format.
Greetings, Steven Calkins
Which version of XWiki Enterprise are you using? If you're using XE 1.9 / pages in XWiki 2.0 syntax you can enclose such code in a HTML macro: {{html}} HTML code goes here {{/html}} This will protect your code when saving the page and make sure it gets displayed. Guillaume
Steven Calkins IT Consulting and Sales _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Guillaume Lerouge Product Manager - XWiki Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi Stevens, On Thu, Aug 6, 2009 at 11:50 AM, Steven Calkins < [email protected]> wrote:
Guillaume
It worked! Thanks
Glad to read that :-) I'd recommend you use the new sntax / new editor as much as possible to prevent such issues from arising again. Guillaume
Steven Calkins IT-Beratung und Vertrieb
CMS - Cross Media Solutions GmbH Beethovenstraße 5 A 97080 Würzburg Tel: +49 (931) 385 - 351 Fax: +49 (931) 385 - 364 Mobil: +49 (175) 5758790 E-Mail: [email protected] Internet: http://www.crossmediasolutions.de Handelsregister: Würzburg HRB 8950 Geschäftsführer: Michael Schardt
member of Euradius -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Steven Calkins Gesendet: Donnerstag, 6. August 2009 11:47 An: XWiki Users Betreff: Re: [xwiki-users] Bug with <ol><ul> etc
Hi Guillaume,
I am using XE 1.9 in XWiki 1.0 syntax. I'll try switching this page to XWiki 2.0 syntax and insert the code as you suggest.
Thanks
Steven Calkins IT-Beratung und Vertrieb
CMS - Cross Media Solutions GmbH Beethovenstraße 5 A 97080 Würzburg Tel: +49 (931) 385 - 351 Fax: +49 (931) 385 - 364 Mobil: +49 (175) 5758790 E-Mail: [email protected] Internet: http://www.crossmediasolutions.de Handelsregister: Würzburg HRB 8950 Geschäftsführer: Michael Schardt
member of Euradius -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Guillaume Lerouge Gesendet: Donnerstag, 6. August 2009 11:35 An: XWiki Users Betreff: Re: [xwiki-users] Bug with <ol><ul> etc
Hi Stevens,
On Thu, Aug 6, 2009 at 11:25 AM, Steven Calkins < [email protected]> wrote:
Dear All,
Code like the following is totally removed in the XWIKI WYSIWYG editor when the information is saved:
"<ol><li>Item 1 characteristics: <ul> <li>Item 1, bullet 1</li> <li>Item 1, bullet 2</li> <li>Item 1, bullet 3</li> </ul> </li> <li>Item 2 characteristics: <ul> <li>Item 2, bullet 1</li> <li>Item 2, bullet 2</li> </ul> </li> <li>Item 3 characteristics: <ul> <li>Item 3, bullet 1</li> </ul> </li> </ol>"
It important to never save such HTML snippets in the WYSIWYG editor. And anyone who follows you and edits the file unknowingly in WYSIWYG mode will remove the elements as well. It would be nice if the developers tweak the editors to convert such code in the background to a corresponding wiki format.
Greetings, Steven Calkins
Which version of XWiki Enterprise are you using?
If you're using XE 1.9 / pages in XWiki 2.0 syntax you can enclose such code in a HTML macro:
{{html}} HTML code goes here {{/html}}
This will protect your code when saving the page and make sure it gets displayed.
Guillaume
Steven Calkins IT Consulting and Sales _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Guillaume Lerouge Product Manager - XWiki Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Guillaume Lerouge Product Manager - XWiki Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/
Steven Calkins wrote:
Hi Guillaume,
I am using XE 1.9 in XWiki 1.0 syntax. I'll try switching this page to XWiki 2.0 syntax and insert the code as you suggest.
The old WYSIWYG editor is full of bugs and unmaintained (and unmaintainable), please try to use the 2.0 syntax and the new editor.
-----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Guillaume Lerouge Gesendet: Donnerstag, 6. August 2009 11:35 An: XWiki Users Betreff: Re: [xwiki-users] Bug with <ol><ul> etc
Hi Stevens,
On Thu, Aug 6, 2009 at 11:25 AM, Steven Calkins < [email protected]> wrote:
Dear All,
Code like the following is totally removed in the XWIKI WYSIWYG editor when the information is saved:
"<ol><li>Item 1 characteristics: <ul> <li>Item 1, bullet 1</li> <li>Item 1, bullet 2</li> <li>Item 1, bullet 3</li> </ul> </li> <li>Item 2 characteristics: <ul> <li>Item 2, bullet 1</li> <li>Item 2, bullet 2</li> </ul> </li> <li>Item 3 characteristics: <ul> <li>Item 3, bullet 1</li> </ul> </li> </ol>"
It important to never save such HTML snippets in the WYSIWYG editor. And anyone who follows you and edits the file unknowingly in WYSIWYG mode will remove the elements as well. It would be nice if the developers tweak the editors to convert such code in the background to a corresponding wiki format.
Greetings, Steven Calkins
Which version of XWiki Enterprise are you using?
If you're using XE 1.9 / pages in XWiki 2.0 syntax you can enclose such code in a HTML macro:
{{html}} HTML code goes here {{/html}}
This will protect your code when saving the page and make sure it gets displayed.
Guillaume
Steven Calkins IT Consulting and Sales _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Guillaume Lerouge Product Manager - XWiki Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Sergiu Dumitriu http://purl.org/net/sergiu/
On Aug 6, 2009, at 11:34 AM, Guillaume Lerouge wrote:
Hi Stevens,
On Thu, Aug 6, 2009 at 11:25 AM, Steven Calkins < [email protected]> wrote:
Dear All,
Code like the following is totally removed in the XWIKI WYSIWYG editor when the information is saved:
"<ol><li>Item 1 characteristics: <ul> <li>Item 1, bullet 1</li> <li>Item 1, bullet 2</li> <li>Item 1, bullet 3</li> </ul> </li> <li>Item 2 characteristics: <ul> <li>Item 2, bullet 1</li> <li>Item 2, bullet 2</li> </ul> </li> <li>Item 3 characteristics: <ul> <li>Item 3, bullet 1</li> </ul> </li> </ol>"
It important to never save such HTML snippets in the WYSIWYG editor. And anyone who follows you and edits the file unknowingly in WYSIWYG mode will remove the elements as well. It would be nice if the developers tweak the editors to convert such code in the background to a corresponding wiki format.
Greetings, Steven Calkins
Which version of XWiki Enterprise are you using?
If you're using XE 1.9 / pages in XWiki 2.0 syntax you can enclose such code in a HTML macro:
{{html}} HTML code goes here {{/html}}
This will protect your code when saving the page and make sure it gets displayed.
However if you type it directly it should be displayed as you type it and not discarded. This looks like a bug. Anca/Marius, is that something known? Do we have a jira for this? Thanks -Vincent
On Aug 6, 2009, at 11:49 AM, Vincent Massol wrote:
On Aug 6, 2009, at 11:34 AM, Guillaume Lerouge wrote:
Hi Stevens,
On Thu, Aug 6, 2009 at 11:25 AM, Steven Calkins < [email protected]> wrote:
Dear All,
Code like the following is totally removed in the XWIKI WYSIWYG editor when the information is saved:
"<ol><li>Item 1 characteristics: <ul> <li>Item 1, bullet 1</li> <li>Item 1, bullet 2</li> <li>Item 1, bullet 3</li> </ul> </li> <li>Item 2 characteristics: <ul> <li>Item 2, bullet 1</li> <li>Item 2, bullet 2</li> </ul> </li> <li>Item 3 characteristics: <ul> <li>Item 3, bullet 1</li> </ul> </li> </ol>"
It important to never save such HTML snippets in the WYSIWYG editor. And anyone who follows you and edits the file unknowingly in WYSIWYG mode will remove the elements as well. It would be nice if the developers tweak the editors to convert such code in the background to a corresponding wiki format.
Greetings, Steven Calkins
Which version of XWiki Enterprise are you using?
If you're using XE 1.9 / pages in XWiki 2.0 syntax you can enclose such code in a HTML macro:
{{html}} HTML code goes here {{/html}}
This will protect your code when saving the page and make sure it gets displayed.
However if you type it directly it should be displayed as you type it and not discarded. This looks like a bug. Anca/Marius, is that something known? Do we have a jira for this?
oh wait... Steven was using the old wysiwyg editor it seems.... -Vincent
Steven Calkins wrote:
Dear All,
Code like the following is totally removed in the XWIKI WYSIWYG editor when the information is saved:
"<ol><li>Item 1 characteristics: <ul> <li>Item 1, bullet 1</li> <li>Item 1, bullet 2</li> <li>Item 1, bullet 3</li> </ul> </li> <li>Item 2 characteristics: <ul> <li>Item 2, bullet 1</li> <li>Item 2, bullet 2</li> </ul> </li> <li>Item 3 characteristics: <ul> <li>Item 3, bullet 1</li> </ul> </li> </ol>"
It important to never save such HTML snippets in the WYSIWYG editor. And anyone who follows you and edits the file unknowingly in WYSIWYG mode will remove the elements as well. It would be nice if the developers tweak the editors to convert such code in the background to a corresponding wiki format.
Indeed, I just tried this, and the whole document content was removed, when using the old WYSIWYG. -- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (5)
-
Dan Svoboda -
Guillaume Lerouge -
Sergiu Dumitriu -
Steven Calkins -
Vincent Massol