Re: Chart generator servlet

2007-07-27 Thread Andreja
@balazs Also, keep in mind: method that generates chart stream (method in action), and writes to ServletOutputStream sholud be void (do not return Action.SUCCESS or anything other)... On 7/27/07, Aram Mkhitaryan <[EMAIL PROTECTED]> wrote: > I use jfreechart, > > I'm generating the chart in the

Re: S2 and JFreeChart (showing images)

2007-07-06 Thread Andreja
First, thank you for the answer! Are you accessing the session in the S2 way by implementing sessionaware and having a setSession method? No, I didn't do that, because I don't understand how to implement setSession method. public void setSession(Map arg0) { ??? } How does Map r

Re: Populate a s:select

2007-07-05 Thread Andreja
Hi. LinkedHashMap will preserve order in wich elements are added to LinkedHashMap, and checkboxlist (radiobuttons, etc) will be displayed in that order. > If I have a Hashtable with the > following data: > 1,"One" > 2,"Two" > 11,"Eleven" > Is it possible to make the select box display the > d

S2 and JFreeChart (showing images)

2007-07-05 Thread Andreja
I have an action where I create graph(s), and I need to display them in the page. It is ArrayList that I need to show, but for the start I will try to display only one graph. Action code goes like this: public class ChartDisplayAction () { ... execute() { HttpSession session = servletRequ

Re: Checkboxes problem

2007-07-05 Thread Andreja
Yes, I agree, but in that case I can not display checkboxes vertically (each one in a new row). To be able to do so using checkboxlist I would have to make a custom template. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: Checkboxes problem

2007-07-04 Thread Andreja
Thank you very much Sharad, that WORKS! :] Just for the archive, this is also a possibility: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Checkboxes problem

2007-07-04 Thread Andreja
gards, Andreja - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Checkboxes problem

2007-07-03 Thread Andreja
I have a form that contains over a 100 checkboxes. They have unique names, and I need to populate them from (Array)List. As a result, I also need a ArrayList of Strings that contains only elements that user has checked. I did so by using LinkedHashMap and tag s:checkboxlist, but I can not make ch