See the Wicket FeedResource in wicketstuff for an example.  I'm not
saying it's "perfect", but I *do* think it's a step in the right
direction.
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-rome/src/main/java/org/wicketstuff/rome/FeedResource.java


On Nov 30, 2007 2:35 AM, Johan Compagner <[EMAIL PROTECTED]> wrote:
> I dont think there is any thing magical at the headerresponse if you
> ask me. Do remeber that when doing header responses you have to
> override that method on component anyway and then you are getting that
> headerresponse param.
>
> But maybe i dont see the complete picture here what you are
> describing. So how does XxxxResource.headerContribution() method look
> like? What params does it get? How does it get the right response
> object? (it has to be an implementation of (Ajax)HeaderResponse)
>
> Johan
>
>
> On 11/29/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
> > I don't quite understand this...
> > "Instead of having to know a ton of classes, you just have to know this
> > one."
> >
> > I really struggled with wicket originally when trying to do these
> > header contributions.  I was using the IDE and searching for
> > "Javascript*" or "CSS*" and nothing relevant came up.  Instead, I had
> > to dig through tutorials to find out how to do this.  IMO, it would be
> > much more straightforward for users to use a static method on the
> > related class instead of knowing about the "magical" HeaderContributor
> > object...
> >
> > Just my two cents...
> >
>
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to