Re: Dynamic loading of a component into a container?

2011-08-26 Thread John Kim Larson
So it has been about a month I posted this and I'm using this thing all over the place now in production with no problems. It works great and has solved tons of design problems I had. My question, which may be hard to answer without the source code, is does anyone see any problems with memory

Re: Dynamic loading of a component into a container?

2011-07-28 Thread John Kim Larson
I know this has been a while, but I finished what I call a Remote Component. You put it anywhere in your page. It has static methods that allow you to set the component name and bindings you want to use in the component and puts them in your session dictionary. Wrap the remote component in an

Re: Dynamic loading of a component into a container?

2011-07-28 Thread Pascal Robert
A small podcast to demo how it works would be really cool! I know this has been a while, but I finished what I call a Remote Component. You put it anywhere in your page. It has static methods that allow you to set the component name and bindings you want to use in the component and puts

Re: Dynamic loading of a component into a container?

2011-07-28 Thread John Kim Larson
Done. Then not done. ScreenFlow didn't work with Lion. As soon as update is done I'll post it. Sent from my iPhone On Jul 28, 2011, at 9:46 AM, Pascal Robert prob...@macti.ca wrote: A small podcast to demo how it works would be really cool! I know this has been a while, but I finished

Re: Dynamic loading of a component into a container?

2011-07-28 Thread David Holt
Quicktime for Lion has screen capture/movies built in now... d On 2011-07-28, at 9:28 AM, John Kim Larson wrote: Done. Then not done. ScreenFlow didn't work with Lion. As soon as update is done I'll post it. Sent from my iPhone On Jul 28, 2011, at 9:46 AM, Pascal Robert

Re: Dynamic loading of a component into a container?

2011-07-28 Thread John Huss
So does Snow Leopard, maybe even earlier versions. On Thu, Jul 28, 2011 at 12:16 PM, David Holt programming...@mac.com wrote: Quicktime for Lion has screen capture/movies built in now... d On 2011-07-28, at 9:28 AM, John Kim Larson wrote: Done. Then not done. ScreenFlow didn't work with

Re: Dynamic loading of a component into a container?

2011-07-28 Thread John Kim Larson
YouTube keeps screwing up the encoding and truncating the movie to 15 seconds. Any ideas on how to get this to interested parties aside from hosting it on my domain? John Sent from my iPhone On Jul 28, 2011, at 9:46 AM, Pascal Robert prob...@macti.ca wrote: A small podcast to demo how it

Re: Dynamic loading of a component into a container?

2011-07-28 Thread John Kim Larson
It's here now. http://torqwrench.com/Movies/Remote%20component%20demo.mov John On Jul 28, 2011, at 3:48 PM, John Kim Larson wrote: YouTube keeps screwing up the encoding and truncating the movie to 15 seconds. Any ideas on how to get this to interested parties aside from hosting it on my

Re: Dynamic loading of a component into a container?

2011-07-28 Thread Pascal Robert
Thanks! It's also on wocommunity.org: http://wocommunity.org/podcasts/RemoteComponentDemo.mov It's here now. http://torqwrench.com/Movies/Remote%20component%20demo.mov John On Jul 28, 2011, at 3:48 PM, John Kim Larson wrote: YouTube keeps screwing up the encoding and truncating

Re: Dynamic loading of a component into a container?

2011-07-28 Thread John Kim Larson
Thanks. My server kind of stinks. It's experimental, but I've been using it for a week or so in semi-production and seems to work. Solved a lot of problems. Sent from my iPhone On Jul 28, 2011, at 4:48 PM, Pascal Robert prob...@macti.ca wrote: Thanks! It's also on wocommunity.org:

Re: Dynamic loading of a component into a container?

2011-07-28 Thread Ramsey Gurley
I thought this was the idea behind the replaceId binding Mike added... something like: div id=auc/div wo:AjaxUpdateLink replaceId=auc action=$showComponent1Show component 1/wo:AjaxUpdateLink wo:AjaxUpdateLink replaceId=auc action=$showComponent2Show component 2/wo:AjaxUpdateLink public

Re: Dynamic loading of a component into a container?

2011-07-28 Thread John Kim Larson
It's my understanding that that method only works for directing the results of an Ajax call to some container. It doesn't persist across pages. Also, like in my example, I can't call setValue(Some value) on Component2 because it doesn't have that method. The WOString pulls its value from the

Re: Dynamic loading of a component into a container?

2011-06-10 Thread Paul Dunkler
Yes, this is exactly what i am trying to do! I will try your approach - But first, i will have a look at the WOSwitchComponent (thanks Chuck!) Will tell you when i was successfull with that Am 10.06.2011 um 00:57 schrieb John Kim Larson: If I get what you're asking, you want a div in

Re: Dynamic loading of a component into a container?

2011-06-10 Thread Theodore Petrosky
did you look at the ajaxexample? they are using a wo:AjaxUpdateContainer id = MainTableUC webobject name = Contents /wo:AjaxUpdateContainer Contents : WOComponentContent { } and in a hyperlink: webobject name = HelloWorldLinkHello Ajax World/webobject HelloWorldLink : WOHyperlink {

Re: Dynamic loading of a component into a container?

2011-06-10 Thread John Kim Larson
I think the trick is twofold. One, you want to be able to control from some ajax link or links which component is loaded and do it on any page. Two, if you want to have component actions in the loaded component, you have to somehow put it in the context. I could be totally wrong, but those

Dynamic loading of a component into a container?

2011-06-09 Thread Paul Dunkler
Hey Guys, is there any possibility in wonder to load a component into a pre-defined zone in the template? I´m dealing with AjaxUpdateContainers and so on since 4 months - it´s nice - i like it, but i see no possibility to load something into an AjaxUpdateContainer... If there is any

Re: Dynamic loading of a component into a container?

2011-06-09 Thread John Huss
Isn't this what AjaxUpdateContainer does? What is wrong with using it? On Thu, Jun 9, 2011 at 3:12 PM, Paul Dunkler paul.dunk...@xyrality.comwrote: Hey Guys, is there any possibility in wonder to load a component into a pre-defined zone in the template? I´m dealing with

Re: Dynamic loading of a component into a container?

2011-06-09 Thread Paul Dunkler
At the moment i use the AjaxUpdateLink only to trigger a refresh on the AjaxUpdateContainer. In that AjaxUpdateContainer i defined some WOConditionals... But i want an AjaxUpdateLink to load the content of a component into an empty AjaxUpdateContainer... Am 09.06.2011 um 22:22 schrieb John

Re: Dynamic loading of a component into a container?

2011-06-09 Thread Chuck Hill
On Jun 9, 2011, at 1:26 PM, Paul Dunkler wrote: At the moment i use the AjaxUpdateLink only to trigger a refresh on the AjaxUpdateContainer. In that AjaxUpdateContainer i defined some WOConditionals... But i want an AjaxUpdateLink to load the content of a component into an empty

Re: Dynamic loading of a component into a container?

2011-06-09 Thread John Kim Larson
If I get what you're asking, you want a div in your app template, say, that you can replace ad hoc from some other component. If so, I've done something similar by pushing the name of the component and a dictionary with bindings to the session dictionary, then in your template pull that name