Item8618: No support for newline

pencil
Priority: Enhancement
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: DBCachePlugin
Branches:
Reported By: CrawfordCurrie
Waiting For:
Last Change By: KennethLavrsen
VarSEARCH has a newline param which is very useful for formatting TML tables.

DBQUERY needs this.

-- CrawfordCurrie - 25 Feb 2010

Hi,

I was having the save problem, and i solved it using the $flatten(...) function in the DBQUERY format.

My problems was in a textarea formfield that has the line brake. the DBQUERY look like this:
%DBQUERY{
"form.name =~ 'FormularioDeEvento'" 
....
....
  format="{id: \"$topic\", description: \"$flatten($formfield(Descripcion))\"....

-- JuanPabloGaviria - 13 May 2010

Good idea.

-- CrawfordCurrie - 11 Sep 2010

DBQUERY won't follow every nasty param that SEARCH has got just to work around limitations of TML tables. Using $flatten() seems to fit your needs so no action required.

-- MichaelDaum - 09 Nov 2010
 

ItemTemplate edit

Summary No support for newline
ReportedBy CrawfordCurrie
Codebase
SVN Range
AppliesTo Extension
Component DBCachePlugin
Priority Enhancement
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r5 - 09 Nov 2010, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy