RE: validator for check box

2003-10-29 Thread Jayaraman Dorai
. Wondering why struts doesn't have it? Again, am I missing something? Thanks Jayaraman -Original Message- From: Jayaraman Dorai Sent: Monday, October 27, 2003 2:31 PM To: [EMAIL PROTECTED] Subject: validator for check box Would like to validate that the user selects at least

RE: validator for check box

2003-10-29 Thread Jayaraman Dorai
; } -Original Message- From: Jayaraman Dorai [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 12:49 PM To: Struts Users Mailing List Subject: RE: validator for check box Does any one have any ideas or have written code to validate that at least one item is selected on the check box

RE: validator for check box

2003-10-29 Thread Jayaraman Dorai
into this situation. Saul -Original Message- From: Jayaraman Dorai [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 2:00 PM To: Struts Users Mailing List Subject: RE: validator for check box Been using an older version of validator-rules, which I had customized and so

validator for check box

2003-10-27 Thread Jayaraman Dorai
Would like to validate that the user selects at least one option in the check box which was created using html-multibox. The struts-validator is not validating the required for a check box. Is there any code for validating the check box or am I missing something? Thanks Jayaraman

RE: Tools for Testing

2003-10-10 Thread Jayaraman Dorai
If the struts example could come with examples on how test cases could be written, that will help novices like us. Will having test cases within struts example be beyond the scope? -Original Message- From: Shane Mingins [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003

RE: Going from https on /member.do, back to http on index.jsp?

2003-09-29 Thread Jayaraman Dorai
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2003 9:38 PM To: Struts Users Mailing List Subject: Re: Going from https on /member.do, back to http on index.jsp? Jayaraman Dorai wrote: -Original Message

RE: Going from https on /member.do, back to http on index.jsp?

2003-09-26 Thread Jayaraman Dorai
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:55 PM To: Struts Users Mailing List Subject: Re: Going from https on /member.do, back to http on index.jsp? Max Cooper wrote: Creating an index.do is one option. If

dynamic columns for a jsp

2003-08-04 Thread Jayaraman Dorai
There are around 20 attributes for a business object. The jsp iterates over a collections of this business object and displays them. The user does not want to see all the 20 attributes. Different users may want to see different attributes. This requirement is similar to what outlook provides,

RE: dynamic columns for a jsp

2003-08-04 Thread Jayaraman Dorai
would get it from his preferences of columns from DB. other the business objects... is this the same that you are doing or any different? If somebody has a good solution for this, would help Panchasheel -Original Message- From: Jayaraman Dorai [mailto:[EMAIL PROTECTED] Sent: Monday

RE: Birthdate validation ?

2003-07-23 Thread Jayaraman Dorai
I had a hidden form field, appended the month, year and date using the javascript to it and then validated it as usual. The validation-rules had to be modified as it can validate only a text field and not a hidden field. Would be interested in knowing of any other alternate ways of validating.

RE: How do I implement a Master/Detail maintenance form?

2003-07-16 Thread Jayaraman Dorai
http://www.developer.com/java/ejb/article.php/2233591 Hope this helps. I haven't tried this myself yet. Jayaraman -Original Message- From: Shane Mingins [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 5:59 PM To: '[EMAIL PROTECTED]' Subject: How do I implement a Master/Detail

[OT] Concurrency handling

2003-06-05 Thread Jayaraman Dorai
Would like to know the best practice being followed on handling the concurrency issues in the web application. The use case we have is similar to this. One last room is available in a hotel and 2 or more users try to reserve that same room at the same time. Only one user gets it and the other

RE: one more prepopulate question

2003-02-28 Thread Jayaraman Dorai
In the home page we have, where more than one form is required, we have used frames. The frames src points to action which prepopulates the form and is displayed in the jsp. Which also means there is a separate jsp page for each form. Jayaraman -Original Message- From: Rick Reumann

RE: what does RT Expr mean

2003-01-29 Thread Jayaraman Dorai
In the custom tag I have the scriptlet is not evaluated, though I rtexprvalue set as true. mytaglib:mytag myvar=%= foo %/ the value of foo is not passed in the custom tag. But the string as such %= foo % gets passed. Am I missing anything else? -Original Message- From: Patrice

RE: what does RT Expr mean

2003-01-29 Thread Jayaraman Dorai
RT Expr mean You'd have to show your specific code, showing your TLD entries, and most of the JSP page. -Original Message- From: Jayaraman Dorai [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 1:51 PM To: Struts Users Mailing List Subject: RE: what does RT Expr mean

RE: what does RT Expr mean

2003-01-29 Thread Jayaraman Dorai
-Original Message- From: Jayaraman Dorai Sent: Wednesday, January 29, 2003 5:19 PM To: Struts Users Mailing List Subject: RE: what does RT Expr mean The jsp has this itogo:getProviderTypeString providerType=%= new Integer(currProv.getType()).toString() %/ and the tld entry is tag

RE: Question for using struts as our standard MVC framework

2002-09-11 Thread Jayaraman Dorai
The following comparison is by the authors of Designing Enterprise Application by the J2EE blue print team, which clearly says it is the other way. You can also check it at http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/web-tier/web-tier5.html#1094743 J2EE

RE: JBUILDER keeps deleting the directory: WEB-INF/classes

2002-08-28 Thread Jayaraman Dorai
Try unchecking the Synchronize output dir under the Project Properties--Build. -Original Message- From: Darren McGuinness [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 10:06 AM To: Struts Users Mailing List Subject: Re: JBUILDER keeps deleting the directory:

RE: Re: Nested Tags question

2002-06-13 Thread Jayaraman Dorai
When I use nested tags, I am not able to access it through java scripts since the name is mailingAddress.city. Does anyone have a work around or am I missing something? Jayaraman -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 12:23

Collection and form bean

2002-06-04 Thread Jayaraman Dorai
I have a collection of Value objects which I iterate through the logic iterate in JSP. This value object has a int. The requirement is to display a blank instead of a 0. I can convert this value object into a form bean which has a string equivalent for this int and replace a 0 with an empty

how do I check the size of the collection

2002-05-24 Thread Jayaraman Dorai
I have a collection which I want to iterate in the jsp page. If the collections size is 0, I want to display a message no elements in the collection. Is there any struts tag for this. Thanks Jayaraman

RE: how do I check the size of the collection

2002-05-24 Thread Jayaraman Dorai
, May 24, 2002 10:48 AM To: 'Struts Users Mailing List' Subject: RE: how do I check the size of the collection Yes: logic:equals -Original Message- From: Jayaraman Dorai [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 10:42 AM To: [EMAIL PROTECTED] Subject: how do I check the size

RE: how do I check the size of the collection

2002-05-24 Thread Jayaraman Dorai
Message- From: Jayaraman Dorai [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 10:42 AM To: [EMAIL PROTECTED] Subject: how do I check the size of the collection I have a collection which I want to iterate in the jsp page. If the collections size is 0, I want to display a message

RE: Forms Beans and DAO (Best Practices)

2002-05-03 Thread Jayaraman Dorai
I use it the same way too. But had a dilemma of whether to place the Value Object as a data member of Business Object and set that in constructor or pass the Value Object as parameter for every method of create, update, and remove. How do you do that? Any pros and cons. -Original

RE: Forms Beans and DAO (Best Practices)

2002-05-03 Thread Jayaraman Dorai
of being a lightweight DAO it will be a heavyweight component will lot of dependencies. Reuse will take hit with this approach but that just me. Ranjan. -Original Message- From: Jayaraman Dorai [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 3:07 PM To: Struts Users Mailing List

html:options

2002-05-01 Thread Jayaraman Dorai
Hi, I want in my drop down a blank record. This needs to be the default. This provides the user an option to not select anything( It is a null field). Is it possible to do this other than putting an empty string in the collection. How to set this blank string as the default(not affecting

RE: html:options

2002-05-01 Thread Jayaraman Dorai
collection=serverTypes property=value labelProperty=label/ /html:select JM -Original Message- From: Jayaraman Dorai [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 2:52 PM To: [EMAIL PROTECTED] Subject: html:options Hi, I want in my drop down