Re: Why do action mappings default to session scope forformbeans?

2005-10-26 Thread Preston CRAWFORD
Thanks. That helps. One thing puzzles me, though, as to how others handle this specifically with regards to Struts. Does this mean that those that use the session scope simply manage the reset action very carefully? And how does the reset action not get called in situations where you want to retain

Re: Why do action mappings default to session scope for formbeans?

2005-10-26 Thread Michael Jouravlev
Please, read this short intro: http://struts.sourceforge.net/strutsdialogs/#traditionalflow It advertises Struts Dialogs library (doh), but also explains where the power of session scope and two-way request processing is. Also read about JSF and Wicket. Wicket developers use two-phase request proc

Re: new website look

2005-10-26 Thread Niall Pemberton
On 10/27/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Two suggestions... first, Ted's change I believe should be under a News > section, or something similar, not on the front page. People visiting > the Struts site and likely going to (a) learn about and/or acquire > Struts or (b) look for

Re: new website look

2005-10-26 Thread Frank W. Zammetti
Wendy Smoak wrote: Frank, did Ted's changes resolve the problems you were seeing? (Something involving Laurie's sidebar?) Wasn't Laurie's sidebar in particular, just having any sidebar open in FF. But yes, that issue looks to have been resolved by Ted's change. Does anyone have any other m

Why do action mappings default to session scope for formbeans?

2005-10-26 Thread Preston CRAWFORD
I don't know why (I've been doing struts development for years, but I guess we've always been very explicit in our struts-config files), but only recently did I discover that this was the default behavior for form beans. And I'm trying to figure out, mostly on a higher level, on a theoretical level

Re: [OT] Re: How to prevent the login information cached

2005-10-26 Thread Hotmail
why not have a action configured for logoff in struts-config.zml then somewhere inside LogoffAction class invalidate your session and redirect to your index.jsp e.g. public class LogoffAction extends Action { public ActionForward execute( ActionMapping actionMapping, ActionForm action

Re: new website look

2005-10-26 Thread Michael Jouravlev
On 10/26/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > What does that leave outstanding for the site, then? Michael, you've > mentioned the background, and I think it can go in the custom theme > stylesheet, if you want to suggest one. > Does anyone have any other minor annoyances, things that hav

Re: new website look

2005-10-26 Thread Wendy Smoak
From: "Ted Husted" [EMAIL PROTECTED] OK, I'm uploading a new site home page with a section promoting ApacheCon, but that leaves the image out of the sidebar. Should be online within a couple of hours. Very nice. Good thing, too, because my question about the m1 site plugin got _no_ attention

Re: Problems with custom taglibs

2005-10-26 Thread Wendy Smoak
From: "Laurie Harper" <[EMAIL PROTECTED]> Yes, you need to add the implementation jars to your application classpath. Which version you need to install will depend on your servlet container. This might help you sort out which one you need: http://wiki.wsmoak.net/cgi-bin/wiki.pl?StrutsAndJST

Re: Problems with custom taglibs

2005-10-26 Thread Rahul Akolkar
> > Eric Plante wrote: > > Is there more to add than <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; > > prefix="c" %> > > in my jsp page? > > > > Eric > > Eric - Since the URI you're using belongs to JSTL 1.1, cross-check that you are: 1) using a Servlet 2.4 container 2) using a Servlet 2

Re: Problems with custom taglibs

2005-10-26 Thread Eric Plante
Can it explain why custom taglibs I made don'T work too? Thanks > Yes, you need to add the implementation jars to your application > classpath. Which version you need to install will depend on your servlet > container. > > L. > > Eric Plante wrote: > > Is there more to add than <%@ taglib uri="htt

Re: Problems with custom taglibs

2005-10-26 Thread Laurie Harper
Yes, you need to add the implementation jars to your application classpath. Which version you need to install will depend on your servlet container. L. Eric Plante wrote: Is there more to add than <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %> in my jsp page? Eric Sou

Integrated help system / tag library / ??

2005-10-26 Thread ooper
Hi, I'm looking for a help system that I can use in my web app, you know, on various pages of the app I'll have a Help link or button of some kind and I want a help window to popup with context sensitive help. Would be nice if it used the message

Re: How to prevent the login information cached

2005-10-26 Thread Michael Jouravlev
On 10/26/05, info3853 Bush <[EMAIL PROTECTED]> wrote: > I had a web application based on struts framework. Recently, I found that > after you logout, you use the browser back button back to the login.do > page, the page shows the Page Time Out, however, if you click the refresh > button, the page

Re: How to prevent the login information cached

2005-10-26 Thread Laurie Harper
info3853 Bush wrote: I had a web application based on struts framework. Recently, I found that after you logout, you use the browser back button back to the login.do page, the page shows the Page Time Out, however, if you click the refresh button, the page automatically login to the application

Re: [OT] Re: How to prevent the login information cached

2005-10-26 Thread info3853 Bush
In my logout method, we use the session.invalidate(); method and redirect the page to login page again. Dave Newton <[EMAIL PROTECTED]> wrote:info3853 Bush wrote: >Anyone has idea to handle this situation? > > Sounds like your logout method is broken. Dave --

[OT] Re: How to prevent the login information cached

2005-10-26 Thread Dave Newton
info3853 Bush wrote: Anyone has idea to handle this situation? Sounds like your logout method is broken. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to prevent the login information cached

2005-10-26 Thread info3853 Bush
I had a web application based on struts framework. Recently, I found that after you logout, you use the browser back button back to the login.do page, the page shows the Page Time Out, however, if you click the refresh button, the page automatically login to the application without ask you any u

Re: how to copy the properties of one Struts form-bean to another?

2005-10-26 Thread Wendy Smoak
From: "starki78" <[EMAIL PROTECTED]> thanks that was what I was exactly looking for! If you find yourself copying properties from form to form too much, you might consider consolidating the forms. One of my Struts apps uses a single session-scoped form bean across the entire app. It's a f

Re: Problem with a property

2005-10-26 Thread Aldo Vadillo Batista
maybe, : > > Hi, > > I have an object ('A') in session that I recover form a jsp whit the tag > . > > This object ('A') contains another object ('B'). And is form this ('B') I > want to recover a property > that use it like value into text's field. In this case, a > > How can I do? thanks > > > >

Problem with a property

2005-10-26 Thread Ext . Ilitia2
Hi, I have an object ('A') in session that I recover form a jsp whit the tag . This object ('A') contains another object ('B'). And is form this ('B') I want to recover a property that use it like value into text's field. In this case, a How can I do? thanks ---

Re: nested tags problem

2005-10-26 Thread Lucas Bern
Hi may be the scope request is not enough? why are you instantiating the ActionForm?, it is supposed to have struts doing it for you, any special reason? Lucas Koen Jans <[EMAIL PROTECTED]> escribió: Hi, i am trying to access nested properties on a jsp page like this: On my ActionForm

RE: Question on creating new Validation Rules in Struts 1.2

2005-10-26 Thread bsimonin
Thank you so much for passing on the URL. I really appreciate it. It helped create my own validation rule using Struts 1.2.7. --Brad Simonin -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Tue 10/25/2005 5:44 PM To: Struts Users Mailing List Subject: Re: Quest

Re: ActionServlet - registration of DTDs

2005-10-26 Thread Chris Searle
> "Joe" == Joe Germuska <[EMAIL PROTECTED]> writes: Joe> The ActionServlet doesn't know about Tiles. Tiles registers Joe> the appropriate DTD in another location, specifically: Joe> http://struts.apache.org/struts-tiles/xref/org/apache/struts/tiles/xmlDefinition/XmlParser.html#6

Re: ActionServlet - registration of DTDs

2005-10-26 Thread Joe Germuska
The ActionServlet doesn't know about Tiles. Tiles registers the appropriate DTD in another location, specifically: http://struts.apache.org/struts-tiles/xref/org/apache/struts/tiles/xmlDefinition/XmlParser.html#65 (Thanks, Wendy for getting the new Maven site up! I've been wanting to link st

RE: how to copy the properties of one Struts form-bean to another?

2005-10-26 Thread starki78
thanks that was what I was exactly looking for! nice greetings Starky -- Initial Header --- >From : "David G. Friedman" [EMAIL PROTECTED] To : "Struts Users Mailing List" user@struts.apache.org Cc : Date : Wed, 26 Oct 2005 02:48:43 -0400 Subject : RE:

ActionServlet - registration of DTDs

2005-10-26 Thread Chris Searle
I see that org.apache.struts.action.ActionServlet has an array of DTD public identifier to path in jar file that looks like: protected String[] registrations = { "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN", "/org/apache/struts/resources/struts-config_1_0.

nested tags problem

2005-10-26 Thread Koen Jans
Hi, i am trying to access nested properties on a jsp page like this: On my ActionFormY associated with this jsp, of course i have an instance Foo foo (which can be set and gotten by getFoo(), setFoo(..) ) and which has correct Foo.getBar() and Foo.setBar(..) methods. I prepopu