Problem using validator framework

2005-06-03 Thread Nitesh
lidation-rule.xml javascript to return true always in the javascript method so that it gives a prompt and still goes on to submit the form. But once the form is submitted, looks like the validator framework doesn't do anything!!! Am I doing something wrong here!!! Thanks in advance for any help Nitesh

Re: Problem using validator framework

2005-06-03 Thread Nitesh
How much careless one can be!!! The problem was with the form name in validation.xml (userListAdmin instead of UserListAdmin) :) - Original Message - From: "Nitesh" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, June 03, 2005 12:40

Re: Problem using indexed properties and validator framework

2005-06-03 Thread Nitesh
Thanks for the answer John... Could you give me an example as to how we pre populate the array? Regards, Nitesh - Original Message - From: "John Fitzpatrick" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, June 02, 2005 6:00 PM Subject:

Re: Problem using indexed properties and validator framework (fixed)

2005-06-05 Thread Nitesh
Thanks for all the help John. I could work it out tweaking on your solution. Regards, Nitesh - Original Message - From: "John Fitzpatrick" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, June 03, 2005 6:06 PM Subject: Re: Problem us

Re: box with lot of . Need help.

2005-06-05 Thread Nitesh
Looks like a Javascript problem... try this script... hope it helps. function addMapping(objSourceElement, objTargetElement) { if (objSourceElement.selectedIndex == -1) { alert("Please select the tasks from the Available Tasks"); return; } var objectsToRemove = new Array(); f

Re: Prob with -- Plz help me OUT

2005-06-09 Thread Nitesh
Jeevan, Any specific reason as to why you have to have the id attribute? Nitesh - Original Message - From: "Kade Jeevan Kumar" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Cc: <[EMAIL PROTECTED]> Sent: Thursday, June 09, 2005 6:13 PM Subject: R

Re: problem with indexed property and logic:iterate

2005-06-14 Thread Nitesh
Just passing you a solution I had got from the user list earlier Nitesh - Original Message - From: "John Fitzpatrick" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, June 03, 2005 6:06 PM Subject: Re: Problem using indexed properties and

Re: another newbie

2005-06-15 Thread Nitesh
you need to use the logic:iterate tag in the JSP) HTH Regards Nitesh - Original Message - From: "Anand Vijay" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 15, 2005 4:00 PM Subject: another newbie Hi All I have a link in my application for user registration form .

Re: [OT] Validating email addresses

2005-06-15 Thread Nitesh
validation to actually plug-in the code to validate with whois. The other option would be to have a hidden frame, while validating the email address, use the hidden frame to redirect to a JSP or servlet which validates the email with whois and prompt the user accordingly. HTH Regards, Nitesh

Re: another newbie

2005-06-15 Thread Nitesh
Map the action class in the struts config and have the link point to the action i.e. - Original Message - From: "Anand Vijay" <[EMAIL PROTECTED]> To: "Nitesh" <[EMAIL PROTECTED]> Sent: Thursday, June 16, 2005 10:34 AM Subject: Re: another newbie Hi

Re: Pass parameter to javascript function

2005-06-16 Thread Nitesh
Hope you are getting the values (see the source on your page and find out) The reason JavaScript doesn't work is that the value of idProveedor is a string which is not declared. So it should work if you give the same within quotes. Try... or HTH Nitesh - Original Message -

Re: Validation error "null is required"

2005-06-16 Thread Nitesh
Make sure you have a value for the key mantenimiento.grupos.codigo.grupo in the ApplicationResources.properties HTH Nitesh - Original Message - From: "Guillen Lasa" <[EMAIL PROTECTED]> To: Sent: Thursday, June 16, 2005 2:39 PM Subject: Validation error "null

Re: Pass parameter to javascript function

2005-06-16 Thread Nitesh
='idProveedor' /> The would not work in html:radio since the tag doesn't allow/recognize nested tags. Nitesh - Original Message - From: "Rafael Taboada" <[EMAIL PROTECTED]> Cc: "Struts Users Mailing List" Sent: Thursday, June 16, 200

Re: long struts-config.xml file

2005-06-16 Thread Nitesh
You could also think about using multiple struts-config files... say one for each module and use them (in the web.xml for action param-value give the comma separated config file list.) Nitesh - Original Message - From: "John Henry Xu" <[EMAIL PROTECTED]> To: Sent:

Re: another newbie

2005-06-17 Thread Nitesh
Looks like you have an action in the html:form in submit.jsp which is not there in the struts-config action mappings (checkout the case of the actions as well) Nitesh - Original Message - From: "Amin Mohd Sani" <[EMAIL PROTECTED]> To: "Struts Users Mailing List

Re: long struts-config.xml file

2005-06-17 Thread Nitesh
r whatever parameters that could separate/group actions/jsps/etc together. Nitesh - Original Message - From: "Yuniar Setiawan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, June 17, 2005 11:55 AM Subject: Re: long struts-config.xml file Is

Re: [OT] Convert Java Object into XML. Is there a simple tool in Jakarta projects or elsewere

2005-06-17 Thread Nitesh
You could probably try using JAXB... That API is given by sun for Java for XML binding... gives you option to create java objects from an XML schema so that converting xml to java and vice-versa can be done without much work! Take a look at http://java.sun.com/xml/jaxb/ Nitesh - Original

Re: Howto display errors when using Struts Validator

2005-06-17 Thread Nitesh
t coming back to the client browser. Hence url will remain the same... Does that really matter... you would look at the page rather than what is there in the URL! HTH Nitesh - Original Message - From: "Thai Dang Vu" <[EMAIL PROTECTED]> To: Sent: Saturday, June 18, 2005 2:08 A

Re: Setting value at runtime in logic:equal

2005-06-21 Thread Nitesh
You could use where you can set val depending on any conditions, input at runtime! HTH Nitesh - Original Message - From: "Brad Rhoads" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, June 21, 2005 11:08 PM Subject: Setting value at runt

Re: Accessing nested properties

2005-06-21 Thread Nitesh
Guess this is not standard way of doing it... kinda wicked way... try this... might work <% pageContext.setAttribute("fooBar",foos.getBar()); %> //do something HTH Nitesh > Fredrik Bostrom wrote: > >> Hi list, >> >> How do I access

Re: Accessing nested properties

2005-06-21 Thread Nitesh
Ok... got that now!. The standard struts way of doing this would be... //do something (somehow that was not working in the example I tried to make sure before I send the solution. now it works!!!) HTH Nitesh - Original Message - From: "Nitesh" <[EM

Re: How to use multiple tiles definitions files for multi channel

2005-06-22 Thread Nitesh
are some plug-ins avaiable for this already... I couldn't find much abt these... I stumbled upon this on a search... http://javatoolbox.com/Toolede6f9ab-1b07-400b-93ff-46dd85038a5f.aspx HTH Nitesh - Original Message - From: "Michael Mattox" <[EMAIL PROTECTED]>

Re: validator and xdoclet

2005-06-22 Thread Nitesh
-rule bundled with that... HTH Nitesh - Original Message - From: "roberto" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 22, 2005 4:58 PM Subject: validator and xdoclet Hi people, I'm an italian student and i have a problem with struts validator. I'm wo

Re: How to use multiple tiles definitions files for multi channel

2005-06-22 Thread Nitesh
This javaworld article might help http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-strutsxslt.html HTH Nitesh - Original Message - From: "Nitesh" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" ; <[EMAIL PROTECTED]> Sent: Wednesday, June 22,

Re: validator and xdoclet

2005-06-22 Thread Nitesh
May be you could go to the URL get the required DTD and put the same in your WEB-INF Nitesh - Original Message - From: "roberto" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, June 22, 2005 6:14 PM Subject: Re: validator and xdo

Re: Setting value at runtime in logic:equal

2005-06-22 Thread Nitesh
You are probably looking for... Nitesh - Original Message - From: "Brad Rhoads" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, June 22, 2005 7:25 PM Subject: Re: Setting value at runtime in logic:equal Nitesh wrote: You could use

Re: Indexed Values

2005-06-22 Thread Nitesh
indexed properties are probably used when you have a no of rows of the same set of properties. For eg. it would be like a collection of objects with one or more membersin each row. Eg: in case you have the object in the form bean ... or ... HTH Nitesh - Original Message

Re: regarding javascript problem

2005-06-22 Thread Nitesh
You could use the onsubmit of the form tag as well... --- HTH Nitesh - Original Message - From: "Khan" <[EMAIL PROTECTED]> To: Sent: Thursday, June 23, 2005 10:30 AM Subject: regarding javascript problem Hi, I have problem in submiting

Re: JAAS example

2005-06-23 Thread Nitesh
http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/JAASRefGuide.html and http://struts.apache.org/userGuide/preface.html#jaas could be a starting point... HTH Nitesh - Original Message - From: "Arash Bijanzadeh" <[EMAIL PROTECTED]> To: "Struts Users Mailing

Re: How to create form rows dynamically

2005-06-23 Thread Nitesh
s" ); for ( int i = 0; i < users.length; i++ ) { // check on the attributes of UserBean users[i] } Hope that example clears it up for you. John On 20050603 5:05 AM, "Nitesh" <[EMAIL PROTECTED]> wrote: > Thanks for the answer John... > > Coul

Re: JAAS example

2005-06-23 Thread Nitesh
Googling results... http://jakarta.apache.org/slide/howto-jaas.html http://www.isys.uni-klu.ac.at/ISYS/Courses/04WS/webtechnologien/downloads/TomcatConfig.pdf Nitesh - Original Message - From: Arash Bijanzadeh To: Nitesh Sent: Thursday, June 23, 2005 3:14 PM Subject: Re

Re: JAAS example

2005-06-23 Thread Nitesh
And... http://www.jroller.com/page/tomdz/20041215 Nitesh Googling results... http://jakarta.apache.org/slide/howto-jaas.html http://www.isys.uni-klu.ac.at/ISYS/Courses/04WS/webtechnologien/downloads/TomcatConfig.pdf Nitesh - Original Message - From: Arash

Re: javascript html:fprm and getElementById

2005-06-26 Thread Nitesh
Try out... function setParam(mode) { document.forms["myform"].action ="<%=(String) request.getAttribute("origin")%"+ mode+ ".do"; document.forms[0].submit(); } HTH Nitesh - Original Message - Hi, I need to change the action of my form

Re: javascript html:fprm and getElementById

2005-06-26 Thread Nitesh
Forgot to add that "myform" should be the form name! Nitesh - Original Message - From: "Nitesh" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, June 27, 2005 10:23 AM Subject: Re: javascript html:fprm and getElementById

Re: javascript html:fprm and getElementById

2005-06-26 Thread Nitesh
access the DOM elements which were not exposed as arrays/object for JavaScript. For e.g.. accessing the table cells/rows or DIV/SPAN elements etc to bring in DHTML effects. HTH, Nitesh Naveen - Original Message - From: "Frank W. Zammetti" <[EMAIL PROTECTED]> To: Se

Re: Problems with validator and IE 5.0

2005-06-28 Thread Nitesh
Guess you would need to modify the JavaScript in your validator-rules suitably!!! HTH Nitesh - Original Message - From: "Lionel" <[EMAIL PROTECTED]> To: Sent: Tuesday, June 28, 2005 4:08 PM Subject: Problems with validator and IE 5.0 Hi all! How can I use struts v

Re: How to create form rows dynamically

2005-06-29 Thread Nitesh
don't get the updated values... Nitesh - Original Message - From: "Ciaran Hanley" <[EMAIL PROTECTED]> To: "'Struts User Mailing List'" Cc: <[EMAIL PROTECTED]> Sent: Tuesday, June 28, 2005 7:23 PM Subject: Re: How to create form rows dynamic

Re: DynaActionForm values problem after submit

2005-06-30 Thread Nitesh
Try putting some debugs into your action class... probably your pre-population logic is running over your edited data! Nitesh - Original Message - From: "Ciaran Hanley" <[EMAIL PROTECTED]> To: "'Struts User Mailing List'" Sent: Thursday, June 30,

Re: DynaActionForm values problem after submit

2005-06-30 Thread Nitesh
should've been basically your generated html would look like... ... HTH Nitesh - Original Message - From: "Marsh-Bourdon, Christopher" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Thursday, June 30, 2005 3:15 PM Subject

Re: Using dynamic GET data

2005-06-30 Thread Nitesh
Probably you could get the GET data in the action class which goes to a intermediate JSP which does nothing but forwards to the right JSP using the GET data. HTH Nitesh - Original Message - From: "Karianne Berg" <[EMAIL PROTECTED]> To: Sent: Thursday, June 30, 2005

Re: multiselect checkbox inside multiselect dropdown

2005-06-30 Thread Nitesh
You should probably try to put in the DHTML Folder tree to display your list... There should be script available online for doing this... the change you'll have to put in your folder tree would be to add checkboxes in addition to the text. HTH Nitesh - Original Message - From: &

Re: Passing collection Objects from html form to Action class

2005-06-30 Thread Nitesh
You could probably think of putting them as a session/request attribute and access it from action class! Nitesh - Original Message - From: "Phani" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, June 30, 2005 10:08 PM Subject: RE: Passi

Re: iterate on a value

2005-06-30 Thread Nitesh
Use a normal JSP scriptlet and loop over to put in the required fields. HTH Nitesh - Original Message - From: "Dewitte Rémi" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, June 30, 2005 11:46 PM Subject: iterate on a value Hello ! In

Re: check role - isUserInRole in jstl

2005-06-30 Thread Nitesh
Try if this works... Nitesh - Original Message - From: "Grzegorz Stasica" <[EMAIL PROTECTED]> To: Sent: Thursday, June 30, 2005 10:18 PM Subject: check role - isUserInRole in jstl I've a code like that but I get an error that namespace has to be specifi

Re: Using html:file

2005-06-30 Thread Nitesh
The page expiring has probably nothing to do with the html:file. Try removing that html:file and then go through the same steps and verify if you get the same problem. Mostly this may have to do with the page you are going back to being a submitted reuqest which has expired Nitesh

Problem using indexed properties and validator framework

2005-06-02 Thread Nitesh
again problem only for the indexed property. works fine for the normal one. Any help to resolve this would be great! Thanks in Advance Nitesh N

Problem using indexed properties and validator framework

2005-06-02 Thread Nitesh
again problem only for the indexed property. works fine for the normal one. Any help to resolve this would be great! Thanks in Advance Nitesh N

Re: Problem using indexed properties and validator framework

2005-06-02 Thread Nitesh
John, Thank you for the answer. I tried removing size with the form having session scope and it gave me java.lang.ArrayIndexOutOfBoundsException. Tried using ArrayList and gives me java.lang.IndexOutOfBoundsException Regards, Nitesh - Original Message - From: "John Fitzpa

RE: deal with nested properties

2005-07-01 Thread Nitesh Naveen
You should probably have... HTH Nitesh -Original Message- From: Dewitte Rémi [mailto:[EMAIL PROTECTED] Sent: Friday, July 01, 2005 5:54 PM To: Struts Users Mailing List Subject: deal with nested properties Hi all ! I have another problem to

RE: ActionForm reset() and redirect.

2005-07-04 Thread Nitesh Naveen
Try putting in some logic where ever you are assigning the value... like if it is not set then set it to false... if it is already set don't touch it! HTH Nitesh -Original Message- From: Ben [mailto:[EMAIL PROTECTED] Sent: Monday, July 04, 2005 1:05 PM To: Struts Subject: Actio

RE: howto with validator

2005-07-04 Thread Nitesh Naveen
tions, customize the validator-rule.xml add your own validation there point it to a custom validator method in the validator you have coded. HTH, Nitesh _ Disclaimer: Information contained and transmitted by this e-mail is confidential, proprietary, and legally privi

RE: howto with validator

2005-07-05 Thread Nitesh Naveen
you ? Rémi Le Mardi 5 Juillet 2005 07:45, Nitesh Naveen a écrit : > You could do this with validator and indexed properties. > When using indexed properties, JavaScript validations doesn't work. > However the server side validations does. This should suffice what you > need... I

RE: Velocity Question

2005-07-05 Thread Nitesh Naveen
You could probably use format macro for formatting the number... http://www.atlassian.com/software/jira/docs/api/3.1.1/com/atlassian/jira/uti l/velocity/NumberTool.html http://www.opensubscriber.com/message/velocity-user@jakarta.apache.org/14631 34.html Thanks & Regards, Ni

RE: Struts and Generics

2005-07-06 Thread Nitesh Naveen
Generics is a Java 5.0 feature... Don't think the features with 5.0 are introduced to Struts framework yet! Thanks & Regards, Nitesh _ Disclaimer: Information contained and transmitted by this e-mail is confidential, proprietary, and legally privilege

RE: Question re html:select on the client

2005-07-06 Thread Nitesh Naveen
need to make sure there are no fields in your form with the name - submit HTH, Nitesh _ Disclaimer: Information contained and transmitted by this e-mail is confidential, proprietary, and legally privileged data of Cordiant Technologies that is intended for use only by

RE: [OT] Re: Fired???? was...Re: Struts Books Recommendations [OT]

2005-07-08 Thread Nitesh Naveen
flow of OTs like these which are of no use to anyone is not quiet the way anyone would like! Friday of the week is over... At least from this point on let us cut this off. Regards, Nitesh _ Disclaimer: Information contained and transmitted by this e-ma

Re: transforming Struts apps to services

2010-04-03 Thread Nitesh Jain
Frans, You can consider using AXIS with struts for Webservices. Nitesh On 4 April 2010 06:50, Frans Thamura wrote: > On Sun, Apr 4, 2010 at 7:40 AM, Dave Newton wrote: > > > Frans Thamura wrote: > > > >> any idea to make a struts2 application using @We

RE: Freemarker and Select Tag

2009-07-16 Thread Nitesh Jain
w use following tag to display a select box. Hope it will help you. Regards, Nitesh Jain -Original Message- From: Robin Mannering [mailto:ro...@mtndesigns.co.uk] Sent: 16 July 2009 20:36 To: Struts Users Mailing List Subject: Freemarker and Select Tag Hello, Platform : Struts 2, EJ

RE: Login with Struts2

2009-07-16 Thread Nitesh Jain
Hi, I have also implemented login mechanism but I have used Servlet filter to check the user login status. I have applied filer on the restricted URI of my application by just a small configuration in web.xml. Regards, Nitesh Jain -Original Message- From: Robin Mannering

Display Doc or PDF file in JSP

2009-07-27 Thread Nitesh Jain
struts? Regards, Nitesh

RE: Display Doc or PDF file in JSP

2009-07-27 Thread Nitesh Jain
Thanks Pawel, It works for PDF file. Cant we find out any solution for DOC. Regards, Nitesh -Original Message- From: Paweł Wielgus [mailto:poulw...@gmail.com] Sent: 27 July 2009 18:01 To: Struts Users Mailing List Subject: Re: Display Doc or PDF file in JSP Hi Nitesh, as far