On 1/4/07, Bolutiwi, Olu <[EMAIL PROTECTED]> wrote:
Hi all, I have the same issue.
I am selecting a list of town names and ids from the database (sorted by
town name) and adding them to a TreeMap or HashMap. TreeMap sorts by
key (in this case its my ids from the database) and HashMap messes u
On 12/12/06, Mallik <[EMAIL PROTECTED]> wrote:
Hi friends
i am converting a project into struts
i want to use my javascript(js) calender file in strtus
application.(calender will display in popup)
but that javascript file is not working.
what will be the reason
this way i link it to jsp file:
On 12/1/06, Tamilselvan Radha Krishnan <[EMAIL PROTECTED]>
wrote:
Hi All,
I've an ArrayList that contains EmployeeID String objects. I need to
show the List box from this ArrayList with List value and Key being the
same EmployeeID.
Any sample code would be much helpful.
This is assuming
On 11/22/06, Adam K <[EMAIL PROTECTED]> wrote:
If you might be able to provide a sample I would be very greatful.
As it stands I have come up with the following :
changing the JSP to :
indexed="true" />
Hmm.. As i said try something like this
Hi,
I am stuck with struts 1.1 for my project but would like to use
validWhen(which was added in Struts 1.2.0) for doing some validations. Is it
possible to put in say the validator class and add the rule in
validator-rules and use it??
Or would this involve too much tinkering and im better off u
On 11/14/06, Adam K <[EMAIL PROTECTED]> wrote:
Hi all , I am attempting to do the following, and it obviously isn't
working, but I was hoping someone on the list would point me to something
that might work instead:
I have this text field and I want to be able to alternate the readonly
property
Hi,
I want to populate dependednt drop down boxes using Ajax. I am using dom4j
to build the xml response that I want to send.
I have the following in My Action.
DynaActionForm dynaDropDownForm = (DynaActionForm) form;
String selectedVal = (String) dynaDropDownForm.get
("selectedVal");
On 11/13/06, Eider Iturbe <[EMAIL PROTECTED]> wrote:
Hi,
You mustn´t add an ArrayList in request scope, you have to add a
Collection
of objects of the class "uservo" .
Dont really know what you are trying to say. An arraylist would be a
collection of uservo.
ArrayList uservoList = new Array
I am using html messages tag to do custom formatting of my error messages on
different pages.
I have something like this
This usually works fine but under certain conditions I get
Cannot find bean error in any scope
javax.servlet.jsp.JspException: Cannot find bean error in any scop
On 11/8/06, Pankaj Gupta <[EMAIL PROTECTED]> wrote:
Hi All,
I am unable to pass a java parameter to a javascript method. Can you
please tell whats going wrong. Here is my code:
You got to do something like this
'
Submit
regards,
Pankaj
--
Puneet
On 11/3/06, Balwinder <[EMAIL PROTECTED]> wrote:
Hi All,
I am developing an application in struts in which I needed to download a
file from a server. When iam clicking on download button, file lose its
extension and it with the action ie .do and does not open with the
associated application.
On 11/3/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
On 11/2/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote:
> Hi,
> This is the first time I am trying to use indexed properties with
> DynaActionForm. Now the number of fields that I will have is not
certain. So
> d
Hi,
This is the first time I am trying to use indexed properties with
DynaActionForm. Now the number of fields that I will have is not certain. So
does that mean I cant use DynaActionForm. And i don't have normal strings in
my list. I have a custom object.
so what i have currently is something li
On 11/2/06, Gareth Evans <[EMAIL PROTECTED]> wrote:
You could add an onchange function that sets the selected item back to the
orginal item.
I wouldnt do that..imagine yourself as the user with this kind of
javascript.
Gareth
Rafael Nami wrote:
> You can choose to maintain the value from t
On 10/30/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote:
I have an html file field in my form. Basically to obtain input for
certain fields we have given user the option to either upload data through a
file or input it manually. Now I haven't set the enctype of the form in html
form ta
I have an html file field in my form. Basically to obtain input for certain
fields we have given user the option to either upload data through a file or
input it manually. Now I haven't set the enctype of the form in html form
tag but i set it using javascript whenever file input is selected.
But
On 10/28/06, Laurie Harper <[EMAIL PROTECTED]> wrote:
Puneet Lakhina wrote:
> hi,
> I have the following scenario. I have a form that takes certain input.
This
> in effect goes through certain validations. Now what I want to do is in
> case
> of validation errors a sepra
hi,
I have the following scenario. I have a form that takes certain input. This
in effect goes through certain validations. Now what I want to do is in case
of validation errors a seprarte page is displayed that lists all the errors,
and asks the user to continue submitting the data ignoring the e
On 10/26/06, Balwinder <[EMAIL PROTECTED]> wrote:
Puneet Lakhina wrote:
> I am writing something on a JSP page using bean write. But its escaping
> HTML. i.e suppose I have a bean named msgs with the value
> "Message"
> (without the quotes)
>
> I get the lit
I am writing something on a JSP page using bean write. But its escaping
HTML. i.e suppose I have a bean named msgs with the value "Message"
(without the quotes)
I get the literal string Message on my JSP Page. i.e it escapes
HTML. which means the generated HTML is Message>
I dont want that
On 10/26/06, Jean-Marie Pitre <[EMAIL PROTECTED]> wrote:
Thank you for your reply.
In fact, I have several forms with same name; Each form is generated by
the iterate close.
I would like to that to avoid to post all data in the formbean.
This thing should have no problem fundamentally, as lo
Hi,
This is the first time I am using a FormFile. I have a few other fields in
my form along with the field. The problem is when some
validation fails, the value in the text field of the file control gets lost
i.e. the user has to select the file again. Is this normal behavior or does
it have to
On 10/23/06, Li <[EMAIL PROTECTED]> wrote:
Hi Leon, I agreed, drag-and-drop may help developer to develop, but may
not
help developer to understand more about development ...
I agree too.. People who learn to develop code on things like eclipse etc.
want the IDE to do almost everything. They
Hi,
I have some objects in an Array List which I want to fetch using indexed
properties. So basically in my array list I have objects of type Product,
which has properties like name,number etc. with appropriate getter and
setter methods.
What I am unable to figure out is the following.
The
On 10/20/06, Adam K <[EMAIL PROTECTED]> wrote:
Getter and setter methods for ? (Sorry if it should be obvious but I want
to clarify as it isn't obvious to me)
for numProducts indexed property. And i dont understand why are you
populating blank values in the getter methods..I mean you should
nd setter methods..coz the
setNumProducts is what is probaly causing the problem..and ya post the full
exception trace.
On 10/19/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote:
>
> On 10/19/06, Adam K <[EMAIL PROTECTED]> wrote:
> >
> > Hi all I have been working on this probe
On 10/19/06, Adam K <[EMAIL PROTECTED]> wrote:
Hi all I have been working on this probelm for the past couple of days,
and
don't seem to be making any progress on it. I am fairly certain it is a
problem with my understanding of struts, and as such it makes it quite
difficult for me to solve the
Hi ,
I want to obtain the value of a key from ApplicationResource.properties file
in my java code. Should i access the properties file directly or can i use
some classes in the struts package to do the same??
--
Puneet
On 10/17/06, Asad Habib <[EMAIL PROTECTED]> wrote:
Andreas, the second method is definitely better from the perspective of
long-term maintainence. You really need just 1 jsp to achieve the task at
hand. Also, using tags should not make the code unreadable since tags were
developed for exactly th
On 10/14/06, Peter L. Berghold <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Puneet Lakhina wrote:
>
>> This is where you could use indexed or mapped properties.
>> http://struts.apache.org/1.x/struts-taglib/indexedprops.html
>
>> A
On 10/13/06, Vinod Kumar <[EMAIL PROTECTED]> wrote:
Hi All,
I have hashmap with key/value but the value in this
hashmap is another hashmap.
How can I iterate over all the values using
logic:iterate.
HashMap h1 = new HashMap();
String id=1;
HashMap h2 = new HashMap();
h2.put(id,"123");
h2.put("
On 10/13/06, Peter L. Berghold <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi folks,
I have a real newbie question here.
I've looked at various on line tutorials on this subject and for
whatever reason I can't seem to wrap my head around this. My questions
are two
m_1", value1) to get your values
into the formbean. Hopefully I have not missed the point of your
question.
HTH,
-ed
On 10/11/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote:
> Hi,
> This has to be one of the most bewildering thing I have faced in my 3
months
> of learning struts.
On 10/10/06, Dave Newton <[EMAIL PROTECTED]> wrote:
> From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
> Is this the wrong way of doing things??
"Wrong" seems a bit strong.
There are any number of ways around this; creating another action
mapping (perhaps just a forward)
On 10/11/06, Dave Newton <[EMAIL PROTECTED]> wrote:
From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
> the fooAction has formBeanName as its form bean defined in the struts
> config. But Im not able to get any values into the fields in my form.
Why are you doing this manually?
Hi,
This has to be one of the most bewildering thing I have faced in my 3 months
of learning struts.
Now I have an action(PreapreAction) which I use to prepare a page for
display. This for fetches values from a Database and creates an instance of
the formbean and puts values into the form bean. No
Hi,
I have the following key value pair in ApplicationResource.properties
required = {0} is required.
I used this when I was doing only server side validation, to display a list
of error messages when some validation failed.
Now Im using the to do the same thing on client side also.
But my pro
On 10/11/06, Aftab Vhora <[EMAIL PROTECTED]> wrote:
Hi,
I have one key-value pair stored in my ApplicationResource.Properties
file of struts. Now I want to copy the value of that resource key in my
JSP variable.
I tried with tag, but couldn't find a way.
You could use something like this
Hi,
I have an action which extends DispatchAction. So i basically have three
methods, one for displaying the page before creating a new request, one for
accepting the submit of a new request and one for accepting the submit of an
update request. Now i dont want validations to occure when im only
d
On 10/7/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
On 10/7/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote:
> Hi, I found out that its possible to for me to restrict access to a
> particular action mapping to only a certain set of roles.
> The next thing that I found out abou
Hi, I found out that its possible to for me to restrict access to a
particular action mapping to only a certain set of roles.
The next thing that I found out about these roles is that this is something
I can configure in my web.xml.
But what I am not able to understand is how do i set a user's rol
On 10/7/06, Uday Karrothi <[EMAIL PROTECTED]> wrote:
Can u use
I am not sure if the property bean allows "."
It allows without a problem. Thr problem is something else. Maybe if Andy
can post a little more code, the problem could be identified.
hope that helps,
Uday Karrothi
On 10/
On 10/6/06, Jay <[EMAIL PROTECTED]> wrote:
Hi, iam using struts with tmocat 5. my struts-cofig.xml is like this one
and form bean tag is
Action class is as following:
CreateFolderForm folders = (CreateFolderForm) form;
File dir = new File("../users");
ArrayList dirList=new java.util.Arr
Hi,
I have a set of values in map with appropriate keys. I dont know the keys
that will be present in the map as that is decided on run time. Is it
possible for me to create a bean and populate it based on the keys and
values in the map at run time.
I know BeanUtils.populate can populate a bean,
On 10/5/06, Rohit Dadhwal <[EMAIL PROTECTED]> wrote:
Have you ever come across something like this?
-- ---
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
If you have then your mails sho
On 9/21/06, Heidy Gutiérrez Guzmán <[EMAIL PROTECTED]> wrote:
Hi
I need to put value to an input hidden field, from a java script function.
I call the java script function from an onclick event of html:submit field
I have debuged that process and input hidden field does'nt take value.
Always ha
On 9/21/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
As you found out there is no way of knowing the order the
browser/client will submit request parameters, so if you want to use
indexed properties in this way you need to "grow" the list to
accomodate the size of the indexed property being se
On 9/21/06, Strachan, Paul <[EMAIL PROTECTED]> wrote:
A List is an ordered collection so it doesnt make sense that the order
changes. Also, depending on which Map implementation you use ordering may
not be guaranteed.
I would basically have the index in case of indexed properties as my key.
Hi,
I have a no. of fields in a form arranged in a table of rows. I am using
indexed properties for these fields. The number of these fields isn't known
to me at the time of page loading for which I have used some DHTML to
properly add the fields. And all the values are getting submitted.
Now my p
On 9/20/06, yamilka vallejo ramos <[EMAIL PROTECTED]> wrote:
please did somebody ever test:
In this example, the property "value", of the beans in orglist are orgIds
and the "labelProperty" property is the name to display. When you are in
your action class the first time, the orgId st
On 9/20/06, Raghuveer <[EMAIL PROTECTED]> wrote:
/***
***
* Function name : checkFile
* Description : This function is to stop the user from entering a
file
name
* Input :
* Output:
**
Hi,
I have an application whereby i first load all the data from the
database(using joins etc. about 400 rows an 20 columns). Then the user is
given an option to filter this data based on some parameters. Now instead of
hitting the database again, wouldn't it be better if I could somehow reuse
the
On 9/18/06, Aftab Vhora <[EMAIL PROTECTED]> wrote:
Hi,
I m dynamically generating the html:text , i have made correct entry in
the struts config.xml and also implemented the Action Form and Action
class.
But I m getting below error, request you to kindly provide me the
solution.
===ER
Hi,
I think i maybe have my basics skewed, but this is what my problem is.
I have a form that on submit submits to an action which forwards to a page
which shows the page displaying that the submit was successful. Now if the
user presses refresh at that page the form is resubmitted and it creates
On 9/15/06, Dean, Michael <[EMAIL PROTECTED]> wrote:
Interesting problem...
I have a submit button which includes a property = "method" with
value="Save"...the enclosing form is submitted to a Struts
DispatchAction sub-class which is configured to rely on the "method"
parameter for delegation
On 9/15/06, Dean, Michael <[EMAIL PROTECTED]> wrote:
Interesting problem...
I have a submit button which includes a property = "method" with
value="Save"...the enclosing form is submitted to a Struts
DispatchAction sub-class which is configured to rely on the "method"
parameter for delegation
On 9/15/06, Aftab Vhora <[EMAIL PROTECTED]> wrote:
Hi,
In my page I am generating text boxes dynamically(i.e. clicking on a
button "Add more" will add a text box in my page.) Now I want to
implement my ActionForm to capture the data entered in those dynamically
generated text boxes.
Is it poss
On 9/12/06, fea jabi <[EMAIL PROTECTED]> wrote:
Have a html:text . onchange of the value entered in this field, have to
submit the form.
Using LookupDispatchAction.
On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
On 9/12/06, puneet.lakhina wrote:
>>On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>>
>> On 9/12/06, puneet.lakhina wrote:
>>
> >> On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
>
wrote:
> >>>
> >>>
> >>> Hello,
> >>>
> >>> I
On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
On 9/12/06, puneet.lakhina wrote:
> On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>>
>>
>> Hello,
>>
>> I do have a problem, because I don't know how to submit a form with
>> javascript
>> in struts.
>>
>> Normally, I'm submit
On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello,
I do have a problem, because I don't know how to submit a form with
javascript
in struts.
Normally, I'm submitting forms like this:
I'm receiving the value with the getter-method getMyvalue() of the
appropriate
ActionForm.
didn't work, what is happening? What is
in the generated HTML returned to the browser?
Frank
Chetan Pandey wrote:
> onclick = '<%="return confirmationMessage(" + jsMessage + ")" %>'
>
> Did not work.
>
> Chetan
>
> -Original Message
On 9/8/06, Chetan Pandey <[EMAIL PROTECTED]> wrote:
I wasn't looking at the Source cos I am working through Eclipse and I
don't
think there is a way to lookup Source in Eclipse.
So I manually generated WAR and tested in on IE.
And surprising results
For usage of
onclick = '<%="return conf
Ok , I think I made a mistake here. This should actually be
On 9/8/06, Ashish Vijaywargiya <[EMAIL PROTECTED]> wrote:
Hi Puneet,
Thx for the reply.
I think if you have the facility to import classes then you should use the
import statement at the top of JSP file.That's what I did in my case.
Like this :
<%@ page import="java.util.*, com.exporder.web.St
On 9/7/06, Vaneet Sharma <[EMAIL PROTECTED]> wrote:
Can anybody tell me how to set a form bean property of type
java.util.HashMap in a jsp page.
Actually i am prepolulating this property in action and then forwarding to
a jsp page.
In this jsp page i need to again set this property ,so tht if th
On 9/7/06, nirav bumia <[EMAIL PROTECTED]> wrote:
Just pass the variable jsMessage(remove the quotes) i.e.
and use this variable in javascript.
I suppose you are trying to pass a variable that you have in some scope in
your jsp to your javascript function.
Am not really sure the above sug
On 9/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
The object should be Collection object... not just simple String array
Can someone please clarify on this, coz AFAIK it can be an array of Objects.
--
Puneet
On 9/7/06, Ashish Vijaywargiya <[EMAIL PROTECTED]> wrote:
Thx for the reply puz.
I changed as you said.
and kept the values in pageContext and i also converted the member
variable to "public static".
<%
request.setAttribute("hours", StaticData.hours);
request.setAttribute("minutes", StaticData.
On 9/4/06, Tom Bednarz <[EMAIL PROTECTED]> wrote:
Hi Martin,
Hmm, thanks for the link.
Finally my problem is, that in the generated HTML page NONE of the
option tags has the attribute SELECTED. So my drop-down list box
displays the whole collection as expected, but setPropertyUtils seems to
ha
On 9/1/06, Sonu S <[EMAIL PROTECTED]> wrote:
Hi,
I am using struts in my application. i am using reset and validation. i am
not writing any validation method. i am using struts' validation
framework.
validation is working. reset also works fine in application if i enter
some
values in form (te
On 8/31/06, temp temp <[EMAIL PROTECTED]> wrote:
I using ant build file to compile ".java" files .I get
java.lang.OutOfMemoryError.
Here is the build file
On 8/30/06, Anthony N. Frasso <[EMAIL PROTECTED]> wrote:
Hello all,
public class Role {
private int id;
private String name;
private String description;
private boolean permissionA;
private boolean permissionB;
...
private boolean permissionN;
}
Each of those prop
On 8/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello!
Is it possible to create a new session for an already logged in person
(which
has an actual session) without invalidating the existing session? It's
necessary
for me to have the old session before creating an additional one, becau
On 8/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello!
I'm trying to define a default value in the jsp for a cookie, but I don't
know
how to do it :-(.
I've go the following piece of code:
...
...
I would like to have the output from the bean:write - tag as input for the
value
in
On 8/26/06, vinicius <[EMAIL PROTECTED]> wrote:
I know how to save a bean in the session context, doinh this:
request.getSession().setAttribute("beanName",Object);
But i don't find how I save a bean in the Aplicattion or page context!!
Could someone help me??
Thanks
Application Conte
On 8/25/06, krishan rathi <[EMAIL PROTECTED]> wrote:
Hi all
I am getting following exception java.lang.IllegalArgumentException:
No bean specified while using indexed properties in struts.
MyForm Bean is
public class ReportItemForm extends ActionForm {
FormItem [] formItem=null;
pu
http://wiki.apache.org/struts/AjaxStruts.
There is a lot of fantastic info there.. thanks!!!
--
Puneet
On 8/22/06, Mississippi John Hurt <[EMAIL PROTECTED] > wrote:
Hi,
What's the best way to do this?
User finished an edit screen, formaction is populated, and info is
displayed
on a ReviewInfo page.
User clicks "go-back-edit" goes back to the editscreen, but now data is
gone.
So how should I fix
On 8/21/06, sheetal <[EMAIL PROTECTED]> wrote:
Hi,
My action class on success, is prepopulating a combo box (..
...>, on the jsp..
for which I have used a form bean.
Now, the problem is that I also want a field to be selected from combo,
after prepopulating it..
and before displaying the jsp pag
The "return false;" would have to go LAST, otherwise onClickSubmit()
wouldn't get called.
Yup..sorry.. my wrong..
--
Puneet
On 8/19/06, Scott Van Wart <[EMAIL PROTECTED]> wrote:
mosho wrote:
> Hi Scott,
>
> It doesn't seem to work.
>
> My submit buttons look like this:
>
>
>
>
> Now, if I have a link, how can I set the property navigation for it.
> " onClickSubmit() pic.gif "
>
Well first you
I recently joined a software services comapny and as a part of my job i was
required to develop intranet websites using struts. Now the attitude in the
organisation is a strict no to scriptlets unless u have no other go. I dont
have singnificant experience in JSP so i dont know, but for all you
ex
On 8/15/06, Michael Cheung <[EMAIL PROTECTED]> wrote:
Hi,Monkeyden;
Thanks for your reply.
Now I can get the context-relative path, but the extension is also
omitted. How to get the path with extension?
Actually, I want to do this.
URL:
/context-name/appname.do?param1=1¶m2=2
I want to get
/a
On 8/16/06, James Sanders <[EMAIL PROTECTED]> wrote:
Working within a larger struts system, it became necessary for me to
create
a servlet, which co-exists with, but outside of, the system. This has
worked
very well, but I now find myself wishing to use the functionality of
and MessageResource
On 8/14/06, Daoud Abdelmonem Faleh <[EMAIL PROTECTED]> wrote:
Hello folks,
I use struts 1.2.9 and deploy to oc4j 10.1.3
My struts-config.xml containes:
...
...
...
PersonneEtrangereDetails.jsp has:
public class EditPersonneEtrangereF
On 8/11/06, Gary Feidt <[EMAIL PROTECTED]> wrote:
Add an onclick="validateForm(); return false;"
Then create a javascript function:
function validateForm() {
var errorString = "The following field(s) may not be left
blank:\r\n\r\n";
var strField = "";
if (document.frmT
On 8/10/06, Krishna, Hari <[EMAIL PROTECTED] > wrote:
Hi
I have a registration page where i have a list of text boxes (all are
mandatory).Is it possible to show one single error message for all the
fields while highlighting all of them in RED color?
For highlighting the the textboxes with red
On 8/10/06, Medicherla Lakshmi <[EMAIL PROTECTED]> wrote:
Hi All,
I developed an application which forwards menuitems.jsp as we login and
it was working fine.
I changed the name of the jsp into MenuItems.jsp and trying to access,
it gives the following error. I felt it unable to find the c
Hi,
I want to display a border around by text fields when a validation error
occurs. Can someone suggest how i could do this??
is there a way i could probably use tag in case an error
existed for that particular property, so that I can use two text fields and
display the bordered one in case an e
On 8/4/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote:
Hi,
I need to build indexed properties in my jsp. For this im using a logic
iterate tag. But im not able to figure out how to use the indexId to define
the index of my property.
SO in place of the zero in the above code i need
Hi,
I need to build indexed properties in my jsp. For this im using a logic
iterate tag. But im not able to figure out how to use the indexId to define
the index of my property.
SO in place of the zero in the above code i need to put the value of the
index.
if i use then i need to put quote
Also, if the user leaves the field for BigDecimal as blank, I
get an exception (string->BigDecimal conversion exception). So, is the
solution to this is to make all formbean properties to be "String" type?
you coud do something like
BigDecimal bigDecimalProperty;
public setBigDecimalProperty
On 8/3/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote:
Any form elements created dynamically on the client-side will have no
> intrinsic link to the ActionForm. However, this is not necessarily a
> problem... imagine if your ActionForm has this in it:
>
> private String f
Any form elements created dynamically on the client-side will have no
intrinsic link to the ActionForm. However, this is not necessarily a
problem... imagine if your ActionForm has this in it:
private String firstName;
public void setFirstName(String inFirstName) {
firstName = inFirstName;
}
On 8/2/06, Chetan Pandey <[EMAIL PROTECTED]> wrote:
Why don't you use displaytags
(
http://www.jamesgood.com:8080/displaytag-examples-1.1-SNAPSHOT/docs/tut_bas
ic.html)
this thing looks fantastically easy. but alas i didnt have the time to dirty
my hands into it.Did it with plain old javascri
you were hung up (maybe I read into your question incorrectly). So are
you actually hung up on the JavaScript to dynamically add fields?
Yes, i am able to add text fields to my page, but I dont know what all
attributes to specify in the input tag so that my user bean recieves the
values fro
Hi,
I have a collection over which Im iterating using logic iterate tag and
inside that im creating the rows of a table. I need to color the rows of the
table alternately. I have used the attribute indexId in in the iterate tag
But i need to use some kind of runtime expression in logic:equal tag t
http://struts.apache.org/1.x/userGuide/building_controller.html
Specifically, section 4.3.3 Map-backed ActionForms.
have already read that. But in that the page is generated dynamically, it
doesnt change once rendered on the client, which is what I want to do.
--
Puneet
I have a set of text fields on a form. but the number of the text fields il
need is soemthing that depends on the user using the application.
So i have used DHTML to dynamically add a text field to the form. ofcourse i
have used normal html tags for the dynamically added text field.
But the probl
1 - 100 of 106 matches
Mail list logo