You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2014/06/06 13:06:02 UTC

[jira] [Commented] (WICKET-5611) Add AjaxChannel.DEFAULT constant = "0"

    [ https://issues.apache.org/jira/browse/WICKET-5611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14019758#comment-14019758 ] 

Sven Meier commented on WICKET-5611:
------------------------------------

Question is: for what do you need the constant? You can leave AjaxRequestAttributes#channel null if you want to target the default channel.

If we add a constant, shouldn't it be Channel("0", Type.QUEUE) instead of just the channel name "0"?
Since the default channel should (has to be?) always be a queueing one.

> Add AjaxChannel.DEFAULT constant = "0"
> --------------------------------------
>
>                 Key: WICKET-5611
>                 URL: https://issues.apache.org/jira/browse/WICKET-5611
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 6.15.0
>            Reporter: Hendy Irawan
>            Priority: Trivial
>
>  Can I request AjaxChannel.DEFAULT public static constant with a value of "0" ? I don't feel comfortable typing "0" there, I much prefer a constant. 
> http://apache-wicket.1842946.n4.nabble.com/ListenerInvocationNotAllowedException-and-EmptyRequestHandler-tp4663618p4666126.html



--
This message was sent by Atlassian JIRA
(v6.2#6252)