Yes - just use a different prefix. I use "s:" for "strict" Stripes and
"sd" for the "lazy" one.

On Fri, Oct 12, 2012 at 5:29 PM, - <grandebu...@gmail.com> wrote:
> thanks for response,
> Can i have both declared stripes.tld and stripes-dynattr.tld or better
> use only one of them?
>
>
> 2012/10/13 Mike McNally <emmecin...@gmail.com>:
>> Include this in your JSP page or page header
>>
>> <%@ taglib prefix="sd"
>> uri="http://stripes.sourceforge.net/stripes-dynattr.tld"; %> <%-- nl
>> --%>
>>
>> Then you can use
>>
>>   <sd:text any-attribute=whatever ... >
>>
>>
>> On Fri, Oct 12, 2012 at 5:10 PM, - <grandebu...@gmail.com> wrote:
>>> Hi,
>>> I want be able to use this plugin jquery
>>> (http://ericleads.com/h5validate/?name=) built on validate html5 with
>>> stripes.
>>> I have a problem, when i declare on <s:text name="usrname"  required
>>> ... /> i have this error :
>>>
>>> org.apache.jasper.JasperException: /jsp/adverts/publish_advert.jsp
>>> (lĂ­nea: 22, columna: 5) The required attribute is invalid according to
>>> the specified TLD
>>>         at 
>>> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
>>>         at 
>>> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:408)
>>>         at 
>>> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:237)
>>> .....
>>>
>>> but if i create normal html field like <input type="text"
>>> name="usrname" required .../ >
>>> it works without any problem.
>>>
>>> On my layout i have declared html5
>>> <s:layout-definition>
>>> <!DOCTYPE html>
>>>     <html> ...
>>> and i use last stripes.jar with tomcat 7 like a server.
>>>
>>> Thanks in advance.
>>>
>>> ------------------------------------------------------------------------------
>>> Don't let slow site performance ruin your business. Deploy New Relic APM
>>> Deploy New Relic app performance management and know exactly
>>> what is happening inside your Ruby, Python, PHP, Java, and .NET app
>>> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
>>> http://p.sf.net/sfu/newrelic-dev2dev
>>> _______________________________________________
>>> Stripes-users mailing list
>>> Stripes-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>
>>
>>
>> --
>> Turtle, turtle, on the ground,
>> Pink and shiny, turn around.
>>
>> ------------------------------------------------------------------------------
>> Don't let slow site performance ruin your business. Deploy New Relic APM
>> Deploy New Relic app performance management and know exactly
>> what is happening inside your Ruby, Python, PHP, Java, and .NET app
>> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
>> http://p.sf.net/sfu/newrelic-dev2dev
>> _______________________________________________
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users



-- 
Turtle, turtle, on the ground,
Pink and shiny, turn around.

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to