This week's book giveaway is in the Python forum.
We're giving away four copies of High Performance Python for Data Analytics and have Tiago Rodrigues Antao on-line!
See this thread for details.
Win a copy of High Performance Python for Data Analytics this week in the Python forum!

Gaurav Sharma

Ranch Hand
+ Follow
since Jan 30, 2007
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 Gaurav Sharma

Bear Sir,

Sorry for posting my code without formatting. I will keep this point in my mind.

Exact requirement is:
There are two fields - StartTime and EndTime.
If StartTime is greater than EndTime, then jquery error message should get displayed beneath StartTime field.

I am able to show error message for single field but don't know how to achieve it when I am comparing two fields.

Many Thanks
Gaurav
Dear All,

I have an issue where I want to compare two TIME fields and if StartTime is greater than EndTime, then it show error message, below StartTime field and form should be submitted if values are correct.

I have written a below function which is behaving correctly(I guess) & I am able to show alter message but could not get an idea to how to show jquery message.

Below is my query code:



Thanks in advance!

Regards
Gaurav
Hi
I have list in key values, which is returned as below:

Name=GARRY; Type=PQANS; ID=ITCPANS175490;

I want to compare Type substring(2,5) value-'ANS' with ID substring(3,6) value-'ANS'. If these two values are different then I have to redirect the user to some other page(I can do this part).

Can anyone please help how can i compare the values?

Regards
Gaurav
10 years ago
No running means - is not rendering on Mozill
The css i used is displaying the text boxes of equal size on IE7 & Safari 4.0.1 but not on Mozilla 3.6.

Could you please help me ?
regards
gaurav
I am getting issues with browser on applying css.

CSS code:

.test2{

width:326px; /* All browsers */
*width:295px; /* Over ride for IE7 */

}

html code-
<INPUT id=userName maxLength=76 name=userid autocomplete="off" class=test2>

This code is running fine on windows / IE7 and Safari 4.0.1. But not running on firefox 3.6

Can anyone please help me out of this situation?

Regards
gaurav
Hi James

How can we refine it more?

Regards
Gaurav
10 years ago
Hi Simon,

I tried your first option & its working.

Now I am using :
^([a-zA-Z0-9_\-\&\*\+='/\{\}~][a-zA-Z0-9_\-\.&\*\+='/\{\}~]*)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$

Tons of thanks
Gaurav
10 years ago
Hey Simon,

Many thanks for your instant reply.

I am validating the regex using below URL
http://jakarta.apache.org/regexp/applet.html

I tried adding the suggested fregment "(?!\.)", but it didn't worked.
Could be the reason that I was not able to add it properly.
Could you please give me full regex?

Regards
Gaurav
10 years ago
Hello Experts

I am using below regular expression in my application:
^([a-zA-Z0-9_\-\.&\*\+='/\{\}~]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$

But the limitation with this regex is that, it accepts dot(.) at the beginning, which is a wrong behaviour.

So can anyone please help me in updating this regex so that it should not accept (.) at its start.

Many Thanks
Gaurav
10 years ago
Hi

I have few queries:-

Could anyone tell me the relation between libraries.xml & server.xml.

Are these files specific to application OR single web-server in which we host multiple application?

Which one is invoked on server startup & which file calls the other file ?

Please provide example for better understanding (I am bit vague in understanding ;-) )

Regards
Gaurav Sharma


11 years ago
I am using Websphere Portal 5.1.2 over RAD 7.0.
11 years ago
Hi

When we run one portal server test environment, default port 9081 gains the control. And in case if we wish to run another portal server, it listens to the same port so does not allow to run another instanse. To change the ports, we double click on the server & change them accordingly but still I am not able to run it successfully.

Can anyone please help me for it ?

Regards
Gaurav
11 years ago
Hi,

I got rid of from this problem.
My WPS patches(5102 & 5103) got corrupted so I reinstalled the patches.
Now I am able to administrate Portlet Pages.

Regards,
Gaurav
13 years ago
Hi,

I am having some queries regarding WPS5.1 :-

1. If i made some changes in shared/app, I need to restat the server. So is there any way (Server Settings) through which if I made some changes I need not to re-start the server.

2. I am using WPS5.1 with RAD6.0. For running my application I have to add five EARs which makes the server bit heavy. I usually get an exception :

[12/10/07 8:32:26:059 GMT] 6ab0fd6c ThreadMonitor W WSVR0605W: Thread "Servlet.Engine.Transports : 0" (523ffd65) has been active for 727,096 milliseconds and may be hung. There are 1 threads in total in the server that may be hung.



To make the server in Started mode I have to stop the server and again restart it.
So is there any server setting through which I dont get such exception.?

Anyone please help me out of this problem as it waste a lot of time to restart & load five application.

Regards,
Gaurav
13 years ago
Hi Hemant,

Thanks for your instant reply but this option(Enable base portlets for portal administration & customization) is already checked.

Regards,
Gaurav
13 years ago