Though I understand that it might be handy sometimes, it make the wicket code fairly ugly.
if (exception) ... else ... That might be ok for user code, but I don't like it in the framework. But more importantely I think it is much easier now: 1:1; no exceptions to learn/remember/document and no discussions why Link are allowed but XYZ is not. IMO it doesn't cost you much to create multiple components and it doesn't cost you much memory either. Not to forget, we enforced it because users complained about hard to find errors in they code because they accidently re-used components Juergen On 2/7/06, David Leangen <[EMAIL PROTECTED]> wrote: > > Sure, that's not a problem. Just thinking out loud, though... > > Generally, I understand that it is important to define each component > distinctly. However, don't you think that the case for links is a bit > different? > > It seems to me that in a typical web page, there is a good change of > having more than one instance of a link. > > What do you think about making an exception to the 1:1 relationship for > the case of links? > > > Just wondering... > > > > On Tue, 2006-02-07 at 09:25 +0100, Juergen Donnerstag wrote: > > This is true. There must be a 1:1 relationsship between markup and > > component. Simply define multiple ids like topPageLink1, topPageLink2 > > etc and corresponding components. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
