You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Josh Long <st...@gmail.com> on 2006/11/02 21:52:47 UTC

Re: PageRenderSupport problem (Body component is in template)

No kidding? Huh! I was just wondering about that.. How convenient! You need
a red cape, Jesse.. Something to better iconify your contributions :-)

Thanks in advance,
Josh

On 10/17/06, Jesse Kuhnert <jk...@gmail.com> wrote:
>
> So what does it do after loading up? I'm assuming it's not just a simple
> dojo.widget.byId("yourDlgId").show() ?
>
> I created the same component in 4.1.1 yesterday btw. (Took me all of ten
> minutes!, of course that is expected..)
>
> On 10/17/06, Peter Beshai <pb...@hotmail.com> wrote:
> >
> > Hi,
> >
> > I have created a wrapper for the dojo component Dialog and it works fine
> > (in
> > general!), but I have a problem when I use it with my form. I want to
> have
> > the dialog appear when I submit the form (ie, the form submit button is
> > the
> > show controller) and the dialog will basically have a cancel button
> (close
> > controller and Submit component with type cancel).
> >
> > The dialog loads fine, but soon after loading it throws an exception:
> > Component FileUpload/uploadingDialog requires rendering support, but no
> > PageRenderSupport object has been stored into the request cycle. This
> > object
> > is typically provided by a Body component. You should add a Body
> component
> > to your template.
> >
> > I do have a body component defined : <body jwcid="body@Body">.
> >
> > Any ideas how to fix this problem?
> >
> > FYI in my Dialog.java file I have in the renderComponent function:
> > PageRenderSupport pageRenderSupport =
> > TapestryUtils.getPageRenderSupport(cycle, this);
> > getScript().execute(this, cycle, pageRenderSupport, scriptParms);
> >
> >
> > Peter Beshai
> >
> > _________________________________________________________________
> > Essayez la nouvelle génération de recherche avec Live Search.
> > http://www.live.com/?mkt=fr-ca
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
>
>
> --
> Jesse Kuhnert
> Tapestry/Dojo/(and a dash of TestNG), team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
>
>