[ 
http://www.stripesframework.org/jira/browse/STS-792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12951#comment-12951
 ] 

Remi VANKEISBELCK commented on STS-792:
---------------------------------------

Not sure you can do this in JSP taglibs (use DOCTYPE declaration in order to 
conditionnally allow tag attributes or not).

We never took the time to do this because of the dynattr version of the taglib, 
as you've seen it's an easy "workaround" for the regular tag lib. 

Stripes is definitely maintained and active. Do not judge about the traffic on 
the mailing list or the JIRA activity : it's just that Stripes does the job for 
all of us Stripers, so we don't need to roll out a new release every week...

If you have a real bug, be sure it'll be addressed immediately.

There is no "decision maker" here, we all participate. Only Ben (Gunter) has a 
veto right over anything because he's basically the man behind the framework. 
Otherwise everything is just discussed and we always reach common agreement. 

There is no planned release AFAIK. The main problem with releasing being the 
deployment of all docs etc. on the wiki and all. Build and upload to maven is 
automated, bot not the upload of java/taglib docs and the rest.

We have talked about this not long ago and we could push minor updates to maven 
without updating the docs etc.

Feel free to ask for the release on the mailing list(s), and tell us why you'd 
need it. If you really do, we'll roll out a minor version. 

> Add Support for the HTML5 placeholder Attribute to Stripes Input Field Custom 
> Tags
> ----------------------------------------------------------------------------------
>
>                 Key: STS-792
>                 URL: http://www.stripesframework.org/jira/browse/STS-792
>             Project: Stripes
>          Issue Type: Improvement
>          Components: Tag Library
>    Affects Versions: Release 1.5.5
>            Reporter: Walter Rumsby
>            Priority: Minor
>              Labels: html5
>         Attachments: stripes-input-placeholder-patch.txt, 
> stripes-input-placeholder-patch.txt, stripes-input-placeholder-patch.txt
>
>
> One of the new feature of HTML5 is the placeholder attribute for input 
> fields. The placeholder text is displayed in the input field as a hint 
> intended to aid user entry, e.g.
>     <input type="text" name="search-text" placeholder="Enter terms here">
> will display "Enter terms here" if the element has no value in browsers that 
> support the placeholder attribute. For browsers that don't support the 
> attribute, it's possible to use JavaScript to display a placeholder, or a 
> valid approach might be that providing no hint is a valid graceful 
> degradation strategy for older browsers.
> My personal opinion is that there is very little risk using this new 
> attribute (which seems to be the consensus among people advocating HTML5, 
> i.e. there are parts of HTML5 that advocates generally recommend not using 
> until the specification or design of the feature improves).
> While placeholder makes most obvious sense on input type="text", input 
> type="password" and textarea elements the working draft suggests it is valid 
> for all input elements and the textarea element (Chrome, for instance, will 
> not do anything visually if you add a placeholder to a radio button).
> I've attached a patch that should provide support for this attribute when 
> using Stripes' custom tags for input fields (e.g. <stripes:text/>, etc.).
> More information:
> http://www.w3.org/TR/html5/common-input-element-attributes.html#the-placeholder-attribute
> http://www.w3.org/TR/html5/index.html#attributes-1
> http://diveintohtml5.org/forms.html#placeholder
> http://robertnyman.com/2010/06/17/adding-html5-placeholder-attribute-support-through-progressive-enhancement/

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to