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.21 00.21 MarkupToHTML begin
 3: 00.24 00.23 MarkupToHTML end
 4: 00.24 00.24 MarkupToHTML begin
 5: 00.25 00.24 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 6: 00.25 00.25 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 7: 00.26 00.25 MarkupToHTML end
 8: 00.26 00.25 MarkupToHTML begin
 9: 00.26 00.26 MarkupToHTML end
10: 00.26 00.26 now
Peak memory: 3,745,008 bytes