I am using Struts 1.2.8, Tomcat 5.5, AJAX DOJO. It will later be enclosed as
a portlet using Struts Bridge for deployment on Jetspeed 2 Portal.
I have a table that is populated dynamically from a database (MySQL).
In this table - each table element includes an In Line Edit widget for
real-time e
On 7/13/06, Akshay Ahooja <[EMAIL PROTECTED]> wrote:
I tried using
1. While Struts html:form tag will properly parse out the query
parameter out of "action" attribute, it is not a recommended way to
pass data from a submitted form. You might want to use a hidden field
instead (unless you use GE
006 10:55
To: Struts Users Mailing List
Subject: Re: Calling a struts action from Javascript
Hmm ok that makes sense and the form submits..
The problem is I need to store some values in the Bean before/while I
submit
the form.
Is there anyway to store the value in the bean so when teh form submits i
y an unfriendly user.
-Adam
-Original Message-
From: Akshay Ahooja [mailto:[EMAIL PROTECTED]
Sent: Thursday, 13 July 2006 10:55
To: Struts Users Mailing List
Subject: Re: Calling a struts action from Javascript
Hmm ok that makes sense and the form submits..
The problem is I need to stor
though unless you care
> about
> the page refreshing.
>
> -Adam
>
> -Original Message-
> From: Akshay Ahooja [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 13 July 2006 09:43
> To: Struts Users Mailing List
> Subject: Re: Calling a struts action from Javascript
>
&g
widgets in the form so submitting the form submits ALL the values,
>> not
>> just the one? I guess it really doesn't matter though unless you care
>> about
>> the page refreshing.
>>
>> -Adam
>>
>> -----Original Message-
>> From: Akshay Aho
s you care
about
the page refreshing.
-Adam
-Original Message-
From: Akshay Ahooja [mailto:[EMAIL PROTECTED]
Sent: Thursday, 13 July 2006 09:43
To: Struts Users Mailing List
Subject: Re: Calling a struts action from Javascript
I am using Dojo AJAX Inline Edit widget - and when the save
eally doesn't matter though unless you care about
the page refreshing.
-Adam
-Original Message-
From: Akshay Ahooja [mailto:[EMAIL PROTECTED]
Sent: Thursday, 13 July 2006 09:43
To: Struts Users Mailing List
Subject: Re: Calling a struts action from Javascript
I am using Dojo AJAX I
To elaborate on Frank's reply, the name of the form comes from the name
attribute of the in the struts-config, but this value is
just a reference to the configuration. Within the context of
the , I might even call it a misnomer. People new to struts
might be better served by a "bean", "form" o
I am using Dojo AJAX Inline Edit widget - and when the save button is
pressed it automatically calls an onSave JS handler ... I believe you have
to do the submit in JS in this case?
-Akshay
On 7/13/06, Adam Gordon <[EMAIL PROTECTED]> wrote:
That really depends on what you are actually trying t
That really depends on what you are actually trying to do. We use J/S to
make XML HTTP requests (using AJAX) to make requests without having to
reload the page. We do this to display "dialogs" in the same browser
window, e.g., to show report details.
If you want other examples, Google's Gmail us
Hi,
If you do a 'view source' and have a look at the actual HTML that struts
generates you'll see that is generates a form with an ID which is the
same name as the form associated with the action in strutsconfig. Hence
to submit the form from JS you need to so something like:
document.getEle
On Thu, July 13, 2006 10:58 am, Akshay Ahooja wrote:
> Hi,
>
> Does anyone know how to call a Struts action using Javacript...
>
> I am using:
>
>
> ...
>
>
>
>
> I know for regular form tags () you can use:
> document.formname.submit
> ()...
>
> How would you do it for ? I have to use this becau
13 matches
Mail list logo