User generated events?

Martijn

On Sunday, 19 June 2016, Martin Grigorov <[email protected]> wrote:

> Hi,
>
> Is it better to use "callback" methods instead of "hook" ?
> At least to me "hook methods" was not very clear so I've added "e.g.
> onSubmit(), onClick()" as examples.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Sun, Jun 19, 2016 at 9:51 AM, Sven Meier (Confluence) <
> [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>
>>
>> <https://cwiki.apache.org/confluence/display/~svenmeier?src=mail&src.mail.timestamp=1466322669052&src.mail.notification=com.atlassian.confluence.plugins.confluence-content-notifications-plugin%3Apage-edited-notification&src.mail.recipient=8aa980874e36a1eb014e36a2878102e1>
>>  Sven
>> Meier *edited* a page
>>
>> *Change comment:* WICKET-6184
>> [image: page icon]
>> <https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+8.0?src=mail&src.mail.timestamp=1466322669052&src.mail.notification=com.atlassian.confluence.plugins.confluence-content-notifications-plugin%3Apage-edited-notification&src.mail.recipient=8aa980874e36a1eb014e36a2878102e1&src.mail.action=view>
>>  Migration
>> to Wicket 8.0
>> <https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+8.0?src=mail&src.mail.timestamp=1466322669052&src.mail.notification=com.atlassian.confluence.plugins.confluence-content-notifications-plugin%3Apage-edited-notification&src.mail.recipient=8aa980874e36a1eb014e36a2878102e1&src.mail.action=view>
>>
>> ...
>>
>> Replace it with standard Java 8 java.util.function.Supplier<T> which is
>> virtually identical.
>> Deprecate org.apache.wicket.util.IContextProvider
>> JIRA
>> server ASF JIRA
>> serverId 5aa69414-a9e9-3523-82ec-879b028fb15b
>> key WICKET-6118
>>
>> Replace IContextProvider<T, C> with standard Java 8
>> java.util.function.Function<C, T> which is virtually identical.
>>
>> As a consequence IPageManagerProvider, IPageRendererProvider and 
>> IRequestCycleProvider
>> now override #apply() method instead of #get().
>> Deprecate 
>> org.apache.wicket.protocol.http.documentvalidation.HtmlDocumentValidator
>>
>> JIRA
>> server ASF JIRA
>> serverId 5aa69414-a9e9-3523-82ec-879b028fb15b
>> key WICKET-6119
>>
>> Tests based on HtmlDocumentValidator are very fragile. They start to fail
>> as soon as there is a single character change somewhere in the page markup.
>>
>> We believe that there are very few users of this API. It is recommended
>> to use TagTester and WicketTestCase#executeTest() instead.
>> IGenericComponent's setter methods now return the current instance for
>> method chaining
>>
>> All specialization classes return their type.
>> AjaxButton, AjaxLink and AjaxFallbackButton hook methods no longer get
>> form as second argument   (WICKET-6184)
>>
>>
>> All hook methods of AjaxButton, AjaxLink and AjaxFallbackButton must now
>> get the form via #getForm().
>> AjaxFallback** components now use java.util.Optional
>> JIRA
>> server ASF JIRA
>> serverId 5aa69414-a9e9-3523-82ec-879b028fb15b
>> key WICKET-6104
>>
>> All AjaxFallback** components and the containers which use internally
>> AjaxFallback** components, like AjaxTabbedPanel, RatingPanel and
>> TableTree, have been reworked to pass Optional<AjaxRequestTarget>
>> instead of just AjaxRequestTarget to their onXyz() callback methods. This
>> way the application developer should not forget to check that the
>> AjaxRequestTarget is not null.
>> AbstractChoice#getChoices() is 'final' now
>> JIRA
>> server ASF JIRA
>> columns
>> key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
>> serverId 5aa69414-a9e9-3523-82ec-879b028fb15b
>> key WICKET-6132
>>
>> AbstractChoice#getChoices() has been made final. If the application needs
>> to provide different choices for each render then it should override
>> AbstractChoice#getChoicesModel() instead. The application code would be
>> almost the same as before, it will just need to wrap the final List result
>> in an IModel, most probably ListModel.
>> ListenerInterfaceRequestHandler simplification
>> JIRA
>> server ASF JIRA
>> columns
>> key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
>> serverId 5aa69414-a9e9-3523-82ec-879b028fb15b
>> key WICKET-6137
>>
>> RequestListenerInterface was removed: IResourceListener,
>> IBehaviorListener, IOnChangeListener, ILinkListener are replaced by the
>> generic method IRequestListener#onRequest().
>>
>> A Component or Behavior can now implement IRequestListener once only,
>> thus removing the need to include an identifier (e.g. "ILinkListener") in
>> the URL.
>> Behavior changes FormComponentPanel delegates the call to #clearInput to
>> its FormComponent children
>> JIRA
>> server ASF JIRA
>> serverId 5aa69414-a9e9-3523-82ec-879b028fb15b
>> key WICKET-6114
>>
>> FormComponent#clearInput() has been made non-final, so that now
>> containers like FormComponentPanel could override this method and call
>> #clearInput() on its children of type FormComponent.
>> Removals
>>
>> ...
>> [image: View page Icon]
>> <https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+8.0?src=mail&src.mail.timestamp=1466322669052&src.mail.notification=com.atlassian.confluence.plugins.confluence-content-notifications-plugin%3Apage-edited-notification&src.mail.recipient=8aa980874e36a1eb014e36a2878102e1&src.mail.action=view>
>>  View
>> page
>> <https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+8.0?src=mail&src.mail.timestamp=1466322669052&src.mail.notification=com.atlassian.confluence.plugins.confluence-content-notifications-plugin%3Apage-edited-notification&src.mail.recipient=8aa980874e36a1eb014e36a2878102e1&src.mail.action=view>
>> •
>> [image: Add comment Icon]
>> <https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+8.0?showComments=true&showCommentArea=true&src=mail&src.mail.timestamp=1466322669052&src.mail.notification=com.atlassian.confluence.plugins.confluence-content-notifications-plugin%3Apage-edited-notification&src.mail.recipient=8aa980874e36a1eb014e36a2878102e1&src.mail.action=comment#addcomment>
>>  Add
>> comment
>> <https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+8.0?showComments=true&showCommentArea=true&src=mail&src.mail.timestamp=1466322669052&src.mail.notification=com.atlassian.confluence.plugins.confluence-content-notifications-plugin%3Apage-edited-notification&src.mail.recipient=8aa980874e36a1eb014e36a2878102e1&src.mail.action=comment#addcomment>
>> •
>> [image: Like Icon]
>> <https://cwiki.apache.org/confluence/plugins/likes/like.action?contentId=61322003&src=mail&src.mail.timestamp=1466322669052&src.mail.notification=com.atlassian.confluence.plugins.confluence-content-notifications-plugin%3Apage-edited-notification&src.mail.recipient=8aa980874e36a1eb014e36a2878102e1&src.mail.action=like>
>> Like
>> <https://cwiki.apache.org/confluence/plugins/likes/like.action?contentId=61322003&src=mail&src.mail.timestamp=1466322669052&src.mail.notification=com.atlassian.confluence.plugins.confluence-content-notifications-plugin%3Apage-edited-notification&src.mail.recipient=8aa980874e36a1eb014e36a2878102e1&src.mail.action=like>
>>
>> Stop watching page
>> <https://cwiki.apache.org/confluence/users/removepagenotification.action?pageId=61322003&src=mail&src.mail.timestamp=1466322669052&src.mail.notification=com.atlassian.confluence.plugins.confluence-content-notifications-plugin%3Apage-edited-notification&src.mail.recipient=8aa980874e36a1eb014e36a2878102e1&src.mail.action=stop-watching>
>> •
>> Manage notifications
>> <https://cwiki.apache.org/confluence/users/editmyemailsettings.action?src=mail&src.mail.timestamp=1466322669052&src.mail.notification=com.atlassian.confluence.plugins.confluence-content-notifications-plugin%3Apage-edited-notification&src.mail.recipient=8aa980874e36a1eb014e36a2878102e1&src.mail.action=manage>
>> [image: Confluence logo big]
>> This message was sent by Atlassian Confluence 5.8.4
>>
>
>

-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

Reply via email to