On Tue, Mar 23, 2010 at 6:31 AM, Ali Ok <al...@aliok.com.tr> wrote: > Hi Martin, > Thanks for your feedback. > > About this issue, let's talk on some new HTML5 element attributes with two > different JSF-side cases: > > "placeholder" attribute of "input" element: With this attribute, we can set > a placeholder text that is shown if there is nothing typed into input.
IMO to have a "good" coverage of that, IMO we need an attribute on the <h:inputText> which is for sure a no-go (spec says "when the element's value is the empty string and the control is not focused ") So hard to give a "hint" (that's what placeholder is for) with out having the page-author specifying details (via a tag-attribute) > New "required" attribute of "input" element : If this is set, input is > validated against emptyness before the form is submitted. yes is possible, even today. > > Placeholder: We cannot add a placeholder attribute on <h:inputText> since it > is not defined on spec, and no current component attribute can be used for > this. correct, see above > > Required: We can totally render HTML5 "required" attribute if <h:inputText > required="true">. IMHO, we can do this by I agree > > Writing a new renderer for <h:inputText> that extends current one with > rendering "required" element attribute if set; > And telling users to register this new renderer if they want to use optional > HTML5. > > Is this possible? > > Or, we can do this by using an optional HTML5 context parameter, as Jakob > said. even with ctx parameter, introducing new attributes to h:xyz is a no-go ;-) But the rendering of stuff like "required" is truly an option. Default => if OK with TCK CTX-Param => just in case if TCK does complain ... ;) > > Another thing: there are very few new features that can be applied to > current components without breaking the spec. May be the only one which fits > in the discussed case is "required". > >> IMO it's fine to "merge" stuff during/after GSOC. > > Yeah, I think so. or + aditional contributions to myfaces-core ;-) But honestly, that's up to you.. > > Thanks, > > On Tue, Mar 23, 2010 at 3:22 PM, Jakob Korherr <jakob.korh...@gmail.com> > wrote: >> >> I like Martin's idea. >> >> If it would make some parts of the TCK fail, we could introduce a HTML5 >> config parameter to make the HTML5 features work. Of course, this has to be >> turned off by default in order to make the TCK work. >> >> Regards, >> Jakob >> >> 2010/3/23 Matthias Wessendorf <mat...@apache.org> >>> >>> On Tue, Mar 23, 2010 at 4:30 AM, Martin Marinschek >>> <mmarinsc...@apache.org> wrote: >>> > Hi Ali, >>> > >>> > great that you start out with this! >>> > >>> > I am not sure, but wouldn't it be good to have some of this support >>> > already in MyFaces, the implementation? Like the required attribute - >>> > shouldn't we have our core inputs already render this attribute out, >>> > if necessary. >>> >>> not sure if the TCK does some HTML parsing >>> >>> > I think this would be nice. Everything which can not be >>> > covered by our standard implementations should of course be in a new >>> > namespace, as you suggested. >>> >>> IMO it's fine to "merge" stuff during/after GSOC. or do you think this >>> should be directly done on the IMPL, if possible. >>> >>> > >>> > best regards, >>> > >>> > Martin >>> > >>> > On 3/22/10, Ali Ok <al...@aliok.com.tr> wrote: >>> >>> >>> >>> I see you you refering to this thread: >>> >>> http://old.nabble.com/-GSOC--HTML5-Renderkit-Start-up-td27748075.html >>> >>> >>> >> I am not sure if that is good - folks may get the impression some work >>> >>> has already been done on that. >>> >> >>> >> >>> >> You're right. >>> >> Removed it. >>> >> >>> >> >>> >> On Mon, Mar 22, 2010 at 10:36 PM, Jakob Korherr >>> >> <jakob.korh...@gmail.com>wrote: >>> >> >>> >>> Hi, >>> >>> >>> >>> This all looks very fine to me - great work :) >>> >>> >>> >>> About the grouping (or "sub-tasking"): It would be cool to have a >>> >>> parent >>> >>> GSoC 2010 issue with all the GSoC projects as ("mentor" and "gsoc" >>> >>> labeled) >>> >>> sub-tasks. Furthermore it would be cool if each student would create >>> >>> all >>> >>> the >>> >>> things he wants to do as sub-task issues of his GSoC project issue. >>> >>> So we >>> >>> would have a hierarchy that looks like this: >>> >>> >>> >>> GSoC 2010 >>> >>> --HTML 5 RenderKit >>> >>> ----issue #1 of HTML 5 RenderKit >>> >>> ----issue #2 of HTML 5 RenderKit >>> >>> ... >>> >>> --GSoC project #2 >>> >>> ----issue #1 of GSoC project #2 >>> >>> ... >>> >>> >>> >>> What do you think? >>> >>> >>> >>> Regards, >>> >>> Jakob >>> >>> >>> >>> >>> >>> >>> >>> 2010/3/22 Matthias Wessendorf <mat...@apache.org> >>> >>> >>> >>>> One thing, >>> >>>> >>> >>>> I see you you refering to this thread: >>> >>>> >>> >>>> http://old.nabble.com/-GSOC--HTML5-Renderkit-Start-up-td27748075.html >>> >>>> >>> >>>> I am not sure if that is good - folks may get the impression some >>> >>>> work >>> >>>> has already been done on that. >>> >>>> >>> >>>> -Matthias >>> >>>> >>> >>>> On Mon, Mar 22, 2010 at 11:35 AM, Ali Ok <al...@aliok.com.tr> wrote: >>> >>>> > Hi, >>> >>>> > Thank you all for your reviews. >>> >>>> > >>> >>>> >> Maybe one little thing, the prefix h5 might be more appropriate >>> >>>> >> for >>> >>>> >> the >>> >>>> >> library, even though there is also an html tag named h5. hx >>> >>>> >> sounds >>> >>>> >> like >>> >>>> HTML >>> >>>> >> extensions to me and HTML5 is not really an extension. >>> >>>> > >>> >>>> > Yeah, correct. >>> >>>> > You know, no problem changing it. I am sure we can find a cool >>> >>>> > prefix >>> >>>> later >>> >>>> > :) >>> >>>> > >>> >>>> >> raw JIRA ticket (based on the original email that I sent out): >>> >>>> >> >>> >>>> >> https://issues.apache.org/jira/browse/MYFACES-2617 >>> >>>> >> >>> >>>> >> We will see where to add Ali's content, I mean where it fits >>> >>>> >> best. >>> >>>> >> Perhaps we just link to his Wiki page? (Not sure yet)... >>> >>>> > >>> >>>> > Thanks :) >>> >>>> > >>> >>>> > Regards, >>> >>>> > --Ali >>> >>>> > >>> >>>> > On Mon, Mar 22, 2010 at 6:13 PM, Matthias Wessendorf >>> >>>> > <mat...@apache.org >>> >>>> > >>> >>>> > wrote: >>> >>>> >> >>> >>>> >> OK, >>> >>>> >> >>> >>>> >> raw JIRA ticket (based on the original email that I sent out): >>> >>>> >> >>> >>>> >> https://issues.apache.org/jira/browse/MYFACES-2617 >>> >>>> >> >>> >>>> >> We will see where to add Ali's content, I mean where it fits >>> >>>> >> best. >>> >>>> >> Perhaps we just link to his Wiki page? (Not sure yet)... >>> >>>> >> >>> >>>> >> -Matthias >>> >>>> >> >>> >>>> >> On Mon, Mar 22, 2010 at 9:03 AM, Matthias Wessendorf < >>> >>>> mat...@apache.org> >>> >>>> >> wrote: >>> >>>> >> > Ah, >>> >>>> >> > >>> >>>> >> > interesting: >>> >>>> >> > This is how tomcat does it. >>> >>>> >> > >>> >>>> >> > They "group" their tickets: >>> >>>> >> > http://wiki.apache.org/tomcat/SummerOfCode2010 >>> >>>> >> > >>> >>>> >> > and point to the JIRA entries. >>> >>>> >> > >>> >>>> >> > >>> >>>> >> > Ok, so let me move this HTML5 specifc content to a JIRA ticket. >>> >>>> >> > After >>> >>>> >> > done, I'll create a "grouping" wiki page as well >>> >>>> >> > >>> >>>> >> > -Matthias >>> >>>> >> > >>> >>>> >> > On Mon, Mar 22, 2010 at 8:43 AM, Jan-Kees van Andel >>> >>>> >> > <jankeesvanan...@gmail.com> wrote: >>> >>>> >> >> Yeah, the rest looks very good. :) >>> >>>> >> >> >>> >>>> >> >> /JK >>> >>>> >> >> >>> >>>> >> >> >>> >>>> >> >> 2010/3/22 Matthias Wessendorf <mat...@apache.org> >>> >>>> >> >>> >>> >>>> >> >>> that's details, for the actual project ;-) >>> >>>> >> >>> >>> >>>> >> >>> BTW. I am just signing up as a mentor, after that I will >>> >>>> >> >>> bring >>> >>>> >> >>> this >>> >>>> >> >>> wiki txt to our jira. >>> >>>> >> >>> >>> >>>> >> >>> -Matthias >>> >>>> >> >>> >>> >>>> >> >>> On Mon, Mar 22, 2010 at 8:25 AM, Jan-Kees van Andel >>> >>>> >> >>> <jankeesvanan...@gmail.com> wrote: >>> >>>> >> >>> > Looks good. >>> >>>> >> >>> > >>> >>>> >> >>> > Maybe one little thing, the prefix h5 might be more >>> >>>> >> >>> > appropriate >>> >>>> for >>> >>>> >> >>> > the >>> >>>> >> >>> > library, even though there is also an html tag named h5. >>> >>>> >> >>> > hx sounds like HTML extensions to me and HTML5 is not >>> >>>> >> >>> > really an >>> >>>> >> >>> > extension. >>> >>>> >> >>> > >>> >>>> >> >>> > Regards, >>> >>>> >> >>> > Jan-Kees >>> >>>> >> >>> > >>> >>>> >> >>> > 2010/3/22 Cagatay Civici <cagatay.civ...@gmail.com> >>> >>>> >> >>> >> >>> >>>> >> >>> >> Looks good to me as well, Good Luck Ali! >>> >>>> >> >>> >> >>> >>>> >> >>> >> On Mon, Mar 22, 2010 at 2:23 PM, Bruno Aranda >>> >>>> >> >>> >> <brunoara...@gmail.com> >>> >>>> >> >>> >> wrote: >>> >>>> >> >>> >>> >>> >>>> >> >>> >>> It looks good to me too! >>> >>>> >> >>> >>> Bruno >>> >>>> >> >>> >>> >>> >>>> >> >>> >>> On 22 March 2010 14:11, Matthias Wessendorf >>> >>>> >> >>> >>> <mat...@apache.org >>> >>>> > >>> >>>> >> >>> >>> wrote: >>> >>>> >> >>> >>>> >>> >>>> >> >>> >>>> Hi Ali, >>> >>>> >> >>> >>>> >>> >>>> >> >>> >>>> this looks good to me. >>> >>>> >> >>> >>>> >>> >>>> >> >>> >>>> Any other comment ? >>> >>>> >> >>> >>>> >>> >>>> >> >>> >>>> -Matthias >>> >>>> >> >>> >>>> >>> >>>> >> >>> >>>> On Fri, Mar 19, 2010 at 7:01 PM, Ali Ok >>> >>>> >> >>> >>>> <al...@aliok.com.tr> >>> >>>> >> >>> >>>> wrote: >>> >>>> >> >>> >>>> > Hi, >>> >>>> >> >>> >>>> > I've written my GSOC proposal here : >>> >>>> >> >>> >>>> > http://wiki.apache.org/myfaces/GSoC2010_HTML5 >>> >>>> >> >>> >>>> > Could you review it and provide me some feedback? >>> >>>> >> >>> >>>> > >>> >>>> >> >>> >>>> > After your feedback, we'll move it to ASF GSoC wiki. >>> >>>> >> >>> >>>> > >>> >>>> >> >>> >>>> > Thanks & Regards, >>> >>>> >> >>> >>>> > Ali >>> >>>> >> >>> >>>> > >>> >>>> >> >>> >>>> > -- >>> >>>> >> >>> >>>> > My Blog: http://blog.aliok.com.tr >>> >>>> >> >>> >>>> > Twitter: http://twitter.com/aliok_tr >>> >>>> >> >>> >>>> > >>> >>>> >> >>> >>>> > >>> >>>> >> >>> >>>> >>> >>>> >> >>> >>>> >>> >>>> >> >>> >>>> >>> >>>> >> >>> >>>> -- >>> >>>> >> >>> >>>> Matthias Wessendorf >>> >>>> >> >>> >>>> >>> >>>> >> >>> >>>> blog: http://matthiaswessendorf.wordpress.com/ >>> >>>> >> >>> >>>> sessions: http://www.slideshare.net/mwessendorf >>> >>>> >> >>> >>>> twitter: http://twitter.com/mwessendorf >>> >>>> >> >>> >>> >>> >>>> >> >>> >> >>> >>>> >> >>> >> >>> >>>> >> >>> >> >>> >>>> >> >>> >> -- >>> >>>> >> >>> >> Cagatay Civici >>> >>>> >> >>> >> JSF EG | PrimeFaces Lead | Apache MyFaces PMC >>> >>>> >> >>> >> http://www.primefaces.org >>> >>>> >> >>> > >>> >>>> >> >>> > >>> >>>> >> >>> >>> >>>> >> >>> >>> >>>> >> >>> >>> >>>> >> >>> -- >>> >>>> >> >>> Matthias Wessendorf >>> >>>> >> >>> >>> >>>> >> >>> blog: http://matthiaswessendorf.wordpress.com/ >>> >>>> >> >>> sessions: http://www.slideshare.net/mwessendorf >>> >>>> >> >>> twitter: http://twitter.com/mwessendorf >>> >>>> >> >> >>> >>>> >> >> >>> >>>> >> > >>> >>>> >> > >>> >>>> >> > >>> >>>> >> > -- >>> >>>> >> > Matthias Wessendorf >>> >>>> >> > >>> >>>> >> > blog: http://matthiaswessendorf.wordpress.com/ >>> >>>> >> > sessions: http://www.slideshare.net/mwessendorf >>> >>>> >> > twitter: http://twitter.com/mwessendorf >>> >>>> >> > >>> >>>> >> >>> >>>> >> >>> >>>> >> >>> >>>> >> -- >>> >>>> >> Matthias Wessendorf >>> >>>> >> >>> >>>> >> blog: http://matthiaswessendorf.wordpress.com/ >>> >>>> >> sessions: http://www.slideshare.net/mwessendorf >>> >>>> >> twitter: http://twitter.com/mwessendorf >>> >>>> > >>> >>>> > >>> >>>> > >>> >>>> > -- >>> >>>> > My Blog: http://blog.aliok.com.tr >>> >>>> > Twitter: http://twitter.com/aliok_tr >>> >>>> > >>> >>>> > >>> >>>> >>> >>>> >>> >>>> >>> >>>> -- >>> >>>> Matthias Wessendorf >>> >>>> >>> >>>> blog: http://matthiaswessendorf.wordpress.com/ >>> >>>> sessions: http://www.slideshare.net/mwessendorf >>> >>>> twitter: http://twitter.com/mwessendorf >>> >>>> >>> >>> >>> >>> >>> >> >>> >> >>> >> -- >>> >> My Blog: http://blog.aliok.com.tr >>> >> Twitter: http://twitter.com/aliok_tr >>> >> >>> > >>> > >>> > -- >>> > >>> > http://www.irian.at >>> > >>> > Your JSF powerhouse - >>> > JSF Consulting, Development and >>> > Courses in English and German >>> > >>> > Professional Support for Apache MyFaces >>> > >>> >>> >>> >>> -- >>> Matthias Wessendorf >>> >>> blog: http://matthiaswessendorf.wordpress.com/ >>> sessions: http://www.slideshare.net/mwessendorf >>> twitter: http://twitter.com/mwessendorf >> > > > > -- > My Blog: http://blog.aliok.com.tr > Twitter: http://twitter.com/aliok_tr > > -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf