) 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
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()
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
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
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
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
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:
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
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
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
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
..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
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
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 /
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
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
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}}
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
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
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..
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
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
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
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
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
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:
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:
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..
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..
.
/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
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
31 matches
Mail list logo