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