RE: Radio button CHECKED ???

2004-01-21 Thread Nimish Chourey , Tidel Park - Chennai
In this tag ... It checks the property with value , if they are same , then it shows that raio button as checked .. In this case your bean property is initialized to false , hence it always shows that radio butoon as checked .. -Original Message- From: Mauricio T. Ferraz [mailto:[EMAI

RE: indexed properties mini(est) HOWTO

2003-12-16 Thread Nimish Chourey , Tidel Park - Chennai
What if I have a DynaAction form . In that case how do I handle the getter/Setter method ... -Original Message- From: Rajat Pandit [mailto:[EMAIL PROTECTED] Sent: Sunday, December 14, 2003 3:16 PM To: Struts Users Mailing List Subject: indexed properties mini(est) HOWTO hello, am positn

RE: dynamically populating options in form

2003-11-20 Thread Nimish Chourey , Tidel Park - Chennai
there someway we can do the same thing, without making a server call on every change event of the first select control ? Again, we want to make minimal use of JavaScript. Thanks in advance Anindito -Original Message- From: Nimish Chourey , Tidel Park - Chennai [mailto:[EMAIL PROTECTED

RE: DynaValidationForm

2003-11-13 Thread Nimish Chourey , Tidel Park - Chennai
You can make two action mappings say For Retrieveing details For Editing Notice that the action is same , only the value of validate attribute is changed Nimish -Original Message- From: Ghanakota

RE: Problem with - tag

2003-11-13 Thread Nimish Chourey , Tidel Park - Chennai
prüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Nimish Chourey , Tidel Park - Chennai Gesendet: Mittwoch, 12. November 2003 13:10 An: Struts Users Mailing List Betreff: RE: Problem with - tag Probably .. The form tag has the action , which is linked to some

RE: Problem with - tag

2003-11-12 Thread Nimish Chourey , Tidel Park - Chennai
Probably .. The form tag has the action , which is linked to some different form . Ie say you have form tag like this And in struts config , the action is mapped to some form say form name B , then your html options tag should be like In case of bean write , it wont look up for the

RE: Servlet filter and Struts

2003-11-11 Thread Nimish Chourey , Tidel Park - Chennai
You can also sub class the processRole method in Request Processor and then check whether the user logged in has a particular role . The accepted roles are declared in the action tag , there by giving you a action level Security . -Original Message- From: Steffen Gransow [mailto:[EMAIL P

RE: ValidatorForm losing params when validation fails

2003-11-10 Thread Nimish Chourey , Tidel Park - Chennai
lidated when refresh(mapping, form, request, response) is called, but I do want validation when the other methods (i.e. add, update) on the DispatchAction are called. Make sense? > -Original Message- > From: Nimish Chourey , Tidel Park - Chennai > [mailto:[EMAIL PROTECTED] > Se

RE: Action Class: Print into respone

2003-11-10 Thread Nimish Chourey , Tidel Park - Chennai
Put the data in form of bean into request/session scope and then forward to a JSP (view Page) .. Which then takes the bean from the request/session scope to render the data ... -Original Message- From: Christian Burger [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 4:53 PM To

RE: ValidatorForm losing params when validation fails

2003-11-09 Thread Nimish Chourey , Tidel Park - Chennai
The validate method of the form would be called before the execute method of action .. Why do you have to call the form.validate(mapping, request) explicitly , I doth think this code in acton would be executed if the validation fails ... -Original Message- From: Marc Dugger [mailto:[EMAIL

RE: Best Practices in Struts for Form objects?

2003-11-06 Thread Nimish Chourey , Tidel Park - Chennai
How do you extend if you are using a DynaForm ??? Is there anyway out .. ?? -Original Message- From: Philip Mark Donaghy [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 9:16 PM To: Struts Users Mailing List Subject: Re: Best Practices in Struts for Form objects? If all of

RE: Best Practices in Struts for Form objects?

2003-11-06 Thread Nimish Chourey , Tidel Park - Chennai
Hi Michael , I started off with using the same forms .. But down the line , it so happens that the Screens might change .. Eg If you have same form for Add and Modify , and then later in Modify Screen you have only certain fields to be modified , then the problem comes . This happens when

RE: dynamically populating options in form

2003-11-06 Thread Nimish Chourey , Tidel Park - Chennai
Something like Below .. The "Onchange" event will trigger the Submission to another action which then keeps the collection in request/session scope and select Box B is then populated ..See the code below ..

RE: display tag and struts

2003-10-16 Thread Nimish Chourey , Tidel Park - Chennai
Yes .. I had the same problem .. you need to use scriplet .. some thing like this .. <% MessageResources resource =(MessageResources) application.getAttribute(Globals.MESSAGES_KEY) ; %> " sort="true" href="get.do?method=retrieve" paramId="lId" paramProperty="ID" /> Nimish -Original

RE: Validate values in collection?

2003-09-25 Thread Nimish Chourey , Tidel Park - Chennai
You can always extend DynaValidatorForm and overwrite the validate method . -Original Message- From: Timo Neumann [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 6:06 PM To: Struts Users Mailing List Subject: Re: Validate values in collection? Natalie D Rassmann wrote: > y

Dispatch Action with Validator

2003-08-06 Thread Nimish Chourey , Tidel Park - Chennai
Hi all, I am using DispatchActionClass with DynaValidator form . I have two mehods in the DispatchActionClass , one is retrieve and other is update . The problem is when I set the Validations for the form , the Validaor validates the form before calling both the methods .. In retrieve

RE: [OT] Clustering / Session Replication

2003-07-16 Thread Nimish Chourey , Tidel Park - Chennai
There as a similar thread on this topic .Serach for "Session Management using EJB" probably that would help .. > -Original Message- > From: Jan Zimmek [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 16, 2003 1:41 PM > To: [EMAIL PROTECTED] > Subject: [OT] Clustering / Session Replicat

RE: JAAS and struts1.1

2003-07-10 Thread Nimish Chourey , Tidel Park - Chennai
I am also doing the R&D on same .. have a look at http://www.javaworld.com/javaworld/jw-09-2002/jw-0913-jaas_p.html A good starting point . -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 11:02 PM To: [EMAIL PROTECTED] Subject: JAAS and s

RE: [OT] Session Management using EJB

2003-07-10 Thread Nimish Chourey , Tidel Park - Chennai
, July 10, 2003 9:09 PM To: Struts Users Mailing List Subject: Re: [OT] Session Management using EJB Nimish Chourey , Tidel Park - Chennai wrote: > Hi all , > I want to know if there are applications that implements Session > Management using EJB's rather then using the

[OT] Session Management using EJB

2003-07-10 Thread Nimish Chourey , Tidel Park - Chennai
Hi all , I want to know if there are applications that implements Session Management using EJB's rather then using the HttpSession on Web tier . I want to know the pros and cons of this approach . For all the R&D that I have done , it seems that this approach could be used when you are de

RE: Struts/Jboss 3.2.x

2003-06-27 Thread Nimish Chourey , Tidel Park - Chennai
Is anybody using JASS with JBOSS .. -Original Message- From: Konstadinis Euaggelos [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 1:32 PM To: Struts Users Mailing List Subject: Re: Struts/Jboss 3.2.x I haven't face any problem, V. - Original Message - From: "Buics"

RE: A question on Tiles and Frames

2003-06-20 Thread Nimish Chourey , Tidel Park - Chennai
al Message----- From: Nimish Chourey , Tidel Park - Chennai [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 9:42 AM To: Struts Users Mailing List Subject: RE: A question on Tiles and Frames I had the same problem .. while developing a Menu (left side) .. wanted to make that scrollable .. But I

RE: A question on Tiles and Frames

2003-06-20 Thread Nimish Chourey , Tidel Park - Chennai
I had the same problem .. while developing a Menu (left side) .. wanted to make that scrollable .. But I guess its not possible with Tiles I guess .. Infact try doing it without tiles (and without frames) .. its not possible . And if somehow if its really possible .. I would definately like to kn

RE: [OT] MVC / Model 2 for Microsoft ???

2003-06-13 Thread Nimish Chourey , Tidel Park - Chennai
The MFC architecture is based on MVC .. Implemented using Document and View classes .. On web Front .. I have no Idea .. -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 1:24 PM To: Struts Users Mailing List Subject: Re: [OT] MVC / Model 2 for M

RE: a jsp question:how to get the web application's directory?

2003-06-12 Thread Nimish Chourey , Tidel Park - Chennai
Try this .. ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); InputStream is = classLoader.getResourceAsStream("foo.txt"); This will load the file from the webapps classpath ie from WEB-INF ... here foo.txt is in WEB-INF/cla

RE: Re[2]: Forwarding to a tile definition

2003-06-12 Thread Nimish Chourey , Tidel Park - Chennai
have to load up personalized info on the home page then you create a new action, say, named PrepHome.java and simply change your action mapping to be Am I missing something? -Original Message----- From: Nimish Chourey , Tidel Park - Chennai [mailto:[EMAIL PROTECTED] Sent: Thursday, June

RE: Re[2]: Forwarding to a tile definition

2003-06-12 Thread Nimish Chourey , Tidel Park - Chennai
+1 .. I too was wandering .. I guess Probably because Tiles is just treated as a plugin .. and not really part of Struts -Original Message- From: Davidson, Glenn [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 7:23 PM To: 'Struts Users Mailing List' Subject: RE: Re[2]: Forwarding

RE: Template VS JSP:include

2003-06-12 Thread Nimish Chourey , Tidel Park - Chennai
There has been a discussion on this before on the maling list .. If you are using Tiles with Struts then this can be taken care of .. -Original Message- From: Peng Zhao [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 4:33 AM To: [EMAIL PROTECTED] Subject: Template VS JSP:include

RE: welcome file in web.xml

2003-06-10 Thread Nimish Chourey , Tidel Park - Chennai
It doesnt work .. -Original Message- From: Navjot Singh [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 11:35 AM To: Struts Users Mailing List; Nagendra Kumar O V S Subject: RE: welcome file in web.xml I have not tried but it should work. let us know if tastes success ;-) ---

RE: StrutsMenu 1.2?

2003-06-09 Thread Nimish Chourey , Tidel Park - Chennai
Whats this Struts Menu ..Where could I find that ?? -Original Message- From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 5:03 PM To: Struts Users Mailing List Subject: StrutsMenu 1.2? I need some kind of dynamic generation of menu items in my webapp, is Struts

RE: Tiles Two JSP's for Displaying One Form .

2003-06-04 Thread Nimish Chourey , Tidel Park - Chennai
.ChooseCategory is mapped to a JSP in my tile-config.xml no? i think I need to throw in the towel :) -jeff On Tuesday, June 3, 2003, at 09:30 AM, Nimish Chourey , Tidel Park - Chennai wrote: > Yes .. now you exacly understand my problem .. > See these form pages are direct links fro

RE: Tiles Two JSP's for Displaying One Form .

2003-06-04 Thread Nimish Chourey , Tidel Park - Chennai
se in page title @param header Header tile (jsp url or definition name) @param body Body @param footer Footer --%> -Original Message- From: N

RE: Tiles Two JSP's for Displaying One Form .

2003-06-04 Thread Nimish Chourey , Tidel Park - Chennai
riate content="" (if that's what you called it in your tiles-config file) and IT does the include for you. -jeff On Tuesday, June 3, 2003, at 09:00 AM, Nimish Chourey , Tidel Park - Chennai wrote: > Hi I agree with you .. But see ..below you have created a definition > &qu

RE: Tiles Two JSP's for Displaying One Form .

2003-06-04 Thread Nimish Chourey , Tidel Park - Chennai
g One Form . Hi Nilesh, Better approach is use tiles definitions.. So u have those 40 jsps for 40 page contents..And one tiles definition xml file which assembles those.. HTH. regards, Shirish -Original Message----- From: Nimish Chourey , Tidel Park - Chennai [mailto:[EMAIL PROTECTED] Sen

RE: Tiles Two JSP's for Displaying One Form .

2003-06-04 Thread Nimish Chourey , Tidel Park - Chennai
d a single page (the body) for every new def. So the overhead may be two or 3 Pages at first but then it grows by one for ever new def. This is just one way and it works for me. I'm sure there are more efficient (less pages) but this way seems to be easy to understand and small after the origin

RE: Tiles Two JSP's for Displaying One Form .

2003-06-03 Thread Nimish Chourey , Tidel Park - Chennai
g + 40 body content JSPs, but certainly not 80 JSPs. or at least that's my way of thinking on the matter -jeff On Tuesday, June 3, 2003, at 07:41 AM, Nimish Chourey , Tidel Park - Chennai wrote: > Hi , > In my application there may be around 40 forms . I am using the > cla

Tiles Two JSP's for Displaying One Form .

2003-06-03 Thread Nimish Chourey , Tidel Park - Chennai
Hi , In my application there may be around 40 forms . I am using the classic layout for the application . the body changes for every page , I mean I have a different JSP's for these forms . Each form is submitted and a result page is desplayed . Now my question is if I have 40 forms , so

RE: Struts Diagram

2003-05-30 Thread Nimish Chourey , Tidel Park - Chennai
You can try zipping the file and then sending it .. > -Original Message- > From: Richard Raquepo [mailto:[EMAIL PROTECTED] > Sent: Friday, May 30, 2003 4:12 PM > To: Struts Users Mailing List > Subject: Re: Struts Diagram > > > i think you can't make attachment here > - Original Mess

RE: Justifying Struts

2003-05-29 Thread Nimish Chourey , Tidel Park - Chennai
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 29, 2003 10:44 AM > To: [EMAIL PROTECTED] > Subject: Justifying Struts > > > I am looking at potential frameworks for a new project. I've > heard about > Struts and have researched it over

Tiles .. Should what level should one Drill down

2003-05-27 Thread Nimish Chourey , Tidel Park - Chennai
Hi All , Looking at the examples of Tiles , I could make out that if you see a pattern in your JSP's then they could be easily factored into templates or what you can also called as tiles . For eg . you can divide your page in terms of Menu , Header , footer and body . Now my question is ti