Stripes users -
I've been meaning to write up a more elaborate posting about our use
of stripes but I wanted to give you another datapoint and more
kudos to stripes.
My company, Evernote, has been using stripes for over a year -- I
started using it after a number of successful smaller
On Oct 8, 2008, at 8:27 AM, Chris Herron wrote:
On Oct 8, 2008, at 10:07 AM, Philip Constantinou wrote:
Stripes is incredibly hard to use if you use it wrong
I hope that doesn't scare anybody off! ;) There are some best-
practices to follow that will help make things easier, but I
One other option is Google Charts:
http://code.google.com/apis/chart/
I haven't done more than a few experiments but it's produced good
results.
On Dec 1, 2008, at 7:55 AM, Evgeny Shepelyuk wrote:
> Hello guyz
>
> +1 on this approach :)
>
>> Hi Ross,
>>
>> I am currently using JFreeChart+JCo
Did you try:
> return new StreamingResolution("audio/mp3", );
looks like you're not providing a valid mime type.
On Dec 9, 2008, at 10:28 AM, arnab_ghosh wrote:
>
> Hi All,
>
> I am trying to implement file download in Stripes. Presently I am
> generating
> a FileInputStream from the File UR
Hey folks -
Are there any best practices out there for dealing with switching the
browser between HTTP and HTTPs. I'd added some subclasses of
stripes:for, stripes:link and RedirectResolution that take a
secure=true/false parameter but the 1.5 upgrade seems to break them a
little in some
meantime have a look here:
>
>http://www.stripesframework.org/jira/browse/STS-239
>
> Bye
>
> Karsten
>
> Philip Constantinou schrieb:
>> Hey folks -
>>
>> Are there any best practices out there for dealing with switching the
>> browser between HTTP and HT
One other way that I've done this (for more complex Javascript data
structures) is to use the JSON libraries with a JSTL function. It's
nice and general.
Create a JSTL function object like this:
public static final String json(String key, Object value) {
JSONObject json = new JSONObject
Apache Commons configurations:
http://commons.apache.org/configuration/howto_properties.html
Is a really nice set of libraries that is a bit better than just using
java.util.Properties. It's abstraction also makes it easier to change
your mind about where you're putting your properties.
If I
This is what I do:
String defaultName = StripesFilter.getConfiguration()
.getLocalizationBundleFactory().getFormFieldBundle(
getContext().getLocale()).getString("defaultName");
getContext().getLocale() returns the locale based on the browser
settings.
On Apr 1, 2009,
Hey folks -
I'm was wondering if anyone has come up with an elegant solutions to
handle multiple presentation layers with stripes. We have a web and
mobile web versions of our application (sometimes a JSON version too).
Many of the functions, login, forgot password, etc. take the same
para
We do similar stuff by adding these helper methods to our
ActionBeanContext subclass. Your tag should have enough information
from the page context to call getOrMakeContext(...).
/**
* If an My context has already been set, this will grab it,
otherwise
* this will make a new con
Hey folks -
I'd like to see if I'm missing something regarding Stripe's XSS support.
I had (falsely) assumed that the stripes:form tag's addition of:
would protected against XSS requests because it would sign form
submissions.
Is there anyway to explicitly take advantage of this for validat
If you have the zip file in RAM you can construct a
ByteArrayInputStream();
something like this:
byte a[]= "foo".getBytes();
ByteArrayInputStream i = new ByteArrayInputStream(a);
return new StreamingResolution("application/zip", i);
If the file is static and stored within th
Hey folks -
I'm trying to get a better understanding of how the StripesResources
file works. I've been using it for a while but I've recently run into
the problem with the ' character.
Looking through the code hasn't been very helpful.
Here's the problem. In my StripesResources.properties fi
Thanks Freddy -
So I'm still trying to figure out what all the rules are and when i
use: ' vs ''
USE '
USE ''
-- USE '
-- '' USE ''
Is that right? Blurg
On Sep 30, 2009, at 9:31 AM, Freddy Daoud wrote:
> Hi Philip,
>
>> In my JSP's I have:
>>
>>
>>
>>
>>
>> The page returns:
>>
Hey Simon -
You've got lots of options... one would be to just use HTML:
"/>
This will invoke the same event but set the value to be the localization string
passed in by the JSTL localization tag.
There's nothing too magical about the stripes:submit tag.
You could even use:
On Nov 26, 20
Evernote (4.7+ million users to date) uses both GWT and Stripes in our web app.
We basically use them as two totally independent components -- they don't
interact at all aside from using Stripes to generate the page that references
the GWT resources.
We haven't had any problems but generally th
In your example you're changing the host name in the URL (not the path). This
really can only be done using a "redirect" (technically an HTTP response code
303 or 301) since the client is essentially talking to a different host. In
your LoginAction class you'll want a method that looks like this
Daniil --
We're doing all the same stuff and haven't encountered any problems. Here's a
few tidbits from our configuration.
In our mySQL connector we use:
In the tomcat container new add:
nano $CATALINA_HOME/conf/server.xml:
Hi there,
>
> So I'm sure there's someone out there who has m
19 matches
Mail list logo