I dont want(In fact I can't) create a new class file for this. I just
wanted to know if it is possible. This is not a pure Struts project and
using some Java is not a problem.
Thanks for the replies.
In next project I will use a wrapper class which extends ArrayList with a
method as Michael
Hi ,
Can any body tell me how to retrive and set the value
for the radio buttons.Using the form Beans.
what i am doing now is if i want to display the values
o the jsp page. I fetch the data from database
manually populate the form bean and send it to the jsp
page. and all the feilds are
Check the type for it.
Java.lang.Boolean
It should work.
Warm regards
Amit
-Original Message-
From: jacob skariah [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 21, 2004 12:04 PM
To: [EMAIL PROTECTED]
Subject: Unable to set the radio butons value using form beans
Hi ,
Can any body
Hi,
I'm searching for a solution to have a multi file upload page. Since it
is not possible to load a set of file with one forms, I'm searching for
the best workaround.
My scenario;
I have a html-form and the user can fill out a set of html form fields,
e.g. Name, Address etc.
I wish to to have
Hi,
I am attempting to use Validator with DynaValidatorActionForms - but
can't get the Validator Plugin to work.
Even the most basic form refuses to validate - please help.
I have followed all FAQ - Mailing lists and books that I can find.
Please find following relevant sections from
The html:reset button restores the input values to the values that are specified
in the value property.
For example, if you have the following inputs in an html page:
input type=text name=abc1 value=Hello/
input type=text name=abc2 value=/
input type=reset/
the user can change the values of
DynaValidatorActionForm
is for forms, that contain more than *one* page
(like a wizzard or a poll)
in validation.xml you must enter on
name attribute the PATH of the action -
name=/submit1...
but I guess you want a Validator for a single page
so use DynaValidatorForm
now in vali.xml you must
Hi
How would I set up to add a userProfile
form object in my struts-config.xml and store
user info in it so that ProcessAction from
Scaffold will merge information coming from
the request form (ActionForm) and the userProfile
form and pass them to the execute method of
my business bean
Hi,
I have done the same thing. I have an arraylist of
formfile objects. I keep it in session. If you dont
want to keep it in session, you might keep it in some
temp folder on the server. But I would suggest to keep
in the session, and after you complete your
transaction, clean up the session. You
Check this link.
http://husted.com/struts/tips/016.html
--- Amit Kumar Sharma [EMAIL PROTECTED]
wrote:
Check the type for it.
Java.lang.Boolean
It should work.
Warm regards
Amit
-Original Message-
From: jacob skariah [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 21, 2004
I have done the same thing.
I would be interested how you had realize the ActionForm getter and
setter. You handle the files every time a user press the load up this
file button?
Thank you very much!
Stefan
-
To unsubscribe,
Check for the errors.header and errors.footer. Also
you can check if you using {0} in your properties file
error message for password. And if yes, are you
passing the parameter from your validation.xml
--- jacob skariah [EMAIL PROTECTED] wrote:
Hi,
I have given the error messages in my
My implementation is slightly different. I created an
object of FileData with fields like formfile,filename
etc. When you first paint the jsp, your action class
would create a FileData object and put it into the
arraylist defined in your action form.
I have a button called ADD ANOTHER FILE. When
Hi,
i've been trying for days to make this thing work.
I googled the web for many tutorials and
documentation, i read Scot Stark review, and lot other
stuff.
Unfortunatelly, i guess i didn't make a good search
right here on the struts mail archive. I if i've done
i'd have found this very
Hi everyone,
I have a form (extends ActionForm) that has a List property called procedimentos:
private List procedimentos;
public List getProcedimentos() {
return this.procedimentos;
}
public void setProcedimentos(List proc){
logic:iterate id=x property=procedimentos indexId=i
logic:iterate needs a name attribute if you specify property
attribute. If you give the name attribute equal to your form name,
it should work.
Kishore Senji.
-
To
In my validator.xml file it uses the path of the action - see original post.
I have tried the validator with the DynaValidatorForm and
validator.xml referencing the name of the form not the action path -
alas this didn't work.
Thanks
Chris Stav.
On Sat, 21 Aug 2004 14:14:03 +0200, Matthias
Hi Chris,
just in case you havent noticed;
Below you have not spelled 'property' correctly, you have 'propery'
maybe this was it? :)
richard
form-validation
global
/global
formset
form name=/login
I've been reading some interesting methods for
using image buttons on forms in place of the
familiar Submit style browser generated
buttons. There is one automatically generated
button that I am still puzzled on how to use
an image for it, though. That's the one for
do file uploading, as in:
I'm no expert here, but i think you're gonna have to
deal with the tradicional and ordinary file button as
it comes. In other words, i don't think it's possible
to use an image for this button.
That's not because of struts, it's how the browsers
implement thier html.
--- Dean A. Hoover [EMAIL
Leandro Melo wrote:
I'm no expert here, but i think you're gonna have to
deal with the tradicional and ordinary file button as
it comes. In other words, i don't think it's possible
to use an image for this button.
That's not because of struts, it's how the browsers
implement thier html.
--- Dean
One of the problems you run into with this is that there are differing
behaviors between IE and the other browsers.
Michael McGrady wrote:
Leandro Melo wrote:
I'm no expert here, but i think you're gonna have to
deal with the tradicional and ordinary file button as
it comes. In other words, i
Dean A. Hoover wrote:
I've
been reading some interesting methods for
using image buttons on forms in place of the
familiar "Submit" style browser generated
buttons. There is one automatically generated
button that I am still puzzled on how to use
an image for it, though. That's
HTML DOM FileUpload Object
previous http://www.w3schools.com/htmldom/dom_obj_event.asp next
http://www.w3schools.com/htmldom/dom_obj_form.asp
FileUpload Object
For each instance of an HTML input type=file tag on a form,
Ergo, research should begin on input type='file disabled=true with
javascript
Michael
Dean A. Hoover wrote:
I've been reading some interesting methods for
using image buttons on forms in place of the
familiar Submit style browser generated
buttons. There is one automatically generated
button
What is the best archive for this list?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://marc.theaimsgroup.com
Michael McGrady wrote:
What is the best archive for this list?
--
Please post on Rich Internet Applications User Interface (RiA/SoA)
http://www.portalvu.com
-
To unsubscribe, e-mail: [EMAIL
Thx Richard - that was it Had been pulling my hair out over this one.
On Sat, 21 Aug 2004 19:38:05 +0100, Richard Aukland [EMAIL PROTECTED] wrote:
Hi Chris,
just in case you havent noticed;
Below you have not spelled 'property' correctly, you have 'propery'
maybe this was it? :)
Hi,
Got a problem, no idea what's wrong:
I have defined a violation handler:
---
action path=/admin/OrgWorkflowViolation
type=net.canal.admin.action.OrgWorkflowViolationAction
forward name=success path=.createOrgDef/
/action
I find no difference if I saveToken() without
resetToken() first.
Does it reset token to zeroes?
What does resetToken do?
_
...
http://us.rd.yahoo.com/evt=22281/*http://ringtone.yahoo.com.hk/
Ping Cheung Leung wrote:
I find no difference if I saveToken() without
resetToken() first.
Does it reset token to zeroes?
What does resetToken do?
resets the token to a new value.
-
To unsubscribe, e-mail: [EMAIL
I have a web page presented by JSP only.
No data to input. It contains several links only.
If I click one of the links on the web page,
It will go to another web page with a form to input
data.
If I want the form to have a token generated
when the form first appears.
How can I code it?
The
Ping Cheung Leung wrote:
I have a web page presented by JSP only.
No data to input. It contains several links only.
If I click one of the links on the web page,
It will go to another web page with a form to input
data.
If I want the form to have a token generated
when the form first appears.
Ok this is more like a question that shud be asked
in developer group, but authors of scaffold are
going to read it here any way. I hope.
The org.apache.commons.scaffold.lang dir has a whole
bunch of exceptions that simply does chaining. Why not
integrate them with ActionErrors as in
Using your example I would have a form to gather the search criteria.
Submitting the form to the first action would gather a list of employess and
store that list in a request scope attribute. It would then forward to the
employee list jsp which would render the list of employees. Selecting an
35 matches
Mail list logo