1) true 2) by using a model you can make the value dynamic, i.e. model.getObject() can return different values depending on some conditions. For example the class may be "even" for the even rows and "odd" for the odd rows. Read https://cwiki.apache.org/confluence/display/WICKET/Working+with+Wicket+models
Martin Grigorov Wicket Training and Consulting On Thu, Apr 17, 2014 at 1:02 PM, 003210 <sunya...@raisecom.com> wrote: > Hi, > For one example question: > In org.apache.wicket.examples.compref.TabbedPanelPage on line 95, > the sentence goes like > "tabbedPanel.add(AttributeModifier.replace("class", > TabbedPanelPage.this.getDefaultModel())); > ". > I have tow questions: > 1、Dose the 'class' keyword in the markup stand for CSS Class? > 2、If the answer to question one is 'true', then why put an IModel to CSS > Class? this move stands for what? > > > > ------------------------------ > 软件七部 孙雅斌 > 分机:58963399-5244 > > *From:* Martin Grigorov <mgrigo...@apache.org> > *Date:* 2014-04-17 15:45 > *To:* 孙雅斌 <sunya...@raisecom.com> > *CC:* users <users@wicket.apache.org> > *Subject:* Re: Do wicket have one-whole doc includes all docs that allow > download in one time? > Hi, > > No. There is no such doc. > If you use IDE like Intellij IDEA, Netbeans, Eclipse and if you use > Maven-like build tool then you can tell them to download the javadoc > automatically. > > Martin Grigorov > Wicket Training and Consulting > > > On Thu, Apr 17, 2014 at 10:41 AM, 003210 <sunya...@raisecom.com> wrote: > >> Hi, >> This url (http://central.maven.org/maven2/org/apache/wicket/) provides >> separated docs , >> Do wicket have one-whole doc includes all docs that allow download in one >> time? >> >> >> ------------------------------ >> 软件七部 孙雅斌 >> 分机:58963399-5244 >> >> *From:* Martin Grigorov <mgrigo...@apache.org> >> *Date:* 2014-04-17 15:15 >> *To:* 孙雅斌 <sunya...@raisecom.com> >> *CC:* users <users@wicket.apache.org> >> *Subject:* Re: I do eagerly hope could have API locally. Do Wicket >> provide API download url? >> Hi, >> >> You can download all -javadoc.jar files from Maven repos - >> http://central.maven.org/maven2/org/apache/wicket/ >> >> Martin Grigorov >> Wicket Training and Consulting >> >> >> On Thu, Apr 17, 2014 at 6:27 AM, 003210 <sunya...@raisecom.com> wrote: >> >>> hi,Martin Grigorov, >>> Do Wicket provide API download url, >>> Since my network is not stable, I do eagerly hope could have API locally. >>> >>> ------------------------------ >>> sunnybean >>> 58963399-5244 >>> >> >> >