On May 28, 2003, Eric Miles [EMAIL PROTECTED] wrote:
|or try getParameter(action) in your execute method. The URL for the
|request looks like http://...?action=doSave; internally.
Hmm... I printed out request.getParameter(action), and the value is
always the label of the submit button, i.e.
Hirschmann, Bernhard wrote:
Thanks, Erik, but those I already know.
I'm looking for some hints how you can access or handle the CMA stuff using
Struts. I've seen that you can allow an action only for a speciffic role,
configuring in struts-config.xml. So I thought there may be more support. Do
I created a custom validator and thought that I had everything configured
properly, but couldn't get it to work. Since I was using an older version
of Struts (December/January), I downloaded the latest nightly build.
I then started getting the following error:
ERROR Date = 2003-05-28
Try changing methodparams to methodParams...
-Original Message-
From: Brown, Melonie S. - Contractor
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 7:46 AM
To: '[EMAIL PROTECTED]'
Subject: Possible Validator Bug
I created a custom validator and thought that I had everything
Sinclair, Mark wrote:
Hi All,
Please help I am relatively new to java and even more recently to struts. I
basically want to know what is the best way (best coding practice J2EE)to
connect to and use a DB with struts framework? The approaches that I have
considered (using my limited
On May 27, 2003, Gregory F. March [EMAIL PROTECTED] wrote:
|I have a form with multiple submit buttons. I'm trying to set up a
|LookupDispatchAction. It seems that
|
|request.getParameter(mapping.getParameter())
|
|is always returning null so I can't get to my actions.
Arg. I'm
Actually, this one was 2001 Mad Fish shiraz (US$15) from south-western
Australia, but one the whole, Aussie wines are very good. I'll keep an eye
out for the Kurtz, though!
My favorite wines are the cabernets from the California Russian Valley, but
I can't find any around Baltimore, so the
Hey everyone,
I'm trying to use the same JSP to update two similar but different types of
data.
The form is the same for both, but I want to use a different action mapping
for each.
I tried this:
logic:equal value=format name=type
html:form action=/UpdateFormat.do
/logic:equal
--- In [EMAIL PROTECTED], Gregory F. March [EMAIL PROTECTED] wrote:
On May 28, 2003, Eric Miles [EMAIL PROTECTED] wrote:
|or try getParameter(action) in your execute method. The URL
for the
|request looks like http://...?action=doSave; internally.
Hmm... I printed out
The first thing I would do is to find out where the problem lies - at server
end or client end. There could be many possible causes.
Personally I have been using IE 6.1 SP1 with Struts (Tomcat) for some time and
I did not encounter problems. But I am using it in an intranet.
On Tuesday 27 May
Hey everyone,
I have a logic:equal ... tag commented out in a JSP. However, when I go
to that page, it says:
[ServletException in:Edit.jsp] No such tag equal in the tag library imported
with prefix logic'
Shouldn't the tag be ignored? I also don't know why it can't find the equal
tag, but
Struts is the least of your teams performance concerns. It would do you good
service to simply take Struts as heling you organise servlets jsp's and go
chasing bigger problems like persistence and selection of architecture app
server. Struts doesn't change the Servlet model. It doesn't change
What kind of comment are you using, !-- HTML -- or %-- JSP --%
As far as why logic:equal isn't being found, post your JSP...
- Original Message -
From: Kamholz, Keith (corp-staff) USX [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 10:13 AM
Subject: Weirdness...
I've been warned by another developer to not just comment the tags but to totally
change them by removing spaces when I want to comment one out.
-Original Message-
From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 10:13 AM
To: '[EMAIL
Hi there,
I'm Struts newie and have a question about the iterate
tag.
When I'm creating an ArrayList with 2 objects. For
some reason only one show up.
What am I doing wrong ?
I've attached the jsp page.
thanks in advance
__
Do you Yahoo!?
Yahoo! Calendar - Free
One solution is to persist the data bean in the session scope. I've just
done this by giving the bean a unique name by appending the sessionId and
sending it back into the session scope, as well as sending a clone of the
bean into the request scope to be used by View A.
The follow-on action,
Actually, I just fixed the issue. Stupid typo in my code, sorry...
I'm sure you all know how that is.
- Keith
www.buffalo.edu/~kkamholz
-Original Message-
From: Ian Hunter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 10:20 AM
To: Struts Users Mailing List
Subject: Re:
Hi all,
I would like to change the label: 'browse' on the button to some other
text. Currently I'm using:
html:file property=file styleClass=regel title=some other text/
As you can see, I would like a button which displays the label 'some other
text'.
But, unfortunatly this seems not to
Really? I wonder why that is
- Keith
www.buffalo.edu/~kkamholz
-Original Message-
From: Kandi Potter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 10:22 AM
To: Struts Users Mailing List
Subject: RE: Weirdness...
I've been warned by another developer to not just comment
Dontcha hate that?
Raible, Matt wrote:
Try changing methodparams to methodParams...
-Original Message-
From: Brown, Melonie S. - Contractor
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 7:46 AM
To: '[EMAIL PROTECTED]'
Subject: Possible Validator Bug
I created a custom
Hi Struts guru's!!
Is there an example for SwitchAction somewhere?
TIA,
Vineet
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For my form validation failure, I have specified another action as Input.
When I submit to /result/view, the validation fails, I change one of my form-bean
attribute in validate method itself.
It then goes to /login
and the validate method is again called. I find that the form-bean attribue has
Is the / at the end there in real code?
logic:iterate id=usersAttrib name=usersAttrib /
If yes then remove it... and try.
Thanks.
-Vinay
-Original Message-
From: Per Lovdinger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 8:00 PM
To: [EMAIL PROTECTED]
Subject: iterate
Yes:
http://sourceforge.net/projects/struts
Look for Module Switching Examples
--
James Mitchell
Software Developer/Struts Evangelist
http://www.struts-atlanta.org
- Original Message -
From: Vineet Bhatia [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent:
He didn't say..but when I had some trouble with my code, he warned me about my
method of commenting
-Original Message-
From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 10:43 AM
To: 'Struts Users Mailing List'
Subject: RE: Weirdness...
I would like to change the label: 'browse' on the button to
some other text.
Unfortunately, you can't. This is a limitation of HTML, not Struts.
There are some really, really funks tricks with DHTML and hidden form
fields, etc, which can simulate this, but trust me, you don't want to use
them.
Hi there,
I'm using the nightly build from 25th of this month. My problem relates
to how a number of different tags are interacting.
So first, my page has the tag
tiles:useAttribute id=stepNumber name=pageNumber
classname=java.lang.String /
I can then later in my page do
html:hidden
Has anybody successfully managed to use Struts in a
distributed\clustered environment? If so with what
setup? And did you have any Struts related difficulties?
I've worked on applications using Struts that get
deployed in clustered environment.
You don't need to do anything special for
For my form validation failure, I have specified another action as Input.
When I submit to /result/view, the validation fails, I change one of my form-bean
attribute in validate method itself.
It then goes to /login
and the validate method is again called. I find that the form-bean attribue has
I have general question on which I did not find an answer in the FAQ/Google.
I seems quite a vital feature, so I believe I have missed something.
If the JSP does NOT contain any html:text or html:hidden tag for a field
that is referenced in the ActionForm, the ActionForm.field will be be left
Hi,
I'm trying to use the struts validation framework. I've installed the
example struts-validator WAR into tomcat and the examples seem to work fine.
On startup various debug messages get spat out during the parsing of the
validator-rules.xml and validation.xml files.
Like so...
INFO: Add
Sorry to be a pain
~~
Say for instance you want to filter for all the ' \ characters in request
parameters
either removing them, or escaping them.
Either way if you do it before the action form gets them, then on
prepopulation of form fields the user will see these alterations
here is the code, I have FELLOW_HEADER in session, it gives the following
error
[ServletException in:/jsp/fellow/declare_tenure_plans_step_1_1_tile.jsp]
Define tag can contain only one of name attribute, value attribute, or body
content'
I'm using JRun4.0
bean:define id=header
On Wed, 28 May 2003, Marcel Overdijk wrote:
Date: Wed, 28 May 2003 09:06:56 +0200
From: Marcel Overdijk [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: URL missing .do
Steve,
Could this also be the
Sometimes when I hit a submit button to forward to another page I get an
HTTP 500 error with the following error message:
No input attribute for mapping path ...
The path in the error message is configured in struts-config, and I'm sure
the struts-config is OK because sometimes it does work.
I found a work around for this - I don't understand the problem though
so anyone else does i'd love to be enlightened :-)
The work around is prior to the html:javascript tag, insert some java like -
%
Integer temp = new Integer(stepNumber);
int temp2 = temp.intValue();
%
Then use temp2
People,
Anyone can tell me how can I redirect from a jsp to another ?
Thanks in advance!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello guys,
I want to know when you start a Structs project, generally how do you
orgnize your project directory?
Which way you think is the most comfortable way for both developing and
deploying?
Thanks for share your idea with me.
Lei
Quick question...
I'm using 2 submit buttons in the same form, so that I can do 1 of 2 things,
with the same input data.
(You can do that, right?)
I have the value attribute for one of them set to 'delete'. What I'm
wondering is how to get the value of the submit button that was clicked from
among other things, it is the page to fall back on if validation fails.
so if you enter your form data correctly, you will go to the appropriate
page, but if you make a mistake, it looks at 'input' for where to go,
hence you may have seen it sometimes and not others?
In my case below, it is a
The following works but I was wondering if there is an easier way?
html:form action=/GetCategory
name=categoryForm
type=com.CategoryForm
scope=request
html:select property=category size=1
html:option value=CategorySelect-A-Category/html:option
html:option
Don't bother trying it. Only Mozilla gives you the value, while IE doesn't.
-Original Message-
From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]
Sent: May 28, 2003 1:01 PM
To: '[EMAIL PROTECTED]'
Subject: Submit Value
Quick question...
I'm using 2 submit buttons in the
Really? I thought that was a fairly common thing to do?
-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 1:14 PM
To: 'Struts Users Mailing List'
Subject: RE: Submit Value
Don't bother trying it. Only Mozilla gives you the value, while IE
Hey that's a pretty good one!! Although it's not Friday yet.
--
James Mitchell
Software Developer/Struts Evangelist
http://www.struts-atlanta.org
- Original Message -
From: Silverio Wagner Silva(Secorp) [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent:
Ok... Does anyone have a good alternative then?
-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 1:14 PM
To: 'Struts Users Mailing List'
Subject: RE: Submit Value
Don't bother trying it. Only Mozilla gives you the value, while IE doesn't.
Lei Gao wrote:
Hello guys,
I want to know when you start a Structs project, generally how do you
orgnize your project directory?
Which way you think is the most comfortable way for both developing and
deploying?
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html
Erik
**$* damn MICROSOFT!
And me for not testing on IE.
Now I have to redesign half my webapp!
And why is this implemented if IE (90% of population out there) cannot
use the feature?
/rant
/flame
Gah. Now to figure out an elegant way of fixing this
Phillip Qin wrote:
Don't bother trying it.
A submit button is supposed to submit a parameter when selected.
i.e.
input type=submit name=submitButton value=Delete
should send /xxx.do?submitButton=Delete
This should correspond to a member of your ActionForm.
You should also look into DispatchAction and LookupDispatchAction.
They can call
Hi List!
Can anybody help me to understand well the
meaning of bundle and key atrributes of the
exception tag nested in global-exceptions of
struts-config.xml? Does these atrributes make sense to
be defined if I have already set the path attribute to
an error page jsp?
If so, how will
Alright, I think I basically understand how this works, but doesn't this
interfere with internationalization?
If we want to use a message from Application Resources for the button label,
and if we check for that value in our action, won't the internationalization
get completely messed up?
- Keith
In that case use the LookupDispatchAction
Brandon Goodin
-Original Message-
From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 11:39 AM
To: 'Struts Users Mailing List'
Subject: RE: Submit Value
Alright, I think I basically understand how this
No it doesn't interfere with internationalization, as long as you use the
Struts HTML tags.
html:submit property=submitButton
bean:message key=button.name /
/html:submit
Brad Handy
-Original Message-
From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May
Can we remove this guy from the Struts-User List? PLEZ
Brandon Goodin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 11:49 AM
To: Brandon Goodin
Subject: DELIVERY FAILURE: Error delivering to Chetan Khimjee/Impfleet;
That is the difference between DispatchAction and LookupDispatchAction.
Refer to:
http://jakarta.apache.org/struts/api/org/apache/struts/actions/LookupDispatchAction.html
Basically, in both cases you need to overload the getKeyMethodMap()
method (Note: I think the documentation
I posted is
thanks. I hadn't figured out yet that you could just provide the button value
without value=
-Original Message-
From: Bradley M. Handy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 1:48 PM
To: 'Struts Users Mailing List'
Subject: RE: [struts-user] RE: Submit Value
No it
Lei Gao wrote:
Thanks Erik,
Very clear specified, then where generally you put your servlet/bean source
code?
Is that a good way for creating a sub directory called 'javasrc' or
something?
I have re-attached this to the list in case it be helpful to others.
I have my current (real world)
Denis Avdic wrote:
**$* damn MICROSOFT!
And me for not testing on IE.
Now I have to redesign half my webapp!
And why is this implemented if IE (90% of population out there) cannot
use the feature?
/rant
/flame
Gah. Now to figure out an elegant way of fixing this
Maybe you could have
For what it's worth, you could alternatively do this:
MessageResources resources = getResources(request);
if(form.getButton().equals(resources.getMessage(your.ok.key))){
}
if(form.getButton().equals(resources.getMessage(your.cancel.key))){
}
However, there could later be unreachable code if
(I should probably go read the HTML 4.0 spec BUT...)
Is anyone familiar with the button/ tag in HTML 4.0? I just found it
listed in Web Design In A Nutshell.
To quote, Defines a 'button' that functions similar to buttons created
with the input tag, but allows for richer rendering possibilities.
Actually, I just tried taking the value from request and it works.
If I do request.getParameter(submit); it returns value, but if i go
myForm.getSubmit(); it does not.
Weird. Only IE I can test right now is whatever comes with XP.
Anyone have any other experiences with this?
Denis
Erik
I apologize to the entire struts-dev-team.
Many things were said in a moment of panic.
Denis
Erik Price wrote:
Denis Avdic wrote:
**$* damn MICROSOFT!
And me for not testing on IE.
Now I have to redesign half my webapp!
And why is this implemented if IE (90% of population out there)
(I should probably go read the HTML 4.0 spec BUT...)
Is anyone familiar with the button/ tag in HTML 4.0? I just found it
listed in Web Design In A Nutshell.
To quote, Defines a 'button' that functions similar to buttons created
with the input tag, but allows for richer rendering possibilities.
People,
Anyone can tell me how can I redirect from a jsp to another one?
Thanks in advance!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Somebody spoof his email and just mail unsubscribe bot. Would that work?
Brandon Goodin wrote:
Can we remove this guy from the Struts-User List? PLEZ
Brandon Goodin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 11:49
Because there is no member variable to store the value of submit button.
Plus you cannot guarantee request.getParameter(submit) returning value for
some browsers.
-Original Message-
From: Denis Avdic [mailto:[EMAIL PROTECTED]
Sent: May 28, 2003 2:23 PM
To: Struts Users Mailing List
Silverio,
You can use your action class to do the redirect,
Marcos oliva
-Original Message-
From: Silverio Wagner Silva(Secorp) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 11:22 AM
To: 'Struts Users Mailing List'
Subject: Redirecionamento
People,
Anyone can tell me
The purpose of Struts is for this type of logic to not be in the
presentation layer. With that said,
try jsp:forward page=/ and % response.sendRedirect(); %
[EMAIL PROTECTED] wrote:
People,
Anyone can tell me how can I redirect from a jsp to another one?
Thanks in advance!
This is the spec you should look for
http://www.w3.org/TR/html4/interact/forms.html#h-17.5
-Original Message-
From: Josh McCulloch [mailto:[EMAIL PROTECTED]
Sent: May 28, 2003 2:17 PM
To: Struts Users Mailing List
Subject: HTML 4.0 button/ Tag?
(I should probably go read the HTML 4.0
At 11:16 AM -0700 5/28/03, Josh McCulloch wrote:
(I should probably go read the HTML 4.0 spec BUT...)
Is anyone familiar with the button/ tag in HTML 4.0? I just found
it listed in Web Design In A Nutshell.
To quote, Defines a 'button' that functions similar to buttons
created with the input
I'm trying to use Matt Kruse's javascript calendar popup
(http://www.mattkruse.com/javascript/calendarpopup/) inside a
nested:iterate. This is likely a javascript question, but I would
appreciate any help and it may help others save looking through the
archives for the 8+ hours I've spent
Why can't you depend on it? I've never had any problem getting the value of
a submit button from a submitted form in IE or any other browser. The
submit button is just another form parameter, so it gets passed like any
other form field (ie. Textfield, password field, checkbox, etc.).
I am
Why wouldn't there be a member variable? In the form?
html:submit property=submitButtonName value=WhateverValueIWantInHere
submit is there just because i put property=submit.
I could have called it property=yellowdinosaurwithpurplepolkadots and
it would still work (i think, never tried a name
When you submit a form using struts framework. Every param+value pair is
saved into your ActionForm. Param is the name of your ActionForm's member
variable. If the widget is a button and you want to read the value, either
use request.getAttribute(myButton) or use ActionForm.getMyButton.
the powers that be within my organization have passed a decree that all form
buttons have to use images because, supposedly, html text buttons are too
ugly. be that as it may.
i am extending the LookupDispatchAction for all my Action classes that have
inserts/updates/searches etc in them.
Right. Obviously there is some kind of misunderstanding here (probably
because of my naming) because that
is what I was doing.
Phillip Qin wrote:
When you submit a form using struts framework. Every param+value pair is
saved into your ActionForm. Param is the name of your ActionForm's member
Could be more javascript than tag-libs..
You've a few inconsistancies in approach at first glance.. targetDate
looks like it should be a variable not a string literal.. Can you paste
the code that arrives to the web browser (i.e. without the struts tags)?
On Wednesday, May 28, 2003, at
Sorry for the incomplete email
the powers that be within my organization have passed a decree that all form
buttons have to use images because, supposedly, html text buttons are too
ugly. be that as it may.
i am extending the LookupDispatchAction for all my Action classes that have
You could also not use submit buttons, but regular buttons, then use
Javascript to submit the form with something like
document.formName.submit();
-Original Message-
From: Denis Avdic [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 1:39 PM
To: Struts Users Mailing List
Subject:
Additionally, has anyone used the ImageButtonBeanManager available on
SourceForge as a solution to my problem?
-Original Message-
From: Pani, Gourav
Sent: Wednesday, May 28, 2003 1:53 PM
To: '[EMAIL PROTECTED]'
Subject: RE: using images for form buttons with LookupDispatchAction
Sorry
Mark (et al),
Here is the rendered html output from the jsp.
I don't think there are any inconsistencies, but please give me more
detail if you see something. This works fine when it's not in a
nested:iterate loop. I just need to get a document object reference that
includes the resolved index
credo che sarrebbe meglio se il oggetto fosse scritto nella stessa
lingua della email.
comunque la questa nuova parola italiana hai inventato è molto
interessante.. ;o) evidentamente devo studiare un po' di più..
saluti mark
On Wednesday, May 28, 2003, at 19:26 Europe/London, Josh McCulloch
I have to believe someone out there has done something
similar and is as
little expert in mixing javascript and struts as I am.
As soon as I get extra time, I _will_ be putting this calendar into a struts
taglib, so no one will need to fight this anymore :)
I'll point out a couple of issues
This is definitely *not* a Struts question. But, just this one time ...
http://www.google.ca/search?q=jsp+redirect
http://www.google.ca/search?q=jsp+tutorial
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPIntro.html
You should also read http://jakarta.apache.org/struts/resources/1st.html and
Matt,
the problem is getting the particular iterate element as expressed by
the tmpIndex. What needs to be passed for every row is something like
document.forms[0].['eventList[0].targetDate']
document.forms[1].['eventList[0].targetDate']
The following works but I was wondering if there is an easier way?
html:form action=/GetCategory
name=categoryForm
type=com.CategoryForm
scope=request
html:select property=category size=1
html:option value=CategorySelect-A-Category/html:option
html:option
Hi all...
Now that I've got me LookupDispatchAction problem worked out (it works
really well!), I'm struggling with a DynaActionForm problem.
I have an action who's scope is session. The associated form is a
DynaActionForm. Since I'm just building the app, I have the next
button on the form
Using an action the following is the method I am using to call
forms from a list box (instead of using links). Is there an
easier way of doing this possibly without an action?
html:form action=/GetCategory
name=categoryForm
type=com.CategoryForm
scope=request
html:select
Well, you'd probably have better performance if you got rid of the
/html:submit tag But this looks about as simple as it gets.
Mark
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 3:59 PM
To: Struts Users Mailing List
Subject: Is this
Hi all,
I am needing help.
I am getting in trouble with Locale and MessageResources stuff. When my JSP having a
html:messages tag renders it is printing ???en_US.my_property_name???. I know this
is
because i configured
message-resources null=false
And perhaps you can use javascript to do the forwarding instead of
sending this to the Action class, your struts-config will probably
change a bit.
My 2 cents
Marcos Oliva
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 1:09 PM
To:
snipped
Is there an easier way? Doesn't seem right to define multiple fowards in the
struts-config.
/snipped
Not really sure why this wouldn't seem right to you...the entire purpose of struts
actions is to determine control flow in the UI. Now, it would be bad if you were
dynamically
Try deploying the struts-example. If that fails then you have a problem.
--
James Mitchell
Software Developer/Struts Evangelist
http://www.struts-atlanta.org
- Original Message -
From: Daniel H. F. e Silva [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 4:11 PM
I would like to display the alphabets (A through Z) as links in my jsp. I'm
storing them in a Vector (or ArrayList) in my Form Bean. What tag libraries
should I use to iterate through the Vector/ArrayList, and caputre the
alphabet selected? ( I'm running a query upon the alphabet selected)
Thank
Thanks,
Barry
- Original Message -
From: Mark Galbreath [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 1:08 PM
Subject: RE: Is this question too easy?
Well, you'd probably have better performance if you got rid of the
/html:submit
Okay, no one seems to have any suggestions so having thought about this for
about a week now here is what I propose to do.
I'm just trying to implement very simple forms the struts way, prepopulation
validation are not major concerns at the moment but I'd like to keep the
option open.
My main
It's easy to see that in normal operation, it's a good idea for
PropertyMessageResources to be a read-only repository. There's no
good reason to change message properties at runtime. However, it would
be really nice to be able to write Cactus tests that are self-contained,
so I can manually
I'm reconsidering my approach to this problem, in
favor of something more elegant/more compatible with
out-of-the-box Struts. Anyone tackled this yet?
For those not aware, MS IE allows users to launch a
browser against the same session via File/New/Window
(Ctrl-N). The issue is, if you have
have you considered creating a unique token to do session related updates?
i don't think tokens can be transferred from one browser window to another
though i could be wrong.
-Original Message-
From: Michael Ruppin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 3:47 PM
To: Struts
logic:iterate and bean:write
Mark
-Original Message-
From: Alawadhi, Mona [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 4:29 PM
To: 'Struts Users Mailing List'
Subject: alphabetic index links
I would like to display the alphabets (A through Z) as links in my jsp. I'm
storing
Everyone's favorite!!! ;)
you can always disable control-N via JavaScript ;)
in an onkeydown handler probably for a body tag.
//check for control n
if (window.event.ctrlKey window.event.keyCode == 78)
{
window.event.returnValue = false;
return false;
}
1 - 100 of 203 matches
Mail list logo