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="[EMAIL PROTECTED]">.

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to