the name of the form bean is projectForm with small p compared to the bean
class ProjectForm with big P. make sure u use projectForm with small p
in ur form action definition.
ct.
-Original Message-
From: Sudhir [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 14 May 2002 4:17 PM
To: [EMAIL
Michael,
Since it's already done through the TreeMap and TreeSet collection classes,
I don't think it's necessary to implement it again in the logic:iterate
tag. If you want to access members of a collection in a sorted order, then
use the TreeMap or TreeSet as the collection and invoke the
Subject: Re: SSL
From: Wolfgang Gehner [EMAIL PROTECTED]
===
just testposting...
Andy Noble wrote in message ...
Always worth checking out Ted Husted's site :
http://husted.com/struts/FAQ/controller-ssl.htm
Andy
- Original Message -
From: Rakesh [EMAIL PROTECTED]
To: [EMAIL
We have done it with 6.1 SP2 and there were no extra steps required.
Rgs
Vikram
-Original Message-
From: asd asd [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 10:35 PM
To: [EMAIL PROTECTED]
Subject: Using struts with WLS6.2?
The only install docs I could find online at
This is my first time to try Struts in Tomcat 3.2.1 (no Apache)
struts-documentation.war deployed OK but all other .war files result in
errors (below) while the war files are being loaded. Any advice for a first
timer with Struts.
java.lang.ClassNotFoundException:
Does WLS 6.2 ever exist???
- Original Message -
From: Vikram Goyal01 [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, May 14, 2002 4:14 PM
Subject: RE: Using struts with WLS6.2?
We have done it with 6.1 SP2 and there were no extra steps required.
Rgs
Hi Steve
I registered an enhancement in bugzilla months ago... to get around
this the easiest way is to subclass the tags and add some extensions.
here is an example from the form tag. the function called lookup, first
block of code deals with determining appConfig. replace it with:
if (
Hi Chakradhar,
Thanks for your immediate reply.
Could you let me know an example how to get the data from database and display on JSP.
Using Action Class we need to get the data from databse ... right.
After getting the data to Action Class how to transform the data to JSP via Action
Hi Doug,
We do something similar, but with a check box and an input field, but the
process should be the same.
Javascript function that enables the input field based on the checkbox
accessed by form and index
function isBudgetRequired(form, index) {
checkBox =
Subject: Re: VAJ 4 Struts Error 503
From: Marco [EMAIL PROTECTED]
===
[EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
This is a generic error put out by VAJ (actually WebSphere) when one
of your servlets in your app.webapp fails to load. In this case, it's
most probably the
Hi guys
Can you tell me if is possible to call the Struts setLocale method from a
jsp page?
thanks
Lisa
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hello All:
I have been working on enabling JasperReports inside an existing Struts
application, but have not had much luck. I have run through the tutorial
and the entire JasperReports site but did not get much if anything out of
the documentation...maybe I am missing something?
I was
Hi
I am running Struts with Borland Enterprises Server (BES), version 5.0. I
have migrated an application that was deployed on Tomcat 4 standalone to
BES.
BES will not run the app, printing a parser error on startup about not being
able to find the dtd's for the struts-config.xml file. This
Actually, maybe the question should be how do I set the LOCALE_KEY for my
session?
I can then change the locale stored under LOCALE_KEY myself.
Lisa
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
This might be too obvious. But, the definition (ProjectForm.class) must be
in org/apache/struts/webapp/example following the type syntax. To get
things working I usually put my definitions (.class files) in the classes
directory at first and set type to the definition name, e.g.
how do you know it´s not closing the session? What is happening instead?
Adam
Villegas, Courtney wrote:
I am having troubles with the logout action that I have written. It directs
me to the correct page, but does not actually log the user out and close the
session. I have attached my action
Whoops. I see I´m behind everyone else.
Villegas, Courtney wrote:
ALl of my jsp pages check to see whether a user is logged on. After calling
the logout action, I am still able to navigate to my other jsp pages. This
does not happen every time. I am really tearing my hair out trying to
I put the data into beans like you do, but I use a bean declared in a
tag on the jsp and then the iterate tag gets the bean-array direct from
the databean via a getter function.
Some things like options tags are done better like you do, by putting
the bean-array into the request.
There are
If you can do that:
Locale locale = (Locale)
getServletContext().getAttribute(Action.LOCALE_KEY);
Then can't you also do:
getServletContext().setAttribute(Action.LOCALE_KEY, new Locale(en));
Lisa van Gelder wrote:
Actually, maybe the question should be how do I set the
Hi Les,
Thanks for helping out with your example.
It looks good, I will try it out later.
Doug
-Original Message-
From: Wilson, Les J SI-FSIA [mailto:[EMAIL PROTECTED]]
Sent: 14 May 2002 10:43
To: 'Struts Users Mailing List'
Subject: RE: Using onclick within iterate tag
--
To
You're right, you can. If you change the attribute in session, it changes
the Locale for all pages just like doing setLocale in struts...
thanks!
Lisa
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]]
Sent: 14 May 2002 13:40
To: Struts Users Mailing List
Subject: Re:
You're not reading this wrong. I'm advocating creating 50 webapps (and 50
war files) if you have 50 sites.
But I've always felt that disk space and server memory are cheap compared
to developer time. CPU requirements would likely be the same with either
approach.
Don't run from ghosts - that
Hello and thank you very much in advance for reading! A quick one first -
been using Struts for over a year now - what a brilliant code base!! Saves
time and forces elegance. Fantastic.
Could somebody tell me, is the following possible to implement using sta?
I want to use the Struts model
Subject: File Upload - MultipartRequest, Weblogic 6.1 and Servlet 2.3
From: Andrej [EMAIL PROTECTED]
===
Hello All,
I'm having big problems uploading files in the following environment: Struts
1.1b1, Weblogic 6.1 sp2 on Solaris 8. I keep getting a warning followed by
an exception (both are
Check this out:
http://www.fawcette.com/javapro/2002_01/magazine/features/acalsavara/
Mark
-Original Message-
From: Struts Newsgroup [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 9:10 AM
Subject: File Upload - MultipartRequest, Weblogic 6.1 and Servlet 2.3
From: Andrej [EMAIL
Joseph,
Thanks alot for your help...
Regards,
Taati
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Subject: Re: Problem w/ ActionForm Value Object mapper by Andrej Consulting
From: Andrej [EMAIL PROTECTED]
===
Roland,
sorry for replying late... I had to unsubscribe to the list (though I
replied to your Hotmail account :) ).
I'm not aware of any real problems with converting Integers using
If I understand correctly:
- Your error messages are defined in the ApplicationResources.properties
file.
- You have the property name (key) for the error message you want
- You're in the Action class and want to access the error message.
Given that:
MessageResources messages =
Hello,
I need to display an unknown number of input fields to the user within a
logic:iterate tag.
The field corresponds to a form property 'comment', say.
So in the corresponding Struts form I will need to have a getter and setter
that sets and gets a String AND a Collection like so:
public
isn't teaching a designer XSLT to modify a schema into
HTML easier than teaching them to not break your java
code inside of a jsp?
No, it's not. XSLT *is* a programming language and you have to know
XPath to really do anything practical with XSLT. I would never try to
teach designers XSLT
Can you please explain WHY server side XSL transforms shd be more of a
performance (resource) hog than client side?
Thanks
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 10:36 AM
To: [EMAIL PROTECTED]
Subject: RE: xml-xslt v jsp
Hello,
I've used struts 1.0 with forms before but I'm having problems using
DynaActionForms instead.
I've setup my struts-config properly (I beleive), and I'm using the
following code in my action to set my form bean:
DynaActionForm myForm = new DynaActionForm();
myForm.set(name,this is my
A more fundamental issue here is that this only really addresses the view
of the MVC architecture. That is, XSL/XSLT/XPATH are really only useful
once you have the data you are prepared to present (in the xml record) and
want to render it into html (using XSL/XSLT).
Given that, I believe
I've been trying to find documentation on how to use a Map collection in
html:options with the Map key as the label name and the Map value as the
label property.
thanks,
sriram
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Client-side is non-portable and leads to tailoring the app to a particular
browser-implementation. In addition, bugs are virtually impossible to
recreate since you have no control over the client environment.
Keep it server-side.
Tandon, Pankaj [EMAIL PROTECTED] on 05/14/2002 10:42:41 AM
You'll have to set the indexed property to true in all child tags within the
iterator...
html:text name=someBean property=comment indexed=true
Or... you can use nested tags and it's all done for you, no matter what child
tags your using, and you can also forget having to set a bean with the
Now that I look at this - I like this 3rd use case even better:
3. allow xml to be specified in-line. Tag then transforms against xsl
specified by xsl attribute
html:xslt xsl=path_or_url/to/stylesheet.xsl
// XML document then created dynamically based on
//
Someone else could probably do a better job than me, but...
1) If transforms are done on the client, processing is distributed.
The server does not have to process transformations for all of the
concurrently connected clients. DOM processing takes a lot of memory
and overall application
A Map is not a Collection.
Mark
-Original Message-
From: Sriram Nookala [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 10:48 AM
To: Struts Users Mailing List
Subject: Re: html:options with a Map collection
I've been trying to find documentation on how to use a Map collection
I aggree that it's very difficult to debug and is non-portable, but our
experience was that we could never find a server environment with
adequate performance. The performance issue outweighed the portability
and support issues for us. Of course, we're talking about an intranet
application
Could someone please shed some light on this issue? I would like to move
forward.
At least tell me to go look for another career in small motor repair! :-)
I have completed the nested tutorials part one and two (on the Arron's
keyboardmonkey site), and actually have no questions about
I have 3 properties (month, day, year) in the JSP. Is there a shortcut-way
to get my form bean to set a date property based on these three fields
without explicitly?
Michael Marrotte
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
aha...
if you are using Weblogic 5-6 then I know exactly what going on :)
the problem is when you call session.invalidate() and then do a forward,
your session is not invalidated. So if you invalidate your current session
and do a redirect to where ever you want to go
In addition to my earlier response. The problem is,. you actually do
closed your session because if you try to invalidate the session again right
after your first invalidate you will get an invalidStateException (or
something). but if you do a forward to the next resource ... for some
I got this to work using the following:
html:optionsCollection property=reportTemplates
label=key value=value/
where getReportTemplates returns the Map.
- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday,
That's great! But a Map is still not a Collection.
-Original Message-
From: Sriram Nookala [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 11:32 AM
To: Struts Users Mailing List
Subject: Re: html:options with a Map collection
I got this to work using the following:
This code fragment creates a read-only date property.
If you now define on your form a month, date and year properties then
the date is automatically set.
private String month;
public String getMonth () { return this.month; }
public void setMonth (String month) {
Hmm Thought I was sooo smart.
The JSTL already provides this
http://jakarta.apache.org/taglibs/doc/xsl-doc/xsl-1.0/index.html
FWIW -
Kevin
[EMAIL PROTECTED] on 05/14/2002 10:46:19 AM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users
Please take the hint! Mark is right and you wont like it if you force him to become
sarcastic!
Simon
-
Simon P. Chappell [EMAIL PROTECTED]
Java Programming Specialist www.landsend.com
Create a from in your jsp (I do this in my welcome page), something like
(don't cut and paste this as I just quickly typed the following)
html:form action = setLocale.do
Choose Language :html:select name=locale
html:option value=EnglishEnglish/html:option
html:option
See also:
xtags
http://jakarta.apache.org/taglibs/doc/xtags-doc/intro.html
and open symphony transform tags:
http://www.opensymphony.com/transformtags/
for examples of taglibs that transform xml against a given xsl.
Lisa
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
On Tue, 14 May 2002 [EMAIL PROTECTED] wrote:
Date: Tue, 14 May 2002 10:13:00 -0500
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: xml-xslt v jsp
I aggree that it's very difficult to debug and is non-portable, but our
I should know..I'm still cleaning my wounds!
;)
JM
-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 12:04 PM
To: Struts Users Mailing List
Subject: RE: html:options with a Map collection
Please take the hint! Mark is right
Is there a way to suppress the default value for html:text when the
property of the bean is an int? I don't want a 0 showing in the textbox
when the property has not been set - it's screwing up validation.
Thanks,
Mark
I didn't use the struts examples to test out my setup. Instead I just
provided my own little application, but it works. Just make sure the
package names are consistent as I made changes to the sample codes below
before I sending this out.
Installation and configuration
1. In VAJ, you will
how about scriptlet? if getProperty==0 call Javascript function.
Javascript funcion
form.element.value=;
From: Galbreath, Mark [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts (E-mail) [EMAIL PROTECTED]
Subject: html:text issue
Date: Tue, 14 May 2002 12:12:51
Nah...want to avoid all client scripting except JavaScript validation.
-Original Message-
From: SUPRIYA MISRA [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 12:22 PM
To: [EMAIL PROTECTED]
Subject: Re: html:text issue
how about scriptlet? if getProperty==0 call Javascript
Can you get by with a wrapper?
JM
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 12:24 PM
To: 'Struts Users Mailing List'
Subject: RE: html:text issue
Nah...want to avoid all client scripting except JavaScript validation.
I wanted to do something where a just created the properties for each
club based on the URL and pass resources and a directory to the jsp
pages. I think in my case it would be best on the server to have just
one set of pages running even if there is a bit more overhead processing
the pages.
Subject: Re: html:text issue
From: Vic C [EMAIL PROTECTED]
===
JavaScript validation? Struts validator is great! Re-consider for future.
Galbreath, Mark wrote:
Nah...want to avoid all client scripting except JavaScript validation.
-Original Message-
From: SUPRIYA MISRA
Could somebody tell me, is the following possible to implement using sta?
I want to use the Struts model correctly to implement a page that has this
layout:
form name= action=..
input type=radio name=a.ac.own value=na
input type=radio name=a.ac.own value=ro
input type=radio name=a.ac.own
Is it possible to have an action forward to an external site? In other
words, can I set my success path to a http reference? See example below.
actionpath=/triNet
type=org.trimet.security.actions.TriNet
scope=request
forward
Shouldn't this be taken care of in the bean? Why fix it in the jsp?
That is, the bean should provide valid display values.
If it shows 0, when the property has not been set then can the bean have
the appropriate values initialized?
This approach simplifies the jsp's and makes it less
I also need to integrate this with some parts from an existing PHP site
which I'm sure is going to add some complexity to the site. And I don't
want to have to erase and rebuild 50 sites everytime I need to fix a
little problem. Which with my client happens several times a day.
Using Ant
Hi
This is the exception that is written out when I migrate my app from Tomcat
4 to BES 5.
The struts-config.xml file is ok cause I test my app in standalone Tomcat
and it works. Only the controller servlet will not come up in BES, which btw
also uses Tomcat.
TIA,
Karim
[Mon May 13 16:36:35
I forgot to include this.
You will need to make some revisions to the Struts source code or you
will get the following error Cannot remove Attribute from request scope
in your browser. I think this problem only occurs in WebSphere.
In VAJ, go to the
Hi :)
Could anyone pls tell me how to populate a dropdown list using struts
tag libraries. I've heard that I need to put a Collection (Arraylist) in
the request.
This Collection is build from a Database.
For Example I have 3 files :
- UserForm.java
- UserAction.java
- SelectUser.jsp
I want to
Did you get the struts-example running???
JM
-Original Message-
From: Damien VIEL [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 12:54 PM
To: Struts Users Mailing List
Subject: Help : Dropdown List
Hi :)
Could anyone pls tell me how to populate a dropdown list
Good to know, I have never actually used Ant.
On Tue, 2002-05-14 at 10:34, [EMAIL PROTECTED] wrote:
I also need to integrate this with some parts from an existing PHP site
which I'm sure is going to add some complexity to the site. And I don't
want to have to erase and rebuild 50
I guess the Integer is out of the question???
JM
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 12:57 PM
To: 'Struts Users Mailing List'
Subject: RE: html:text issue
I do Struts validation on the server side html:errors as
We do this by wrapping the int value in a getWhateverDisplay method that
returns a string - we test if the int value is 0 then return an empty string
- the form field then refers to the whateverDisplay attribute. The set
method (setWhateverDisplay) then converts the entered value back to the
There have been several examples of a default/generic file structure and
build.xml file posted within the last few weeks.
If you need additional help, just let us know.
JM
-Original Message-
From: Mike Karl [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 12:57 PM
To: Struts
Sorry no,
but I'm going to :)
Dams
- Original Message -
From: James Mitchell [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, May 14, 2002 6:59 PM
Subject: RE: Help : Dropdown List
Did you get the struts-example running???
JM
-Original
Thanks, Les...I'll give it a shot.
-Original Message-
From: Wilson, Les J SI-FSIA [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 1:03 PM
To: 'Struts Users Mailing List'
Subject: RE: html:text issue
We do this by wrapping the int value in a getWhateverDisplay method that
returns
Well, if you look at the subscription.jsp.
The example loads these in the jsp, but this could easily have been a call
to your data manager/service or could even been pre-cached as an application
scope list.
%-- In real life, these would be loaded from a database --%
%
java.util.ArrayList
Hey Mike,
I think that you should look into the nested tags. I implemented a similar case
with the following in my JSP but I found all I needed in the tutorials at
http://www.keyboardmonkey.com/struts/index.html
nested:iterate property=possibleProfiles
Ok,
no problem with this example.
But I've read that it's not a good choice to create the ArrayList in the JSP
but create it
in another class and put this Arraylist in the request object. So you set a
bean in the JSP.
%jsp:UseBean.../%
td align=left
html:select property=type
Within your Action class.
JM
-Original Message-
From: Damien VIEL [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 1:39 PM
To: Struts Users Mailing List
Subject: Re: Help : Dropdown List
Ok,
no problem with this example.
But I've read that it's not a good choice to
sorry I did not clarify.
I was not advocating to do this in the jsp.
This should be done within the action.
I guess I take this for granted.hmmm.
JM
-Original Message-
From: Damien VIEL [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 1:39 PM
To: Struts Users Mailing
From: Galbreath, Mark
Is there a way to suppress the default value for html:text
when the property of the bean is an int?
Yes.
-Shane
_
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--
To unsubscribe,
LOL
JM
-Original Message-
From: Shane Bouslough [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 1:49 PM
To: [EMAIL PROTECTED]
Subject: Re: html:text issue
From: Galbreath, Mark
Is there a way to suppress the default value for html:text
when the property of the bean
Hi all,
I'm starting to rethink my current code structure. One of the question I came up with
is where the application state is supposed to be. Currently I have a bean which holds
my state in the session. If I moved this application to a new client, the state bean
could end up in the
looks like the root issue is:
Parsing error processing resource path /WEB-INF/struts-config.xml
Which parser are is BES configured to use?
Maybe that this is set to validate and the Tomcat is set to not validate.
Given that you're validating againts struts-config_1_0.dtd (again, from
Hi All,
probably a little out of Struts scope but, not a problem for many of you,
since it plugs in struts. I need to code an DAO class that, via JDBC,
accesses a database. Database is Oracle 8i. We intend to manage any kind of
database data.
My employer suggested my that class could have a
touche.
-Original Message-
From: Shane Bouslough [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 1:49 PM
From: Galbreath, Mark
Is there a way to suppress the default value for html:text
when the property of the bean is an int?
Yes.
-Shane
I get a NullPointerException when attempting to configure ActionServlet
as follows (struts nightly build 20020508, struts-config_1_1.dtd):
data-sources
data-source
className=org.apache.struts.config.DataSourceConfig
key=MyBasicDataSource
Subject: Re: Logic:Iterate:sort, what do you think?
From: Andrej [EMAIL PROTECTED]
===
Michael,
this may be a useless note, but if you want to sort a Collection, you can
use the Comparable interface then the Collection.sort() method. IMHO,
sorting is a process and should theoretically not be
Nope. It is a struts problem .
From: James Mitchell [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: html:text issue
Date: Tue, 14 May 2002 13:53:44 -0400
LOL
JM
-Original Message-
From: Shane
Andrej;
I've seen this lightly debated, before - that is, whether or not sorting
should be in the Model or the View. I haven't been completely persuaded one
way or the other. I suppose there's good reason for both arguments. Does
sorting create a different view of the same data or does
I'd sort it in Flash.
Mark
-Original Message-
From: Michael Marrotte [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 3:05 PM
Andrej;
I've seen this lightly debated, before - that is, whether or not sorting
should be in the Model or the View. I haven't been completely persuaded
But how in the world would you call that from Struts???
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 2:13 PM
To: 'Struts Users Mailing List'
Subject: RE: Logic:Iterate:sort, what do you think?
I'd sort it in Flash.
Mark
-Original
It's being thrown from ActionServlet.initApplicationDataSources()
The log statement is coming from a resource file.
@see apache\struts\action\ActionResources.properties
line 10
dataSource.init=Initializing application data source {0}
I'm still speculating as to which line of code is the culprit
On Tue, 14 May 2002, Galbreath, Mark wrote:
Date: Tue, 14 May 2002 12:12:51 -0400
From: Galbreath, Mark [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts (E-mail) [EMAIL PROTECTED]
Subject: html:text issue
Is there a way to suppress the default value for
Thanks, Craig.
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 3:43 PM
To: Struts Users Mailing List
Subject: Re: html:text issue
On Tue, 14 May 2002, Galbreath, Mark wrote:
Date: Tue, 14 May 2002 12:12:51 -0400
From: Galbreath,
Can someone help me figure a way to do something like this?
html:select property=x_bean:write name=y property=z filter=true/
What I wanted to do is dynamically name the html:select property,
x_[some-dynamic-value].
Any idea on how I should really approach this?
Thanks,
--Michael Marrotte
Out of curiosity.
Why do you need this done?
You want to be able to tell Struts which get???() and set???() to call based
on a value in a bean?
Wouldn't the DynaActionFrom suit your needs?
JM
-Original Message-
From: Michael Marrotte [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May
Subject: Re: File Upload - MultipartRequest, Weblogic 6.1 and Servlet 2.3
From: Andrej Sobkowski [EMAIL PROTECTED]
===
Got it! Here is the solution:
http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg06077.html
[CopyPaste]
when you use struts in combination with a Weblogic servlet
Subject: Re: VAJ 4 Struts Error 503
From: Marco [EMAIL PROTECTED]
===
Thanks Raffa this really helped a lot. I have your sample running. I still
get an error message when I don't fill in both fields but I think I can fix
that on my own, shouldn't be too much of a problem.
Hopefully I can
What exactly is all this DynaActionForm stuff? I've seen references to it
but have not been able to find any information on it...
Steve.
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 1:10 PM
To: Struts Users Mailing List
Subject: RE:
I've found using bean:write as part of dynamic functions problematic, but
have been able to do with JavaScript by wrapping the bean getter with a
JavaScript type. For example, you may find some way to do something like:
script type=text/javascript
function getProperty() {
var newProp =x_
1 - 100 of 141 matches
Mail list logo