Add nested controller to Dialog Box

14 views
Skip to first unread message

Michael Bilderback

unread,
Mar 18, 2011, 8:40:32 PM3/18/11
to monkeybars-mvc
Hello Group,

First off, thanks for all the work on this elegant solution. I've
gotten a good bit done on a desktop application and it is due to this
project.

I am wrestling with a solution though. I would like to pop up a
dialog box at a certain point in my processing. I was hoping to fill
the dialog box with either a nested controller or an existing frame.
I could create the box at load, but I've had problems figuring out how
to make the box visible from the main controller. I've also been
wrestling with trying to add the nested view to a newly created
DialogBox.

So far, I can get the Dialog box to show up and create the nested
controller. However, the view nesting fails with this error .

file:/Users/Mike/Datasource/toTarget/lib/java/monkeybars-1.0.4.jar!/
monkeybars/view.rb:519:in `get_field': There is no component named
table_form_landing on view Java::ToTarget::ToTarget
(Monkeybars::UndefinedComponentError)

I have created a panel in the dialog box named table_form_landing, but
the view is not finding it.

I am a Java and Swing novice, but fairly experienced at Ruby now
( mostly Rails)

Thanks for any advice in advance,
Michael
Reply all
Reply to author
Forward
0 new messages