Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » rowTemplates and MarkUp(Tables with rowTemplates don't show Markup)
rowTemplates and MarkUp [message #1214244] Wed, 27 November 2013 11:05 Go to next message
Eclipse UserFriend
Markup doesn't seem to be support when using rowTemplates in Tables... is this supposed to work? I thought I read somewhere the Markup could still be used even with rowTemplates?

Example Table showing how HTML is not being rendered:
index.php/fa/16863/0/

with:
table.setData(RWT.MARKUP_ENABLED, enabled);


Thanks, John
Re: rowTemplates and MarkUp [message #1214332 is a reply to message #1214244] Wed, 27 November 2013 11:50 Go to previous messageGo to next message
Eclipse UserFriend
Hi.

It's working fine for me. Are you sure that you set both ROW_TEMPLATE
and MARKUP_ENABLED directly after creating the widget?

Greetings,
Tim

Am 27.11.2013 17:05, schrieb John Gymer:
> Markup doesn't seem to be support when using rowTemplates in Tables... is this supposed to work? I thought I read somewhere the Markup could still be used even with rowTemplates?
>
> Example Table showing how HTML is not being rendered:
>
>
> with:
>
> table.setData(RWT.MARKUP_ENABLED, enabled);
>
>
> Thanks, John
>

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: rowTemplates and MarkUp [message #1214359 is a reply to message #1214332] Wed, 27 November 2013 12:10 Go to previous messageGo to next message
Eclipse UserFriend
How 'DIRECTLY AFTER' does it need to be done?
I'm certainly doing it before the UI thread lets go.
There's a bit of processing in between, such as creating the columns etc.
Presumably you cannot set the Table's Template until you've created all of the columns?

If it makes a difference, I'm using RWT from 20131111... might it have been fixed since then?
Re: rowTemplates and MarkUp [message #1214777 is a reply to message #1214359] Wed, 27 November 2013 16:12 Go to previous messageGo to next message
Eclipse UserFriend
Hi.

> How 'DIRECTLY AFTER' does it need to be done?

Within the createUi/createContents method (using EntryPoint API).

> Presumably you cannot set the Table's Template until you've created all
> of the columns?

Nah, you can do that in any order.

> If it makes a difference, I'm using RWT from 20131111... might it have
> been fixed since then?

That's probably it.

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: rowTemplates and MarkUp [message #1216041 is a reply to message #1214777] Thu, 28 November 2013 04:49 Go to previous messageGo to next message
Eclipse UserFriend
So you think it is the RAP version?
Trouble is, I need a Tabris version, rather than plain RAP, so need to wait until those changes have made it into Tabris...?
Re: rowTemplates and MarkUp [message #1216115 is a reply to message #1216041] Thu, 28 November 2013 05:21 Go to previous messageGo to next message
Eclipse UserFriend
Hi John,

unfortunately, the Tabris clients don't support markup yet. Processing
markup is not that simple on mobile platforms, but I've heard with new
iOS versions, that there is a chance to support at least basic textual
markup.

Cheers,
Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: rowTemplates and MarkUp [message #1216125 is a reply to message #1216115] Thu, 28 November 2013 05:28 Go to previous message
Eclipse UserFriend
Hi Ralf,
Yes, I understand... our runtime distinguishes between mobile vs browser at runtime, so uses markup on browser only, but it does mean we need a common RWT/RAP as the same appserver needs to support both types of platforms.
Fortunately, I noticed that Tabris server adopted RAP 2.2 RC1 yesterday, so just downloaded this plus the latest nightly of RAP, and the combination seems to work very well. Certainly I now have markup with rowTemplates.
Great stuff!
Cheers, John
Previous Topic:Send "WWW-Authenticate: Negotiate" on first RAP request
Next Topic:CKEditor in Workbench
Goto Forum:
  


Current Time: Wed Jul 23 08:19:05 EDT 2025

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

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

Back to the top