Project

General

Profile

Actions

Feature #16104

closed

TS: Enable dynamic setting of stdWrap.field value

Added by Thorsten Kahler over 18 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-04-28
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Via TS it's not possible to dynamically select the field that you want to retrieve data from. The only ways are via
stdWrap.field = <fieldName>
and
[stdWrap].data = field : <fieldName>

Both syntaxes only offer a static configuration of the field_name. Having stdWrap options for stdWrap.field would do.

Useful example:

temp.myObject = TEXT
temp.myObject {
value = field_1|field_2|field_3|field_4
split {
token = |
cObjNum = 1
1 = TEXT
1 {
prepend = TEXT
prepend.current = 1
prepend.noTrimWrap = |Field "|" contains: |
field.current = 1
}
}
}
(issue imported from #M3375)

Actions #1

Updated by Karsten Dambekalns over 18 years ago

Is this set to "private" on purpose?

Actions #2

Updated by Thorsten Kahler over 18 years ago

I was just waiting for an answer from the list. But there seems to be no alternative, so I open it now.

Actions #3

Updated by Jo Hasenau over 13 years ago

  • Target version deleted (0)

Has been implemented with 4.5.0 when each of the "official" stdWrap properties has ben made stdWrap aware.

Now you can even do stuff like

stdWrap.field.cObject = CASE
stdWrap.field.cObject {
key.field = layout
default = TEXT
default.value = myDefaultField
1 = TEXT
1.value = anotherField
}

Actions #4

Updated by Thorsten Kahler over 13 years ago

  • Category deleted (Communication)
  • Status changed from New to Closed
  • % Done changed from 0 to 100
  • PHP Version deleted (4)

Thanks for the reminder!

Actions

Also available in: Atom PDF