I don't know if this will work...but you could try
Can you take the indexId
and make it the size of the array/collection/etc that you are iterating
over?
Maybe this will only work for arrays.
What you could also do is sonething like this...
logic:iterate
logic:lessThan (some condition
Just set a short session timeout. 3 minutes of inactivity, session expires.
So by the time they reboot, they have to log in again.
Yeah, if someone stares at the page for 3 minutes and does something, they
have to log in again, but if you're that concerned with sessions getting
cleared, then
Message-
From: Becky Moyer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 02, 2002 5:20 PM
To: [EMAIL PROTECTED]
Subject: formatting test in prepopulated form
Hi all...
Can't find anything about this anywhere, thought i'd ask...
I am storing a piece of data in a special format
Hi all...
Can't find anything about this anywhere, thought i'd ask...
I am storing a piece of data in a special format. So, for a bizarre
example, I store a name in pig latin in the database. When I display the
name, I want it to show up formatted properly. Trouble is, this is in a
.
Essentially, I would prefer not to have to use the bundle property of the
message tag.
Am I on the right track?
Thanks,
Becky
Original Message Follows
From: Jeff Oberlander [EMAIL PROTECTED]
To: 'Becky Moyer' [EMAIL PROTECTED]
Subject: RE: Splitting ApplicationResource.properties
Date
Hello all...
I can't seem to find the answer to my question in the archive, the
javadoc, or the source, so I was hoping someone could figure this one out.
I have a class extending ActionServlet to read struts-config.xml files
from places other then WEB-INF/ in order to split apart the
%40jakarta.apache.org/msg04354.html
Becky Moyer wrote:
Hello all...
I can't seem to find the answer to my question in the archive, the
javadoc, or the source, so I was hoping someone could figure this one
out.
I have a class extending ActionServlet to read struts-config.xml files
. This may not be exactly what you want, but it might give you some good
ideas -
Hope it helps -
Margaret
-Original Message-
From: Becky Moyer [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 21, 2002 3:30 PM
To: [EMAIL PROTECTED]
Subject: Re: Splitting ApplicationResource.properties
So
I am trying to redirect a user to the login page if they bookmark a page and
don't have the right authorization when they access it. Essentailly, once
someone is securely logged in, I store an object in the session - it's
presence proves they are logged in. If it isn't there, then they
before displaying.
logic:notPresent name=loginID
logic:redirect href=/login/
/logic:notPresent
-Original Message-
From: Becky Moyer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 9:53 AM
To: [EMAIL PROTECTED]
Subject: Redirect fails in templates
I am trying to redirect
helpful.
-Becky-
Original Message Follows
From: Becky Moyer [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: ActionServlet.addMapping() persistence
Date: Wed, 08 Aug 2001 12:58:02 -0400
Hi all...
I want to write an Action that will add mappings to the ActionServlet
See the mail archive:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg13197.html
it's in the middle of the message.
Original Message Follows
From: Mike Dewhirst [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: multiple
Hi all...
I want to write an Action that will add mappings to the ActionServlet on the
fly. Am I correct in thinking that any ActionMappings and such that I add
in this way will not be persisted, and that I also have to modify
struts-config.xml if I want the mappings to be available for
Hi all...
I have a webapp that uses Struts templates. I have a place in my
template where I plug in the current user's username and basic info. I can
sucessfully do a session.invalidate(), but then when I link back to my
loginpage, their info still shows up on the template. How do they
Struts-users!
Sorry if this is not the best forum for this; I am asking this here
becuase I think Struts factors into my question.
I am creating a web site that allows for the future addition of new
webapps to extend the original site. I would like to allow users to make
their add on
Hi all...
Can someone tell me how to write an entry in my struts-config.xml file
that will link me to another webapp/context. Do I have to put the entire
URL? I really don't want to do that so I don't have to worry about changing
server names all over the place.
So for example, I have 2
I've got a multibox/iterate combination form. My webapp works when there
is something to submit. When I check at least one value checked in my
multiboxes, I get the expected result. When there is nothing checked in my
multiboxes, my form object is the same as it was before I changed the
submit and go to your actionClass, you can compare
CheckboxNames to CHeckboxValues to see what was checked.
Did that explain it enough?
Hope it helps,
Becky
Original Message Follows
From: Prashanth_Thm [EMAIL PROTECTED]
To: Becky Moyer [EMAIL PROTECTED]
Subject: RE: Struts Bug? My Bug
:
public void reset(ActionMapping mapping, HttpServletRequest request) {
this.action = Create;
this.autoConnect = false;
this.yourMultiboxNames = null;
}
--Abraham
-Original Message-
From: Becky Moyer [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 20
This is mostly a guess, but in the iterate tag's description, it states that
the indexID must be a pagescope bean. I think you must do something like:
%
int entryId=0;
pageContext.setAttribute(entryId, entryId, PageContext.PAGE_SCOPE);
%
And this will initialize an entryId int and place it into
I got this completely working in a test, so if you need more help then to
put entryId as an Integer equalling 0, let me know. Oh, and if you couldn't
figure this out, when you use it as an index, it will come out as an Integer
value, and you'll need to say something like:
tdhtml:text
Hi all...
I am trying to determine how I can set a standard size for dynamically
generated submit buttons. I don't see a parameter for the html:submit tag
that allows you to specify size...is there a way to do it with stylesheets?
I can't see one... Do I have to scrap the Struts submit
confusion after reading Struts mail-archive
Date: Thu, 21 Jun 2001 15:05:38 -0600 (MDT)
On Thu, 21 Jun 2001, Becky Moyer wrote:
Steve,
Thanks so much for your reply, it gave me some more leads to follow.
I
have been playing with this for the last 2 days...I have tried to change
my
The missing message for index.title error message indicates that it cant
find your ApplicationResources.properties file that should be in the
WEB-INF/classes directory. This file will contain index.title=Strtuts
Starter Application and some other values necessary to build index.jsp.
-Becky-
Hi all...
I'm trying to get this to work...the Struts extension for Dreamweaver
UltraDev found at http://www.shokker.com/ctlx/ctlx.zip . I've installed it,
but I can't get it to recognize my tld files. I get the following null
pointer exception in my tomcat log...any ideas? I've set up
Hi all
Struts newbie here. I was wondering if someone could help me out with
multibox. Here's a code snippet from my jsp file:
html:form action=subscription.do
logic:iterate id=item1 name=entryData
TR
TD align=center
html:multibox
26 matches
Mail list logo