> -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
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
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
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
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
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 |
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
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
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
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
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
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." ) );
> }
> }
>
> --
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
37 matches
Mail list logo