iterate arraylist question

2005-10-31 Thread sma3har
Hi,

I want to iterate through my arraylist of objects and
display the values using bean:write and submit them
with form.

My strut config has :


  
  
  
  
 

feild4 is an arraylist of javabean class mybean.
class mybean{
String new1;
String new2;
String new3;
public String getNew1() {
return new1;
}

public void setNew1(String new1) {
this.new1 = new1;
}

public String getNew2() {
return new2;
}

public void setNew2(String new2) {
this.new2 = new2;
}

public String getNew3() {
return new3;
}

public void setNew3(String new3) {
this.new3 = new3;
}

}

so how do i iterate through the arraylist of bean
objects. I have to print the values of new1,new2, new3
and submit to form using html:hidden.
Please give me an example.



Thanks
Suchi




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



error while submitting form

2005-11-01 Thread sma3har
Hi,

I am getting this following error when i try to submit
the form that iterates over arraylist of objects.
Please help me with this error.

Nov 01 09:45:55 2005: Servlet action: unable to
service request: BeanUtils.populate
Nov 01 09:45:55 2005: javax.servlet.ServletException:
BeanUtils.populate

at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1254)

at
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)

at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)

at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at
com.sybase.jaguar.servlet.JagServlet.service(JagServlet.java:655)

at
com.sybase.jaguar.servlet.JagRequestDispatcher.service(JagRequestDispatcher.java:922)

at
com.sybase.jaguar.servlet.JagWebResource.service(JagWebResource.java:90)

at
com.sybase.jaguar.servlet.JagFilterChain.doFilter(JagFilterChain.java:131)

at
com.sybase.jaguar.servlet.ServletEngine._service(ServletEngine.java:812)

at
com.sybase.jaguar.servlet.ServletEngine.service(ServletEngine.java:339)

at
com.sybase.jaguar.servlet.ServletServiceImpl.doService(ServletServiceImpl.java:52)

at
com.sybase.jaguar.servlet._sk_JaguarServlet_ServletService.invoke(_sk_JaguarServlet_ServletService.java:151)


Nov 01 09:45:55 2005: The ServletException contained
the following root cause exception:
Nov 01 09:45:55 2005:
org.apache.commons.beanutils.ConversionException:
Cannot assign value of type 'java.lang.String' to
property 'details' of type 'java.util.ArrayList'

at
org.apache.struts.action.DynaActionForm.set(DynaActionForm.java:423)

at
org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.java:1769)

at
org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUtils.java:1684)

at
org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:1713)

at
org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:1019)

at
org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)

at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1252)

at
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)

at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)

at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at
com.sybase.jaguar.servlet.JagServlet.service(JagServlet.java:655)

at
com.sybase.jaguar.servlet.JagRequestDispatcher.service(JagRequestDispatcher.java:922)

at
com.sybase.jaguar.servlet.JagWebResource.service(JagWebResource.java:90)

at
com.sybase.jaguar.servlet.JagFilterChain.doFilter(JagFilterChain.java:131)

at
com.sybase.jaguar.servlet.ServletEngine._service(ServletEngine.java:812)

at
com.sybase.jaguar.servlet.ServletEngine.service(ServletEngine.java:339)

at
com.sybase.jaguar.servlet.ServletServiceImpl.doService(ServletServiceImpl.java:52)

at
com.sybase.jaguar.servlet._sk_JaguarServlet_ServletService.invoke(_sk_JaguarServlet_ServletService.java:151)







__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



form values not submitting to action from jsp

2005-11-01 Thread sma3har
Hi,

My dynaaction form has an array of bean objects. I am
trying to iterate through the list and accept some
values in my jsp page. But when i submit my jsp page
it does not have these values.




Can anyone tell if i should write my hidden in a
different form. Please help me.

Sujji




__ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [struts] branch lukaszlenart-patch-1 created (now 7183d32ca)

2022-09-25 Thread sma3har
Unsubscribe 

Sent from Yahoo Mail on Android 
 
  On Sun, Sep 25, 2022 at 3:09 AM, 
lukaszlen...@apache.org wrote:   This is an automated 
email from the ASF dual-hosted git repository.

lukaszlenart pushed a change to branch lukaszlenart-patch-1
in repository https://gitbox.apache.org/repos/asf/struts.git


      at 7183d32ca Replaces Travis badge with GH Actions badge

This branch includes the following new commits:

    new 7183d32ca Replaces Travis badge with GH Actions badge

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.