Re: Dynamic loading of a component into a container?
Re: Dynamic loading of a component into a container?
- Subject: Re: Dynamic loading of a component into a container?
- From: Chuck Hill <email@hidden>
- Date: Thu, 09 Jun 2011 13:32:59 -0700
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 AjaxUpdateContainer...
One way is to have the AUL action method set a conditional to true. But perhaps you are looking for the WOSwitchComponent? That inside of an AUC might give you what you want.
Chuck
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
-- Chuck Hill Senior Consultant / VP Development
Come to WOWODC this July for unparalleled WO learning opportunities and real peer to peer problem solving! Network, socialize, and enjoy a great cosmopolitan city. See you there! http://www.wocommunity.org/wowodc11/
|
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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