Hope this helps.
Here in this example, 'myList' is a java.util.List kept as a attribute in
the ActionForm.
Cheers!,
-MS.
"Abel Muiño Vizcaino" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> Hello.
>
> I'm receiving a weird error that I can't understand (I
Hi Sanjay,
You might want to look into
http://husted.com/struts/resources.htm
RowTag (ZIP file for download) by Amarda Business Systems Ltd - Source for a
Struts-compatible tag to generate alternating row colors in a table by Niall
Pemberton.
Hope this helps.
-MS.
-Original Message-
F
Hi Sanjay,
Let me give an example to help you out here. Here I am assuming that the
checkboxes (including the master checkbox) are present in a table that has
got an id 'checkTable'. When I say 'master' check box I mean the one that
will help you to trigger the event for selecting/de-selecting th
Hello Laker,
Pl. read this.
http://jakarta.apache.org/struts/api/org/apache/struts/actions/DispatchActio
n.html
You can also change the form's action using Javascript code.
Ex:
This is the method in Javascript
function changeAction(form, methodToCall)
{
form.action = "myDispatch.do?method
Hello all,
I would like to create 'n' number of dynamically (where n is greater than 0). I also would like
to maintain the same property name for all the 'n' I create. Is
that possible? If yes, how will I be able to get these values in the
ActionForm and what will be my property type in ActionF
Thanks to all.
I got it working.
-Mike.
-Original Message-
From: Michael Skariah [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 20, 2001 1:21 PM
To: [EMAIL PROTECTED]
Subject: Handling multiple forms...in a JSP
Hello all,
I am not sure whether if this is a HTML question of a Struts
Hello all,
I am not sure whether if this is a HTML question of a Struts question.
Anyways, I am trying my luck here.
I have a JSP with multiple forms. When the submit of form 1 is clicked, I
would like to read the value from the "source" of form 2 and set it in the
"action" property of form 1.
Ho
Hello all,
Can anyone tell me if I can have multiple html:text tags with the same
property name in a single JSP file. If yes, how can I map these tags with
the same name to a single attribute in the ActionForm class. Can I have
something like an attribute which is an array in the ActionForm class
Hello all,
Please have the patience to go thru'..
Assume that I have 2 pages... test1.jsp and test2.jsp. A link present in
test1.jsp opens up a child window with test2.jsp. I also have the following
in the config file:
In Test2Action.java I am populating a List by using valu
Hello all,
I am trying to fill up an option value in a JSP file using the bean:write
tag.
Below is the code. I have the values present for the property and do not get
any errors, but string written to the option is empty ("").
Could anyone tell me if something else has to be done.
Thanks in advanc
Hello all,
I have a code as shown below. the list I get from actNo.getList() is null.
Infact I am populating the list in the perform() of the AccountNumberAction
class. Could anyone tell me what modifications has to be done to get the
populated list.
Thanks!!,
Michael.
I apologize to all for my question. Actually it was a spelling mistake and I
fixed it.
-Original Message-
From: Michael Skariah [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 4:19 PM
To: [EMAIL PROTECTED]
Subject: RE: working with reports
Hi all,
I would like to put the
Hi all,
I would like to put the value of 'str' in line 13. Can anyone tell mw what
has to be done.
-Mike.
---
<%
// 'ht' is a hash table
List myList = (List)ht.get("AccountNo");
if(myList != null)
{
fo
still, wouldn't an
onsubmit="return func() ;" better serve you? Just make sure you return
false from func() or the submit *will* take place.
Anthony
-----Original Message-
From: Michael Skariah [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 2:41 PM
To:
and setters with
different names instead of overloading.
Anthony
-Original Message-From: Michael Skariah
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 27, 2001
2:28 PMTo: [EMAIL PROTECTED]Subject:
ServletException
Hello all,
Below is the co
Hello all,
Below is the code I am trying to execute and I get the
error "javax.servlet.ServletException: No getter
method available for property singleSelect for bean under name
org.apache.struts.taglib.html.BEAN". I have the get and set methos for
singleSelect in my resultAction class.
An
Hello all,
In a html:hidden tag, how can we set a value that is present in the
ApplicationResource file.
Example:
The value "TEST" should be taken from the resource file.
Thanks,
Michael.
t; %>
*make sure above line is in your jsp page
Click Here
*in order for above line to work you need to set up an action in
struts-config.xml
ie:
- Original Message -----
From: "Michael Skariah" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesd
Hello all,
I am trying to replace the following with the Struts HTML link tag.
Test
Could anyone help me out here\.
Thanks,
Michael.
use the collection and property value on my html:options, and Struts
does
the rest!
ie (and you can use the
labelProperty if you want too)
Check out the documentation on it...
Dave
"Michael Skariah" <[EMAIL PROTECTED]> on
06/26/2001
12:50:35 PM
Please respond to [EMAIL PR
Hello all,
I am new to Struts and was experimenting the various HTML tags. I was trying
to improve the code below. Could anyone tell me how I can achieve the same
functionality of filling the select block, but by removing the "for" loop
from this code(I mean just by filling values with a list).
Th
21 matches
Mail list logo