Re: [S2] Famoso Double conversion problem in S2 2.0.11.1!

2009-02-28 Thread Milan Milanovic
, conversion is not invoked, why ? -- Thx, M. Milan Milanovic wrote: > > When generated in jsp, this link looks like this: > > <\a id="c_5442.00" showerror="true" targets="refValues" > dojotype="struts:BindAnchor" href="#">

Re: [S2] Famoso Double conversion problem in S2 2.0.11.1!

2009-02-27 Thread Milan Milanovic
When generated in jsp, this link looks like this: # Set value But when clicked nothing happes, it doesn't event came to conversion. -- M. Milan Milanovic wrote: > > Hi, > > I have again problem with Double conversion. I have a link in my page fo

[S2] Famoso Double conversion problem in S2 2.0.11.1!

2009-02-27 Thread Milan Milanovic
Hi, I have again problem with Double conversion. I have a link in my page for double values: ... Set value ... In the form where refValue is entered I'm using my DoubleConverter conversion, and I checked with Firebug, refValue is set

[S2] Autocomplete combobox with multiple columns

2009-02-02 Thread Milan Milanovic
Hi, I need to define popup window in my jsp page that will bring a new window with autocomplete combobox that will have multiple columns. So, my user should choose from that list a value that will be returned to main jsp (action). Is there any example of such combination ? -- Thx, Milan -- View

Re: [S2] Conversion doesn't work on another system

2009-01-22 Thread Milan Milanovic
I have set this on a Tomcat service, but it doesn't work! When I run it with bin/startup.bat, then it works. What I don't understand here, what locale settings have with this formatting if I have defined my own conversion class ? -- Thx, Milan Milan Milanovic wrote: > >

Re: [S2] Conversion doesn't work on another system

2009-01-22 Thread Milan Milanovic
Good, thank you. Do you know where I can find these params for every country (Java 1.5) ? -- Milan Lukasz Lenart wrote: > > 2009/1/22 Milan Milanovic : >> >> Do you know where I can find how to define those params for a language ? > > Follow this guideline [1]

Re: [S2] Conversion doesn't work on another system

2009-01-22 Thread Milan Milanovic
Do you know where I can find how to define those params for a language ? -- Thx, Milan Lukasz Lenart wrote: > > 2009/1/22 Milan Milanovic : >> I changed my regional settings to my local settings in Control panel. I'm >> not sure where I should change it and what e

Re: [S2] Conversion doesn't work on another system

2009-01-22 Thread Milan Milanovic
Hi, I changed my regional settings to my local settings in Control panel. I'm not sure where I should change it and what exactly I need to change ? -- Thx, Milan Lukasz Lenart wrote: > > 2009/1/22 Milan Milanovic : >> I found what is the problem, when I run Tomcat with it

Re: [S2] Conversion doesn't work on another system

2009-01-22 Thread Milan Milanovic
I found what is the problem, when I run Tomcat with its bin\startup.bat it works, but when I run it as Windows service than conversion doesn't work ?! -- Thx, Milan Milan Milanovic wrote: > > Hi, > > I'm using Struts 2.0.14 + Spring in my Eclipse Europa environment wi

[S2] Conversion doesn't work on another system

2009-01-22 Thread Milan Milanovic
Hi, I'm using Struts 2.0.14 + Spring in my Eclipse Europa environment with Apache Tomcat 5.5 on WinXP and I need to define conversion with my class MoneyBigDecimalConverter extends StrutsTypeConverter {...}, because I need to switch , and . in a value shown in jsp with textfield. But when I copie

Re: [s2] Making textfield input optional

2009-01-05 Thread Milan Milanovic
l(s)); >catch(NumberFormatException e) { >model.setValue(null); >} > } >} > > 2008/7/24 Milan Milanovic : >> >> Dear Gabriel, >> >> thank you. I tried without my Converter clas

[S2] File chooser and Firefox 3

2008-12-27 Thread Milan Milanovic
Hi, when I use File chooser () in IE to select file on a HD, I get full path + file name, but when I use Firefox 3.0.5, I just get file name without preceding path. Does anyone knows what is the problem ? -- Thx, Milan -- View this message in context: http://www.nabble.com/-S2--File-chooser-an

[S2] Calling action class method from jsp

2008-12-26 Thread Milan Milanovic
Hi, I have iterator in my jsp which iterate through list of objects. I want to call action call method for every object which is iterated, but also to pass this object's id to that method, e.g.: ... ... How can I define this ? -- Thx, Milan -- View this message in context: http://www.

Re: [S2] Using tag for choosing file (no uploading)

2008-12-23 Thread Milan Milanovic
to be stored in mem. ? -- M. Milan Milanovic wrote: > > Dear Dave, > > I found the problem, my submit button was = ajax type, so I switched it to > simple. > > Regarding Stream Result, it is not clear to me, this result needs > InputStream for inputName, > but shou

Re: [S2] Using tag for choosing file (no uploading)

2008-12-23 Thread Milan Milanovic
de and configs--I upload files > all the time without any difficulties, so it's probably something > straight-forward. > > Dave > > --- On Mon, 12/22/08, Milan Milanovic wrote: > > From: Milan Milanovic > Subject: Re: [S2] Using tag for choosing file (no uploading)

Re: [S2] Using tag for choosing file (no uploading)

2008-12-22 Thread Milan Milanovic
Dear Dave, newton.dave wrote: > >> btw - do you maybe know why when file tag is in the tag, >> form action doesn't redirect ? > > Not without further information. I have no issues uploading files. Since > you're not uploading a file, this shouldn't be an issue for you anyway. > > Well, it

Re: [S2] Using tag for choosing file (no uploading)

2008-12-22 Thread Milan Milanovic
Dear Dave, newton.dave wrote: > > --- On Mon, 12/22/08, Milan Milanovic wrote: >> I'm asking if S2 have some file chooser tag for this? > > No! File downloading is handled by the client! > > Actually, I'm asking here for choosing file on the disk, no

Re: [S2] Using tag for choosing file (no uploading)

2008-12-22 Thread Milan Milanovic
ore thing, I need to enable "download" for 2 files in the same time. -- Best regards, Milan. newton.dave wrote: > > > Dave > > --- On Mon, 12/22/08, Milan Milanovic wrote: > And one more thing, when I click submit button on the form which contains > it doesn't

Re: [S2] Using tag for choosing file (no uploading)

2008-12-22 Thread Milan Milanovic
And one more thing, when I click submit button on the form which contains it doesn't redirect to the page I defined in struts.xml for that form action, it just remain on the page with the form? -- Thx, M. Milan Milanovic wrote: > > Hi, > > I need to use tag just to s

[S2] Using tag for choosing file (no uploading)

2008-12-22 Thread Milan Milanovic
Hi, I need to use tag just to select file in the system, but not to upload this file, I just want to get path to it, so that I can parse it in my action class. However when I put this tag in the tag and try to select file, file was selected but I get an error in console about "missing multipart

Re: [S2] Problem with testing S2 Action when JasperResult type is used

2008-12-17 Thread Milan Milanovic
I'm not sure too, just because of that I'm asking you this :-). Paweł Wielgus wrote: > > Then You definitively should read the servlet specs, > i'm not sure if servletContext is present or real under junit - is it? > > Best greetings, > Paweł Wielgus

Re: [S2] Problem with testing S2 Action when JasperResult type is used

2008-12-17 Thread Milan Milanovic
correct, it is in servlet specification. > > Best greetings, > Paweł Wielgus. > > 2008/12/17 Milan Milanovic : >> >> I tried to set location programatically, and from my test I tried to set >> different paths, e.g.: "WebContent/reports/" and >> &

Re: [S2] Problem with testing S2 Action when JasperResult type is used

2008-12-17 Thread Milan Milanovic
I tried to set location programatically, and from my test I tried to set different paths, e.g.: "WebContent/reports/" and "\\WebContet\\reports\\", but every time I get FileNotFoundException from servletContext.getRealPath(...) method. Milan Milanovic wrote: > >

Re: Graphical Configuration Utility

2008-12-17 Thread Milan Milanovic
Great thing to do! Is it possible to visualise S2 appliaction from struts.xml ? I'm asking this because I didn't manage to run existing plug-in for that. mpeccorini wrote: > > Hi everyone, > > I looked for a struts 2 graphical configuration utility and couldn't > find one, you guys probabl

Re: Simple Question?

2008-12-16 Thread Milan Milanovic
Famoso Struts OGNL :-)! Musachy Barroso wrote: > > I think OGNL will try 'I' as a character, so they will never match, > just a hunch :) > > musachy > > On Tue, Dec 16, 2008 at 11:58 AM, Mark Rollins > wrote: >> >> I know this should be obvious. Perhaps I'm just too thick to use Struts2! >>

[S2] Problem with testing S2 Action when JasperResult type is used

2008-12-16 Thread Milan Milanovic
Hi, I have defined a following Struts 2 action which show one simple PDF report: /reports/MainReport.jasper parameters connection PDF And I'm trying to test with JUnit 4 this act

Re: [OT] Re: [S2] Struts + JasperReports (iReport) - setting connection

2008-12-12 Thread Milan Milanovic
t 2.0.mumble, maybe iReport 3+ is > better). > > Dave > > > --- On Fri, 12/12/08, Milan Milanovic wrote: > >> From: Milan Milanovic >> Subject: Re: [S2] Struts + JasperReports (iReport) - setting connection >> To: user@struts.apache.org >> Date: Frida

Re: [S2] Struts + JasperReports (iReport) - setting connection

2008-12-12 Thread Milan Milanovic
Dear Dave, O.K. I'm waiting for your (or anyone else's) answer. I asked the same thing on JR forum, so maybe I will get there answer, too. -- M. newton.dave wrote: > > Nope. > > > --- On Fri, 12/12/08, Milan Milanovic wrote: > >> From: Milan Mila

Re: [S2] Struts + JasperReports (iReport) - setting connection

2008-12-12 Thread Milan Milanovic
Dear Dave, have you maybe managed to find time to see how we can define datasource in JasperReports for this kind of integration between Struts 2 and Jasper ? -- Thx, M. Milan Milanovic wrote: > > Dear Dave, > > it would be great if you can, because I'm just not sure

Re: [OT] Re: [S2] Locating a file or resource in Web application (classpath issue)

2008-12-11 Thread Milan Milanovic
O.K. So, I supose that you are familiar with Tomcat server ? Do you maybe know how can I set up some files to classpath that I'll can get in my S2 application deployed to Tomcat ? -- Thx, M. newton.dave wrote: > > --- On Thu, 12/11/08, Milan Milanovic wrote: >> When I depl

Re: [OT] Re: [S2] Locating a file or resource in Web application (classpath issue)

2008-12-11 Thread Milan Milanovic
O.K. Thanks. When I deploy application to local Tomcat from my Eclipse environment it don't use WAR, but if I want to run my app on server's Tomcat I'll need to have application in war, isn't it ? -- M. newton.dave wrote: > > --- On Thu, 12/11/08, Milan Milanovic

[S2] Locating a file or resource in Web application (classpath issue)

2008-12-11 Thread Milan Milanovic
Hi, I have S2 application where my project is Web-tools 2.0 project, in Eclipse 3.3. My application is deployed with Tomcat 5.5. Well, I have problem with locating my resource files from my action classes when my application is deployed on Tomcat or in test. For example, even if I put some file

Re: [S2] Struts + JasperReports (iReport) - setting connection

2008-12-11 Thread Milan Milanovic
f the collection of javaBeans or it is maybe Custom JRDataSource where I need to set up also Factory class and that static method. -- Thx, M. newton.dave wrote: > > --- On Thu, 12/11/08, Milan Milanovic wrote: >> O.K. Thank you. When Jasper report is designed I need to >> se

Re: [S2] Struts + JasperReports (iReport) - setting connection

2008-12-11 Thread Milan Milanovic
. -- Thx, M. newton.dave wrote: > > --- On Thu, 12/11/08, Milan Milanovic wrote: >> No one knows how to set-up Jasper report connection for this >> kind integration with Struts 2 ? > > You've gotta have a little more patience. I'll see how my report is > co

Re: [S2] Struts + JasperReports (iReport) - setting connection

2008-12-11 Thread Milan Milanovic
No one knows how to set-up Jasper report connection for this kind integration with Struts 2 ? -- M. Milan Milanovic wrote: > > Hi, > > I'm following this tutorial for integrating JasperReports in Struts app: > http://struts.apache.org/2.0.14/docs/jasperreports-

[S2] Struts + JasperReports (iReport) - setting connection

2008-12-10 Thread Milan Milanovic
Hi, I'm following this tutorial for integrating JasperReports in Struts app: http://struts.apache.org/2.0.14/docs/jasperreports-tutorial.html http://struts.apache.org/2.0.14/docs/jasperreports-tutorial.html . But I'm wondering how I should set up my connection on my report (e.g., in iReport de

Re: [S2] Set textfield readonly property from action class

2008-11-30 Thread Milan Milanovic
Yes, that was the problem. Thank you all. -- Milan stanlick wrote: > >> > > As I was pressing send, I noticed you have a closing parenthesis instead > of > brace! That is not going to be good for anyone. > > > > > On Sun, Nov 30, 2008 at 5:10 AM,

Re: [S2] Set textfield readonly property from action class

2008-11-30 Thread Milan Milanovic
ready doing that. I think readonly works best on the > textarea and not textfield. try disabled instead of readonly and i am sure > it will work. > See the docs here. > > http://struts.apache.org/2.x/docs/textfield.html > > > Hope it helps. > > > On Sun, Nov 30, 2008 at 5:

Re: [S2] Set textfield readonly property from action class

2008-11-30 Thread Milan Milanovic
No one knows how to do this simple thing ? -- Milan Milan Milanovic wrote: > > Hi, > > I have defined edittingMode (String and boolean, I tried both) in my > action class with get/set methods and in resulting jsp I defined: > > > > But if I set edditingMode = &q

[S2] Set textfield readonly property from action class

2008-11-28 Thread Milan Milanovic
Hi, I have defined edittingMode (String and boolean, I tried both) in my action class with get/set methods and in resulting jsp I defined: But if I set edditingMode = "true" or edittingMode = true (in case of boolean), textfield never become readonly! I'm using Struts 2.0.11.1. What is the pro

Re: [S2] Programatically change result param

2008-11-25 Thread Milan Milanovic
I think that is not possible. I'll solve it with multiple results for this action. -- Milan Milan Milanovic wrote: > > Hi, > > I have defined following action in struts.xml: > > > > /reports/MonthReport.jasper &

[S2] Programatically change result param

2008-11-25 Thread Milan Milanovic
Hi, I have defined following action in struts.xml: /reports/MonthReport.jasper parameters connection PDF I'm wondering is it possible to change location param from my showReport()

Re: Form submitted twice (no AJAX!)

2008-11-21 Thread Milan Milanovic
I solved with two lists..it is not so elegant solution, but there is obviously no better solution. -- Milan Milan Milanovic wrote: > > Dave, > > actually my form isn't submitted twice :-(. I found now what was the > problem. I set one multiple option sel

Re: JasperReports Plugin datasource

2008-11-21 Thread Milan Milanovic
> --- On Fri, 11/21/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > >> From: Milan Milanovic <[EMAIL PROTECTED]> >> Subject: Re: JasperReports Plugin datasource >> To: user@struts.apache.org >> Date: Friday, November 21, 2008, 11:49 AM >> Dave, >>

Re: JasperReports Plugin datasource

2008-11-21 Thread Milan Milanovic
Dave, I put the fix: https://issues.apache.org/struts/browse/WW-2884 https://issues.apache.org/struts/browse/WW-2884 . Please check it if I did it correctly. -- Milan newton.dave wrote: > > --- On Fri, 11/21/08, Milan Milanovic wrote: >> O.K. Where can I do this ? > >

Re: JasperReports Plugin datasource

2008-11-21 Thread Milan Milanovic
Dave, newton.dave wrote: > >> I added connection param to the JR result and now it works perfectly >> :-)! If connection is found, dataSource is not used. > > Glad to hear it. If you want, you could create a patch and a JIRA and I'll > apply it to the JR result and finish some of my earlier

Re: Form submitted twice (no AJAX!)

2008-11-21 Thread Milan Milanovic
added that user(s) at the end of users list. How can I set that this list later contain just selected users ? -- Milan newton.dave wrote: > > Those aren't links. They're text. That's why I asked if everything came > through okay. > > > --- On Fri, 11/21/08, Mil

Re: Form submitted twice (no AJAX!)

2008-11-21 Thread Milan Milanovic
wrote: > > Those aren't links. They're text. That's why I asked if everything came > through okay. > > > --- On Fri, 11/21/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > >> From: Milan Milanovic <[EMAIL PROTECTED]> >> Subject: Re: Form

Re: JasperReports Plugin datasource

2008-11-21 Thread Milan Milanovic
On Fri, 11/21/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: >> I managed to call fillReport with open Connection object, >> but I just get an empty report page?! If I try to pass Connection object >> as dataSource in JR result, then I get that exception that Connectio

Re: Form submitted twice (no AJAX!)

2008-11-21 Thread Milan Milanovic
There is no menu code, just those two links. Milan newton.dave wrote: > >>> > /myApp/index.jsp Main >>>   |  >>> > /myApp/j_acegi_logout Logout > > Is your menu not implemented yet? > > > --- On Fri, 11/21/08, Milan Milanovic <[EMAIL

Re: JasperReports Plugin datasource

2008-11-21 Thread Milan Milanovic
: > > --- On Thu, 11/20/08, Milan Milanovic wrote: >> Yes, I understand. But who needs that?! > > Lots of people. Many JR reports are simply well-formatted tabular data > which is trivially represented by a list, potentially of composite > objects. In fact that's all I've e

Re: Form submitted twice (no AJAX!)

2008-11-21 Thread Milan Milanovic
Dear Dave, I don't understand. That is exactly what I get when page is generated. I omited some plain html code. -- Milan newton.dave wrote: > > I don't think that came through properly; perhaps try pastebin or similar. > > Dave > > > --- On Thu, 11

Re: Form submitted twice (no AJAX!)

2008-11-20 Thread Milan Milanovic
Why is this form submitte twice ? Milan Milanovic wrote: > > Yes, but it is the same when I remove ajax with simple. Here is my jsp > page, there is no AJAX word there and I still get submited twice: > > http://www.w3.org/1999/xhtml"; xml:lang="en">

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
n property as the > data source. If you're not going to do that then the JR result may not be > of much benefit to you. > > Dave > > > --- On Thu, 11/20/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > >> From: Milan Milanovic <[EMAIL PROTECTED]> >&g

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
dataSource is Connection, and I don't know what ValueStackDataSource accepts here. -- Milan newton.dave wrote: > > --- On Thu, 11/20/08, Milan Milanovic wrote: >> WARN >> net.sf.jasperreports.engine.query.JRJdbcQueryExecuter:89 - >> The supplied java.sql.Connection objec

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
Dear Dave, newton.dave wrote: > > --- On Thu, 11/20/08, Milan Milanovic wrote: >> WARN >> net.sf.jasperreports.engine.query.JRJdbcQueryExecuter:89 - >> The supplied java.sql.Connection object is null. >> >> I check, my Connection object which is attribute

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
which show report. Why my Connection is null, do you have any idea ? One more thing, is it possible to show report in new window and that my application redirect to some web page in main window ? -- Thx, Milan Milan Milanovic wrote: > > Yep, I have struts2-jasperreports-plugin-2.0.11.1.

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
Yep, I have struts2-jasperreports-plugin-2.0.11.1.jar in my project/WEB-INF/lib. I don't know why it doesn't recognize those classes. I'll check this. newton.dave wrote: > > --- On Thu, 11/20/08, Milan Milanovic wrote: >> when I copied this class to my project,

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
Dave, when I copied this class to my project, it say that I don't have these two classes: ValueStackDataSource and ValueStackShadowMap. Should I copy them too ? -- Regards, Milan newton.dave wrote: > > --- On Thu, 11/20/08, Milan Milanovic wrote: >> Great Dave! Thanks very m

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
Great Dave! Thanks very much. This is very helpful for anyone who deals with business applications that includes S2 and JR. I'll try to use this solution. -- Regards, Milan newton.dave wrote: > > --- On Thu, 11/20/08, Milan Milanovic wrote: >> O.K. Thank you. Please, send m

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
Best regards, Milan newton.dave wrote: > > --- On Thu, 11/20/08, Milan Milanovic wrote: >> Does ANYONE know how to pass parameters to report in Struts >> 2 when JasperReportsResult is used ?! > > I will send you a sanitized version of my custom JR result, or you can > just l

Re: JasperReports Plugin datasource

2008-11-20 Thread Milan Milanovic
Does ANYONE know how to pass parameters to report in Struts 2 when JasperReportsResult is used ?! Milan Milanovic wrote: > > Hi, > > I want to use JasperReports from my Struts 2 app. But I have a problem > with datasource param. I want to pass Connection object (created o

Re: Form submitted twice (no AJAX!)

2008-11-20 Thread Milan Milanovic
User: Mike John Peter Jeromy Evans - Blue Sky Minds wrote: > > Milan Milanovic wrote: >> Hi, >> >> I have a simple jsp form: >> >> >> >>

Re: JasperReports Plugin datasource

2008-11-19 Thread Milan Milanovic
Dave, what do you recommend me to do ? I just want to do the MOST SIMPLE thing, like I did many times in plain Java apps, to create JasperReports object, to pass to it connection and parameters and to show it ? -- Thx, M. newton.dave wrote: > > --- On Tue, 11/18/08, Milan Milanovic

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread Milan Milanovic
; Diogo Pontual > > On Wed, Nov 19, 2008 at 3:41 PM, Gianluca Musella < > [EMAIL PROTECTED]> wrote: > >> Do you use ffx or ie or something other? >> >> 2008/11/19 Milan Milanovic <[EMAIL PROTECTED]>: >> > >> > Yes, just like here: >&g

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread Milan Milanovic
It is Eclipse integrated browser, I supose that it use IE 7. I tried also with ffx3, and it is the same! Gianluca Musella wrote: > > Do you use ffx or ie or something other? > > 2008/11/19 Milan Milanovic <[EMAIL PROTECTED]>: >> >> Yes, just like here: >>

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread Milan Milanovic
Yes, just like here: http://struts.apache.org/2.0.12/docs/struts-2-spring-2-jpa-ajax.html http://struts.apache.org/2.0.12/docs/struts-2-spring-2-jpa-ajax.html -- Milan diogo pontual wrote: > > Are you using Spring with Struts2??? > > > > On Wed, Nov 19, 2008 at 3:32 P

Form submitted twice (no AJAX!)

2008-11-19 Thread Milan Milanovic
Hi, I have a simple jsp form: From date: To date:  

Re: JasperReports Plugin datasource

2008-11-18 Thread Milan Milanovic
Dear Dave, I'm not sure how to use this. Can you please show an example ? -- Milan newton.dave wrote: > > --- On Tue, 11/18/08, Milan Milanovic wrote: >> I want to use JasperReports from my Struts 2 app. But I >> have a problem with datasource param. I want to pas

Re: JasperReports Plugin datasource

2008-11-18 Thread Milan Milanovic
thout passing and calling fillReport) ? -- Milan newton.dave wrote: > > --- On Tue, 11/18/08, Milan Milanovic wrote: >> I want to use JasperReports from my Struts 2 app. But I >> have a problem with datasource param. I want to pass >> Connection object (crea

Re: JasperReports Plugin datasource

2008-11-18 Thread Milan Milanovic
thout passing and calling fillReport) ? -- Milan newton.dave wrote: > > --- On Tue, 11/18/08, Milan Milanovic wrote: >> I want to use JasperReports from my Struts 2 app. But I >> have a problem with datasource param. I want to pass >> Connection object (crea

Re: JasperReports Plugin datasource

2008-11-18 Thread Milan Milanovic
thout passing and calling fillReport) ? -- Milan newton.dave wrote: > > --- On Tue, 11/18/08, Milan Milanovic wrote: >> I want to use JasperReports from my Struts 2 app. But I >> have a problem with datasource param. I want to pass >> Connection object (crea

Re: JasperReports Plugin datasource

2008-11-18 Thread Milan Milanovic
thout passing and calling fillReport) ? -- Thx, Milan newton.dave wrote: > > --- On Tue, 11/18/08, Milan Milanovic wrote: >> I want to use JasperReports from my Struts 2 app. But I >> have a problem with datasource param. I want to pass >> Connection object (crea

Re: JasperReports Plugin datasource

2008-11-18 Thread Milan Milanovic
Dear Dave, I'm not sure how to do this. Please, give me an example. -- Thank you in advance, Milan newton.dave wrote: > > --- On Tue, 11/18/08, Milan Milanovic wrote: >> I want to use JasperReports from my Struts 2 app. But I >> have a problem with datasourc

JasperReports Plugin datasource

2008-11-18 Thread Milan Milanovic
Hi, I want to use JasperReports from my Struts 2 app. But I have a problem with datasource param. I want to pass Connection object (created or if possible spring bean) as a parameter and not a list, because my report doesn't need any input list (it get data directly from database), I just need

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Milan Milanovic
Nop. Gabriel Belingueres-2 wrote: > > Did you tried iterating using JSTL's forEach tag? > > 2008/8/28, Milan Milanovic <[EMAIL PROTECTED]>: >> >> O.K. One more thing, is it possible to define an array in jsp, where I >> will >> call set.toArra

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Milan Milanovic
to approach the problem from a different angle (i.e. > display the data differently), or do some reworking in the action to put > the data in a more friendly format. > > Milan Milanovic wrote: >> If you had solution, I'm sure that we would solve it in 5mins. >> >&

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Milan Milanovic
If you had solution, I'm sure that we would solve it in 5mins. georz1 wrote: > > Probably not too expensive in terms of speed considering this has been > going > on for 9 days now > > On Thu, Aug 28, 2008 at 1:06 PM, Milan Milanovic > <[EMAIL PROTECTED]>wrote:

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Milan Milanovic
erms; memory, speed, required goat sacrifices? > > Al. > > Milan Milanovic wrote: >> toArray() ? It works, but it is too expesive ? >> >> Milan >> >> >> >> newton.dave wrote: >> >>> --- On Thu, 8/28/08, Al Sutton wrote:

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Milan Milanovic
eady too easy now.) > > Not having enough information sure is a pain, huh. > > Dave > >> >> Dave Newton wrote: >> > --- On Thu, 8/28/08, Milan Milanovic wrote: >> > >> >> "9-character JSP trick", what is this ? >> >>

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Milan Milanovic
Dave, please add that 9 character here, please, I don't have time anymore to search for "clues"...I'm stuck with this for days know :-. newton.dave wrote: > > --- On Thu, 8/28/08, Milan Milanovic wrote: >> "9-character JSP trick", what

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Milan Milanovic
You are maybe familiar with this "magic" ?! If so, please let us know. omnipresent wrote: > > its magic. > > On Thu, Aug 28, 2008 at 10:43 AM, Milan Milanovic > <[EMAIL PROTECTED] >> wrote: > >> >> "9-character JSP trick",

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Milan Milanovic
"9-character JSP trick", what is this ? -- Milan newton.dave wrote: > > If the underlying implementation is ordered then the 9-character JSP trick > would probably work. The solution is left as an exercise for the reader. > > Dave > > --- On Wed, 8/27/08, Mi

Re: [OT] Re: [S2] Iterate through two lists

2008-08-27 Thread Milan Milanovic
I'm using TreeSet and my set objects are implementing Comparable interface, so they are ordered, aren't they ? Altough, I know that Set doesn't have get(index) method. O.K. I'll switch to List. Thx. -- Milan newton.dave wrote: > > --- On Wed, 8/27/08, Milan M

Re: [S2] Iterate through two lists

2008-08-27 Thread Milan Milanovic
Hi Dave, I don't understand this, what are you saying that I cannot use Set in jsp in this way ? Is there any other solution ? -- Thx, Milan newton.dave wrote: > > --- On Tue, 8/26/08, Dave Newton <[EMAIL PROTECTED]> wrote: >> (And even if you can't or don't want to fix it on the server-side

Re: [S2] Iterate through two lists

2008-08-26 Thread Milan Milanovic
Hm...maybe it is a problem beacuse of Set (not List) ? -- Milan Milan Milanovic wrote: > > I really don't understand what do you need more ? > > For this: > > > > I have: > > class Order { > > Set orderList = new java.util.TreeSet<.

Re: [S2] Iterate through two lists

2008-08-26 Thread Milan Milanovic
> further assistance. > > If the backing data is there the syntax provided (and IIRC Stephan was > also able to use), AFAICT, works fine. Without knowing the differences > between my code, which works fine, and yours, there's not much else to > say. > > Dave >

Re: [S2] Iterate through two lists

2008-08-26 Thread Milan Milanovic
rk, I tried even without params' "name" attribute. I'm stuck here with my project for days now :-((. -- Milan newton.dave wrote: > > ... > > I already knew the JSP that was causing the error. > > Dave > > --- On Mon, 8/25/08, Milan Milanovic <[

Re: [S2] Double conversion issue

2008-08-26 Thread Milan Milanovic
O.K. Solved. I added this property in wrong properties file. Sorry. -- Milan Milan Milanovic wrote: > > I put in my MyActionClass-conversion.properties file like this: > > prop = com.myProject.conversions.DoubleConverter > > But when user click on the "Delete"

Re: [S2] Double conversion issue

2008-08-26 Thread Milan Milanovic
arams ? It seems that these converters works only for form fields ? -- Milan Milan Milanovic wrote: > > I have defined new DoubleConverter, but now I don't know how to define > conversion in MyActionClass-conversion.properties file. I know how to > define it for form fields, but

Re: [S2] Iterate through two lists

2008-08-25 Thread Milan Milanovic
<- null values <- HERE IT WORKS, from activeOrder. I checked many times if I have orderList in my session and I have orderList in it filled. -- Milan newton.dave wrote: > > --- On Mon, 8/25/08, Milan Milanovic wrote: >>

Re: [S2] Iterate through two lists

2008-08-25 Thread Milan Milanovic
u insist on > not sharing any more relevant information, so you're on your own. > > If the values in question exist the syntax works, AFAICT, since I have the > exact same syntax and I get data back. > > Dave > > > --- On Mon, 8/25/08, Milan Milanovic <[EMAIL PR

Re: [S2] Iterate through two lists

2008-08-25 Thread Milan Milanovic
ork well or synax is no good. -- Milan newton.dave wrote: > > --- On Sat, 8/23/08, Milan Milanovic wrote: >> O.K. I'll try to find it. But I just think that this synax is no good: >> >> > > You may *think* that, but the syntax is fine, and I have working cod

Re: [S2] Double conversion issue

2008-08-25 Thread Milan Milanovic
One more this why is this wierd, because when number is entered through textfield it is converted good with default Double convertor, but when it is converted from jsp link (as I give above) it add 0 to the end.. -- Milan Jeromy Evans - Blue Sky Minds wrote: > > Milan Milanovic wrote:

Re: [S2] Double conversion issue

2008-08-25 Thread Milan Milanovic
vans - Blue Sky Minds wrote: > > Milan Milanovic wrote: >> Uf, bug again :-(((. >> >> Is there any custom type-converter for Double-s that doesn't have this >> error >> ? >> >> -- >> Milan >> > > A custom type-converter means

Re: [S2] Double conversion issue

2008-08-23 Thread Milan Milanovic
Hi Jeromy, well, if someone have this converter, please give it here. I use BigDecimals for currency, this double is just for representing some real values. -- Milan Jeromy Evans - Blue Sky Minds wrote: > > Milan Milanovic wrote: >> Uf, bug again :-(((. >> >>

Re: [S2] Double conversion issue

2008-08-23 Thread Milan Milanovic
I saw that. > > Write a custom type-converter for that field to work-around it. > > Milan Milanovic wrote: >> This is some wierd Struts behaviour for Double conversion, e.g., if my >> prop >> attribute in JSP was 2232.435, when user click on this "Delete" li

Re: [S2] Iterate through two lists

2008-08-23 Thread Milan Milanovic
O.K. I'll try to find it. But I just think that this synax is no good: -- Milan newton.dave wrote: > > --- On Fri, 8/22/08, Milan Milanovic wrote: >> Where can I set levels DEBUG for S2, XWork and OGNL ? > > Search the fine web for Java logging, possibly after che

Re: [S2] Double conversion issue

2008-08-22 Thread Milan Milanovic
This is some wierd Struts behaviour for Double conversion, e.g., if my prop attribute in JSP was 2232.435, when user click on this "Delete" link, in my action class for prop attribute I get: 2232435.0 ?! -- Milan Milan Milanovic wrote: > > Hi, > > I ha

Re: [S2] Iterate through two lists

2008-08-22 Thread Milan Milanovic
Dear Dave, now, I don't get 500 server error, but null values! I don't know why? Where can I set levels DEBUG for S2, XWork and OGNL ? -- Thx, Milan newton.dave wrote: > > --- On Thu, 8/21/08, Milan Milanovic wrote: >> I have struts devMode on and logging works for

  1   2   3   >