I had written the following in WebDSL (summarised):

row {
	output( "Blaet:" ) <span onmouseover="javascript:somehack();">input(f.hasDetailRight)[id := detailCheck]</span>
}

The result of this was:

<span onmouseover="javascript:somehack();">
	<td>
		<input lotsOfProperties="blaet" />
	</td>
</span>

This is obviously incorrect HTML (indeed, the span is just removed from the XML tree) and not as intended either. The intention is of course to have:

<td>
	<span onmouseover="javascript:somehack();">
		<input lotsOfProperties="blaet" />
	</span>
</td>

As to this hack, see also issue 125.

Submitted by Thomas Schaap on 31 March 2010 at 14:42

On 31 March 2010 at 15:01 Danny Groenewegen commented:

Currently, rows and columns are automatically added in table elements, but we are going to remove this in a future version of WebDSL.

Workaround is to use the table tags directly, see also https://yellowgrass.org/issue/WebDSL/122

Log in to post comments