Re: [Stripes-users] Password Logging as plain text

2009-04-15 Thread Stone, Timothy
> -Original Message- > From: Thomas Schlosser [mailto:tho...@schlosser-home.de] > Sent: Tuesday, April 14, 2009 3:17 PM > To: stripes-users@lists.sourceforge.net > Subject: [Stripes-users] Password Logging as plain text > > Hi, > I have found out that stripes logs the values(also value

[Stripes-users] Suggestions for leveraging enum through options-(collection|map)

2009-05-19 Thread Stone, Timothy
Imagine the following enum... public enum ResidentStatus { OWN ("O", "Own"), RENT("R", "Rent"), OTHER ("X", "Other"); public String value; public String status; ResidentStatus(String value, String status) { this.value = value; this.status = status; } public String getVal

[Stripes-users] Filtering output from options-enumeration

2009-05-20 Thread Stone, Timothy
I need to get the output of an options-enumeration "un-encoded". Consider the following: public enum GPA { F ("1", "<2.00"), D ("2", "2.00–2.49"), C ("3", "2.50–2.99"), B ("4", "3.00–3.49"), A ("5", "3.50–3.99"), A_PLUS

Re: [Stripes-users] Filtering output from options-enumeration

2009-05-20 Thread Stone, Timothy
2 PM > To: Stripes Users List > Subject: Re: [Stripes-users] Filtering output from options-enumeration > > I think this one > http://www.stripesframework.org/jira/browse/STS-251 is related ... > > -Original Message- > From: Stone, Timothy [mailto:tst...@barclaycard

Re: [Stripes-users] Permanent redirect?

2009-07-13 Thread Stone, Timothy
Without writing your own Resolution, e.g., PermanentRedirectResolution, you might try: 1. a ForwardResolution to a resource that generates your 301 2. a ForwardResolution to a resource that performs mapped lookup in Apache (or other HTTPD), using a query or path element, for a 301. Writing your o

[Stripes-users] Stripes 1.6?

2009-07-27 Thread Stone, Timothy
I'm seeing some traffic discussing Stripes 1.6, but don't see anything in SVN (on sourceforge) that validates any such release (unless v1.6 is trunk). Can anyone elaborate? Thanks, Tim -- Timothy Stone | Application Developer Technical Lead Strategic Development, Business Technology Group |

Re: [Stripes-users] Stripes 1.6

2009-08-10 Thread Stone, Timothy
Nathan Maves wrote: > > no, in most setups trunk is never a release. you can find the latest > release in the 1.5.1 tag in svn Nathan is correct. Trunk, in most open source projects, is ongoing development against features and bugs for the next release. When the trunk is ready for release can

Re: [Stripes-users] RedirectResolution using POST

2009-11-09 Thread Stone, Timothy
Aaron is correct, the HTTP spec does not preserve POST values and Apache enforces this specification. You might want to look at leveraging mod_rewrite + mod_proxy to preserve the POST values. I did a YouTube video showing how to use it... http://www.youtube.com/watch?v=i4G5I4YdWVE HTTPS is tric

Re: [Stripes-users] RedirectResolution using POST

2009-11-10 Thread Stone, Timothy
Jocke, I personally would like to hear more about this solution and possibly see some code samples. Generally speaking, I have found that many applications do not really correctly implement GET and POST. Many leverage POST to circumvent GET limitations or prevent information from being written to

[Stripes-users] Form field bindings and checking for presence/absence

2010-04-07 Thread Stone, Timothy
List, I have an action that has 3 fields: prospectcode postcode 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 i

[Stripes-users] Form field bindings and checking for presence/absence

2010-04-07 Thread Stone, Timothy
List, (Sorry for the premature send... not enough coffee this morning) I have an action that has 3 fields: prospectcode postcode lastname The form that is bound to this action will only have 2 fields (both required when present on the form): prospectcode and one (1) of

Re: [Stripes-users] Form field bindings and checking forpresence/absence

2010-04-07 Thread Stone, Timothy
   errors.add( new SimpleError( "postcode or lastname must be provided.") ); >   } >   else if ( postcode != null && lastname != null ) >   { >      errors.add( new SimpleError( "Please provide either postcode or > lastname -- not both." ) ); >   } > } > > --

[Stripes-users] JavaScript execution context lost on getContext().getSourcePageResolution();

2010-04-20 Thread Stone, Timothy
List, I am experiencing a problem where the JavaScript execution context in Firefox and Safari is lost after returning a Resolution from an error handler. Items like the ³console,² e.g., console.log(³someMessage²), fail with ³console is undefined². More importantly, my client form validation init

Re: [Stripes-users] JavaScript execution context lost on getContext().getSourcePageResolution();

2010-04-20 Thread Stone, Timothy
List, I want to add that the behavior described below is ³almost as if window.onload² happens. The HTML of the source of the page is intact, but the window is ³never reloaded.² Thanks, Tim On 4/20/10 3:29 PM, "Timothy Stone" wrote: > List, > > I am experiencing a problem where the JavaScript

Re: [Stripes-users] JavaScript execution context lost ongetContext().getSourcePageResolution();

2010-04-20 Thread Stone, Timothy
tions of the code in question. > > > On Tue, Apr 20, 2010 at 2:29 PM, Stone, Timothy > wrote: >> List, >> >> I am experiencing a problem where the JavaScript execution context in Firefox >> and Safari is lost after returning a Resolution from an error handler. >&g

[Stripes-users] Loss of session on resolution after validation

2010-04-29 Thread Stone, Timothy
List, We are experiencing the loss of the session when returning to a JSP after handling validation in an action. The problem occurs when we submit to an action bean errors and the bean returns a resolution via getSourcePageResolution(). I might be able to provide more information after meeting w

Re: [Stripes-users] amusing license

2010-06-04 Thread Stone, Timothy
Hey-oh! :D On 6/4/10 8:44 AM, "Freddy Daoud" wrote: > A little comic relief > > I'm on the last couple of chapters of "Flexible Rails"[1], and was reading > about using AMF with Rails (if you don't know what that is, don't bother > looking it up, it's not important here.) Basically, there

[Stripes-users] Indexed property field labels

2010-06-04 Thread Stone, Timothy
Is there a way to define a field label for indexed properties? For example: Given a list of authorized users on an abstract account, e.g., a proxy or other user acting on your behalf, will Stripes automagically determine the index for me, or do I need to define a label for each one to a best guess

Re: [Stripes-users] amusing license

2010-06-04 Thread Stone, Timothy
t's up with > this: "(It's too late now, they already copied Tim's code.)", is Struts 2 just > a bad copy of Stripes?, I would like to hear more of this, seems interesting > to me.  > > Best regards. > > On Fri, Jun 4, 2010 at 7:33 AM, Stone, Timothy

[Stripes-users] Maven project hosting, syncing to central

2010-09-03 Thread Stone, Timothy
List, The intense interest in the future of Stripes is exciting. I¹ve lost the specific email, but I want to touch on the Maven-ization of the 1.5 and 1.6 release lines. Should this be completed by the project leads, instead of hosting a project Maven repos (and the overhead involved), consider

[Stripes-users] Maven project hosting, syncing to central (#2)

2010-09-03 Thread Stone, Timothy
List, The intense interest in the future of Stripes is exciting. I¹ve lost the specific email, but I want to touch on the Maven-ization of the 1.5 and 1.6 release lines. Should this be completed by the project leads, instead of hosting a project Maven repos (and the overhead involved), consider

Re: [Stripes-users] Stripes Cage Rattling

2010-09-06 Thread Stone, Timothy
Santos, I'm going to side with the existing Stripes design Santos. The JSP framework is specific about the correct and proper use of dynamic attributes in tag libraries where a significant numbers of attributes may exist, especially arbitarily. HTML 4.01 and HTML 5 are examples of very f

Re: [Stripes-users] HTML5 support?

2010-10-13 Thread Stone, Timothy
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

Re: [Stripes-users] HTML5 support?

2010-10-13 Thread Stone, Timothy
Samuel, In regards to Stripes, the discussion is about the syntax used in the HTML response by the Tag Library. STS-751 is an attempt to allow developers to determine the syntax and not be tied to Stripes Tag Library default (a default which would allowed by HTML5 BTW). In regards to ³HTML4 can r

Re: [Stripes-users] Source forge description: It's stripey and itdoesn't suck

2010-10-29 Thread Stone, Timothy
Been passively following this thread... and I just want to defend the use of the word "suck." While seemingly "unprofessional" it is not without precedent: the Macintosh text editor BBEdit uses "It doesn't suck." Why not twist Freddy's title a bit: "Stripes: because Java web development do

Re: [Stripes-users] Preventing multiple form submission

2010-11-16 Thread Stone, Timothy
Struts 1.x provides this functionality... @see org.apache.struts.action.Action#saveToken(HttpServletRequest request), @see org.apache.struts.action.Action#resetToken(HttpServletRequest request), @see org.apache.struts.action.Action#isTokenValid(HttpServletRequest request) It's described in /Stru

Re: [Stripes-users] Stripes and WebSockets?

2010-12-09 Thread Stone, Timothy
Sven, Jetty is a servlet container, e.g., Tomcat. Jetty¹s support of WebSockets, the HTML5 feature, is unrelated to Stripes. The question you may want an answer to is what Stripes Resolution might best support the creation and use of WebSockets, see http://en.wikipedia.org/wiki/WebSockets for the

Re: [Stripes-users] decode

2011-01-11 Thread Stone, Timothy
I recently maven-ized jBCrypt. It should now be in Maven Central. More information can be found in the following links: http://bit.ly/f1am9m jBCrypt makes secure hashes easy to salt, store and compare. Tim -Original Message- From: Freddy Daoud [mailto:xf2...@fastmail.fm] Sent: Tuesday

Re: [Stripes-users] HTTPS to HTTP switching

2011-01-31 Thread Stone, Timothy
Couldn't this "use case" also be addressed with OAuth? Where the Auth is performed over OAuth, but the site remains over HTTP (non-secure). I do agree 100% with Janne though, HTTPS is cheap. If the username/password, and the services provided by the webapp should be secure, make it secure 100% of

Re: [Stripes-users] stripes+yui

2011-02-11 Thread Stone, Timothy
We've launched a huge project pairing YUI and Stripes. As Yee later notes, the YUI and Stripes are independent. There is no "integration" of the stacks, e.g., Dojo and Struts. And IMHO no need to integrate the stacks at the Stripes Tag level (though bgunter may want to speak up here). You can se

Re: [Stripes-users] How to iterate on a list

2011-05-20 Thread Stone, Timothy
What platform are you running this on? Thanks, Tim From: Laurent Pellegrino [mailto:laurent.pellegr...@gmail.com] Sent: Friday, May 20, 2011 1:22 PM To: stripes-users@lists.sourceforge.net Subject: [Stripes-users] How to iterate on a list Hi all, I have an ActionBean which has the

Re: [Stripes-users] Stripes and Angular.js

2012-09-14 Thread Stone, Timothy
Slightly confused. 1. Angular is going to work on the returned response to the client and perform general DOM hijacking. Unsure why stripes is involved. Do you have a unit test we can review? 2 .Have you looked at the stripes dynamic TLD? It allows dynamic attributes in the JSP tags HTH Tim

Re: [Stripes-users] SSL newbie

2012-09-17 Thread Stone, Timothy
Adam stole my thunder... :) If you're carrying session data between secure and non-secure sections, you will lose one in transit for precisely why Adam said. If you're in a secure area make sure it's always secure. Are you performing any SSL offloading at Apache? I have found that offloading SSL

Re: [Stripes-users] Liferay portlets

2012-10-05 Thread Stone, Timothy
Azizi, To state that Stripes adoption and use hinges on JSR-168/286 support in the library is a strawman argument; it would be akin to correlate Spring MVC success/adoption solely on portlet support. FWIW, my vote would be “No” for direct JSR-286 support in Stripes to the committer team. Frank

Re: [Stripes-users] Input with non-standard character input

2012-12-26 Thread Stone, Timothy
If you use Tomcat, but sure to set the server encoding as well. According to the URIencoding attribute documentation in Tomcat, set "... the character encoding used to decode the URI bytes, after %xx decoding the URL. If not specified, ISO-8859-1 will be used.". For example: From: Joe Adams

Re: [Stripes-users] switch to https

2013-04-19 Thread Stone, Timothy
This seems to me to be a solved problem that is not directly a Stripes problem or a problem needing to be found in a Stripes solution. 1. You can do this in Apache (not so much direct Tomcat, where Chris, downthread, gives an application context solution) In your Directory, Location or VH

Re: [Stripes-users] Setting response headers from inside layout code

2014-07-14 Thread Stone, Timothy
Mike, Matt highlights something that is cleverly enforced in the Stripes platform, the Front Controller pattern and what Freddy Daoud terms the ³pre-action² pattern. These patterns discourage ³direct-to-JSP² access. When using the Stripes tag library with the layouts, as in your examples, you are