From: David <da...@df...> - 2004-02-27 11:15:26
|
On Fri, 27 Feb 2004 10:32:15 +0100 Katana <ka...@ka...> wrote: > Unfortunately, one of my goals with formsess is to stay as close as > possible from standard HTML code, so I really want to keep a syntax > similar to <option>...</option> I think you've got me wrong, I don't want to change anything about the fs:option tag. What I suggest is, transforming the two-part tags interally, at the beginning of FormsessFilter to one-part tag, so they can be processed as all other tags are. > I don't think that complexity in the Filter is really a problem since > it is only supposed to be called once when the template is compiled > and never again. It's a problem in that way, that adding more two-part tags is really difficult. Just take the fs:textarea tag. It really should behave like the HTML-textarea-tag (you're talking about sticking close to HTML yourself). Changing that takes just a seccond using my suggestion. - david |