Lisa Carter

Greenhorn
+ Follow
since May 29, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Lisa Carter

s is possible to set the colors in a chart (Pie and Category) based on the value it the dataset. I have a dataset that contains various items in the query. I'd like to look at a column in the dataset to see it's value. Then once I have the value compare it to a key in a hashmap. The key in the hashmap will be the value of the column unless the column is null. the hash map's key is the column value and the value is a color. I'd like to assign this color to the item in the chart.

Hopefully this make sense. If it not please let me know what additional information you need from me.
Every one thank you for your help. I was able to use the BufferedImage to create my Graphics2D object successfully. Thank you also for your explanations. This will help me to get back up to speed. I've not looked at Swing in over 5 years. Thanks again everyones help.
17 years ago
thanks I will give this a shot. My way I kept an error saying the object was null.
17 years ago
I created a new class that does as you've said and I'm able to create the object but it is null. I need to object to pass to a method in another class and the object can't be null;

Basically I'm writing a test case for a class. I'm trying to crate a Graphics2D object to pass to one of the methods. The test fails because the graphics object is null.
17 years ago
Hello all,

i need to create a Graphics2D object but I can't. So I decided to extend the class and just create a default constructor that will allow me to instantiate the class. The problem is that now the object is null. How do I get around this. I hope that I'm asking the question correctly as I'm very new to swing, I usually create JSP's so all of this is new to me.
17 years ago
Ok that worked, but how did you do your validation? I see the bind errors on the command line but the actual messages don't show int he jsp. I did a but I did do a c ut to see if the errors are there, and they were they just didn't show up. I'm using springs <form:form> taglib
You define where the applicationContext.xml file is located in the web.xml file. Check this file to see where you've told the application to look for the file.
Hello All,

I have a form that is contained in a banner on all of the pages on my site. The problem is using the form tags or bind tags. If i use them, they are looking for the commandName associated with the page it is contained in instead of the commandName associated with that page.

The form in is included on each page by a jsp:include tag. I'm not sure what it is using the commandName of the main page when the form is in the included page.

Any help is greatly appreciated.
Hi,

Is there anything special I need to do to convert at Spring MVC to a portlet appication. I'm not sure if I'll be able to use the spring portlet mvc. Are there any books or documentation on this? Any help you can provide is greatly appricated.
18 years ago
Sorry about that I'm using hibernate 3.0
Hi,

I have 2 tables that have a one to many relationship. 1 table has the main data with a PK, One table has detials that contains the fk. The the details tables has a relationship to a look up table using a type field. The lookup table has an order field, type field and a description field. What I'd like to do is to order the main table by the order field in the lookup table for one of the properties in the main table mapping file. Is it possible to do this and if so, how? Any help is greatly appreciate.
I am not sure where to look for the cause of this problem. I have a form that's prepopulated with data from the database. In the form is several tables also containing prepopulated data. The problem is that when I make a change to some of the fields some change while others do not. I put the application in the debugger and what I found is that the form isn't being populated by the items in the request. But beyond that I'm stuck. Where else can I look for the cause of this? Any help is greatly appreciated.
19 years ago
I am having the same problem now. Did you ever find a solution or what's causing this?
19 years ago
thanks for the info. I tried to look up the codes in eclipse but no luck. We have to list all of the changes in our source code and this would be the easiest way. It stops me from adding commentsin CVS and then in my code. Using these variables allows the comments to autmatically be added. Thanks again for your help.