Re: [S2] IE does not refresh page

2008-02-21 Thread carmi_cd
) to isolate the cause. Good luck! PS. All your calls like this: s:property value=getModuleName()/ can be replaced with this: s:property value=moduleName/ as it's a javabean-compliant property name (what have works too but is not the convention) carmi_cd wrote: hi, yes my

Re: [S2] IE does not refresh page

2008-02-19 Thread carmi_cd
hi, yes my submit reached my action because the record is saved/updated in the database. yes the list is the response from the action. the list is refreshing in Firefox but not in IE..here is part of list.jsp s:iterator id=users value=getUsersList()

[S2] form not retrieving values in IE

2008-02-18 Thread carmi_cd
I have a form that works find in Firefox but when I tried to run it in Internet Explorer, all the values from the form input box are returned null. I dont know what should I do to fix this problem in IE, here is my form code s:form id=adminForm name=adminForm theme=ajax s:textfield

Re: [S2] Validation

2008-02-18 Thread carmi_cd
i was able to identify the problem it was only in IE,I put the showLoadingText=false to my save button then it validates correctly before it wasn't able to get the form values in IE. still thanks newton.date. :-) newton.dave wrote: --- carmi_cd [EMAIL PROTECTED] wrote: Hi I have

[S2] IE does not refresh page

2008-02-18 Thread carmi_cd
Hi i have program that when the user input data in the form and clicked the save button, it should display list of records that reflects changes made in the record edited thru the form. In Firefox it works perfectly but in IE the list does not reflect the changes made. It was refreshing the list

[S2] Validation

2008-02-17 Thread carmi_cd
Hi I have an application in Struts 2, my problem is when i try to submit the form even if there are values in the form input box it stills give validation message to the user to enter values for the required fields. here is my form fields. s:textfield name=employeeId label=Employee ID

[S2] Delete confirmation message

2008-01-16 Thread carmi_cd
hi i have a form that has a delete button in it to delete the particular record.. i want to put a confirmation message before it execute the deletion. how should i do it in Struts 2? I'm really new with this..please help me . Thanks in advance. -- View this message in context:

[S2]method not called

2008-01-14 Thread carmi_cd
hi i have a table that has a checkbox, details of the record such as lastname, firstname with it. when user selects a record or records using checkbox corresponding to it, and click the delete button the record or records selected should be deleted. My problem is it is not able to execute the

Re: [S2] Form Select

2008-01-09 Thread carmi_cd
thank you so much..it solved the problem.. Laurie Harper wrote: They need to be public for Struts to be able to call them... ;-) carmi_cd wrote: here is my getter and setter method for selectedModules private String[] getSelectedModules() { return selectedModules

Re: [S2] Form Select

2008-01-08 Thread carmi_cd
methods for the selectedModules property look like? Remember, you need both for data to be passed in both directions. L. carmi_cd wrote: hi ted..thanks.. i tried to retrieved selectedModules as an array of String.. but it was not able to get the values.. here is my code

[S2] What does Select tag set to multiple returns

2008-01-08 Thread carmi_cd
i have a select that like this.. s:select name=selectedIds value=%{edituser.modules.{moduleId}} list=modules listKey=moduleId listValue=moduleName multiple=true size=7 / how should the getter and setter of selectedIds should look like? what should the

Re: [S2] Form Select

2008-01-07 Thread carmi_cd
..when i selected values from the list. i'm really new with S2, hope you could help me with this..thanks in advance. Ted Husted wrote: Hmmm, did you try selectedModules as an array of String? HTH, Ted * http://www.StrutsMentor.com/ On Jan 7, 2008 1:58 AM, carmi_cd [EMAIL PROTECTED

Re: [S2] how to get the value of form select

2008-01-06 Thread carmi_cd
is also a list and the values of selected items will be populated into it. If you wouldn't write multiple=true, the return data type would be String. On Jan 4, 2008 3:14 PM, carmi_cd [EMAIL PROTECTED] wrote: i have a form select..my problem is how to i get the selected values of the form

[S2] Form Select

2008-01-06 Thread carmi_cd
i have a form select.. my problem is i dont know how can i get the selected values in the form select box. here is my code.. s:select name=selectedModules value=%{edituser.modules.{moduleId}} list=modules listKey=moduleId listValue=moduleName multiple=true size=7 /

[S2] how to get the value of form select

2008-01-04 Thread carmi_cd
i have a form select..my problem is how to i get the selected values of the form select.. what is its data type..is it ArrayList? here is my code.. s:select name=selectedModules value=%{edituser.modules.{moduleId}} list=modules

how to get the value of form select

2008-01-04 Thread carmi_cd
i have a form select..my problem is how to i get the selected values of the form select.. what is its data type..is it ArrayList? here is my code.. s:select name=selectedModules value=%{edituser.modules.{moduleId}} list=modules

[S2] How to retained pre selected values in Struts form select

2008-01-01 Thread carmi_cd
i have preselected values in my form select..my problem is when i try to add to its selected values by clicking other entries.. it looses the preselected values. how could i solve this? here is the code.. s:select name=edituser.modules.moduleId value=%{edituser.modules.{moduleId}}

Re: [S2]Checkbox value

2007-12-14 Thread carmi_cd
i already solved it.. i hope this help other new struts user just replaced it with this one.. s:checkbox name=userId fieldValue=%{getUserId()}/ carmi_cd wrote: hello i have a checkbox which supposed to have the value of UserId property of the action class I try to do it this way

Re: [S2]Checkbox value

2007-12-13 Thread carmi_cd
I've tried what you've suggested but i got same error.. Unexpected Exception catched: Error setting expression 'chkUserId' with value '[Ljava.lang.String;@138c03' here is part of the code.. s:iterator id=users value=getUsersList() tr

[S2]Checkbox value

2007-12-12 Thread carmi_cd
hello i have a checkbox which supposed to have the value of UserId property of the action class I try to do it this way but its having an exception.. here is how i've done it.. input name=chkUserId type=checkbox value=s:property value=%{getUserId()}/ / and here is the exception..

Re: [S2]Checkbox value

2007-12-12 Thread carmi_cd
with this? thanks again. Ray Chen wrote: carmi_cd 写道: hello i have a checkbox which supposed to have the value of UserId property of the action class I try to do it this way but its having an exception.. here is how i've done it.. input name=chkUserId type=checkbox value=s:property value

Re: [S2] ArrayList of Object as datasource in JasperReports

2007-11-08 Thread carmi_cd
struts.xml ; ensure that you have : package name=mypackage extends=struts-default,jasperreports-default On Nov 7, 2007 8:51 PM, carmi_cd [EMAIL PROTECTED] wrote: hi actually i tried using that tutorial and got a pdf with no data in it only page and column titles. i dont know why

Re: [S2] ArrayList of Object as datasource in JasperReports

2007-11-07 Thread carmi_cd
this as-is and get a report fine. -Joseph carmi_cd wrote: I need a tutorial that uses ArrayList of Object as datasource for JasperReports..do you know any? -- View this message in context: http://www.nabble.com/-S2--ArrayList-of-Object-as-datasource-in-JasperReports

[S2] ArrayList of Object as datasource in JasperReports

2007-11-04 Thread carmi_cd
I need a tutorial that uses ArrayList of Object as datasource for JasperReports..do you know any? -- View this message in context: http://www.nabble.com/-S2--ArrayList-of-Object-as-datasource-in-JasperReports-tf4749173.html#a13580062 Sent from the Struts - User mailing list archive at

Re: [S2]Datasource is null in JasperReports integration

2007-11-01 Thread carmi_cd
i have done what you suggested but got the same errors..thanks again. strutstwouser wrote: I guess you need to have reportData as a field in the Action and do setReportData(reportData) in execute() after populating it. On 10/26/07, carmi_cd [EMAIL PROTECTED] wrote: i'm new

Data source was null exception..

2007-10-29 Thread carmi_cd
hi i followed this tutorial.. in JasperReports/Struts 2 Integration http://cwiki.apache.org/WW/jasperreports-tutorial.html but I got this exception Data source value for data source myList was null. i dont know whats causing the problem..thanks in advance. -- View this message in context:

Struts 2 and JasperReports Integration

2007-10-29 Thread carmi_cd
hi i followed this tutorial.. in JasperReports/Struts 2 Integration http://cwiki.apache.org/WW/jasperreports-tutorial.html but I got this exception Data source value for data source myList was null. i dont know whats causing the problem..thanks in advance. -- View this message in context:

[S2]Datasource is null in JasperReports integration

2007-10-26 Thread carmi_cd
i'm new in integrating JasperReports and Struts 2..my problem is its always saying that my datasouce is null so it displays a pdf file with all the labels in it without anything on the detail part..my datasource is an ArrayList of Personnel object, i name it reportData. here is part of my code..

[S2] JasperReports and Struts2 DataSource was null error

2007-10-25 Thread carmi_cd
i'm new in integrating JasperReports and Struts 2..my problem is its always saying that my datasouce is null so it displays a pdf file with all the labels in it without anything on the detail part..my datasource is an ArrayList of Personnel object, i name it reportData. here is part of my code..

Re: conditional statement in struts2

2007-10-24 Thread carmi_cd
. /s:div /s:else thanks again. jignesh(india) wrote: It's simple dude use s:if and s:else like mentioned below s:if test=pdfValue!=0 if part /s:if s:else else part /s:else hope it will help u.! Regards, Jignesh carmi_cd

conditional statement in struts2

2007-10-23 Thread carmi_cd
hi i'm new in struts 2..my question is how can i get a value from a member variable of my action class and evaluate it in my if-else-if statemet? i try to code it but it doesn't evaluate properly..here is my exisiting code. s:if test='%{getPdfValue()} == 0' s:div