That was the issue exactly -- we want to have several applications all branded exactly the same, but my group is only writing this one application (using wicket)....

On 11/21/05, Andrew Lombardi <[EMAIL PROTECTED]> wrote:
I do believe, that Sitemesh is really not required when using
Wicket... since you can inherit page markup via Border, Panel's, and
the <wicket:head></wicket:head> <wicket:extend><wicket:child /></
wicket:extend>.

Doesn't negate that Sitemesh isn't working correctly with your
environment though, but when using wicket, unless you have another
framework or pages not controlled by wicket, it probably is moot.


On Nov 21, 2005, at 8:05 AM, John Evans wrote:

> I have never used Sitemesh or Wicket on a real project, although
> I've played with both and they both seem to work exactly as
> advertised -- now I'm trying to use them both together on a real
> project for the first time and I'm having a problem.  The problem
> only happens when I'm accessing a wicket-generated page that has a
> sitemesh decorator applied to it -- everything works fine if I turn
> off sitemesh or if I access a non-wicket-generated page through
> sitemesh.  The problem is that fairly often when I access a wicket-
> generated page through sitemesh the output appears as if the wicket-
> generated page was truncated -- for example if my wicket generated
> page were this:
>
> <body>
> 1
> 2
> 3
> 4
> 5
> </body>
>
> And my decorator was:
>
> <body>
> <decorator:body/>
> </body>
>
> Then the output would be something like this:
>
> <body>
> 1
> 2
> 3
> </body>
>
> The sitemesh template always shows up in it's entirety, but the
> wicket page is cut short.  If I do a refresh this will almost
> always fix it -- I also haven't been able to re-create the problem
> with one of wicket's bookmarkable pages, so it makes debugging the
> problem difficult.
>
> My guess is that maybe there is a problem with wicket returning the
> wrong content-length or something -- but it appears to generate the
> appropriate values when I run it outside of sitemesh.
>
> I'm going to try to get my environment set up in a debugger so that
> I can debug the entire application with source for wicket and
> sitemesh attached and see if I can track down the problem, but I
> thought I would post here (and to the sitemesh forums) first and
> see if anyone had encountered the same or similar problem and
> already solved it -- or if anyone has any suggestions for where to
> start.
>
> Thanks,
> -
> John



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to