Javascript Header Contribution via Ajax

2009-07-13 Thread Joel Hill
I have a custom behavior that contributes Javascript to the header. In order to prevent collisions with other components that may also be using that behavior, I include it using TextTemplateHeaderContributor. Like so: public class CustomBehavior extends AbstractBehavior { private Component

Re: Disabling RadioGroup via authorization strategy does not disable contained Radio buttons

2008-09-22 Thread Joel Hill
create a jira issue for this -igor On Fri, Sep 19, 2008 at 7:11 AM, Joel Hill <[EMAIL PROTECTED]> wrote: > I'm doing some component-based authorization and I'm trying to disable an > entire RadioGroup without having to tie the authorization to each individual > R

Disabling RadioGroup via authorization strategy does not disable contained Radio buttons

2008-09-19 Thread Joel Hill
I'm doing some component-based authorization and I'm trying to disable an entire RadioGroup without having to tie the authorization to each individual Radio button. Were I to directly disable the RadioGroup, it looks like the Radio buttons would also disable (but I haven't tested this); but it

Double submit problem

2008-03-10 Thread Joel Hill
I'm trying to prevent the double submit problem, where the user clicks the submit button more than once causing a double post. I tried implementing the soluion suggested here: http://www.nabble.com/Re%3A-double-form-submission-handling---p13850262.html The problem is if there's a validation err

Dynamically adding component and associated markup

2008-03-03 Thread Joel Hill
I'm trying to implement a popup (via floating DIV) that triggers on an onmouseover event. Sort of like a tooltip, but with more content. I wanted to implement this as a behavior so the component with the mouse event (and the associated markup file) didn't need to have any special knowledge of

Ajax error with AjaxFormSubmitBehavior

2007-09-27 Thread Joel Hill
I'm trying to use AjaxFormSubmitBehavior, and in the ajax debug I'm getting: ERROR: Received Ajax response with code: 404 Anyone know what this means? Nothing in the logs indicates a problem, but maybe I'm not using AjaxFormSubmitBehavior properly. I'm trying to wicketify a javascript-based cal

RequestDispather.forward()

2007-08-10 Thread Joel Hill
Would the fact that wicket now uses a filter instead of a servlet have an effect on trying to forward a request. I'm trying to forward a request from the jsp/servlet portion of our app to a bookmarkable wicket page using RequestDispatcher.forward(), but no matter what sort of path I send it, I get

Re: wicket-event.js returning unreadable

2007-08-07 Thread Joel Hill
> This way you end up not using compression at all? I would be interested in a > solution which would help me to use the compression without any problems. Now I'm just using wicket's default compression (which I didn't know existed before this problem arose). > Maybe someone from the wicket cor

Re: wicket-event.js returning unreadable

2007-07-27 Thread Joel Hill
filter doesn't check if the content is already compressed. But it should, because we set the correct headers. -Matej On 7/27/07, Joel Hill <[EMAIL PROTECTED]> wrote: > I'm using IHeaderContributor to include dynamic Javascript; however, > wicket-event.js is returning to th

wicket-event.js returning unreadable

2007-07-27 Thread Joel Hill
I'm using IHeaderContributor to include dynamic Javascript; however, wicket-event.js is returning to the browser as unreadable garbage. I think it MAY have something to do with compression. Our app uses a home-grown compression filter, and I also read today that wicket uses default compression to