Class AjaxButton
A form button which, when clicked will submit the form by ajax
One of the calback methods (onSubmit or onError) will be invoked to allow for
a response to be created in either of the posible circumstances
-
picon\Component
implements
picon\InjectOnWakeup,
picon\Identifiable,
picon\Detachable
-
picon\MarkupContainer
-
picon\LabeledMarkupContainer
-
picon\FormComponent
-
picon\Button
implements
picon\FormSubmitListener,
picon\FormSubmitter
-
picon\AjaxButton
implements
picon\CallDecoratorWrapper
Methods summary
public
|
#
__construct( type $id, type $onSubmit = null, type $onError = null, picon\Form $form = null )
Parameters
- $id
type
- $onSubmit
type
- $onError
type
- $form
picon\Form
Overrides
|
protected
|
#
onComponentTag( picon\ComponentTag $tag )
This is called imediatly before the tag is written to the output This method
allows direct manipulation of the object representing the actual markup element
that is to be rendered.
This is called imediatly before the tag is written to the output This method
allows direct manipulation of the object representing the actual markup element
that is to be rendered.
When overriding this method you must remember to call the super.
Parameters
Overrides
|
public
picon\Form
|
#
getForm( )
Find the form in which this component is located
Find the form in which this component is located
Returns
picon\Form
The form to which this component belongs
Overrides
|
public
|
|
Methods inherited from picon\FormComponent
add(),
addValidator(),
beforeComponentRender(),
getConvertedInput(),
getLabel(),
getName(),
getRawInput(),
getRawInputArray(),
getValue(),
inputChanged(),
invalid(),
isEmptyInput(),
isMultiPart(),
isRequired(),
isValid(),
processInput(),
setConvertedInput(),
setDisabled(),
setRequired(),
valid(),
validate(),
validateRequired()
|
Methods inherited from picon\MarkupContainer
addComponent(),
addOrReplace(),
afterPageRender(),
beforePageRender(),
childExists(),
detach(),
get(),
getChildren(),
getMarkupForChild(),
hasChildren(),
internalInitialize(),
loadAssociatedMarkup(),
onComponentAdded(),
onComponentTagBody(),
onRender(),
remove(),
visitChildren()
|
Methods inherited from picon\Component
addBehaviour(),
afterComponentRender(),
checkComponentTag(),
checkComponentTagAttribute(),
error(),
fatel(),
fireInitialize(),
generateUrlFor(),
getApplication(),
getBehaviourById(),
getBehaviours(),
getComponentKey(),
getComponentPath(),
getId(),
getIdentifier(),
getLocalizer(),
getMarkUpSource(),
getMarkup(),
getMarkupId(),
getModel(),
getModelObject(),
getModelObjectAsString(),
getPage(),
getParent(),
getRequest(),
getRequestCycle(),
getResponse(),
hasErrorMessage(),
hasMessage(),
info(),
internalRenderComponent(),
isAuto(),
isBeforePageRender(),
isInitialized(),
isRendered(),
newMarkupSource(),
onInitialize(),
render(),
renderAll(),
renderElement(),
renderHead(),
renderHeadContainer(),
setAfterComponentRenderCallback(),
setAfterPageRenderCallback(),
setBeforeComponentRenderCallback(),
setBeforePageRenderCallback(),
setMarkup(),
setMarkupId(),
setModel(),
setModelObject(),
setOnComponentTagBodyCallback(),
setOnComponentTagCallback(),
setOutputMarkupId(),
setPage(),
setParent(),
setRenderBodyOnly(),
setRenderHeadCallback(),
setVisible(),
success(),
urlForListener(),
urlForPage(),
urlForPageInstance(),
visitParents(),
warning()
|