org.wicketstuff.facebook.behaviors
Class CommentCreateEventBehavior
java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
org.wicketstuff.facebook.behaviors.AbstractSubscribeBehavior
org.wicketstuff.facebook.behaviors.CommentCreateEventBehavior
- All Implemented Interfaces:
- Serializable, IBehaviorListener, IComponentAwareEventSink, IRequestListener, IComponentAwareHeaderContributor, IClusterable
public abstract class CommentCreateEventBehavior
- extends AbstractSubscribeBehavior
fired when the user adds a comment (fb:comments)
- Author:
- Till Freier
- See Also:
- Serialized Form
| Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior |
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, getChannel, getFailureScript, getPreconditionScript, getSuccessScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, updateAjaxAttributes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommentCreateEventBehavior
protected CommentCreateEventBehavior()
onCommentCreate
protected abstract void onCommentCreate(AjaxRequestTarget target,
String href,
String commentId)
- Parameters:
target - href - Open Graph URL of the Comment PlugincommentId - The commentID of the new comment
onEvent
protected void onEvent(AjaxRequestTarget target,
IRequestParameters parameters,
String response)
- Specified by:
onEvent in class AbstractSubscribeBehavior
Copyright © 2014. All rights reserved.