Input Select displaying problem


reported 17.1.2007

Control doubled

in certain conditions it is necessary to customize input select control.
It works only when (:if condition:) is used only once and only as the first select option.
Otherwise the control display is parsed if source sequence for the same control name is interrupted.

Example A
Option "insertedA4" works while option "insertedA5" displays a new control.


[[#a1]]
(:input select name="A" 4 insertedA4:)
[[#a1e]]



[[#a2]]
(:input select name="A" 5 insertedA5:)
[[#a2e]]

view source


Controls mixed

Example B

Following 3 options are in 1 box though
the 3rd option should belong to an other control as it has an other name
(can be solved with a blank line between 2 and 3)

view source

 0: 00.00 00.00 config start
 1: 00.01 00.01 config end
 2: 00.11 00.11 MarkupToHTML begin
 3: 00.13 00.12 MarkupToHTML end
 4: 00.14 00.13 MarkupToHTML begin
 5: 00.14 00.13 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 6: 00.15 00.14 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 7: 00.15 00.14 MarkupToHTML end
 8: 00.15 00.14 MarkupToHTML begin
 9: 00.15 00.14 MarkupToHTML end
10: 00.16 00.15 now
Peak memory: 3,398,984 bytes