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

2009-07-15 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: https://svn.apache.org/repos/asf/struts/struts2/trunk/core/src/main/j

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

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 ma

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 each*

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("") %> or <%= request.getAttribute("") %> should work -- ravi -- View this message in context: http://www.nabble.com/couldn%27t-access-s%3Ainclude-param-using--parameters-tp19173169p1917

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) abc abc

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: http://www.nabble.com/teardown-tp19074593p19082819.htm

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 constant

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 session..

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 select

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 thing

Re: problem with checkbox (when using disabled property)

2008-07-13 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 inte

Re: [S2] Recipe for Action and View

2008-07-13 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 t

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 %> but when i use : i am totally clueless as to what is happening here!!! some times http://www.nabble.com/Writing-valid-OGNL-tp17355855p17421934.html S

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: http://ww

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 cl

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 le

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. http://struts.apache.org/2.x/docs/scope-interceptor

HashMap< String, ArrayList >: 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 Element_mapOfL

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: is it possible for me to populate the individual classes? The problem is that we need to build a framework in struts2 and it requires the above to happen. After googling a lot... i found that that the current

Re: HashMap< String, ArrayList >: 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 is

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

2008-05-01 Thread ravi_eze
ccess static vars/methods 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 - >> >> >> >> &g

HashMap< String, ArrayList >: Unable to populate the Array List from JSP

2008-04-29 Thread ravi_eze
hi, When we had the data structure as: HashMap the following jsp fragment was able to populate it: but the same thing is not working with HashMap > when we tried: (); mapOfList.put("key", new ArrayList()); still no luck Using POJOs instead of hashmap would not fit to my requirements. any

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

2008-04-29 Thread ravi_eze
hi, Does the following work - 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 @com.company.Constant string always which reduces the readabil

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

2008-04-28 Thread ravi_eze
hi, i tried this way: but its not working nor it throws an exception if its wrong way of doing. any help? cheers, ravi Wes Wannemacher wrote: > > > http://struts.apache.org/2.x/docs/set.html > > > > On Mon, 2008-04-28 at 08:17 -0700, ravi_eze wrote: >

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 ou

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: fieldname would display the erriors related to fieldname only. I think u can do the similar way with action errors and actino messages. Give a t

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

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 aut

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

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 Obje

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: in web.xml: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://j

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 tag. > > I have a page which con

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 installed

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 sp

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

2008-02-21 Thread ravi_eze
The following captures the stack trace that the server throws: /path/error.jsp > hi, > > I use ajax (yui) with struts2. > My method throws an exception, if there is

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 t

problem in populating Maps

2008-02-21 Thread ravi_eze
hi, I am trying to populate a LinkedHashMap located in a DTO from a 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 this message): Erro

Re: S2 NESTED iterators & FLAT HashMaps:

2008-02-19 Thread ravi_eze
quot;iterator" tag, the value of the "id" tag becomes the >> reference to the current object on that iteration(same as "top" on >> this case). When iterating over a map, the object is a Map.Entry, so >> you need to access the "key" and "v

S2 NESTED iterators & FLAT HashMaps:

2008-02-18 Thread ravi_eze
hi, i have 4 hashmaps as follows: (1). HashMap> treesFruitsMap = new HashMap(); (2). HashMap> fruitsColourMap = new HashMap(); (3). HashMap colourVitaminMap = new HashMap(); i.e. (1) has the mapping btw tree names and the fruits it bears (as a set of strings) (2) has the mapping btw fruit name

Re: YUI and S2 : problem in rendering date component

2008-02-13 Thread ravi_eze
hi, My implementation is as follows: I have a page that displays a datetimepicker provided by struts2(2.0.9). When i tried to put the same into the YUI tabbed panel the timepicker componetn is not being displayed. The following is the code in the YUI:

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. Map map = new LinkedHashMap< .., .. >();//with setters and getters

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 by

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: 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 re

Re: Type converters: convertToString not called

2008-01-31 Thread ravi_eze
n at render time and the core > struts2 dev team has explicitly chosen to remove 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 an

Re: Type converters: convertToString not called

2008-01-31 Thread ravi_eze
n at render time and the core > struts2 dev team has explicitly chosen to remove 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 an

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 > >

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: 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. cheers, ravi Naveen Kumar M wro

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} > or < s:if test="{''.equals(members[#status.index][1])} > ... this is ognl and should help u out. let me know if it works. cheers, ravi quinq

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 > >

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 explode

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

2008-01-27 Thread ravi_eze
quot;0"; if(obj instanceof Long) return ((Long)obj).longValue()+""; return ""; } } mgainty wrote: > > Hi Ravi- > > Could you display your code for your StrutsTypeConverter class please &

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

2008-01-24 Thread ravi_eze
t; without it. Are you using defaultStack? > > I believe providing 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: Thurs

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: > &

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

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 can

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

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 co

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 wi

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

2008-01-23 Thread ravi_eze
anks, > Mei > > -Original Message- > From: ravi_eze [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 22, 2008 9:04 PM > To: user@struts.apache.org > Subject: RE: how to validate field right after the data is entered, > HELP! > > > hi, > > i solve

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. >

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 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 happening? The details

Re: using YUI with struts 2

2008-01-21 Thread ravi_eze
ication-menu-using-struts2-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 >> don

Re: using YUI with struts 2

2008-01-20 Thread ravi_eze
the original HTML above. The value this adds over the > original HTML is dubious considering the effort it took to write the > custom-tag and the clarity of the original code. Writing custom tags > for the DataTable, TreeView, Charts etc are definitely not worth the > effort because

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 problems

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 r

RE: wrong request parameters sent

2008-01-05 Thread ravi_eze
From: > [EMAIL PROTECTED]> To: user@struts.apache.org> Subject: Re: 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

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

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(

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: ... bla bla

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 i

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

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 boxe

Re: wrong request parameters sent

2007-12-31 Thread ravi_eze
stake with configuration. 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

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 Sent

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 statemen

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 struts-blan

Re: checkbox interceptor

2007-12-24 Thread ravi_eze
produces onblur() functions but this fellow doesnt produce __checkbox_ names hiddenfields and hence the checkbox interceptor has no effect. it seems like both of these cannot happen simultaneously or i m going wrong somewhere any help??? cheers, ravi ravi_eze wrote: > > hi, > &

Re: checkbox interceptor

2007-12-24 Thread ravi_eze
produces onblur() functions but this fellow doesnt produce __checkbox_ names hiddenfields and hence the checkbox interceptor has no effect. it seems like both of these cannot happen simultaneously or i m going wrong somewhere any help??? cheers, ravi ravi_eze wrote: > > hi, > &

Re: Error: dojo is not defined

2007-12-22 Thread ravi_eze
check if u had defined in ur jsp 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 that u get them all from s

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 t

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 accordin

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=184150&tstart=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