Re: [xwiki-users] Xwiki Appli: how can I remove bold in view mode?

2015-03-09 Thread Pascal BASTIEN
Ok I didn't manage to reproduce my problem on playground:
http://playground.xwiki.org/xwiki/bin/view/Sandbox/MyClass

It is probably in my messy code: I will check  it again.
 thanks you


En date de : Lun 9.3.15, Eduard Moraru  a écrit :

 Objet: Re: [xwiki-users] Xwiki Appli: how can I remove bold in view mode?
 À: "Pascal BASTIEN" 
 Cc: "XWiki Users" 
 Date: Lundi 9 mars 2015, 14h10
 
 Hi,
 
 Perhaps I do not understand properly your
 issue. Is it a rendering issue? Can you reproduce it on the
 page content of a document instead of doing it in a property
 of an object? Can you give a complete example (copy/paste or
 xar export) where this is happening so we can reproduce
 it?
 
 Thanks,
 Eduard
 
 On Mon, Mar 9, 2015 at 2:31
 PM, Pascal BASTIEN 
 wrote:
 Nope it
 is not the cause of the problem.
 
 By default, in view mode,  $doc.display($prop.getName())
 displayed between strong tag.
 
 
 
 Keep looking...
 
 
 
 
 
 En date de : Sam 7.3.15, Eduard Moraru 
 a écrit :
 
 
 
  Objet: Re: [xwiki-users] Xwiki Appli: how can I remove
 bold in view mode?
 
  À: "Pascal BASTIEN" ,
 "XWiki Users" 
 
  Date: Samedi 7 mars 2015, 21h08
 
 
 
  Hi,
 
 
 
  You have probably entered the bold
 
  styling by mistake. Have a look at the stored content
 of
 
  that property ($doc.getValue($fieldName)) and you will
 
  probably notice that there are instructions
 (**something**)
 
  in it to make it bold. If this is true, edit the
 property
 
  accordingly... select all the text, bold it and then
 un-bold
 
  it again in an effort to get rid of all traces of bold
 
  styling in your content.
 
 
 
  Hope this helps,
 
  Eduard
 
 
 
  On Fri, Mar 6, 2015 at
 
  12:41 PM, Pascal BASTIEN 
 
  wrote:
 
  Hello,
 
 
 
  In my XWiki application, I have a Sheet + Class with a
 
  property with textArea/wysiwyg type.
 
 
 
  I use public String display(String fieldname, String
 
  mode)
 
 
 
  
http://maven.xwiki.org/site/docs/xwiki-javadoc-5.0.x/com/xpn/xwiki/api/Document.html#display%28java.lang.String,%20java.lang.String%29
 
 
 
 
 
 
 
  Unfortunaly in view mode all values are rendering
 between
 
   .
 
 
 
  How can I remove them?
 
 
 
 
 
 
 
  An example, in edit mode, in my  textArea/wysiwyg, I
 
  have
 
 
 
  -
 
 
 
  Some text bold
 
 
 
 
 
 
 
     1. first
 
 
 
     2. second
 
 
 
  -
 
 
 
 
 
 
 
  In view mode I obtein:
 
 
 
  Some text bold
 
 
 
 
 
 
 
    2. first
 
 
 
    3. second
 
 
 
  (I must reinit counter list too)
 
 
 
 
 
 
 
  HTML code:
 
 
 
  
 
 
 
  
 
 
 
  
 
 
 
  Some text
 
 
 
  bold
 
 
 
  
 
 
 
  
 
 
 
  
 
 
 
  
 
 
 
  
 
 
 
  
 
 
 
  
 
 
 
  first
 
 
 
  
 
 
 
  
 
 
 
  
 
 
 
  Of course i cannot remove 
 or
 
  modify style because I want to keep this one:
 
  bold
 
 
 
 
 
 
 
  Thxs for any help
 
 
 
 
 
 
 
 
 
 
 
  Pascal B
 
 
 
 
 
 
 
  ___
 
 
 
  users mailing list
 
 
 
  users@xwiki.org
 
 
 
  http://lists.xwiki.org/mailman/listinfo/users
 
 
 
 
 
 
 
 
 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Xwiki Appli: how can I remove bold in view mode?

2015-03-09 Thread Eduard Moraru
Hi,

Perhaps I do not understand properly your issue. Is it a rendering issue?
Can you reproduce it on the page content of a document instead of doing it
in a property of an object? Can you give a complete example (copy/paste or
xar export) where this is happening so we can reproduce it?

Thanks,
Eduard

On Mon, Mar 9, 2015 at 2:31 PM, Pascal BASTIEN 
wrote:

> Nope it is not the cause of the problem.
> By default, in view mode,  $doc.display($prop.getName()) displayed between
> strong tag.
>
> Keep looking...
>
> 
> En date de : Sam 7.3.15, Eduard Moraru  a écrit :
>
>  Objet: Re: [xwiki-users] Xwiki Appli: how can I remove bold in view mode?
>  À: "Pascal BASTIEN" , "XWiki Users" <
> users@xwiki.org>
>  Date: Samedi 7 mars 2015, 21h08
>
>  Hi,
>
>  You have probably entered the bold
>  styling by mistake. Have a look at the stored content of
>  that property ($doc.getValue($fieldName)) and you will
>  probably notice that there are instructions (**something**)
>  in it to make it bold. If this is true, edit the property
>  accordingly... select all the text, bold it and then un-bold
>  it again in an effort to get rid of all traces of bold
>  styling in your content.
>
>  Hope this helps,
>  Eduard
>
>  On Fri, Mar 6, 2015 at
>  12:41 PM, Pascal BASTIEN 
>  wrote:
>  Hello,
>
>  In my XWiki application, I have a Sheet + Class with a
>  property with textArea/wysiwyg type.
>
>  I use public String display(String fieldname, String
>  mode)
>
>
> http://maven.xwiki.org/site/docs/xwiki-javadoc-5.0.x/com/xpn/xwiki/api/Document.html#display%28java.lang.String,%20java.lang.String%29
>
>
>
>  Unfortunaly in view mode all values are rendering between
>   .
>
>  How can I remove them?
>
>
>
>  An example, in edit mode, in my  textArea/wysiwyg, I
>  have
>
>  -
>
>  Some text bold
>
>
>
> 1. first
>
> 2. second
>
>  -
>
>
>
>  In view mode I obtein:
>
>  Some text bold
>
>
>
>2. first
>
>3. second
>
>  (I must reinit counter list too)
>
>
>
>  HTML code:
>
>  
>
>  
>
>  
>
>  Some text
>
>  bold
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  first
>
>  
>
>  
>
>  
>
>  Of course i cannot remove  or
>  modify style because I want to keep this one:
>  bold
>
>
>
>  Thxs for any help
>
>
>
>
>
>  Pascal B
>
>
>
>  ___
>
>  users mailing list
>
>  users@xwiki.org
>
>  http://lists.xwiki.org/mailman/listinfo/users
>
>
>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Xwiki Appli: how can I remove bold in view mode?

2015-03-09 Thread Pascal BASTIEN
Nope it is not the cause of the problem.
By default, in view mode,  $doc.display($prop.getName()) displayed between 
strong tag.

Keep looking...


En date de : Sam 7.3.15, Eduard Moraru  a écrit :

 Objet: Re: [xwiki-users] Xwiki Appli: how can I remove bold in view mode?
 À: "Pascal BASTIEN" , "XWiki Users" 
 Date: Samedi 7 mars 2015, 21h08
 
 Hi,
 
 You have probably entered the bold
 styling by mistake. Have a look at the stored content of
 that property ($doc.getValue($fieldName)) and you will
 probably notice that there are instructions (**something**)
 in it to make it bold. If this is true, edit the property
 accordingly... select all the text, bold it and then un-bold
 it again in an effort to get rid of all traces of bold
 styling in your content.
 
 Hope this helps,
 Eduard
 
 On Fri, Mar 6, 2015 at
 12:41 PM, Pascal BASTIEN 
 wrote:
 Hello,
 
 In my XWiki application, I have a Sheet + Class with a
 property with textArea/wysiwyg type.
 
 I use public String display(String fieldname, String
 mode)
 
 
http://maven.xwiki.org/site/docs/xwiki-javadoc-5.0.x/com/xpn/xwiki/api/Document.html#display%28java.lang.String,%20java.lang.String%29
 
 
 
 Unfortunaly in view mode all values are rendering between
  .
 
 How can I remove them?
 
 
 
 An example, in edit mode, in my  textArea/wysiwyg, I
 have
 
 -
 
 Some text bold
 
 
 
    1. first
 
    2. second
 
 -
 
 
 
 In view mode I obtein:
 
 Some text bold
 
 
 
   2. first
 
   3. second
 
 (I must reinit counter list too)
 
 
 
 HTML code:
 
 
 
 
 
 
 
 Some text
 
 bold
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 first
 
 
 
 
 
 
 
 Of course i cannot remove  or
 modify style because I want to keep this one:
 bold
 
 
 
 Thxs for any help
 
 
 
 
 
 Pascal B
 
 
 
 ___
 
 users mailing list
 
 users@xwiki.org
 
 http://lists.xwiki.org/mailman/listinfo/users
 
 
 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Xwiki Appli: how can I remove bold in view mode?

2015-03-07 Thread Eduard Moraru
Hi,

You have probably entered the bold styling by mistake. Have a look at the
stored content of that property ($doc.getValue($fieldName)) and you will
probably notice that there are instructions (**something**) in it to make
it bold. If this is true, edit the property accordingly... select all the
text, bold it and then un-bold it again in an effort to get rid of all
traces of bold styling in your content.

Hope this helps,
Eduard

On Fri, Mar 6, 2015 at 12:41 PM, Pascal BASTIEN 
wrote:

> Hello,
> In my XWiki application, I have a Sheet + Class with a property with
> textArea/wysiwyg type.
> I use public String display(String fieldname, String mode)
>
> http://maven.xwiki.org/site/docs/xwiki-javadoc-5.0.x/com/xpn/xwiki/api/Document.html#display%28java.lang.String,%20java.lang.String%29
>
> Unfortunaly in view mode all values are rendering between 
> .
> How can I remove them?
>
> An example, in edit mode, in my  textArea/wysiwyg, I have
> -
> Some text bold
>
>1. first
>2. second
> -
>
> In view mode I obtein:
> Some text bold
>
>   2. first
>   3. second
> (I must reinit counter list too)
>
> HTML code:
> 
> 
> 
> Some text
> bold
> 
> 
> 
> 
> 
> 
> 
> first
> 
> 
> 
> Of course i cannot remove  or modify style because I want
> to keep this one: bold
>
> Thxs for any help
>
>
> Pascal B
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Xwiki Appli: how can I remove bold in view mode?

2015-03-06 Thread Pascal BASTIEN
Hello,
In my XWiki application, I have a Sheet + Class with a property with 
textArea/wysiwyg type.
I use public String display(String fieldname, String mode)
http://maven.xwiki.org/site/docs/xwiki-javadoc-5.0.x/com/xpn/xwiki/api/Document.html#display%28java.lang.String,%20java.lang.String%29

Unfortunaly in view mode all values are rendering between  .
How can I remove them?

An example, in edit mode, in my  textArea/wysiwyg, I have
-
Some text bold

   1. first
   2. second
-

In view mode I obtein:
Some text bold

  2. first
  3. second
(I must reinit counter list too)

HTML code:



Some text
bold







first



Of course i cannot remove  or modify style because I want to 
keep this one: bold

Thxs for any help


Pascal B

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users