HTML rendering of
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; } 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 smime.p7s Description: S/MIME cryptographic signature ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: HTML rendering of
Did you try WOMetaRefresh? On Thu, Oct 13, 2011 at 2:18 PM, Klaus Berkling kberkl...@dyned.com 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; } 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 https://dyned.dyned.com/users/kberkling/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com This email sent to johnth...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: HTML rendering of
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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- 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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: HTML rendering of
On Oct 13, 2011, at 1:10 PM, Chuck Hill wrote: RefreshMETATag : WOGenericElement { elementName = META; http-equiv = Refresh; content = ~\3;\ + redirectURL.toString; That OGNL looks odd. Shouldn't that be content = ~\3; + redirectURL.toString + \; I might have had this, it took a bit of trial and error to get what I have to work. I'm sure there is more then one way to skin this cat. :-) kib The trouble with normal is it always gets worse. Bruce Cockburn Klaus Berkling Web Application Dev. Systems Analyst DynEd International, Inc. www.dyned.com | blog smime.p7s Description: S/MIME cryptographic signature ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: HTML rendering of
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 smime.p7s Description: S/MIME cryptographic signature ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: HTML rendering of
I found it here: http://www.filibeto.org/unix/macos/lib/dev/documentation/WebObjects/Reference/WOJExtensions/WOExtensions.pdf On Thu, Oct 13, 2011 at 4:20 PM, Klaus Berkling kberkl...@dyned.com wrote: 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 https://dyned.dyned.com/users/kberkling/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com This email sent to johnth...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: HTML rendering of
Very nice. Thank you. Sent from my iPhone. On Oct 13, 2011, at 2:40 PM, John Huss johnth...@gmail.com wrote: I found it here: http://www.filibeto.org/unix/macos/lib/dev/documentation/WebObjects/Reference/WOJExtensions/WOExtensions.pdf On Thu, Oct 13, 2011 at 4:20 PM, Klaus Berkling kberkl...@dyned.com wrote: 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 ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com This email sent to johnth...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com