I have many Lov in page and when a specific lov is getting selected, it should do some actions or call some dependent lov, Then below is the code to do so.
String lovInputSourceId = pageContext.getLovInputSourceId();
if (pageContext.isLovEvent())
{
if (lovInputSourceId.equals("CustomerSearch"))
{
Call AM Function
}
}
Tuesday, February 22, 2011
Monday, February 21, 2011
How to open a oracle form from OA Framework web page
The below is an example to open a form from oa web page
where the below represents what to give where
"form:APPLICATION_SHORT_NAME:RESPONSIBILITY:STANDARD:FORM NAME:PARAMETERS";
String destination = "form:CS:SIFY ENTERPRISE SUPPORT USER:STANDARD:CSXSRISR:open_flag=Y G_QUERY_FIND='FALSE'";
pageContext.forwardImmediatelyToForm(destination);
where the below represents what to give where
"form:APPLICATION_SHORT_NAME:RESPONSIBILITY:STANDARD:FORM NAME:PARAMETERS";
Tuesday, February 01, 2011
Batch program to change your pc computer name using Shell/Batch Script in Registery
If you need to change the computer name to a new name with help of batch script then
Step 1: Open Notepad
Step 2: Please copy the below content to the Notepad
Step 3: Save it as Change_Computer_Name.bat
Step 4: Execute the script and enter the name you want to change to.
Step 1: Open Notepad
Step 2: Please copy the below content to the Notepad
Step 3: Save it as Change_Computer_Name.bat
Step 4: Execute the script and enter the name you want to change to.
SET /P PCNAME=Please enter your name:
REG ADD HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName /v ComputerName /t REG_SZ /d %PCNAME% /f
REG ADD HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName\ /v ComputerName /t REG_SZ /d %PCNAME% /f
REG ADD HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\ /v Hostname /t REG_SZ /d %PCNAME% /f
REG ADD HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\ /v "NV Hostname" /t REG_SZ /d %PCNAME% /f
@echo off
echo Please Restart your computer Manually. The Program will exit now.
echo.
echo.
pause
Add / Delete user and include as administrator member in Windows XP Windows 7 using shell/Registery in registory
Add User
Open Notepad and add the below
Save it as Create_User.bat
If your operating system is Windows Xp
Double click Create_User.bat and execute it
If your operating system is Windows 7
Right click Create_User.bat and select run as administrator
Delete User
Open Notepad and add the below
Save it as Delete_User.bat
If your operating system is Windows Xp
Double click Delete_User.batand execute it
If your operating system is Windows 7
Right click Delete_User.bat and select run as administrator
Open Notepad and add the below
net user username password /addpause
net localgroup Administrators /add username
Save it as Create_User.bat
If your operating system is Windows Xp
Double click Create_User.bat and execute it
If your operating system is Windows 7
Right click Create_User.bat and select run as administrator
Delete User
Open Notepad and add the below
net user UserName /del
Save it as Delete_User.bat
If your operating system is Windows Xp
Double click Delete_User.batand execute it
If your operating system is Windows 7
Right click Delete_User.bat and select run as administrator
Subscribe to:
Posts (Atom)