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.
Loading report... Ple
hi i want to be able to display a pdf generated from a action class that uses
jasperreports to produce
pdf format report, i want it to be displayed in a portion of my browser
using iframe or something the same like
. how can i do this? please i'm new in implementing struts 2..thanks
in advance fo
gt;
>
> hope it will help u.!
> Regards,
> Jignesh
>
>
>
>
> carmi_cd wrote:
>>
>> 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'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..
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:
htt
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:
htt
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]>
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
;
}
}
here is part of my struts.xml
/apps/reports/ReportNotFound.jsp
apps/reports/templates/hr004.jasper
reportData
PDF
i hope you could help me..thanks a lot.
strutstwouser wrote:
>
wrote:
>
> Can you paste the entire struts.xml ; ensure that you have :
>
>
>
>
>
> 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
>> pa
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..
/>
and here is the exception..
Unexpected Exception catched: Error setting expression 'chkUserId' with
value '[Lja
hello i tried to view the value of
and its value is just one id for each row..
but it seems the checkbox are not accepting this value..
"/>
i dont know what wrong with this?
thanks again.
Ray Chen wrote:
>
> carmi_cd 写道:
>> hello
>> i have a checkbox which
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..
i already solved it..
i hope this help other new struts user
just replaced it with this one..
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 but its having an exception..
&
I have a table with four columns, the other three columns are all filled
with text, while the first column
of each row is a checkbox to select the row. My problem is the checkbox move
the other column to the
next line. It seems that it occupy to much space in the table..how should i
change thi
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..
thanks in advance..,
--
View this message in context:
http://www.nabble.com/-S2--H
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..
thanks in advance for your help
--
View this message in context:
http://www.nabble.com/-S2--how-to-get-the-value-of-form-select
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..
thanks in advance for your help
--
View this message in context:
http://www.nabble.com/how-to-get-the-value-of-form-select-tp14
;selectedModules" in the name attribute 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 i dont know how can i get the selected
values in the form select box.
here is my code..
it has multiple set to true..so it should return something like a list or
array..but if i try to
retrieved it using this code..
List selectedModules =getSel
ed is null..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/>
>
>
setter 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 w
i have a select that like this..
how should the getter and setter of selectedIds should look like? what
should the selectedIds type?
please help it take me already a long time to figure this out..thanks.
--
View this message in context:
http://www.nabble.com/-S2--What-does-Sele
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[] getSelecte
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
dele
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:
http://www.nabble
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.
here is my UserMgt-save-validation.xml:
http://
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
here is my action class code:
public String save() {
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 PROTECT
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 b
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
simplify the
> pages (the one making the request and the result) to isolate the cause.
>
> Good luck!
>
> PS.
> All your calls like this:
>
>
>
> can be replaced with this:
>
>
>
> as it's a javabean-compliant property name (what have works too but
33 matches
Mail list logo