On Oct 13, 2011, at 12:18 PM, Klaus Berkling wrote:

> I have this in my component html:
> 
>       <webobject name = "RefreshMETATag"/>
> 
> And this in the wod (ognl at work):
> 
>       RefreshMETATag : WOGenericElement {
>       elementName = "META";
>       http-equiv = "Refresh";
>       content = "~\"3;\" + redirectURL.toString";
> }
> 
> It renders this HTML:
> 
>       <META http-equiv="Refresh" content="3;/education/" />

User error.

This is the tag as it should be, the missing part was url=

        <META http-equiv="Refresh" content="3;url=/education/" />

So the wod is:

RefreshMETATag : WOGenericElement {
        elementName = "META";
        http-equiv = "Refresh";
        content = "~\"3;url=\" + redirectURL.toString";
}

I can't find documentation on bindings for WOMetaRefresh.

kib

"Live as if you were to die tomorrow. Learn as if you were to live forever."
Mahatma Gandhi

Klaus Berkling
Web Application Dev. & Systems Analyst
DynEd International, Inc.
www.dyned.com | blog



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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to