Re: [Stripes-users] Freddy's code

2009-09-14 Thread Rusty Wright
Fabio, that sounds like a JPA/Hibernate question to me. Perhaps you could try the Hibernate forum on their web site. Fabio Fonseca wrote: > Hello All, > > In the Stripes book there is the following code in the BaseDaoImpl class: > > @SuppressWarnings("unchecked") > public List listFindBy(

Re: [Stripes-users] Moving to Cloud

2009-09-17 Thread Rusty Wright
I see the main advantage of ec2 is that you only pay for what you use. For example, if your site is normally not busy but gets seasonal spikes and you have something set up where it load balances and scales out automatically. Or you need to move it from a normal instance to a large or high cpu

[Stripes-users] why use @Before ?

2009-09-22 Thread Rusty Wright
As per the Stripes' Best Practices page I added a rehydrate method annotated with @Before. 1) I found using @Before with BindingAndValidation confusing so I changed it to @After with HandlerResolution and that seems to work. Is that ok? 2) Instead of using this @Before/@After method I had been

Re: [Stripes-users] why use @Before ?

2009-09-23 Thread Rusty Wright
y use the @Before and @After annotations, I would suggest > using @Before when you need to initialize data for an operation. Use > @After when you need to do some clean up following an operation. > > There are, of course, exceptions. > > On Tue, Sep 22, 2009 at 10:28 PM, Rus

[Stripes-users] bugzooky sample app question

2009-09-23 Thread Rusty Wright
Some of the jsps use jsp:useBean to pull in beans from the service layer. For example, in BulkAddEditBugs.jsp is ... and then further down Select One Is this the preferred way to do this with Stripes? The way I've done it in the past would be to have a property on the action

[Stripes-users] error when testing

2009-09-24 Thread Rusty Wright
Any ideas why I'm getting the following error when running unit tests? The first test doesn't get the error, which makes me think that something is not being closed, shut down, etc. properly. First the error listing, after that is my test harness. (messages about scanning for classes removed)

Re: [Stripes-users] error when testing

2009-09-24 Thread Rusty Wright
s just > resolved > > -Original Message- > From: Rusty Wright [mailto:rusty.wri...@gmail.com] > Sent: Thursday, September 24, 2009 1:24 PM > To: Stripes Users List > Subject: [Stripes-users] error when testing > > Any ideas why I'm getting the following error when runn

Re: [Stripes-users] bugzooky sample app question

2009-09-24 Thread Rusty Wright
I agree about littering action beans but what about integration testing? Suppose you want to replace ComponentListActionBean with a stub or fake that exercises corner cases that you need to test? Then in your tests instead of ComponentManager you could inject into your action beans Misbehavin

[Stripes-users] cause of "Stripes validation error report" page appearing?

2009-10-06 Thread Rusty Wright
What makes this page display? Sometimes I get it, other times I get the expected page with the validation error on the page in the correct place. (I'm porting a sample stripes app to Google App Engine.) Stripes validation error report Here's how it is. Someone (quite possibly the Stripes Disp

Re: [Stripes-users] cause of "Stripes validation error report" page appearing?

2009-10-07 Thread Rusty Wright
ion key then a > random one is generated when the app server is started. If the form is > rendered, the app server restarted and then the form submitted then the > server can't decrypt _sourcePage so it spits out this report. > > -Ben > > On Tue, Oct 6, 2009 at 4:12

Re: [Stripes-users] cause of "Stripes validation error report" page appearing?

2009-10-07 Thread Rusty Wright
> 3. Re: Stripersist entity scan (Tom Coleman) > 4. Re: Stripersist entity scan (Aaron Porter) > 5. cause of "Stripes validation error report" page appearing? > (Rusty Wright) > 6. Re: Multiple URL bindings per action (Ray Vanderborght) > >

[Stripes-users] current page url?

2009-10-10 Thread Rusty Wright
How do I get the url for the current page? I need it for a redirect back to the current page after the user logs in. I've tried the following things (in the log.debugs) with no success: public String getLoginUrl() { this.log.debug("uri: " + this.context.getRequest().getRequestURI()

Re: [Stripes-users] current page url?

2009-10-11 Thread Rusty Wright
Lordy, that's a lot of code! (Seems to me that that could be part of HttpUtil.) Thanks Freddy. Freddy Daoud wrote: > Hi Rusty, > >> How do I get the url for the current page? I need it for a redirect back >> to the current page after the user logs in. > > Here's how I do it in the Stripes bo

[Stripes-users] http://www.stripesframework.org/

2009-11-17 Thread Rusty Wright
The web site seems to be down; I'm getting the ISP's web page that says "This domain is under construction." -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report desi

[Stripes-users] [Fwd: [Fwd: [jira] Closed: (MAVENUPLOAD-2656) Upload Stripes-1.5.2 to Maven Repository]]

2009-11-24 Thread Rusty Wright
1.5.2 is in the maven repo. Original Message Subject:[jira] Closed: (MAVENUPLOAD-2656) Upload Stripes-1.5.2 to Maven Repository Date: Mon, 23 Nov 2009 17:26:55 -0600 (CST) From: Carlos Sanchez (JIRA) To: rusty.wri...@gmail.com [ http://jira.codehaus.org/

Re: [Stripes-users] Stripes wiki layout

2009-11-28 Thread Rusty Wright
Having to scroll horizontally drives me nuts. My theory is that it's from the code samples that are too wide. Pages that don't have code samples don't make you scroll horizontally. For example, if you go to http://www.stripesframework.org/display/stripes/Sample+Application the biggest offende

[Stripes-users] checkbox problem

2009-11-28 Thread Rusty Wright
My domain/model/dto object starts as public class FacilityAdminDto { private Facility facility; private Set platforms; and then it has the usual getters and setters. The jsp that's setting this has for the platforms part ${plat

Re: [Stripes-users] checkbox problem

2009-11-28 Thread Rusty Wright
I forgot to add that Platform does also have a no arg constructor. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus

[Stripes-users] is this correct?

2009-11-29 Thread Rusty Wright
Thinking out loud; did I make any mistakes about how Stripes works? http://lumpynose.wordpress.com/2009/11/29/action-based-frameworks-vs-spring-mvc-under-the-hood/ -- Let Crystal Reports handle the reporting - Free Crysta

Re: [Stripes-users] checkbox problem

2009-11-29 Thread Rusty Wright
Yes, thanks. I realized that I needed a Platform TypeConverter/Factory this morning while lying in bed; it was yet another one of those forehead slapping "Duh! What was I thinking of?" moments. Freddy Daoud wrote: > Hi Rusty, > >> My problem is that when Stripes is calling the FacilityAdminDt

Re: [Stripes-users] is this correct?

2009-11-29 Thread Rusty Wright
preciate on the input side, especially when there's something > akin to Stripersist to handle implicit loading of objects from the > database. I can't compare that to the Spring world because I've never > been to the Spring world. > > > > On Sun, Nov 29, 2009 at

Re: [Stripes-users] Stripes and Log4J Issue?

2009-12-13 Thread Rusty Wright
Double check that line log4j.rootLogger=INFO, CONSOLE This is why I hate the properties file format for log4j configuration and only use the xml format; it's much easier (in my opinion) to understand. Maybe your line is right, I dunno. Ultimately I switched to logback (log4j's successor) an

[Stripes-users] 1.5.3 maven repository

2010-02-11 Thread Rusty Wright
I can't believe that after all this time it's still not in the main maven repos. I was wondering if you could do something like the Reflections project has done, and put the artifact in the source repo. Sounds ugly until you see it in action; http://code.google.com/p/reflections/wiki/MavenRepo

[Stripes-users] [Fwd: [jira] Closed: (MAVENUPLOAD-2716) Upload Stripes-1.5.3 to Maven Repository]

2010-02-25 Thread Rusty Wright
Not sure if anyone saw this but the 1.5.3 version was rejected from the central maven repository because it doesn't have javadocs. Would it be possible to use the Sonatype repository since it would be quicker? And likewise, quicker to figure out what pieces are needed/missing? -- 0x2B | ~0

[Stripes-users] maven 2 archetype for stripes

2010-11-13 Thread Rusty Wright
On the web page http://www.stripesframework.org/display/stripes/Maven2+Archetype+for+Stripes it says you need to download and install the archteype. You don't need to download and install the archetype; you can generate a project from it with mvn archetype:generate \ -DarchetypeArti

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

2010-11-14 Thread Rusty Wright
(Apologies for replying to an old thread, I'm reading old email.) For some of, perhaps the older ones, the word sucks is simply a shortened form of sucks dick. So it has undesirable sexual connotations. On 2010-10-29 09:53, M.C.S. wrote: > Well, I still like the current tagline. I give a **it

[Stripes-users] google app engine warning in stripes

2010-11-18 Thread Rusty Wright
This message should be changed to say "as it doesn't allow file system write access." It's a bit misleading since Google App Engine does allow file system read access. [testappzzy/1.346310054370792299].: 2010-11-18 18:46:33.526 UTC, WARN: [pool-4-thread-1] net.sourceforge.stripes.util.Log.war

[Stripes-users] jsp question

2011-04-15 Thread Rusty Wright
Apologies in advance for this newbie jsp question; I'm hoping there's a better way to do what I'm doing. I'm uploading a comma separated values file, then I display it to verify that the order of the data (the columns) in the clubs objects is correct; If it's correc

Re: [Stripes-users] jsp question

2011-04-17 Thread Rusty Wright
Ok, thanks. Good point about including a hash for security; thanks. I'll put that on my todo list. On 2011-04-16 21:05, Will Hartung wrote: On Apr 15, 2011, at 12:50 PM, Rusty Wright wrote: If it's correct then I want to save the clubs List to the database. The only way I c

Re: [Stripes-users] "plugin" strategies?

2011-04-20 Thread Rusty Wright
Another vote for maven. Here's an interesting thread on a project that recently switched to maven's maven-release-plugin. It demonstrates how when you start using more of maven's features, doing a release largely turns into a "one click" operation. http://goo.gl/DJBQY On 2011-04-20 12:34, V

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

2011-05-20 Thread Rusty Wright
Make sure your jsp starts with the correct song and dance for GAE: <%-- isElIgnored="false" needed for GAE --%> <%@ page contentType="text/html;charset=ISO-8859-1" language="java" isELIgnored="false" %> The critical line is the isElIgnored in the <%@page directive. See the

Re: [Stripes-users] altering content of a bean

2011-06-10 Thread Rusty Wright
"I always thought that ActionBeans aren't really supposed to return any specific information, but are only responsible to initiate changes in the beans which contain data (the model)." That's not how I think of it. To me there are generally two types of data that can be displayed on a web page

Re: [Stripes-users] HTTPS support and/or Stripes 1.6?

2011-07-22 Thread Rusty Wright
As a user I'd be concerned about entering sensitive information on a web page where the browser isn't displaying the lock or whatever it displays to show that the page is https. Even though I could use the browser's "view source" to see if the form POST is using https or the page has some disc

Re: [Stripes-users] Binding Contents of JSON Array

2011-08-28 Thread Rusty Wright
Can you use something like this: http://code.google.com/p/google-gson/ On 2011-08-25 18:18, Taylor Boon wrote: Hello, I am working on a web application and would like to send an array of JSON-serialized objects to my Stripes application as a POST parameter and have them be serialized int

[Stripes-users] annotations reference page

2014-01-03 Thread Rusty Wright
http://www.stripesframework.org/display/stripes/Annotation+Reference This page doesn't include @Intercepts -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear pictur

Re: [Stripes-users] File access in the FileBean

2014-03-01 Thread Rusty Wright
If you need a MultipartWrapper here's one by Moritz Petersen I got off the net a few years ago for Google App Engine (GAE). With GAE you can't write to the local filesystem, writes are restricted to the database. Adjust the code as necessary. http://pastebin.com/GMejKAQz On Sat, Mar 1, 2014 a

Re: [Stripes-users] File access in the FileBean

2014-03-01 Thread Rusty Wright
Sorry, I pasted the wrong one. Refresh that pastebin page if you grabbed it before now. On Sat, Mar 1, 2014 at 1:17 PM, Rusty Wright wrote: > If you need a MultipartWrapper here's one by Moritz Petersen I got off the > net a few years ago for Google App Engine (GAE). With GAE you

[Stripes-users] stripes-guice and guice-persist?

2014-03-01 Thread Rusty Wright
Is anyone using these together? I'm not having any luck. Or, alternatively, what are you using with stripes-guice to inject your JPA entity manager? -- Flow-based real-time traffic analytics software. Cisco certified tool

[Stripes-users] paging through results

2014-10-01 Thread Rusty Wright
I'm sure this has been asked before, but why isn't my "paging through the results" code working using a stripes:hidden field? In my action bean I have a setter for newOffset and a getter for offset. In the jsp I add 20 to offset and set newOffset to that. My jsp has this: ${actionBean.offset}

Re: [Stripes-users] paging through results

2014-10-01 Thread Rusty Wright
idden by the value on the > bean. Try it as a plain input tag like in your comment. > On Oct 1, 2014 3:08 AM, "Rusty Wright" wrote: > >> I'm sure this has been asked before, but why isn't my "paging through the >> results" code working using a str

Re: [Stripes-users] paging through results

2014-10-01 Thread Rusty Wright
et += 20; >> } >> >> public void previousPage() >> { >> this.startingOffset -= 20; >> if ( this.startingOffset < 0 ) this.startingOffset = 0; >> } >> >> That should work perfectly fine. Then, you can have a single hidden >>

Re: [Stripes-users] paging through results

2014-10-01 Thread Rusty Wright
put > which looks like this: > > > > -- Rick > > On Wed, Oct 1, 2014 at 2:47 PM, Rusty Wright > wrote: > >> Yes, thanks, I can definitely get it to work with a plain input tag. I >> was just very frustrated that the stripes hidden input tag wouldn't work

Re: [Stripes-users] Stripes Wiki, JIRA, and Build have moved!

2014-10-07 Thread Rusty Wright
Very nice; a big thanks to you. Question: did the previous site say that 1.5.8 had been released? I only remember 1.5.7 mentioned on it. On Mon, Oct 6, 2014 at 4:15 PM, Rick Grashel wrote: > Stripes Users, > ... > --

Re: [Stripes-users] Stripes Wiki, JIRA, and Build have moved!

2014-10-07 Thread Rusty Wright
se information on the new Wiki to reflect the > current release. That was one of the "stale" pieces of information that I > saw. > > Thanks. > > -- Rick > > On Tue, Oct 7, 2014 at 2:06 PM, Rusty Wright > wrote: > >> Very nice; a big thanks to you. &

Re: [Stripes-users] Stripes Wiki, JIRA, and Build have moved!

2014-10-07 Thread Rusty Wright
explode the Javadoc and have it easily linked somewhere. Doing this by > hand every time we build seems to be a waste. > > -- Rick > > On Tue, Oct 7, 2014 at 3:06 PM, Rusty Wright > wrote: > >> The javadoc link points to the 1.5.7 javadoc. I used the javadoc >> generator

[Stripes-users] Stripes 1.5.8 Released, July 7th, 2014

2014-10-07 Thread Rusty Wright
Just thought I put this out there since I don't see anything about it in the mailing list archives. https://github.com/StripesFramework/stripes/releases -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Ac

Re: [Stripes-users] Stripes 1.5.8 Released, July 7th, 2014

2014-10-07 Thread Rusty Wright
And it's in the maven repo, as are the source and javadoc. In my pom.xml I have net.sourceforge.stripes stripes 1.5.8 On Tue, Oct 7, 2014 at 1:53 PM, Rusty Wright wrote: > Just thought I put this out there since I don't see a

[Stripes-users] stripes layouts

2014-10-11 Thread Rusty Wright
I'm doing something different than what Freddy does in his book, but he alludes to this way of doing a layout. I wanted your feedback to make sure I'm not doing anything ugly or not kosher. My action bean is public class LayoutActionBean extends BaseActionBean { private final transient Logge

Re: [Stripes-users] stripes layouts

2014-10-11 Thread Rusty Wright
Sorry, I forgot menu_full.jsp; here it is: This is the full menu. -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Au

Re: [Stripes-users] Remove HTML from user input

2014-10-14 Thread Rusty Wright
Escaping html? http://tinyurl.com/p7cymrs On Tue, Oct 14, 2014 at 1:53 PM, Adam Stokar wrote: > Hi everyone, > > Does Stripes have an easy way to remove HTML from user input to prevent > XSS attacks? I've googled with no success. > > Thanks, > > > -

[Stripes-users] session data lifetime?

2014-10-31 Thread Rusty Wright
Newbie question: If I put something in the session using my ActionBeanContext subclass, for how long is that data available? I'm finding that with Tomcat, running in/under Eclipse, it goes away after an hour or so (not sure how long it is, but not very long). E.g., I'm using public void setUserP

Re: [Stripes-users] session data lifetime?

2014-10-31 Thread Rusty Wright
ing of that is generally a configuration > option of the servlet engine you're using (Tomcat). > > > On Fri, Oct 31, 2014 at 4:16 PM, Rusty Wright > wrote: > > Newbie question: If I put something in the session using my > > ActionBeanContext subclass, for ho

Re: [Stripes-users] session data lifetime?

2014-11-03 Thread Rusty Wright
n also set the session timeout per app in the app’s web.xml file. > > > > If the app does not define a session timeout, it takes the value of the > web server. > > > > *De :* Rusty Wright [mailto:rusty.wri...@gmail.com] > *Envoyé :* October-31-14 6:13 PM > *À :* St

Re: [Stripes-users] Deploying project using Stripes to Tomcat 8

2015-02-05 Thread Rusty Wright
I have a project that would simply stop outputting its html from the jsp, randomly. No errors in the tomcat log files. It started after I upgraded to tomcat 8. When I downgraded to tomcat 7 the problem stopped. On Thu, Feb 5, 2015 at 5:38 PM, Iwao AVE! wrote: > Hi, > > The exception looks sim

Re: [Stripes-users] Problem with Stripes:param

2015-02-27 Thread Rusty Wright
What are the disadvantages of always having the server configured for UTF-8? On Fri, Feb 27, 2015 at 4:48 AM, Rick Grashel wrote: > Nahid, > > Ah, good find by everyone that your server isn't in UTF-8. > > If you are using Resin, just put this in your resin configuration file: > > utf-8 > > That

Re: [Stripes-users] Problem with Stripes:param

2015-02-27 Thread Rusty Wright
low level things and services are better to be > handed by the application server. Default character encoding is one of > those. It all depends on how you view a container and the services you > think it should and shouldn't provide to applications. > > -- Rick > On Feb 2

Re: [Stripes-users] Strips user access control of linked files

2016-11-29 Thread Rusty Wright
"There's a custom mechanism that creates security tokens." I retired several years ago so this is all from my foggy geriatric memory and it may be a bogus suggestion. If you're on Unix and your security token contains their user id then you could use this brute force method. On Unix it has a syst

[Stripes-users] stripes-archetype-quickstart-1.0

2017-01-27 Thread Rusty Wright
(Thumbnail synopsis; the app blows up with ClassCastException when I extend ActionBeanContext.) This was downloaded from https://sourceforge.net/projects/mvnstripes/files/stripes-quickstart-1.0/1.0/stripes-archetype-quickstart-1.0.jar/download Using eclipse with its built in maven I couldn't ge

Re: [Stripes-users] stripes-archetype-quickstart-1.0

2017-01-27 Thread Rusty Wright
ually work and it is built daily. > > -- Rick > > > On Fri, Jan 27, 2017 at 12:29 PM, Rusty Wright > wrote: > >> (Thumbnail synopsis; the app blows up with ClassCastException when I >> extend ActionBeanContext.) >> >> This was downloaded from >&g

Re: [Stripes-users] stripes-archetype-quickstart-1.0

2017-01-27 Thread Rusty Wright
My fault; I'm a dummy. I wasn't paying attention and didn't put my ActionBeanContext subclass in the Extension.Packages. On Fri, Jan 27, 2017 at 10:45 AM, Rusty Wright wrote: > The link to it is on > > https://stripesframework.atlassian.net/wiki/display/ > STRIPES/M

Re: [Stripes-users] stripes-archetype-quickstart-1.0

2017-01-28 Thread Rusty Wright
there was an annotation, one that did had the same effect as the ActionBeanContext.Class init param in the web.xml. On Fri, Jan 27, 2017 at 5:57 PM, Rusty Wright wrote: > My fault; I'm a dummy. I wasn't paying attention and didn't put my > ActionBeanContext subclass in the

Re: [Stripes-users] Single WAR, multiple sites

2017-09-01 Thread Rusty Wright
On the multiple WARs side of things, if you're not using maven it could make it trivial to deploy 2 wars that use the same code base. On the other hand, learning maven is nontrivial. Sonatype has some excellent free books on maven: https://www.sonatype.com/ebooks On Fri, Sep 1, 2017 at 10:23 A

Re: [Stripes-users] Stripes framework with OpenJDK-11 or 17

2023-06-08 Thread Rusty Wright
Does it not work? I was recently experimenting with Oracle's JDK 17 and it worked. I'm trying to work my way through the book again. On Thu, Jun 8, 2023 at 4:04 PM Hemang Vyas wrote: > Is anyone using stripes framework with Open-JDK 11 or 17? > > Thanks, > > On 2/10/2023 10:12 AM, Hemang Vyas

Re: [Stripes-users] Stripes framework with OpenJDK-11 or 17

2023-08-28 Thread Rusty Wright
I've been looking for a replacement for Stripes since it's not being maintained and it looks like Jakarta Faces has a very similar action bean design. I looked at Faces years ago when it was version 1.x and was put off by all of the xml configuration but now it looks reasonable with its annotation

Re: [Stripes-users] Stripes framework with OpenJDK-11 or 17

2023-08-29 Thread Rusty Wright
rojects in > Stripes so it is tough for me to move to any other MVC framework. > > > On 8/28/2023 10:11 AM, Rusty Wright wrote: > > I've been looking for a replacement for Stripes since it's not being > maintained and it looks like Jakarta Faces has a very similar acti