Re: [Stripes-users] Date field validation doesn't work as expected with Tomcat 7

2016-08-29 Thread Richard P. Osseweyer
As for your second question, a similar question was asked on stack exchange. 
Please allow me to refer you to the topic here: 

http://stackoverflow.com/questions/33583376/stripes-framework-expression-validation-on-property

Look for the part about the 'SKIP_IDENTIFIER_CHECK' Vm argument.

Hope it works!
Richard

Tika Spic  schreef op 29 augustus 2016 23:10:47 CEST:
>Right now I'm learning Stripes from the Fred's book and from the very
>beginning I'm wondering should I use Tomcat 6/7/8 or something else?
>Here is what I've experienced today while trying to start the example
>"email_06". Stripes version was 1.5.
>
>First:
>${actionBean.class} used in JSPs, works in Tomcat 6.
>Need to be changed to ${actionBean.getClass()} to be able to work in
>Tomcat
>7.
>This was just a notification on the difference between running examples
>on
>Tomcat 6 & 7.
>
>Second:
>@Validate(field = "birthDate", expression = "${this < today}") works in
>Tomcat 6 for a Date field.
>In Tomcat 7 it doesn't work at all, i.e. it raises an exception:
>"javax.el.ELException: The identifier [this] is not a valid Java
>identifier
>as required by section 1.19 of the EL specification"
>To make it work, 'this' identifier should not be used, so the the first
>guess to address this would be: ${birthDate < today}
>This does not raise an exception but also does not validate the field
>at
>all, i.e. it doesn't do the job so I wonder what might be the solution?
>
>I believe that validation expression ${this < today} for date field
>have
>not changed since Stripes 1.5 so I'm interested if you're getting the
>same
>error in your projects
>
>
>
>
>--
>
>
>
>
>___
>Stripes-users mailing list
>Stripes-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/stripes-users

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.--
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Newbie

2015-12-21 Thread Richard P. Osseweyer
I started using Stripes in 2008 after reading Daoud's book and I still use it 
for reference. It's a joy to read and in almost any case it answers my Stripes 
related questions. There may be some outdated information but that is really 
minor compared to what you'll learn from it.

tika  schreef op 21 december 2015 16:02:37 CET:
>Hi all.
>
>I haven't been programming web apps for a long time and now I want to
>rework
>one of my apps from Struts 1 to something else. It seems to me that,
>compared to other web frameworks, Stripes seems to be appropriate for
>my
>needs and flavour. My question is regarding the book about Stripes. It
>was
>published in 2008 and I'm wondering what part of that book is still
>valid
>for Stripes 1.6?
>
>Second, I will also vote for JsonBuilderFactory as my favourite is
>genson
>library.
>
>Kind regards. Tika.
>
>
>--
>___
>Stripes-users mailing list
>Stripes-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/stripes-users

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.--
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] Tag Library Docs

2015-12-14 Thread Richard P. Osseweyer

Hi All,

Has anyone noticed that the Stripes Tag Library Docs appear to be down, 
or is it just a broken link in the Stripes Framework wiki?

https://stripesframework.ci.cloudbees.com/job/Stripes%201.6.0/ws/stripes/target/site/tlddoc/index.html

- Richard


--
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users