Re: FW: using template directives with anchor tags
"Diez B. Roggisch" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, > block-level element. Hmmm..... It would be hard to come up with general > rules that people wouldn't find annoying in one case or another. probably > better to just use BLink components on tags that actually handle it (of > course, that requires some extra knowledge of the markup on the part of the > Java coder). The java-coder wanted to return a link here - the html-designer didn't give him one :) At least for the actual case I think barracuda behaves well - when designing templates, one should try to come up with a html-mockup that sort of fakes the desired behaviour (form-actions pointing to result-pages and the like). Now doing this here would mean to provide an actual <a>-tag when you want one to appear in your html at that place. Having too much intelligence in the rendering will increase the need for configuration on the java-side - which is something that happened to us using struts and taglibs. We could create whole parts of a site with only one tag - with half a dozen cryptic attributes. and taking the current moon phase into account... Diez