On Fri, Jun 17, 2011 at 3:28 PM, Martijn Dashorst <[email protected]> wrote: > Upgrading from 1.5-RC4.2 to RC5 gives the following API changes... > > - DummyRequestLogger -> RequestLogger > - PersistentPageManager -> PageStoreManager > - Application#getPageManager() -> Session#getPageManager() > > - FileUploadField#FileUploadField(String, IModel<FileUpload>) -> > FileUploadField(String, ListModel<FileUpload>) > > The last one seems unnecessary: we already have a > MultiFileUploadField, why not use that one instead? If someone uses a > singular FileUpload together with multiple, just throw an exception > and tell them to use MultiFileUpload instead.
Because MultiFileUploadField has totally different implementation than FileUploadField. HTML5 added 'multiple' to <input type="file">. The support for it in FUF was straight forward. So I just added it. Now FUF has #getFileUploads() and the backward compatible #getFileUpload() which justs does #getFileUploads()(0) in null-safe manner. There were two tickets about this. They are in the changelog. > > Martijn > > On Fri, Jun 17, 2011 at 10:08 AM, Martin Grigorov <[email protected]> > wrote: >> +1 to release >> >> tested fully wicket-examples before the build >> tested random apps in wicket-examples with RC5 >> tested Maven build with RC5 >> tested my app against RC5 >> >> No issues found. >> >> On Fri, Jun 17, 2011 at 4:01 AM, Igor Vaynberg <[email protected]> >> wrote: >>> Erm ends june 19th >>> On Jun 16, 2011 4:34 PM, "Igor Vaynberg" <[email protected]> wrote: >>>> This vote is to release wicket 1.5-RC5 >>>> >>>> Branch: http://svn.apache.org/repos/asf/wicket/branches/wicket-1.5-RC5/ >>>> Artifacts: http://people.apache.org/~ivaynberg/wicket-1.5-RC5/dist/ >>>> Maven repo: >>>> https://repository.apache.org/content/repositories/orgapachewicket-022/ >>>> Changelog: >>>> >>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310561&version=12316423 >>>> >>>> This vote ends Thursday, March 19st at 5:00pm (GMT-8) >>>> >>>> Please test the release and offer your vote. >>>> >>>> The Wicket team! >>> >> >> >> >> -- >> Martin Grigorov >> jWeekend >> Training, Consulting, Development >> http://jWeekend.com >> > > > > -- > Become a Wicket expert, learn from the best: http://wicketinaction.com > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com
