• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Dynamic loading of a component into a container?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamic loading of a component into a container?


  • Subject: Re: Dynamic loading of a component into a container?
  • From: Paul Dunkler <email@hidden>
  • Date: Fri, 10 Jun 2011 10:38:24 +0200

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 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 and binding dictionary out of the session, and use that to work a switchcomponent like chuck said that's in the auc. You just have to make sure your contained component knows what to do with your binding dictionary.
>
> Sorry if that's unclear. Typing on a rough bus ride one handed.
>
> John A. Larson
>
> Sent from my iPhone
>
> On Jun 9, 2011, at 3:26 PM, Paul Dunkler <email@hidden> 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 AjaxUpdateContainer...
>>
>> Am 09.06.2011 um 22:22 schrieb 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 <email@hidden> wrote:
>>> 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 possibility or some of you may have a suggestion how to do this "the good way" in wonder - It would be very nice to hear from you.
>>>
>>> For exmaple:
>>>
>>> Main-Template:
>>> <html>
>>> <head>
>>> <title>
>>> </head>
>>> <body>
>>> ....
>>> <wo:AjaxUpdateZone id="testZone" />
>>> </body>
>>> </html>
>>>
>>>
>>> Navigation-Template
>>> <html>
>>> <head>
>>> <title>
>>> </head>
>>> <body>
>>> ....
>>> <ul>
>>>        <li><wo:LoadComponentIntoZoneLink x="AddProductComponent" zone="testZone">Add Products</wo:LoadComponentIntoZoneLink ></li>
>>> </ul>
>>> </body>
>>> </html>
>>>
>>>
>>> (the names of the components are chosen random by me ^^ just for showing you what behavior i want)
>>>
>>>
>>> Thanks in advance!
>>>
>>> Best Regards,
>>> Paul Dunkler _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden

Mit freundlichen Grüßen

Paul Dunkler


PNG image


-----------------------------------------------------
XYRALITY GmbH • Lerchenstraße 28a • 22767 Hamburg
Paul Dunkler • Softwareentwickler
Mail: email@hidden
Tel: +49 (0) 40 23 51 78 97
Mobil: +49 (0) 151 11624143
Fax: +49 (0) 40 23 51 78 98
Web: http://www.xyrality.com/
Registergericht: Hamburg HRB 115332
Geschäftsführer: Sven Ossenbrüggen & Alexander Spohr
-----------------------------------------------------

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Dynamic loading of a component into a container? (From: Paul Dunkler <email@hidden>)
 >Re: Dynamic loading of a component into a container? (From: John Huss <email@hidden>)
 >Re: Dynamic loading of a component into a container? (From: Paul Dunkler <email@hidden>)
 >Re: Dynamic loading of a component into a container? (From: John & Kim Larson <email@hidden>)

  • Prev by Date: Re: Dynamic loading of a component into a container?
  • Next by Date: Last hurdle on new CentOS deployment...
  • Previous by thread: Re: Dynamic loading of a component into a container?
  • Next by thread: Re: Dynamic loading of a component into a container?
  • Index(es):
    • Date
    • Thread