Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/1565976435f1f2ab#

In earlier template parser versions, used in In-Portal we had problems
distinguishing simple text and labels, that should be translated. At that
times we invented ability to escape text with "!" in form "!label_here!" so
it will be translated.

For quite some time this is no longer a problem and that ! in admin template
actually do nothing and are stripped at the end. Example code:*

Code Block
languagexml
<inp2:m_RenderElement name="inp_edit_options" prefix="formflds"

...

 field="ElementType" title="!la_prompt_InputType!"/>

...

As you can notice title parameter value displays the problem I've described. 

We will remove all such occurrences of "!" in one release and will remove
code, that strips ! in next version, so all users will be forced to to
change their code as well.

Related Tasks

Jira Legacy
serverSystem Jira
serverId513b375f-8291-

Best Regards,
http://www.in-portal.com
http://www.alex-time.com
3313-9d9f-704c39b1f915
keyINP-546