[ 
https://issues.apache.org/jira/browse/WICKET-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alastair Maw updated WICKET-236:
--------------------------------

    Attachment: WICKET-236-a.patch

I've patched this to piggyback on to 
WebRequestCodingStrategy.encode(RequestCycle, IListenerInterfaceRequestTarget), 
as that's where I think it should live - these are all just interface targets.

I've modified the INTERFACE_PARAMETER_NAME to take another ":"-delimited 
parameter on the end.

I'm not entirely happy with it, though. I don't like:
 - How AbstractAjaxBehaviour.getCallbackUrl() handles onlyTargetActivePath == 
true.
 - How RequestCycle.urlFor sticks the behaviourId into a RequestParameters for 
the encode() function to dig out later.

This is a good base, though.

> need to externalize ability to create urls targetted for behaviors into 
> requestcycle from abstractajaxbehavior
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-236
>                 URL: https://issues.apache.org/jira/browse/WICKET-236
>             Project: Wicket
>          Issue Type: Improvement
>    Affects Versions: 1.3, 2.0
>            Reporter: Igor Vaynberg
>         Assigned To: Alastair Maw
>             Fix For: 1.3, 2.0
>
>         Attachments: WICKET-236-a.patch
>
>
> right now the url for behavior creation is only defined in 
> abstractajaxbehavior, we need a method on request cycle that looks like this:
> requestcycle.urlfor(component,behavior,interface)
> and on component like this:
> component.urlfor(behavior, interface)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to