Re: HTML rendering of
Re: HTML rendering of
- Subject: Re: HTML rendering of
- From: Klaus Berkling <email@hidden>
- Date: Thu, 13 Oct 2011 14:20:44 -0700
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="" />
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.
|
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