You can also add it to your base page and include it in any page you want, or include it in your base page layout - now it's automatically on every page. In other words, everyone may want to do something a different way, so there's no reason the framework should do it automatically your way - but it should make it easy for you to do it yourself - which it does.
On Wed, Nov 26, 2008 at 2:51 PM, Ricardo Mayerhofer < [EMAIL PROTECTED]> wrote: > > Hi Martijin, > First of all thank you for your response. > I guess automation != magic. Automation means that computers or frameworks > helps humans accomplishing repetitive tasks, so developers can better focus > on the problem being solved, rather than having to copy and paste same code > over and over (boilerplate). > If one add a markup named feedbackPanel, what is he intent, to make a combo > box? Or he have to tell it again, in a different way? IMO it's better to > tell one time what I'm willing to do rather than 2, 3, 5... > > > Martijn Dashorst wrote: > > > > -1000,000,000,000 > > > > First please don't assume someone understands your acronym du jour. I > > had to think really hard to understand that CoC means convention over > > configuration instead of the Dutch meaning "gay rights group". > > > > Second this is not a task for wicket. You can think up any CoCamania > > you want in your own addon framework and publish it on 'stuff or > > google code, but I won't be using it ever nor including it in core. > > > > The biggest plus point of wicket is that it doesn't perform magic. I > > don't need nor want to have to wave a dead chicken in front of my > > monitor and spend the bigger part of the day wondering which > > incantation I did wrong. > > > > Martijn > > On 11/26/08, Ricardo Mayerhofer <[EMAIL PROTECTED]> wrote: > >> > >> I started to use wicket some time ago, and I'm really enjoying it. Best > >> framework ever. > >> But I've some suggestions. > >> I think wicket could be better if it had less boiler plate code. This > >> could > >> be reduced by using CoC. > >> Take the FeedBackPanel for example, you always have to add the component > >> on > >> the web page, even if no special handling is requires (which is almost > >> the > >> case). > >> Wicket could have some reserved ids, so if I add a markup with id > >> feedbackPanel, a feedbackpanel component is automatically added to that > >> page. > >> Another example is SubmitLink component. No special handling required, > >> but > >> for wicket sake the developer must add it on the java the page. > >> -- > >> View this message in context: > >> http://www.nabble.com/Wicket-and-CoC-tp20706881p20706881.html > >> Sent from the Wicket - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > -- > > Become a Wicket expert, learn from the best: http://wicketinaction.com > > Apache Wicket 1.3.4 is released > > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/Wicket-and-CoC-tp20706881p20708778.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jeremy Thomerson http://www.wickettraining.com