[Q.] how to port appl with frames to Struts? any good ways to do it?

2003-11-25 Thread Michael Korolyov
Hello, We have application around 100 JSP(s) Model 1 (luck of controller). There is main page that holds three frameset in it - top frameset has logo and other info / docs links, left is used as navigation tree and main for content. Is Tiles solution to replace our framesets? What is right way to

[Q] Free charting?

2003-10-27 Thread Michael Korolyov
Hello, Would anyone point me to a free chart lib? pls. tag support isn't must, but nice to have. thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: how to start a background process using a struts action ?

2003-09-05 Thread Michael Korolyov
You may go with Quartz. Where in your actions you just get user input and stores it (by Delegator / DAO) to Quartz table. Or you can start / run new thread / class that has implemented Runnable interface. That up to your business logic. Best Regards. Michael. -Original Message- From:

RE: J2EE IDE

2003-08-27 Thread Michael Korolyov
Just IMHO: 1. Eclipse and JDeveloper are FREE 2. IDEA is better - their speeds up you're coding a lot VS. Eclipse and JDeveloper Setup Eclipse may take long time - all plug-ins, etc If you (a company) have money - I'll go with IDEA But who has money now? Best Regards. Michael. -Original

RE: Hooking Security Check in ActionServlet.java

2003-08-26 Thread Michael Korolyov
Hello, Check for org.apache.struts.action.RequestProcessor And implement your own processPreprocess /** * General-purpose preprocessing hook that can be overridden as required * by subclasses. Return codetrue/code if you want standard processing * to continue, or

Model 1 Struts

2003-08-22 Thread Michael Korolyov
Hello, What is a way to add Struts to Model 1 App? The App is implemented as Model 1 and I have no time to transform it to Model 2 (and Struts). What is a way for new functionality to be implemented with Struts? How make possible for co-exist Model 1 and Struts in one App? Something like a put

RE: validation and setter methods.

2003-08-20 Thread Michael Korolyov
Setter first that sets formbean variables Then Validate will use formbean variables for validation. Best Regards. Michael. -Original Message- From: deepaksawdekar [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 8:04 AM To: Struts Users Mailing List Subject: validation and

RE: Code of a method longer than 65535 bytes

2003-08-14 Thread Michael Korolyov
Hello, Put as many as you need helpers classes that holds one block or better keep it in DB. Then add those lists to the session or to the form to pass to the JSP the in JSP use simple tag to show / render the list from form or session. The size of your result jsp - servlet class will be small -

RE: Splash Screen in Struts

2003-07-15 Thread michael . korolyov
Aaron, what will happen when server action takes 1-5 min? user may get TIMEOUT ... tnx -Original Message- From: Aaron Longwell [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 1:27 PM To: Struts Users Mailing List Subject: Re: Splash Screen in Struts Dhruva, I have done this

RE: epicentric struts

2003-07-15 Thread michael . korolyov
hi Charles, I have imlemented some modules based on Struts 1.1 rc1 that I integrated to Epicentric with out any problems. yes I had some problems with Epicentric, but that all about links (href) that Epicentric translates in own way - that is diff. story. Best Regards. Michael. -Original

RE: Booleans

2003-06-27 Thread michael . korolyov
you need to reset checkbox for that use reset method in the Form class - set value to FALSE that's all Best Regards. Michael. -Original Message- From: Jamie M. Guillemette [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 1:22 PM To: Struts Users Mailing List Subject: Booleans I

need examples of using indexes ... Pls.

2003-04-04 Thread michael . korolyov
hi, I have list of beans a bean has a list and other fields on JSP I need to show list of rows where each row has a checkbox and select and other info then I need to introspect all user selection would be nice get such example how to do it in JSP, Action and Form tnx p.s. looks like everybody

RE: struts vs. JSP/Servlets

2003-04-04 Thread michael . korolyov
Struts helps build web application that uses JSP/Servlet it speed up development -Original Message- From: Chin, Ed [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 1:37 PM To: '[EMAIL PROTECTED]' Subject: struts vs. JSP/Servlets I want to use JSP and Servlets. Nothing else. What

'org.apache.strutsel.taglib.html.ELImgTag' has no setter method corresponding to TLD declared attribute 'onkeypress'

2003-04-03 Thread michael . korolyov
hello, what I'm missing? I'm trying to run strutsel-exercise-taglib example of struts-el. I'm getting : Parsing of JSP File '/html-indexed.jsp' failed: /html-indexed.jsp(4): Error in using tag library uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag class

RE: 'org.apache.strutsel.taglib.html.ELImgTag' has no setter method corresponding to TLD declared attribute 'onkeypress'

2003-04-03 Thread michael . korolyov
yes - you are 110% right about it put night build and it was fixed ;-) Best Regards. Michael. -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 11:49 AM To: Struts Users Mailing List Subject: RE: 'org.apache.strutsel.taglib.html.ELImgTag' has

need examples of using struts-el with indexed ... Pls.

2003-04-03 Thread michael . korolyov
Hello, in strutsel-exercise-taglib.war I can't find complete example of using indexed components. the html-indexed is good start, but I'd like to get more info how to use inside of logic-el:iterate collection ... other tags like a html-el:select html-el:options html-el:checkbox html-el:multibox

RE: [Q] Need example - how to edit tables?

2003-04-02 Thread michael . korolyov
thank you for the answer in struts-example.war I can't find any in place (on the same page) row editing! How to edit content of this table? on the same page, without another page! I know how to do it by adding a link to each row / record that then run another - edit page just for this record.

[Q] Need example - how to edit tables?

2003-03-28 Thread michael . korolyov
would be nice if any one give me an example how to do it. Pls in format like as: 1. Action class: // set the list ... ArrayList theList = getTheList(); // get list of beans ... myForm.setTheList(theList); ... // get (read from JSP / Form) the list ??? ... 2. MyForm class ... private

[Q] how specify wrap=OFF for html:textarea ?

2003-03-26 Thread michael . korolyov
Hello, Subj. Pls textarea Best Regards. Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [Q] how to edit tables?

2003-03-26 Thread michael . korolyov
would be nice if any one give me an example how to do it. Pls in format like as: 1. Action class: // set the list ... ArrayList theList = getTheList(); // get list of beans ... myForm.setTheList(theList); ... // get (read from JSP / Form) the list ??? ... 2. MyForm class ... private

[Q] how to edit tables?

2003-03-25 Thread michael . korolyov
Hello, I know how to show a table by using logic:iterate but , how to edit content of this table? on the same page, without another page! I know how to do it by adding a link to each row / record that then run another - edit page just for this record. User need to stay on the same page and be

RE: [Q] how to edit tables?

2003-03-25 Thread michael . korolyov
Thank you. how to name each input? how to use prefix? then how I'll know in Form and Action classes about which rows some values belong? tnx Best Regards. Michael. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 9:37 AM To: [EMAIL

[Q] Dynamic table - how to add / edit row's value and store it to a Form?

2003-03-24 Thread michael . korolyov
Hello, I need page that has a table, where user can add and edit any rows. How I can use a prefix for it? to be able store each row in the List in the Form (ValidatorForm) any examples are very welcome. tnx Best Regards. Michael.

[Q] why bean:write can't be used without NAME as html:text can?

2003-03-19 Thread michael . korolyov
Hello, from html:text about Attribute name - If not specified, the bean associated with the form tag we are nested within is utilized. why bean:write can't does the same? to be consistant. or Am I missing anything? tnx Best Regards. Michael.

[Q] how to do server side validation for popup that closes on submit?

2003-03-13 Thread michael . korolyov
hello, I need popup that submits some data and then closes and refresh parent window, but if server side validation fails then that popup window needs to show errors and stay. any ideas hot to do it? tnx Best Regards. Michael.

RE: [Q] how to do server side validation for popup that closes on sub mit?

2003-03-13 Thread michael . korolyov
Thank you, Mark, I understand the idea I'd add field that will get value after validation Ok in Action class that then enable onload script in JSP tnx Best Regards. Michael. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 9:13 AM To: Struts

[Q] how to get Form name in include JSP?

2003-03-13 Thread michael . korolyov
Hello, I have jsp include (%include file=a.jsp%) that has html:text property=start name=MyForm / I'd like reuse this include a.jsp in many pages. How I can specify the name for this tag to be able reuse it? tnx Best Regards. Michael.

RE: [Q] how to get Form name in include JSP?

2003-03-13 Thread michael . korolyov
Hello, thank you very much, I didn't know that I can use html:text property=somename / without defining name and that will substitute name = currentFormName I tryed and it works ;-) from the Struts/userGuide/struts-html.html#text The attribute name of the bean whose properties are consulted

[Q] how to get Form name?

2003-03-12 Thread michael . korolyov
Hello, I have jsp include (%include file=a.jsp%) that has html:text property=start name=MyForm / I'd like reuse this include a.jsp in many pages. How I can specify the name for this tag to be able reuse it? tnx Best Regards. Michael.

[Q] how to Sort on JSP without calling server side?

2003-03-10 Thread michael . korolyov
Hello, I'm passing a List to JSP that has list of beans. How I may implement Sorting on JSP side only? any examples would be very helpful. tnx Best Regards. Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Request scope beans problem

2003-03-10 Thread michael . korolyov
try remove scope=request use just bean:write name=foo / could be just misspelling Best Regards. Michael. -Original Message- From: Matthew Denner [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 3:25 PM To: [EMAIL PROTECTED] Subject: Request scope beans problem Hi, I know I've

RE: [Q] can I use ArrayList type for http:multibox property ?

2003-02-27 Thread michael . korolyov
ArrayList doesn't work for me... when I changed it back to String[] just after that it works Ok. I changed this type in my Form too, to be in sync with tag. also I didn't find any doc / spec for this type. any help are very welcome Best Regards. Michael. -Original Message- From: Sri

[Q] Form doesn't keep options list ... JSP has no list

2003-02-27 Thread michael . korolyov
Hello, on JSP I have: dropdown selection: html:select name=reportForm property=selectedEquipment styleClass=smallFont html:options name=reportForm property=equipmentList / /html:select and input field that I need validate in my reportForm (on server) the reportForm has all fields that are

[Q] any ways to know which control was changed in Action class?

2003-02-27 Thread michael . korolyov
Hello, the JSP has several drop downs, each one has onchange=submit() how I can know which one was changed in my Action class? tnx Best Regards. Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[Q] how to know which one? java.lang.IllegalArgumentException: argument type mismatch

2003-02-26 Thread michael . korolyov
hello, I'm getting: Root cause of ServletException java.lang.IllegalArgumentException: argument type mismatch at java.lang.reflect.Method.invoke(Native Method) at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property Utils.java:1789) at

RE: [Q] how to know which one? java.lang.IllegalArgumentException: argument type mismatch

2003-02-26 Thread michael . korolyov
Hello, based on stack trace - I don't see any calls to my classes at all. I use ReportForm extends ValidatorForm. java.lang.IllegalArgumentException: argument type mismatch at java.lang.reflect.Method.invoke(Native Method) at

RE: [Q] how to know which one? java.lang.IllegalArgumentException : argument type mismatch

2003-02-26 Thread michael . korolyov
Hello, I think that problem is - multibox in my jsp: logic:iterate id=item name=reportForm property=guaranteeItems html:multibox property=selectedGuaranteeItems onclick=blankImage() bean:write name=item/ /html:multibox bean:write name=item/ /logic:iterate in my Form: public

[Q] can I use ArrayList type for http:multibox property ?

2003-02-26 Thread michael . korolyov
Hello, what types allowed for http:multibox property ? Best Regards. Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[Q] what is right way to display list of checkbox(es) in two or three columns?

2003-02-25 Thread michael . korolyov
Hello, I have a list that needs to be displayed in two or three columns something like that format : tr td /td td /td /tr tr td /td td /td /tr tr td /td /tr is html:multibox tag and logic.iterate only one way? is any other ways to do it? tnx Best Regards. Michael.

[Q.] (redirect=true) how to get anything from request scope?

2003-02-21 Thread michael . korolyov
Hello, for some reason I need use redirect, but when I'd changed redirect from false to true in struts-config.xml forward name=found path=show.jsp redirect=true / I got problem on my jsp side - a jsp can't find any beans from request do I'm missing anything? tnx Best Regards. Michael.

RE: Date validation dd-MMM-yyyy not working with Javascript

2003-02-18 Thread michael . korolyov
it doesn't work for me neither so - far I'v not found a answer. looks like server side only the way. Best Regards. Michael. -Original Message- From: Amit Keshav Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 2:02 AM To: [EMAIL PROTECTED] Subject: Date validation

[Q] (date) how to validate DATE?

2003-02-14 Thread michael . korolyov
Hello, what is the right way to validate date as input, where mask is MM/dd/yy ? any examples of code would be very welcome. can it be validated on client side only (by JScript)? and how? the depends=required,date doesn't work - it checks for blank only. thank you for you help. Best Regards.

[Validator] how to Validate DATE? it doesn't work ... HELP me PLS.

2003-02-12 Thread michael . korolyov
Hello, my date validation doesn't work on client (jsp) side. I need validate date in MM/dd/yy format. in validation.xml : formset form name=financeChartForm field property=startDate depends=required,date arg0 key=prompt.startDate/

how to Validate DATE?

2003-02-11 Thread michael . korolyov
Hello, my date validation doesn't work on client (jsp) side. I need validate date in MM/dd/yy format. in validation.xml : formset form name=financeChartForm field property=startDate depends=required,date arg0 key=prompt.startDate/

does any one use KavaChart from ve.com?

2003-01-31 Thread michael . korolyov
Hello, would any one send me an example how to use it in Action class? please tnx Best Regards. Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to getRealPath() in Action class?

2003-01-31 Thread michael . korolyov
Hello, Subj. tnx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to REDIRECT?

2003-01-30 Thread michael . korolyov
Hello, how to say to IE (browser) to change url? use redirect instead forward. one Action class call another as it defined in struts-config.xml - SaveAction -- ListAction action path=/save type=SaveAction name=editForm scope=request validate=true

[Q] any good doc about how to create Appl. with Struts step be step?

2003-01-29 Thread michael . korolyov
Hello, something like: 1. create folder structure ... 2. copy xxx.jar to ... 3. copy xxx.tld to ... 4. create web.xml as ... in ... and so on. thank you. Best Regards. Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

[Q] any good doc about how to create Appl. with Struts step by step?

2003-01-29 Thread michael . korolyov
Hello, something like: 1. create folder structure ... 2. copy xxx.jar to ... 3. copy xxx.tld to ... 4. create web.xml as ... in ... and so on. thank you. Best Regards. Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

what I can use to display a Chart?

2003-01-28 Thread michael . korolyov
Hello, does any one use Charts with Struts? what lib / product you can recommend? thank you. Best Regards. Michael. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]