indeed. i was giving a simple example. it can well be an data insert
form (where validation is required) - with some appropriate
message/result returned with it.
it is quite easy to use the same actionform for input/output
riyaz
Allistair Crossley wrote:
well for a search form, it's not like you
ormPropertyConfigs();
> for (int i = 0; i < formProps.length; i++) {
> // get property
> FormPropertyConfig prop = formProps[i];
> System.out.println(prop.getName());
> }
>
>
> - Original Message -
> From: "rmanchu" <[EMAIL PROTECTED]
pretty much what is on the input form. :)
eg: a search form would return the same search form with the set
parameters. the result i pass as a Collection in Request
imho, in a lot of the cases (mostly simple) it is just not worth the
effort to do a separation of input and output ActionForm 's
ri
got 3 classes, one for each XML node type. at the end, is
a custom HashMap(parent-form.name, List-of(child-form)). in this setup
the parent-form bean becomes obsolete although this setup works fine. i
would like to remove use of the parent-form class altogether. what i
don
#4
Michael Jouravlev wrote:
Turns out, that my way of using action forms differs from many other
Struts users' habits. So, I am wondering how do you use action forms.
I could not find the same poll in mailing list archives, so I am
starting this one.
You can answer here in the thread, or in the pol
i have the following case:
click link "search" => action => output.jsp
output.jsp has 2 forms, both forms use a hidden variable "table"
link "search" passes parameter "table". action creates "search form" and
"table" is correctly set by struts. now in output.jsp i have a tag that
creates a "recen
es html ...
>
> Cliff
>
> - Original Message -
> From: "rmanchu" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List"
> Sent: Tuesday, May 10, 2005 5:27 PM
> Subject: Re: [OT] Help !! Too many select-box in one page
>
>
>
how r u rendering you select boxes? ie, database call for each render?
riyaz
Cliff Lam wrote:
> Hi,
>
> My page has too many select-box in one page. The .html has 17XXX lines.
>
> This make the page load for a long time to appear =(
>
> Anyone face this problem too??
>
> Please give me some
did u try with ur forms? i think it should work. also, if you're jsp is
not backed by an action then, u'll need to create a form, which u can
easily by using a RequestUtils.createActionForm method
riyaz
Cliff Lam wrote:
> Thx a lot.
>
> This is a good method but I'm not using DynaActionForms =
eral times. Then you tired, and you click Back, and you
return from this form immediately, because it was stored in browser
session history only once.
On 5/8/05, rmanchu <[EMAIL PROTECTED]> wrote:
hi.
thanx to all who wrote back.
after having read the replies and links provided i'm going to u
hi.
thanx to all who wrote back.
after having read the replies and links provided i'm going to use the
Redirect-after-Post method in my app. i would have to craft a dynamic
Forward with the right params which i think for my needs is a much
shorter/easier route. thanx to all.
now i have a differ
have used the following extensively with DynaActionForms. i would think
that this would work with any extension of ActionForms. The form fields
are represented by FormPropertyConfig objects contained within the
FormBeanConfig objects. you could place the following code in you JSP
and see what happe
thanx michael. have one question though
in the example above, the redirect would produce a new request object
right? which means i'll lost some vars that i already have from my
"action1" which r required in "action2"
i'm thinking i shud redirect with the three parameters that i need - ie
i have to following scenario.
interface1 =>action1 => action2 => interface2
is calling another action from an action discouraged in struts?
what's the best solution for this? 1.2.4 to 1.3-dev
thanx
riyaz
-
To unsubscribe, e-mail: [
set-property is available when u extend ActionConfig and include your
getter/setter methods. [for 1.2.x branch ]
if you're using 1.3.x-dev you can use
to set arbitrary properties without extending the config class.
Only available for ActionConfig as of now.
hopefully all config's would get this
hi. i compiled with ant, no problems.
ps: do u have build_tests.xml? did not get it in my download, so cannot
run junit tests.
riyaz
Michael Jouravlev wrote:
I checked out 1.3 from svn, compiled it and tried to run. Apparently,
-
Joe Germuska wrote:
You'll see that it goes through all of its configs before returning,
which means that the last match should win. It's not explicitly
documented as such in the JavaDoc.
Hope that helps.
Joe
thanx joe. ok i guess that means and intelligent ordering of the actions
should get
hi guys
is there an order in which actions are associated with?
action1 ... path="/action/*/delete"
action2 ... path="/action/*/*"
if they were in that order, is it guaranteed that action1 will be
evaluated first and then action2?
thanx
riyaz
--
in request/session? what about when using modules? is the prefix
appended somewhere?
thanx
Leon Rosenberg wrote:
How about the name?
anyone know what is the key under which the actionform is
stored within a request?
-
To unsu
anyone know what is the key under which the actionform is stored within
a request?
riyaz
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hi guys
in validator, date validation is based on locale.
i want to fix it to SQL type dates only; -mm-dd
is there a way to do this? or do i write the rule?
riyaz.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
hi
menuAction and formAction are tiles definitions i've defined. both works
fine - i can see from the first action mapping
what i want to do here is that, if form validation fails, it should
forward to the tiles definition formAction. (though not shown
Dakota Jack wrote:
you cannot use the ActionForm. From your question I assume you are
using the ActionForm and wondering what in the heck happened to your
multipart request?
no. i just wanted to know if i do request.getParameter("paramname")
within an Action for an ActionForm submitted as multipa
hi guys,
long day today so am not thinking clearly :(
if a multipart-formdata form was submitted, would a
request.getParameter("paramname") return the correct values in an Action?
the wrapper takes care of this right?
)|(
riyaz
-
hi
[EMAIL PROTECTED] wrote:
In struts-config.xml change the element this way:
this worked. struts-config comments:
so i don't know y i have to explicitly declare it.
using: strts 1.3-dev tiles 1.3-dev
thanx a bunch
riyaz
-
Dave Newton wrote:
In the struts configuration file. Instead of using a path to the JSP you
use the name of the tile. You must also be using the Tiles plugin, as
detailed in:
i had defined it as that. and the error i get is below. menuAction is
the name of tile definition
Error :: Path menuActi
this is probably very simple but someone please tell me.
i've got the tile-defs set up - [name="classicLayout",
page="/mypage.jsp"]. i've got the jsps set up. my problem is getting
from the action to the tile-def page.
currently my myAction extends struts.Action
where's the connection ???
thanx
hi
tiles newbie.
am trying to incorporate Tiles to my existing struts project. can
someone please explain to me how the following is supposed to work?
1) have a page with classic 4 tile layout (header, menu, body, footer)
2) on selecting a menuitem, the body and menu tiles change.
if i submit to a
28 matches
Mail list logo