Many thanks, Sergiu and Ludovic.
I tried the 2 samples from Ludovic and they didn't show the numbered lists
in the 1.0 b4 version I have.
I tried the first sample from Sergiu, it gives the following error:
Error number 4001 in 4: Error while parsing velocity page Sandbox.ListTest2
Wrapped Exception: Lexical error:
org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line
11, column 0.  Encountered: <EOF> after : ""
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page Sandbox.ListTest2
Wrapped Exception: Lexical error:
org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line
11, column 0.  Encountered: <EOF> after : ""
        at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:142)
        at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:98)
        at com.xpn.xwiki.render.XWikiRenderingEngine.renderText(XWikiRenderingEngine
Then I tried the snd sample from Sergiu and it works perfectly.
So I think in order to mix ordered/unordered list, we need to ask users to
follow the syntax in Sergiu's 2nd sample code in the wiki editor and avoid
using the "#". Do NOT let the users use the WYSIWYG editor for this kind
of mixed-list content because it will distort the correct wiki syntax.
So I guess the only issue we are facing is how to produce this correct
wiki syntax from the WYSIWYG editor and vice versa - a difficult task.
But now at least we have a way to make it work.
Best regards,
-Jimmy
----- Original Message -----
From: Sergiu Dumitriu
To:
Sent: Friday, March 16, 2007 2:04 AM
Subject: Re: [xwiki-users] Re: WYSIWYG editor problem (2nd call)
The generated code is wrong. It should be like this:
# Overview of the ORIS Workplace
#* Document checkin/checkout/versions
#* Viewing tasks
# Resources for help documents{style}
#* DIS Workplace->SOP & Policy -> Help
#* Portal Info Center
#*  Discussion Forum in DIS Workplace
# DIS Mandatory Training Demo
# Excercises
Indeed, '##' is not supported, but there's '11.' which is supported.
So we
should use '1.' instead of '#' for numbered lists:
1. Overview of the ORIS Workplace
1*. Document checkin/checkout/versions
1*. Viewing tasks
1. Resources for help documents{style}
1*. DIS Workplace->SOP & Policy -> Help
1*. Portal Info Center
1*.  Discussion Forum in DIS Workplace
1. DIS Mandatory Training Demo
1. Excercises
This should work just fine.
Maybe the new editor should work like this.
Sergiu
On 3/16/07, Ludovic Dubost < ludovic(a)xwiki.com> wrote:
Hi,
Right I've reproduce the weird behavior you are experiencing..
This would need some bug created on 
http://jira.xwiki.org
Now one interesting question would be what the correct behavior should
be (except being consistent between wysiwyg, wiki and rendering):
Should this code render:
1 Overview of the ORIS Workplace
  * Document checkin/checkout/versions
  * Viewing tasks
1 Resources for help documents{style}
  * DIS Workplace->SOP & Policy -> Help
  * Portal Info Center
  * Discussion Forum in DIS Workplace
1 DIS Mandatory Training Demo
2 Excercises
or
1 Overview of the ORIS Workplace
  * Document checkin/checkout/versions
  * Viewing tasks
2 Resources for help documents{style}
  * DIS Workplace->SOP & Policy -> Help
  * Portal Info Center
  * Discussion Forum in DIS Workplace
3 DIS Mandatory Training Demo
4 Excercises
Also Currently ## is not allowed since it is a velocity comment.. so
embedded numbering doesn't work
Ludovic
jimmy(a)comkraft.com a écrit :
  Sorry to repost this question. But I am curious if
anyone of you has also
 experienced the same problem: i.e. if you mix numbered bullet points and
 regular bullet points, you will lose the numbering and the layout changes
 quite a bit.
 The following wiki syntax will produce some unexpected results.
 *Agenda*
 # Overview of the ORIS Workplace
 ** Document checkin/checkout/versions
 ** Viewing tasks
 # Resources for help documents{style}
 ** DIS Workplace->SOP & Policy -> Help
 ** Portal Info Center
 **  Discussion Forum in DIS Workplace
 # DIS Mandatory Training Demo
 # Excercises
 I remember seeing posting regarding similar editor (wiki and wysiwyg
 editor) issues before but haven't seen a definite answer yet.
 Thank you in advance.
 -Jimmy
  Hi, Folks,
 We have problems to use bullet points in the WYSIWYG editor (in both beta
 4 and beta 5 version).
 If we mix order bullets (1,2,3,...) with unordered bullets (*...), the
 WYSIWYG editor shows one layout,
 wiki editor shows another
 the View screen shows a 3rd different layout
 I experienced similar problem in previous versions of xwki (e.g. 0.984
 etc). A sample page is at:
 
http://sandbox.xwiki.org/xwiki/bin/view/Main/ORIS+KM
 Please let me know if this is a known bug and I really have to get this
 problem solved before promoting xwiki in my organization.
 Thanks
 -Jimmy
 
 ------------------------------------------------------------------------
 --
 You receive this message as a subscriber of the 
xwiki-users(a)objectweb.org mailing
list.
  To unsubscribe:
mailto:xwiki-users-unsubscribe@objectweb.org
 For general help: mailto: sympa(a)objectweb.org?subject=help
 ObjectWeb mailing lists service home page: 
http://www.objectweb.org/wws
 
--
Ludovic Dubost
Blog: 
http://www.ludovic.org/blog/
XWiki: 
http://www.xwiki.com
Skype: ldubost GTalk: ldubost
AIM: nvludo Yahoo: ludovic
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
To unsubscribe: mailto: xwiki-users-unsubscribe(a)objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: 
http://www.objectweb.org/wws
--
http://purl.org/net/sergiu
--------------------------------------------------------------------------------
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: 
http://www.objectweb.org/wws