RE: how to configure struts2 for /*.action?

2009-07-16 Thread ravi_eze
hi, can you give some exampels for which u had to put hacks? We will test those parts explicitly. -- ravi -- View this message in context: http://www.nabble.com/how-to-configure-struts2-for--*.action--tp24481000p24510603.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: how to configure struts2 for /*.action?

2009-07-15 Thread ravi_eze
hi, Thanks for the response. We are not serving static content. We have a JSP which is used to upload images/ files etc.(submits the form to /upload.jsp) When we give the struts mapping, this Jsp doesnt work. As said in:

how to configure struts2 for /*.action?

2009-07-14 Thread ravi_eze
hi, We have an application in jsps. Now we added new functionality using Struts 2. The jsps (not struts2 jsps) have a file upload utility ( where the multi part form posts request to /upload.jsp). Now, this upload doesnt work if we have the struts2 filter mapping in web.xml. If we remove teh

Re: how to configure struts2 for /*.action?

2009-07-14 Thread ravi_eze
i didnt get u, did u mean that we cant map only *.action to struts filter? Or u were telling of some workaround? Why does struts put this restriction that all urls should pass through him? And Why does he put restrictions at container level. see web.xml is the container level and i have my own

Interceptors and Thread safety

2009-07-08 Thread ravi_eze
hi, http://struts.apache.org/2.x/docs/writing-interceptors.html says that interceptors are not thread safe, i wanted a deeper understanding on this. Case: 1. Suppose i have 2 action tags each having an interceptor (I) referenced in it 2. 2 action tags with interceptors referenced *twice in

Re: couldn't access s:include param using #parameters

2008-08-26 Thread ravi_eze
i remember some one having the similar issue... and the fix was to use scriplets %= request.getParameter(abc) % or %= request.getAttribute(abc) % should work -- ravi -- View this message in context:

Re: help required in using S:set

2008-08-24 Thread ravi_eze
the issue is solved. The corresponding signature for getSubCategories(#catId) is absent. Its fixed now.. THnaks for ur time. Ravi -- View this message in context: http://www.nabble.com/help-required-in-using-%3C-S%3Aset-tp19121396p19137857.html Sent from the Struts - User mailing list archive

help required in using S:set

2008-08-23 Thread ravi_eze
hi, The below i need the getSubCategories(xxx) method of action class to be called. ANy idea where i am doing wrong below here. The method is not getting called here. (2) i nee the inner loop also to get executed. Any ideas how this can happen. (1) s:iterator status=catStat id=catId

Re: teardown

2008-08-20 Thread ravi_eze
I would like to either make each launch of the jsp create a new exclusive running instance of the action : if i got u right but this is already happening. Each url call makes a new actionclass instance. -- View this message in context:

Re: Simplified usage of:@com.company.Constants.StaticCOnstants

2008-08-11 Thread ravi_eze
variable names shouldnt conflict with constants names. We got this idea a few days back. Though we didnt validate it i see this as a potential soln. Any how thanks once again for your help. I shall try to use it. regards, ravi ravi_eze wrote: hi, we want to access the constants in our jsp page

Re: how to fix Validation isses in a wizard application + Train

2008-07-27 Thread ravi_eze
we fixed the issue by writing a trainInterceptor whcih always takes a backup of the params passed through request and if the action doesnt return errors deletes them else stores them in session. The next pages to which user jumps we are first checking if there are nay backup objects in

how to fix Validation isses in a wizard application + Train

2008-07-23 Thread ravi_eze
hi, The issue: 1. We have implemented a wizard application (with 4 Steps) with action variables maintained in session. 2. The pages also have train in the top, i.e. from any step he can jump to any of the other steps. 3. The Step1, 2,3,4 (mentioned above ) are interdependent i.e. based on

Re: [OT] What slows you down?

2008-07-17 Thread ravi_eze
S2 is awesome by the way it modularises the things. But to me writing a valid ognl in jsp,validation layer, using value stack and debugging it is extremely difficult. The only way i do it is re-jaring, redeploying and restarting the tomcat. Moreover most of the times i do'nt understand why

Re: [S2] Recipe for Action and View

2008-07-14 Thread ravi_eze
hi, i didnt get you. I have a page for which i need to do some preprocessing to display it. After the page is done by user it has to be processed. Can you please elaborate on the soln given? ravi Gabriel Belingueres-2 wrote: Sorry it seems I entered the conversation later and didn't saw

Re: problem with checkbox (when using disabled property)

2008-07-14 Thread ravi_eze
yes it doesnt. Atleast in version 2.0.9. i heard its fixed in 2.1 version. you can write a reset interceptor also for this. i.e. always (before param interceptor) reset the checkbox field. If there is some checkbox getting submitted then you will get them, else the field would be reset by the

required Int validator -How to.

2008-06-10 Thread ravi_eze
hi, I see that the previous valid int value is being populated when i enter null in an integer text field. I want to show error in such a case. Any ideas how to get this done. The scenario is as follows: 1. When i enter no value in F1: i get validation error asking me to fill the field 2. now

Re: Writing valid OGNL

2008-05-23 Thread ravi_eze
hi, i often get into funny problems and am not sure how to fix them for example: %@ import=com.constants ... %=constants.static1 % !-- gives output as value1 -- s:property value=%=constants.static1% !-- gives output as value1 -- but when i use : s:textfield

Re: [S2] Hot Deployment in Tomcat?

2008-05-20 Thread ravi_eze
hi, i am not sure how to fix ur problem.. but i use the following steps in remote debugging.. may b it helps u. 1. in catalina.sh :JAVA_OPTS=$JAVA_OPTS -Xmx512m -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n 2. in eclipse under windows preferences in dialogue box on left

RE: Struts[2] : Checkboxlist Problems

2008-05-20 Thread ravi_eze
hi, i solved this problem the following way: 1. created a custom reset interceptor to set the action class field of checkbox. 2. placed the interceptor just after the scope interceptor (in ur struts.xml) when u deselect all the checkboxes then the HTML doesnt submit any values to the action

Writing valid OGNL

2008-05-20 Thread ravi_eze
hi, is there some standalone application/ some way by which i can validate the ognl i write? instead of writing them in validation file, compiling deploying and then discovering there some problem (we only see some non descriptive error) cheers, ravi -- View this message in context:

Re: [Struts 2] Pass value between two action classes

2008-05-14 Thread ravi_eze
quite possible. for this u need to define the object fruit in session scope. and in 1st page say: vitamins, color can be filled. In 2nd page say: weight, age can be filled and all the time the same object fruit in the session would be filled.

Setting HTML form parameters to Custom classes (not action support)

2008-05-12 Thread ravi_eze
hi, we have multiple classes (C1,C2,C3) each as java beans. now i have a form as: s:form... s:textfield name=a.field1 ../ s:textfield name=b.field1 ../ s:textfield name=c.field1 ../ is it possible for me to populate the individual classes? The problem is that we need to build a framework in

HashMap String, ArrayListString : Unable to populate the Array List from JSP

2008-05-12 Thread ravi_eze
Team, any help??? now i configured the validation, workflow interceptors in my xml file. I see an error for this field variable. I tried configuring the converter... but as always its also failing... actionclass-conversion.properties: mapOfList=com.company.CustomMapConverter

Re: HashMap String, ArrayListString : Unable to populate the Array List from JSP

2008-05-08 Thread ravi_eze
hi, Thanks for he help. i am using as follows: s:checkboxlist name=mapOfList['key'] / I see that this is not working and the mapOfList is not getting populated at all. I tried out StrutsTypeConverter... then only convertToString() method is being called. Any ideas as how to go with this

RE: Simplified usage of:@com.company.Constants.StaticCOnstants

2008-05-01 Thread ravi_eze
in OGNL. Another choice might be to use regular ol' EL expressions. -Wes On Tue, 2008-04-29 at 21:45 -0700, ravi_eze wrote: hi, Does the following work - s:set name=C value=@[EMAIL PROTECTED] / s:property value=#C / Yes it does. But my requirement is more like i would import

RE: Simplified usage of:@com.company.Constants.StaticCOnstants

2008-04-29 Thread ravi_eze
hi, Does the following work - s:set name=C value=@[EMAIL PROTECTED] / s:property value=#C / Yes it does. But my requirement is more like i would import the class into some bean/ variable (C) so that i can say C.staticconstant1 etc... but by the approach mentioned above, i should repeat the

HashMap String, ArrayListString : Unable to populate the Array List from JSP

2008-04-29 Thread ravi_eze
hi, When we had the data structure as: HashMapString,String the following jsp fragment was able to populate it: s:textfield name=map['key'] / but the same thing is not working with HashMapString, ArrayListStirng when we tried: s:textfield name=mapOfList['key']. We also tried instantiating the

Simplified usage of:@com.company.Constants.StaticCOnstants

2008-04-28 Thread ravi_eze
hi, we want to access the constants in our jsp page. So we are proceeding as follows: s:text field name=[EMAIL PROTECTED]@STATIC_CONSTANTS1] / the problem with this is that we need to repeat the @com.company.Constants always. So is there a simple way to get this working? I wanted to try out

Re: Simplified usage of:@com.company.Constants.StaticCOnstants

2008-04-28 Thread ravi_eze
, 2008-04-28 at 08:17 -0700, ravi_eze wrote: hi, we want to access the constants in our jsp page. So we are proceeding as follows: s:text field name=[EMAIL PROTECTED]@STATIC_CONSTANTS1] / the problem with this is that we need to repeat the @com.company.Constants always. So

Re: Validation

2008-03-31 Thread ravi_eze
hey! you can use theme=simple. This would generate the tags as a simple text box etc with out any trs and tds around. positioning the errors: s:fielderror s:paramfieldname/s:param /s:fielderror would display the erriors related to fieldname only. I think u can do the similar way with

Re: Multiple Actions for a single page. Is this possible

2008-03-16 Thread ravi_eze
hi, We have a form in c.jsp which by some event makes an ajax call fetching b.jsp, a.jsp and rendering it. Now the requirement is that (1) i want to get this b.jsp by calling some other action class. (2) Once its rendered and i submit the page c.jsp the consecutive action class should be able

Re: selective validation using validation.xml

2008-03-13 Thread ravi_eze
akash agrawal-2 wrote: Hi, Is this possible to do selective validation using validation.xml? What I meant by this is that calling a different set of validation on each(different) invocation of same action and same method. Quite possible: in that case u would write valildation as:

Multiple Actions for a single page. Is this possible

2008-03-13 Thread ravi_eze
hi, We have two pages a.jsp and b.jsp developed with the action class mehods Ac.a() Ac.b() that render these pages. Now we need to develop a new page c.jsp which is combination of both a b.jsps. i can include the jsps into the c.jsp. But what abt the action class behind? can they not get

S2- DateTimePicker is not working. Display Format: dd-MMM-yy HH:m:ss

2008-03-07 Thread ravi_eze
hi, I need to display the date as 21-jan-08 20:20:20 and when user changes it, the corresponding value should get populated in the Action class. I see that the date object is being displayed in the format specified but when getting converted back into the action class its throwing error. The

Field errors are firing twice twice

2008-03-06 Thread ravi_eze
hi, When i submit the form i see the field errors coming twice beside the text box. The code is as follows: in JSP: tds:textfield name=currentEvent.criterion.name theme=simple

Re: Need help in Action class Design

2008-03-03 Thread ravi_eze
can u post the code? cple of qns before that. Is the variable that holds the search list in session scope? try .. it could help. ravi Venkat Guru wrote: Hi, This is Venkat. Iam new to struts2 framework. Iam struck up with a small problem using s:select tag. I have a page which

problem in populating Maps

2008-02-21 Thread ravi_eze
hi, I am trying to populate a LinkedHashMap located in a DTO from a s:textfield.. / When i turn on the debug mode i seed the following error on the console: ERROR (com.opensymphony.xwork2.interceptor.ParametersInterceptor:199) - Developer Notification (set struts.devMode to false to disable

Re: struts2 getting current page

2008-02-21 Thread ravi_eze
http://www.nabble.com/Struts2%3A-Ajax-call-throws-an-exception---%3E-catch--td15613070.htmlcheck this: Srinivas Surapaneni wrote: I want to define a global exception handler where if this exception happens, it goes to the current page Is there any way to get the current page and specify

Re: Struts2: Ajax call throws an exception -- catch?

2008-02-21 Thread ravi_eze
The following captures the stack trace that the server throws: package name=... namespace=/... extends=struts-default global-results result name=Throwable/path/error.jsp/result /global-results

Re: strut2 Ajax/dojo: rrrrrr what's wrong with my settings? cant get the theme=ajax to wrork (pictures included)

2008-02-21 Thread ravi_eze
hi, if dojo is not defined: then probably the following should help: 1. define a folder struts in ur project (under webinf) 2. copy ajax, dojo, nifty corners, simple, xhtml, CommonFunctions.js, inputtransferselect.js, optiontransferselect.js, tabs.css, tree.css, validationClient.js. Search for

Re: [eclipse] is it possible to debug jsp in eclipse ?

2008-02-21 Thread ravi_eze
yes! its possible... but of very very less use.. 'cos u cannot see the context variables and the varibles in the expressions... the control just stops there at the break point.. the best way is to download the eclipse Europa version: this has all web, javascript etc... componetns already

Re: S2 NESTED iterators FLAT HashMaps:

2008-02-19 Thread ravi_eze
/same as s:property value=value / /s:iterator is not a direct answer to your question, but I think your problem is around that. //you can always do %{superMap[top.key]} to access the value, it is just harder to read regards musachy On Feb 18, 2008 11:21 AM, ravi_eze [EMAIL PROTECTED

S2 NESTED iterators FLAT HashMaps:

2008-02-18 Thread ravi_eze
hi, i have 4 hashmaps as follows: (1). HashMapString, HashSetString treesFruitsMap = new HashMap(); (2). HashMapString, HashSetString fruitsColourMap = new HashMap(); (3). HashMapString, String colourVitaminMap = new HashMap(); i.e. (1) has the mapping btw tree names and the fruits it bears

Re: YUI and S2 : problem in rendering date component

2008-02-13 Thread ravi_eze
be rendered. This page contains: head s:head theme=ajax / /head body s:datetimepicker name=... / /body any ideas? ravi ravi_eze wrote: hi, i am using YUI tabs to display the form which contains a datetimepicker. But the component is not being rendered. I amusing tiles to hold the tabs

YUI and S2 : problem in rendering date component

2008-02-11 Thread ravi_eze
hi, i am using YUI tabs to display the form which contains a datetimepicker. But the component is not being rendered. I amusing tiles to hold the tabs component and doing tiles insert the URL which makes a new call to the servr and get the page to be displayed under it. When i display the page

S2 insertnig key and pojo(as its value) into a map

2008-02-11 Thread ravi_eze
hi, i have a form which holds a textfield (name:username). I need to wrap this username into an object user and insert it into a map as the value object for the key 'field0'. Action class: User user; //with setters and getters. MapString, User map = new LinkedHashMap .., .. ();//with setters

Re: Struts 2.0.11 + DWR 2.0 + ajax validation

2008-02-05 Thread ravi_eze
yaa, in struts shwocase check the web.xml and dwr.xml. wou would require dwrxxx.jar for this in web-inf/lib and struts theme=ajax in the jsps. hope this helps. Filipe David Manana-2 wrote: Hi, Has anyone been able to put dwr 2.0 working with struts 2.0.11 ajax validation? --

Re: dojo script for DATEPICKER tag

2008-01-31 Thread ravi_eze
hi, if i am uderstanding u right then this should solve ur problem. action class: Date inpDate = new Date(); jsp page: s:datetimepicker name=inpDate ... / so for the fist time when the page is being displayed the inpDate is set ot the current date which will solve ur problem hope this helps.

Re: Type converters: please help!!! :(

2008-01-31 Thread ravi_eze
, ravi ravi_eze wrote: hi, The code is as follows. Do not get terrified by the length of the post. I tried formatting the post for better readability. Hope this helps you... to help me ;) @new.xml, this is included in struts.xml struts package name=newsCreation namespace=/new

Re: Type converters: convertToString not called

2008-01-31 Thread ravi_eze
this feature (as mentioned by Don Brown in the referenced bug report). ravi_eze wrote: hi, We have Action class with Employee Object with setters and getters. The Typeconverter was configured to be called when EmployeeObject.empId is called by the jsp page. We found that convertFromString

Re: Type converters: convertToString not called

2008-01-31 Thread ravi_eze
one more thing, then when would this method be called?? sounds like redundant. ravi_eze wrote: hi, thanks for the reply. If the design had this behavior intended then probably we cannot do any thing but in that case i would not agree with the design. I read the post linked below

Re: Type converters: convertToString not called

2008-01-31 Thread ravi_eze
this feature (as mentioned by Don Brown in the referenced bug report). ravi_eze wrote: hi, We have Action class with Employee Object with setters and getters. The Typeconverter was configured to be called when EmployeeObject.empId is called by the jsp page. We found that convertFromString

Re: s:if test with empty String

2008-01-30 Thread ravi_eze
hi, probably u can go this way: s:if test={members[#status.index][1] eq null} s:property value=%{distinctIssuePartyId[#status.index][0]}/ / s:if or s:if test={''.equals(members[#status.index][1])} ... / s:if this is ognl and

Re: Type converters: please help!!! :(

2008-01-28 Thread ravi_eze
team any help??? :( ravi_eze wrote: hi, The code is as follows. Do not get terrified by the length of the post. I tried formatting the post for better readability. Hope this helps you... to help me ;) @new.xml, this is included in struts.xml struts package name=newsCreation

Re: [STRUTS2] Error in Dojo / Howto update Dojo

2008-01-28 Thread ravi_eze
which version are u using?? i think u are getting error like dojo not defined. If yes then read the following u need to make dojo available do the following steps: 1. explode struts core.jar 2. create a folder in the war : struts 3. search for ajax,dojo,niftycorners,simple,xhtml in the

Re: Type converters: please help!!! :(

2008-01-27 Thread ravi_eze
- - Original Message - From: ravi_eze [EMAIL PROTECTED] To: user@struts.apache.org Sent: Friday, January 25, 2008 12:58 AM Subject: RE: Type converters: please help!!! :( Thank you Jeff for the reply. did u mean the *converter* attribute of the action tag that we give in struts.xml? I

Re: is it possible to pass a parameter to an interceptor from the xml file?

2008-01-24 Thread ravi_eze
hi, i think whats not possible is ... param name=...${actionclass'sVariable} /.. ... i.e. getting the variable form action calss and accessing it or evaluating an expression as the param value. any ideas how this is possible cheers, ravi nuwan chandrasoma-2 wrote: Hi, yes it is

Type converters: please help!!! :(

2008-01-24 Thread ravi_eze
hi, i badly need the solution to this problem. i had posted this issue on xwork forums, struts fourms previously also, but hardluck: no reply :( i am reposting the same again... atleast let me know if this idea itself is wrong!!! or any better approach/ is there? ravi_eze wrote: hi

RE: Type converters: please help!!! :(

2008-01-24 Thread ravi_eze
the model object's descriptor is the correct approach, and you indicate that it's working. So why the long face? ;-) -Original Message- From: ravi_eze [mailto:[EMAIL PROTECTED] Sent: Thursday, January 24, 2008 11:45 PM To: user@struts.apache.org Subject: Type converters: please help

RE: how to validate field right after the data is entered, HELP!

2008-01-23 Thread ravi_eze
creates html nodes to display error message dynamically. If I changed the layout then it does not work well. For example, if I have 4 columns in the table to display two fields. Do you or anyone have any experience about this? Thanks, Mei -Original Message- From: ravi_eze

Re: Need Help

2008-01-23 Thread ravi_eze
did u try struts showcase?? its part of downloads available at the site. also is a good start for struts. Antonio Petrelli-3 wrote: 2008/1/23, mohammed hussain [EMAIL PROTECTED]: hi iam muzaffar,struts learner, Any body is having any struts application means pls send to me with source

Re: Need Help

2008-01-23 Thread ravi_eze
download, explode, and search for war files. then deploy them onto tomcat. http://mirror.x10.com/mirror/apache/struts/binaries/struts-2.0.11-all.zip mohammed hussain wrote: hi iam muzaffar,struts learner, Any body is having any struts application means pls send to me with source

RE: dojo version in struts 2

2008-01-23 Thread ravi_eze
can we use dojo 1 in struts 2.0.9? newton.dave wrote: --- Mark Levitsky [EMAIL PROTECTED] wrote: Can I work some how with struts 2 and with dojo 1.0 together (instead the 0.4 version) You can use Dojo raw (i.e., not using the S2 tags), or you could get the 2.1 source and replace the

Re: validating conditional fields...

2008-01-23 Thread ravi_eze
one approach: you need to achieve appearing and dissappearing of the filelds based on some event (say radio button) using client side javascript. how ever in either case according to the html the fields are all present (i.e. x,y,z) now in action calss you can write validate method in which you

Type converters: convertToString not called

2008-01-22 Thread ravi_eze
hi, We have Action class with Employee Object with setters and getters. The Typeconverter was configured to be called when EmployeeObject.empId is called by the jsp page. We found that convertFromString of type converter is being called but convertToString is never called. Any idea why this is

RE: how to validate field right after the data is entered, HELP!

2008-01-22 Thread ravi_eze
hi, i solved the same problem this way:http://java-x.blogspot.com/2006/11/struts-2-validation.html Its ajax based validation. hope it helps. cheers, ravi Mei Wei wrote: Thanks, I looked at this document. I think it is more referring to 2.1 which does not have a stable release yet. We

Re: using YUI with struts 2

2008-01-21 Thread ravi_eze
-and-yui Regards, Jayson On Jan 20, 2008 4:26 PM, ravi_eze [EMAIL PROTECTED] wrote: hi Jeromy Evans, Thanks for the quick reply. The YUI is working with the html tags also. I dont know if this is documented anywhere; any how thanks for the help :-) Jeromy Evans - Blue Sky Minds wrote

Re: using YUI with struts 2

2008-01-20 Thread ravi_eze
code. Writing custom tags for the DataTable, TreeView, Charts etc are definitely not worth the effort because the tags can't replicate the functionality of the API. What exactly were you hoping for? regards, Jeromy Evans ravi_eze wrote: hi, i want to use YUI library (http

using YUI with struts 2

2008-01-19 Thread ravi_eze
hi, i want to use YUI library (http://developer.yahoo.com/yui/) with struts2. The problem is that YUI requires YUI specific tags while struts generates html tags. so, can we write themes(ftls etc similar to xhtml etc) which would generate YUI tags instead of HTML? would this bring in new

Re: Type conversion with Generics

2008-01-09 Thread ravi_eze
hey! one thing btw: when u say something[0] how can it be represented in set/ map as the order is not maintained? and one more thing: *-conversion.prop does it work for a custom object in the action class (struts2) (i.e. i had seen fromString being called but not toString method ) any help

RE: wrong request parameters sent

2008-01-05 Thread ravi_eze
: wrong request parameters sent hi any help?ravi_eze wrote:hi, i have 3 checkboxes(c1,c2,c3) enclosed in a form (theme: ajax; validate=true). I am trying to get the validation done by ajax and when i un-check all boxes or check some of the boxes i see that always c3 is being set

Re: unexpected behavior with a checkbox.

2008-01-02 Thread ravi_eze
hi, the workaround works, but causes problems if the checkbox should be validated. More over the soln is based on assumptions that need not hold always. There are 2 possible soln for this in my view: 1. use checkbox interceptor (http://struts.apache.org/2.x/docs/checkbox-interceptor.html). But

Re: regex validation problem

2008-01-02 Thread ravi_eze
hi, seems like ur missing validation and workflow interceptors. Try out this entry in ur xml file: ... action name=bla blaclass=bla bla Action method=bla bla interceptor-ref name=scope bla bla

Re: wrong request parameters sent

2008-01-02 Thread ravi_eze
ravi_eze wrote: hi, when i replace the provided code with: for (var i = 0; i form.elements.length; i++) { var e = form.elements[i]; if (e.name != null e.name != '') { if(e.type =='checkbox'){ if(e.checked==true

Re: Basic validation, input, and redirects

2008-01-02 Thread ravi_eze
i think u can ty this way: create a new mapping where there are no validations for action 1. Now on validation errors of action 2 it would redirect to this action 1; thus skipping validations of action 1. if u want the function call only and no validations... may b u can call the method action1

viewing field errors at custom location

2007-12-31 Thread ravi_eze
hi, I need the field errors to be displayed at a custom location instead of to the right (as we see in default case). any ideas/ links as how to get this done? regards, -- View this message in context: http://www.nabble.com/viewing-field-errors-at-custom-location-tp14557126p14557126.html

Re: wrong request parameters sent

2007-12-31 Thread ravi_eze
= 0; i errors.fieldErrors[fieldName].length; i++) { 13 addError(form.elements[fieldName], errors.fieldErrors[fieldName][i]); 14 } 15 }) of validations.js failing for multiple checkboxes which is causing the problem. i believe that there is some mistake with configuration. any help? ravi_eze

Re: wrong request parameters sent

2007-12-31 Thread ravi_eze
i somehow feel checkboxes are not properly handled in struts 2.x any controversies??? ravi_eze wrote: hi, i have 3 checkboxes(c1,c2,c3) enclosed in a form (theme: ajax; validate=true). I am trying to get the validation done by ajax and when i un-check all boxes or check some

Re: wrong request parameters sent

2007-12-31 Thread ravi_eze
hi any help? ravi_eze wrote: hi, i have 3 checkboxes(c1,c2,c3) enclosed in a form (theme: ajax; validate=true). I am trying to get the validation done by ajax and when i un-check all boxes or check some of the boxes i see that always c3 is being set in request parameter. when i

wrong request parameters sent

2007-12-30 Thread ravi_eze
hi, i have 3 checkboxes(c1,c2,c3) enclosed in a form (theme: ajax; validate=true). I am trying to get the validation done by ajax and when i un-check all boxes or check some of the boxes i see that always c3 is being set in request parameter. when i tried to debug i found the following

Re: Struts Tiles (1.3.8) - NoSuchMethodError Exception

2007-12-27 Thread ravi_eze
if you are using struts 2.0.x then you have to use tiles-*. 2.0.x jar files. Greg Reddin-4 wrote: On Dec 26, 2007 4:45 PM, Mohamed Mohideen [EMAIL PROTECTED] wrote: Hello there, I am trying the basic template example from Struts Tiles(1.3.8) website. I started with

Re: checkbox interceptor

2007-12-24 Thread ravi_eze
??? cheers, ravi ravi_eze wrote: hi, i have a form which has multiple checkbox lists in it. by default in each of the checkboxes few of them are selected. The problem is: when user unchecks all the boxes and submits the form is getting submitted with the default values. When i am using

Re: checkbox interceptor

2007-12-24 Thread ravi_eze
??? cheers, ravi ravi_eze wrote: hi, i have a form which has multiple checkbox lists in it. by default in each of the checkboxes few of them are selected. The problem is: when user unchecks all the boxes and submits the form is getting submitted with the default values. When i am using

checkbox interceptor

2007-12-22 Thread ravi_eze
hi, i have a form which has multiple checkbox lists in it. by default in each of the checkboxes few of them are selected. The problem is: when user unchecks all the boxes and submits the form is getting submitted with the default values. When i am using checkbox interceptor, and view source of

Re: Error: dojo is not defined

2007-12-22 Thread ravi_eze
check if u had s:head theme=ajax / defined in ur jsp head tag. one more thing: explode strruts-core.jar and copy the folder struts in it. it would contain dojo.. etc files. on including the head tag as said above, and view source u will find stru ts is trying to call some .js files. make sure

conversion is not happening for nested properties of action class; (XW-297

2007-12-21 Thread ravi_eze
hi, issue: An action class has a dto(say EmployeeDto) in it. In a particular scenario (when object to string is happening) we are finding that dto-conversion.porperties (EmployeeDto-conversion.properties) is being called instead of actionClass-conversion.properties. This shouldn't happen

Re: Struts 2 Multi Level Type Conversion

2007-12-20 Thread ravi_eze
hi, i had the same problem (http://forums.opensymphony.com/thread.jspa?threadID=184150tstart=0) try creating a file: Calender-conversion.properties at location: /java/util/ (i.e. assuming location of calendar @: java.util.calender and assuming calendar is the object type of the field variable in