Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » symbol problem
symbol problem [message #74202] Mon, 18 February 2008 01:11 Go to next message
Eclipse UserFriend
Originally posted by: allen_liu.i-len.com

Hi all:
I have a question: I wanna show "<" ">" "&" in Combo-box . I wrote this
code:
Composite cp_combo=new Composite(parent,SWT.NONE)
Combo cmb=new Combo(cp_combo,SWT.BORDER);
cmb.add(WidgetLCAUtil.escapeText("<",false));
cmb.add(WidgetLCAUtil.escapeText(">",false));

I also try this:
Combo cmb=new Combo(cp_combo,SWT.BORDER);
cmb.add(">");
cmb.add("<");

But rap showed on combo-box as this:
&gt; &lt;

which one can help me ??

I think that it's a normal problem.we need to solute this.
best regards

allen_liu 2008-02-18
Re: symbol problem [message #74220 is a reply to message #74202] Mon, 18 February 2008 03:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: benjamin.wolff.web.de

yes, i'm "suffering" from this bug as well :). instead of "&" the combo
box displays "&amp;". the getText() methods return the correct value so i
assume it is a html escaping problem. occurs on IE6 & Firefox 2.0.0.12.
shall i file a bug?
Re: symbol problem [message #74236 is a reply to message #74220] Mon, 18 February 2008 04:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

yes, please file a bug.
Thanks Rüdiger

Ben W. wrote:
> yes, i'm "suffering" from this bug as well :). instead of "&" the combo
> box displays "&amp;". the getText() methods return the correct value so
> i assume it is a html escaping problem. occurs on IE6 & Firefox
> 2.0.0.12. shall i file a bug?
>
Re: symbol problem [message #74324 is a reply to message #74236] Mon, 18 February 2008 05:57 Go to previous message
Eclipse UserFriend
Originally posted by: benjamin.wolff.web.de

bug filed:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=219300
Previous Topic:[ANN] Display#readAndDispatch
Next Topic:Param-Types vom java to js and vice versa
Goto Forum:
  


Current Time: Sun Aug 31 08:18:48 EDT 2025

Powered by FUDForum. Page generated in 0.05869 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top