Bind label from computation - oracle apex - oracle-apex

I try bind label text from computation but I don't know how render html.
When put in label static html work fine.
Eg.
Any solution how fix this problem?

It's possible to control output escaping in substitution strings. In the label value, use &P71_COMPUTATION!RAW. instead. This is documented here. This is the 21.1 doc but this feature has been around for a while.

Related

How to include field value in Oracle Apex Pre Element Text

I'm using Apex 19.1 I have a display-only item (P211_TIME) on an apex page. I'd like to reference the value of another page item (P211_SELECT_LIT) in the item's Advanced / Pre Text. How do I reference P211_SELECT_LIT? I've tried &P211_SELECT_LIT and #P211_SELECT_LIT#.
Thanks for your help.
You're close - references within (what will be) HTML need the following syntax.
&P211_SELECT_LIT.
Note the trailing full-stop - that's part of the required syntax.
I highly recommend reading through the substutition strings section of the documentation.
I've ready these particular pages many times, and still do.

i18n HTML escaping not working

According to Ruby on Rails Guides (http://guides.rubyonrails.org/i18n.html#using-safe-html-translations) all I need to do to render my translations without calling html_safe on them is to have the key name end with _html. This is what I tried:
en:
breadcrumbs:
root_html: "<i class='material-icons'>home</i>"
Calling it like this:
I18n.t('breadcrumbs.root_html')
causes the output to be this very string defined inside my translations, but not the rendered HTML.
What am I doing wrong?
Using Ruby on Rails 4.2.1.
Thanks in advance!
Scrolling down a little further in the guide I found the problem:
Automatic conversion to HTML safe translate text is only available from the translate view helper method.
Since I tried to prepare the link inside my controller and pass it through a gem to the view, this didn't work.
To make this work you'll have to call html_safe on the string, like so:
I18n.t('breadcrumbs.root_html').html_safe
If you find another solution, hit me up!

OpenOffice/LibreOffice calc hyperlink

I'm using OpenOffice calc (or rather the Libreoffice verion in Ubuntu 11.04). I used the hyperlink function to add links to a column using the function: =hyperlink("http://www.ncbi.nlm.nih.gov/pubmed?term="&D2,D2)
All appears okay on the spreadsheet, but when I save as html, the links column is saved as plain text and not as hyperlinks to where I want them to go to!
Am I doing something wrong?
Thanks!
You could report a bug, but it looks like the underlying problem is that the spreadsheet formulas are removed when saving to html, something as simple as A1*3 is not converted to javascript, and the hyperlink() function isn't converted either. If you insert a link with Insert -> Hyperlink it should work fine.

HTML entities in Textile

HTML entities are not displayed correctly in Textile because the ampersand is converted into & by the system. Is there any way to input e.g. ⌘ and actually get ⌘?
Wrapping the entity in ==⌘== does disable Textile processing for that block. Maybe that's as good as it gets?
I'm using RedCloth.
After having had a look through RedCloth sources, there does not seem to be a way of doing this.
Maybe it's as well, on second thought: Textile is not necessarily meant to output HTML, but HTML entities are entirely an HTML solution. I'll just input funky characters directly.
RedCloth does not get hex values in html entities, but others, like or € are processed properly.

How to load qt linguist dynamically changed label text

In my project i'm trying to use qt linguist. When i change the language from English to Turkish, it is working all constant label.
But some labels i m loading them dynamically according to scenario of use cases.
Whatever i do with qt linguist, it doest workthe texts of these label.
How can i get rid of this problem?
Any help will be apprecialted
Qt has a guide to internationalization, which includes the basic information: to wrap your string in a tr function call.
label->setText( tr( "Hello, World!" ) );
In addition to this, if you want the language to change on the fly, you'll need to identify when the context has changed, and update your labels appropriately. Unfortunately, I can't easily put my hands on the signal that indicates when to do so.