15,895,370 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by doree007 (Top 12 by date)
doree007
27-Mar-13 6:47am
View
I am new to this area and i cant understand last 4 points correctly.. can u please help me with that??
doree007
25-Mar-13 2:52am
View
I have noticed that there is an error when converting arraylist object to Class object.. This is the error " cannot be cast to ProgressMonitoring.model.Pcinitialdata"
doree007
24-Mar-13 0:46am
View
Yes i have created all the getters and setters in pcInitialdata class.. I cant understand why the values are'nt display in php page.I can see the values in list, when i am in debug mode. But they are'nt display in table..
doree007
22-Mar-13 7:00am
View
yes i have created the getters and setters for pcinitialdatalist in my action class...???
i am stuck in hear and i am new to this area.. again thank you for helping me....
doree007
22-Mar-13 6:37am
View
yep, that class has all the getters and setters.. do u want to see the code of that class??? I think u are saying like this...
public Float getDetailCost() {
return detailCost;
}
public Float getNewCapacity() {
return newCapacity;
}
public void setNewCapacity(Float newCapacity) {
this.newCapacity = newCapacity;
}
public void setDetailCost(Float detailCost) {
this.detailCost = detailCost;
}
public Float getVarianceNew() {
return varianceNew;
}
public void setVarianceNew(Float varianceNew) {
this.varianceNew = varianceNew;
}
public Date getProjectLetterReceivedOnDate() {
return projectLetterReceivedOnDate;
}
public void setProjectLetterReceivedOnDate(Date projectLetterReceivedOnDate) {
this.projectLetterReceivedOnDate = projectLetterReceivedOnDate;
}
public Pcinitialdata() {
// TODO Auto-generated constructor stub
}
public void setId(PcinitialdataPK id) {
this.id = id;
}
public PcinitialdataPK getId() {
return id;
}
/*public void setRefNo(String refNo) {
this.refNo = refNo;
}
public String getRefNo() {
return refNo;
}*/
public void setFileNo(String fileNo) {
this.fileNo = fileNo;
}
public String getFileNo() {
return fileNo;
}
public void setProjectNo(String projectNo) {
this.projectNo = projectNo;
}
public String getProjectNo() {
return projectNo;
}
doree007
22-Mar-13 6:00am
View
I am using struts 2.0 and this is how my PcinitialdataEjb class look like...
<pre lang="java">
package progressMonitoring.service;
import java.util.List;
import javax.naming.InitialContext;
import javax.persistence.PersistenceException;
import estimate.model.Spstdestdmt;
import progressMonitoring.ejb.PcinitialDaoRemote;
import progressMonitoring.model.Pcinitialdata;
public class PcinitialdataEjb implements PcinitialdataEjbI {
public PcinitialDaoRemote dao;
public InitialContext Context;
//public String webAppName;
public String region = null;
private List<Pcinitialdata> pcinitialdataList1;
public PcinitialdataEjb(String region){
super();
this.dao= (PcinitialDaoRemote) lookupDao();
this.region=region;
}
private PcinitialDaoRemote lookupDao() {
try {
Context = new InitialContext();
PcinitialDaoRemote dao = (PcinitialDaoRemote)Context.lookup("PcinitialDao/remote");
return dao;
} catch (Exception e) {
e.printStackTrace();
throw new RuntimeException(e);
}
}
@Override
public void addNewProgress(Pcinitialdata pcinitialdata) {
// TODO Auto-generated method stub
}
@Override
public List<Pcinitialdata> getAll() {
return dao.getAll(region);
}
@Override
public List<Pcinitialdata> getAll(String deptId) {
// TODO Auto-generated method stub
return null;
}
@Override
public Pcinitialdata findById(Pcinitialdata id) throws PersistenceException {
// TODO Auto-generated method stub
return null;
}
@Override
public void createPcinitialdata(Pcinitialdata pcinitialdata) {
dao.createPcinitialdata(pcinitialdata, region);
}
@Override
public List<Pcinitialdata> getDataForEstNumber(String value, String Type) {
pcinitialdataList1=dao.getDataForEstNumber(region, value, Type);
return pcinitialdataList1;
}
}
</pre>
If i can get the values for return list.. how can i display that list in jsp page.. is there any way to attach a image to this reply.. so i can show the debug mode iamge to u.. then u can get a clear understand about my problem.. Thank you for helping me.. :)
doree007
22-Mar-13 5:37am
View
i have declare the getter and setters in class and place where i call the getdataForEstNumber method...
when i do debugging, I can see that there is a object as return value.. the problem is i didn't display in the jsp page... if i have data in the list and i have getter and setter for list how can i display them in jsp page
doree007
13-Nov-12 3:20am
View
i am getting an error saying 'IcalculatorPtr': undeclared identifier.. How can i fix this???
doree007
13-Nov-12 0:43am
View
how can i use COM. I am new to this area. Do i have to make class library or is there any way to use existing windows application.
can u help me with step by step instructions.. it is really helpful for me to understand what is happening when calling the function.
doree007
18-Oct-12 4:11am
View
how can i make the references for c# application within c++ application. because i am calling a c# windows forms class. I am new to c++ programming. so can u please help me with this.
again thanks for your time
doree007
18-Oct-12 4:01am
View
using this methods is it possible to call a c# windows forms class.
doree007
18-Oct-12 3:48am
View
Thanks for your reply. these solutions are really helpful for me.
Show More