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

> Hi All.
> 
> 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";

That OGNL looks odd.  Shouldn't that be
content = ~"\"3;" + redirectURL.toString + "\"";


Chuck


> }
> 
> It renders this HTML:
> 
>       <META http-equiv="Refresh" content="3;/education/" />
> 
> It seems Internet Explorer has an issue with how the tag is terminated. It 
> also does not pass w3c validation. I don't think I have control on how this 
> renders. Tried HTML 4.01 strict and transitional and the tag did not change.
> 
> Is there a Wonder way to do this redirect?  I don't care if its in the HTTP 
> header or not but I do need to return a page that has real content, not a 
> WORedirect.  
> 
> 
> kib
> 
> "We keep moving forward, opening new doors, and doing new things, because 
> we're curious and curiosity keeps leading us down new paths."
> Walt Disney
> 
> Klaus Berkling
> Web Application Dev. & Systems Analyst
> DynEd International, Inc.
> www.dyned.com | blog
> 
> 
> 
> _______________________________________________
> 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/chill%40global-village.net
> 
> This email sent to [email protected]

-- 
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.    
http://www.global-village.net/products/practical_webobjects







 _______________________________________________
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