Just a note.

HTML4 can really led to disastrous results on mobile web applications.
We find it to be really important to always use the content-type
application/xhtml+xml, which is supported by HTML5 but not HTML4, to
minimize possible issues.

--
Samuel Santos
http://www.samaxes.com/


On Wed, Oct 13, 2010 at 3:10 PM, Stone, Timothy <tst...@barclaycardus.com>wrote:

>  Ben, et. al,
>
> The good news is I’ve been buried in a “Powered by Stripes 1.5.3” project.
>
> The bad news is, besides being a champion for a more flexible configuration
> of the HTML output of Stripes, I haven’t been able to complete what I
> started.
>
> My patch doesn’t throw a NPE, but it doesn’t work in nested Layout
> Definitions and Renderers.
>
> I recently proposed a Stripes configuration setting that would be much
> wider in scope than page, request, or session (session is not the right
> place anyway). Application level seem more apropos. A context-param has
> started making more sense in recent weeks. Follow my logic:
>
> An application is going to have HTML 4, 5, or XHTML output across the
> application as a whole. Developers should not be developing an application
> intentionally, or unintentionally, with varied response types... Well,
> mobile being an exception, but we (meaning myself and my employer) are
> finding that HTML 4 and 5 are the expected standards on advanced, even 3
> years recent, mobile platforms (WAP transforms are another matter
> altogether).
>
> Having a page level <s:options ... > or other Layout attribute requires
> pages/views to be aware of its response to the client, or puts encumbrance
> on the page developer to remember the output is of variety x for view y.
>
> Setting the response output in the deployment descriptor make it a much
> simpler branching in the FormTag and HtmlTagSupport classes: just check
> the ServletContext for the response type.
>
> I really need to visit this again, but yours truly is in the push to
> release... Maybe in our next iteration I’ll press the matter internally
> more.
>
> Regards,
> Tim
>
>
>
>
>
> On 10/12/10 9:14 PM, "Ben Gunter" <gunter...@gmail.com> wrote:
>
>  Thanks for the answer. I've seen recent posts to the group about Stripes'
> future. Well, this is one direction. The library is very well matured at
> this point, there's no immediate need to do anything (except for streaming
> layout - works on our platform btw). Maybe one direction to go is introduce
> HTML5 and some XHTML configuration for picky governments and etc...
>
>
> --
> Timothy Stone   |   Director, Application Developer Technical Lead
> Barclaycard   |    Business Technology Group, Solutions Delivery
> 125 S. West Street   |   Wilmington, DE    |   19801
> USA   |   www.barclaycardus.com
> +1 302 255 8044 direct |   +1 410 441 9450 cell
>
> COMPANY CONFIDENTIAL
>
> P Before printing this e-mail, or any other document, ask yourself whether
> you need a hard copy
>
>
>
> _______________________________________________________
>
> Barclays
> www.barclaycardus.com
> _______________________________________________________
>
> This e-mail and any files transmitted with it may contain confidential
> and/or proprietary information. It is intended solely for the use of the
> individual or entity who is the intended recipient. Unauthorized use of this
> information is prohibited. If you have received this in error, please
> contact the sender by replying to this message and delete this material from
> any system it may be on.
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to