Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 16:05 Go to next message
John Gymer is currently offline John GymerFriend
Messages: 279
Registered: November 2012
Location: UK
Senior Member
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


---
Just because you can doesn't mean you should
Re: rowTemplates and MarkUp [message #1214332 is a reply to message #1214244] Wed, 27 November 2013 16:50 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
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 17:10 Go to previous messageGo to next message
John Gymer is currently offline John GymerFriend
Messages: 279
Registered: November 2012
Location: UK
Senior Member
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?


---
Just because you can doesn't mean you should
Re: rowTemplates and MarkUp [message #1214777 is a reply to message #1214359] Wed, 27 November 2013 21:12 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
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 09:49 Go to previous messageGo to next message
John Gymer is currently offline John GymerFriend
Messages: 279
Registered: November 2012
Location: UK
Senior Member
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...?


---
Just because you can doesn't mean you should
Re: rowTemplates and MarkUp [message #1216115 is a reply to message #1216041] Thu, 28 November 2013 10:21 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

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 10:28 Go to previous message
John Gymer is currently offline John GymerFriend
Messages: 279
Registered: November 2012
Location: UK
Senior Member
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


---
Just because you can doesn't mean you should
Previous Topic:Send "WWW-Authenticate: Negotiate" on first RAP request
Next Topic:CKEditor in Workbench
Goto Forum:
  


Current Time: Thu Sep 26 14:57:17 GMT 2024

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

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

Back to the top