Re: Bindings and page wrappers
Re: Bindings and page wrappers
- Subject: Re: Bindings and page wrappers
- From: Phillip Hutchings <email@hidden>
- Date: Tue, 21 Jul 2009 16:46:12 +1200
The action is called on the top level component
Quick sketch of what I have:
Main Component HTML
<wo:PageWrapper pageTitle="Login" alertMessage="$alertMessage">
<wo:form>
...
</wo:form>
</wo:PageWrapper>
PageWrapper HTML:
<html>
...
<wo:str value="$^alertMessage"/>
..
so the action is fired inside the Main component and it needs to push
the value down to PageWrapper. I'd like to keep the alertMessage
display inside the PageWrapper as the layout isn't final yet, and I'd
rather not rearrange several files to change the display order.
On 21/07/2009, at 4:34 PM, Andrew Lindesay wrote:
Hi Philip;
On which object is the action being fired?
cheers.
I'm trying to abstract some of my page layout in to a page wrapper
component. One of the parts I'm trying to abstract is an alert
message generated in to response to an action running.
I've added a binding to the component for alertMessage and added
<wo:str value="$^alertMessage"/>, but I can't figure out how to set
this value in response to an action. I can set it statically with
<wo:PageWrapper alertMessage="foo">.
What am I missing here?
___
Andrew Lindesay
www.lindesay.co.nz
--
Phillip Hutchings
email@hidden
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