U could try sending it as an attachment in a SOPA message
-Original Message-
From: Steve Bosman [mailto:[EMAIL PROTECTED]
Sent: 22 June 2006 11:27
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: How can I transfer a file to a struts based web application
from a java applicat
Is your form in the session scope in the struts-config.xml?
-Original Message-
From: Wiles, Cory [mailto:[EMAIL PROTECTED]
Sent: 20 June 2006 03:54
To: user@struts.apache.org
Subject: Bean Information not Displaying on Failed Validation
I have a form that a user fills out, selects from a
t the problem I started with which is how
to pass the value of the element to the JS function.
Is there anyway I can pass as a parameter to a function into the of struts without using the
-Original Message-
From: Shoukat, Faisal
Sent: 14 June 2006 11:51
To: 'Struts Users Mailing
Hi,
I am using a list backed action form and need some advice on how to get the
value from the html:text box so I can do some logic with it in a javascript
function.
In my case I have the following:
" size="20"
onblur="<%=jsFunction%>"/>
My jsFunction is as follows:
javascript:calculate('<%=
Hi
Is there a way to check if the date is a valid date in the validator
framework. If I enter a invalid date such as 67/06/2006 it returns me the
error message Created Date is not a valid date format (dd/mm/).
Which is the error.date in my message resources. However I want to not
check the
perty attribute supports
expressions, you could set the value of the into a
page scoped variable then write it into the property attribute using an
expression. For example, using c:set from JSTL:
-Original Message-
From: Shoukat, Faisal [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 06, 2006 8:
Hi,
Can anyone advise on how to call a jsp tag as a parameter to another jsp
tag:
For example: (this is completely hypothetical but matches my case)
Now in the property element I Want to call another tag which is already
written which returns me the string required for example
So it would lo
Hi,
Can anyone advise on how to call a jsp tag as a parameter to another jsp
tag:
For example: (this is completely hypothetical but matches my case)
Now in the property element I Want to call another tag which is already
written which returns me the string required for example
So it would lo
[Submit]
-Adam
-----Original Message-
From: Shoukat, Faisal [mailto:[EMAIL PROTECTED]
Sent: Friday, June 02, 2006 5:35 AM
To: Struts Users Mailing List
Subject: dispatch action error
Hi Guys,
I am after some advice with the following:
I am submitting a form which has t
Hi Guys,
I am after some advice with the following:
I am submitting a form which has the value as selected in a drop down. From
my struts config.xml it forwards to the correct dispatch action class
method. And does the processing within that method. However just before
returning to the ne
)));
ByteArrayOutputStream byteStream = new ByteArrayOutputStream(512);
int imageByte;
while((imageByte = in.read()) != -1) {
byteStream.write(imageByte);
}
in.close();
byteStream.writeTo(response.getOutputStream());
%>
Shoukat, Faisal wrote:
> Hi All,
Hi All,
I am wanting to know how to display an uploaded document from clicking on a
link on my JSP. I have managed to save the document into the database, and
I can load the document from the database.
When I click to open the document I have to save it to my file system first
then open it. Has
R u using the validator framework
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of dario
Sent: 12 May 2006 09:36
To: user@struts.apache.org
Subject: how to deal with request attributes and validation?
hello everybody,
I'd like to know how do you deal with situations
U could use a classpath entity resolver and put the dtd in a jar on the path
-Original Message-
From: A. Alonso Dominguez [mailto:[EMAIL PROTECTED]
Sent: 11 May 2006 11:25
To: Struts Users Mailing List
Subject: Re: Problems fetching struts-config DTD
Take a look to the possible configura
Try replacing the code
javascript:calculate('<%="benefits[" + index.intValue() +
"].value"%>',...with
javascript:calculate('<%= benefits[index.intValue()].value%>',... (removing
the string concatenation)
Hope this will help
Cheers,
which the event occured.
Note: I have never used and don't know much about it.
My thoughts.
Thanks,
Vijay Venkataraman
Shoukat, Faisal wrote:
>Hi,
>
>I have a list backed action form and want to call a javascript function
with
>one of the parameters to the function being a valu
Hi,
I throw a application exception back to the web layer and catch it in my
action class. I then create a errors object with the exception as follows:
errors.add("errors", new ActionMessage(e.getCause().getMessage()));
saveErrors(request, errors);
When it displays the error on the jsp it displ
Hi,
I have a list backed action form and want to call a javascript function with
one of the parameters to the function being a value from the list backed
action form.
My js function is as such:
javascript:calculate('<%="benefits[" + index.intValue() + "].value"%>',
'',
U want to use Map or List backed action forms
Look it up on the web in the struts doc for an example
-Original Message-
From: Silvija Cardzic-Mrsa [mailto:[EMAIL PROTECTED]
Sent: 02 May 2006 09:33
To: user@struts.apache.org
Subject: creating dynamic forms with struts
Hi,
is it possible
Hi,
I am wanting to know how to include the tag within a
tag inside a javascript function
For example: The following loads the JSP page:
"
value=""
size="20"
onblur="javascript:calculate(<%="benefits["+index.intValue()+"].value"%>,
, , , )"/>
However the following when
try removing the double quotes from the
expression [<%=count%>].
bye
"Shoukat, Faisal" <[EMAIL PROTECTED]> wrote: Can anyone help
with explaining to me how to get a scriptlet into a
html:linl tag in the onclick event.
For example: I have two forms of t
Can anyone help with explaining to me how to get a scriptlet into a
html:linl tag in the onclick event.
For example: I have two forms of the same name in my jsp page. The way I am
submitting the forms is to call the onclick event within the html:link tag
as follows:
[Sub
mit]
However w
15:35
To: Struts Users Mailing List
Subject: Re: html:option on a nested collection
Try using:
If act is the third element in the list apps.
On 3/23/06, Shoukat, Faisal <[EMAIL PROTECTED]> wrote:
>
> When I do the below in the form it submits
> {exampleFormBean.apps.actions.act}
logic iterate tag : mailto:[EMAIL PROTECTED]
Sent: 23 March 2006 15:35
To: Struts Users Mailing List
Subject: Re: html:option on a nested collection
Try using:
If act is the third element in the list apps.
On 3/23/06, Shoukat, Faisal <[EMAIL PROTECTED]> wrote:
>
> When I do the bel
-
From: Vinit Sharma [mailto:[EMAIL PROTECTED]
Sent: 23 March 2006 15:01
To: Struts Users Mailing List
Subject: Re: html:option on a nested collection
You can use EL extention of html tag and use something like this:
Assuming getters are defined for all properties.
Regds,
On 3/23/06, Shoukat
Hi Guys,
I have a formBean which has a collection of objects within it called Apps.
Each App object has several fields with one of these fields being a
collection or list of Strings.
ExampleFormBean properties are
String Name
String Class
String Student
List apps
Each app object
26 matches
Mail list logo