Ud Naik

Greenhorn
+ Follow
since Jun 13, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ud Naik

Is it not possible to have a boolean variable in the custom validator class and have your validation method for the other fields check that before performing the validation?

If this is not your requirement, maybe I am not able to understand exactly.
14 years ago
So you want the following things to happen (?)
1) If data entered in 5th field ONLY that field to be validated OR
2) If data entered in any one of first 4 fields ALL 4 fields have to be validated.

Write 2 custom validator functions, one for each of the 2 cases above. You can define these validator functions in validation-rules.xml and validator.xml.

Hope that helps.
14 years ago

looks like i will never get any help on this forum ..ummm



Dom Lassy has already replied to your question. If you want pertinent help, please state problems/requirements clearly.

You can give more 'interactive' messages through javascript. Dont use the struts validations, write your own javascript error handlers for those fields and use the onKeyPress() event (or something similar; I cant remember exactly) for your validation.
14 years ago
Wont a simpler way would be to just use the available 'mask' validator (though ultimately that's what you are doing here), like so:



I havent tried the above though. If you do, let us know how it worked out.
14 years ago
Dont know if this fits your requirement, but it's worth a try

1) Write a class that does the validation for you:




2) Add a new validator to validation-rules.xml with the above class as the validator


3) Use this validator in validation.xml



Hope this has been clear. Good luck.
14 years ago
For the 2006-2007 year, the open category 65K H1B's quota was filled late May. For the special higher education category 20k quota, it was filled sometime in July (if memory serves me right).

The quotas I mentioned are for accepting applications. Once the quota is filled, no more applications are entertained. For 2006-2007, I personally know people who filed in May and their application was accepted.
14 years ago


Originally posted by Rahul Bhattacharjee

I would have tried for an MS from US of A ,rahter then H1B and H1B would have automatically followed my way.



At best, that's misleading advice. There's a lot of factors that influence H1B approval and a Masters degree does not automatically guarantee a H1B visa. Besides, getting a Masters from a good school is in itself a big venture, in terms of time, effort and expenses.
14 years ago
Is the string only for display or do you need the value later for processing?

One way could be to extend the reset() method of the ActionForm, change the value of that string; in your case, truncate the string to whatever length you want and append dots to it.
14 years ago
Maybe the html:link tag is what you are looking for.
14 years ago
Same kind of an issue I had with "Enemy of the State". Guy puts cameras in the smoke detector and next thing you know, the images are being seen on the TV (and not just in the same house). That's some nice wireless capabilities the television has. I wonder where I can get such a TV so I can wirelessly watch...er, never mind.
14 years ago


Mark Spritzler

What? You have the exact same issue on every device that is out there from Game Boys to DS Lite to PSP to IPods to everything that has a display that is portable. That is why you get one of those screen covers, so that they don't scratch.



Will that cover not affect the user interface? (and I was talking about smudging, not scratching, but that's another thing to watch out for). I'm not much of a gamer so I dont know anything about the GameBoys and PSPs. I do own an iPod (and like it) but sure dont touch the screen for using it.
14 years ago
Personally, I think it wont be as popular as the iPod. Screen smudging probably will be a factor. Battery life could be another; playing music, watching movies and making calls, how many of those could we do before the battery runs low?
14 years ago
I'm just guessing here since I am not an auto insurance expert.

If the car was stationary, I would say comprehensive. If you hit the cart while driving your vehicle, it's probably collision. Neither if the cost to fix the scratch is less than your deductible.
14 years ago
Adding to the list of gripes about Hollywood movie computer technology:

1) The movie-picture-zoom technology: A shot of the bad guy(s) is taken from what looks like far away. The guy then clicks and the main bad guy's face comes into focus, zooming in, without any loss of detail whatsoever.

2) Over simplified hacking commands: The 'hacker' uses commands that have names literally match their actions e.g. 'Send Blocking Signal' or 'Send Spike'. What's up with that?
14 years ago
I am trying to test some webservices by writing Junit tests for them. These tests run through Eclipse, but when run executed using maven, they through a SOAPFaultException, the root cause of which java.lang.AssertionError.

This AssertionError is probably being thrown on the WebLogic 9.1 side, but then I should be seeing the same problem when running through Eclipse too. Has anyone come across this?
15 years ago