Hi plz check this requirement..
hello,
i dont know whether it is possible..or not..
function getPropValues()
var docclassname = search.docclass.options.value;
alert(docclassname);
this my java script function..iam using in a jsp page..
this method is for onChange() function jsp page.. for a select box..if user selects any value in select box then this method fires..
List proplist = (List) interactionBean.getDocClassIndices(docclassname);
now what i want is..i want to call this method in above function..and pass that variable(doclassname)..in java script function..is it possible to do like this..
and return values i iterrate and put in in string array..i will use in the jsp page for adding them to select box..
yeah keep the hidden field in the same form as you are submitting.
in the javascript function
do sthinglike search.yourhiddenfield.value = doclassname
(assuming search is the name of your form)
and submit(probably to the same jsp, not sure waht you want to do ). You can get the hidden field value through request.getParameter.
All the best.
Similar Messages
-
2 records updated plz check this
my requirement is update the database table zfmkstel with nrart = 'h' and proz1 = '100'. i m writting below logic two records udate like this
123455(tenum) h 100
123455(telnum) - -
my logic is
when 'SAVE'.
IF f1_rec ne 1 .
if sy-subrc = 0.
update zfm_handy from fs_temp_zfm_handy.
insert zfm_handy from fs_temp_zfm_handy.
MODIFY zfm_handy from fs_temp_zfm_handy.
if sy-subrc = 0.
insert zfmkstel from fs_temp_zfmkstel.
if sy-subrc = 0.
fs_temp_zfmkstel-telnum = fs_temp_zfm_handy-telnum.
fs_temp_zfmkstel-nrart = fs_temp_zfm_handy-nrart.
fs_temp_zfmkstel-proz1 = fs_temp_zfm_handy-proz1.
fs_temp_zfmkstel-nrart = 'H'.
fs_temp_zfmkstel-proz1 = '100'.
INSERT ZFMKSTEL FROM FS_TEMP_ZFMKSTEL.
fs_temp_zfmkstel-nrart = 'H'.
fs_temp_zfmkstel-proz1 = '100'.
insert into zfmkstel values fs_temp_zfmkstel.
commit work.
if sy-subrc = 0.
message s000(0) with 'record havebeen inserted sucessfully'.
MODIFY ZFMKSTEL FROM FS_TEMP_ZFMKSTEL.
else.
delete zfm_handy from fs_temp_zfm_handy.
endif.
endif.
else.
update zfm_handy from fs_temp_zfm_handy.
if sy-subrc eq 0.
fs_temp_zfmkstel-telnum = fs_temp_zfm_handy-telnum.
update zfmkstel from fs_temp_zfmkstel.
if sy-subrc eq 0.
message s000(0) with 'update sucessfully'.
endif.
endif.
endif.
endif.hi
do u have a problem with updating the records, i mean do u want update 2 records into the DB table with the same fields
check if the records have the same primary fields, if they have same primary fields then it will not update in the Z Table
check this code
READ TABLE IT_VBRK WITH KEY VBELN = T_VBRK_VBRP-VBELN.
IF SY-SUBRC = 0.
T_VBRK_VBRP-FKDAT = IT_VBRK-FKDAT.
MODIFY T_VBRK_VBRP TRANSPORTING FKDAT
WHERE VBELN = IT_VBRK-VBELN.
ENDIF.
this will simulatenously update all the records which have same VBELN
award points if found helpful -
Error in Code?-PlZ Check This
Hai,
We are getting an error in this code.We are beginners in Flex.
Can anyone help us?
This is our code....
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
<mx:Script>
<![CDATA[
import flash.media.Camera;
import flash.media.Microphone;
private function init():void
cam.dataProvider=Camera.names;
mic.dataProvider=Microphone.names;
private function send():void
//var camera:Camera=Camera.getCamera();
var micro:Microphone=Microphone.getMicrophone();
micro.addEventListener(StatusEvent.STATUS, this.onMicStatus);
private function onMicstatus(event:StatusEvent):void
if(event.code == "Microphone.Unmuted")
trace("Microphone access allowed");
else if(event.code == "Microphone.Muted")
trace("Microphone access denied");
]]>
</mx:Script>
<mx:Panel x="265" y="50" width="294" height="200" layout="absolute">
<mx:VideoDisplay x="0" y="0" width="274" height="160"/>
</mx:Panel>
<mx:Button x="381.5" y="314" label="Start" click="send()"/>
<mx:Text x="281" y="24" text="Username" id="uname"/>
<mx:TextArea x="351" y="24" height="18" width="150"/>
<mx:Text x="281" y="260" text="Camera" width="62"/>
<mx:ComboBox x="351" y="258" width="191" id="cam"></mx:ComboBox>
<mx:Label x="273" y="286" text="microphone"/>
<mx:ComboBox x="351" y="284" width="191" id="mic"></mx:ComboBox>
</mx:Application>
ERROR:-
1013: The private attribute may be used only on class property definitions. videovoice/src videovoice.mxml line 23 1267425378537 662First of all, check Permit Debugging in publish settings so you can at least reference a line number. It's not very realistic to post 150 lines of code, and say guys can you check this.
Anyway from a cursory glance it looks like you only create 27 bricks:
for (var i=0; i<9; i++)
for (var j=0; j<3; j++)
bricks = new brick(i,j);
Brick_Array.push(bricks);
And then later you do this:
for (var k=0; k<100; k++)
if (Ball.hitTestObject(Brick_Array[k]))
You don't have 100 bricks in Brick_Array.
Also - as a matter of convention variables names should not have the first letter capitalized - that is for class naming. -
Plz check this...
plz go through this code ...in this i am not getting values in internal table t_get_documents though few values of vbeln in itab and jfrp are matching...can u tell what is wrong with this code...
TABLES: JFRP,jkap.
DATA: BEGIN OF T_GET_DOCUMENTS OCCURS 0,
ISPFAKVON LIKE JFRP-ISPFAKVON,
ISPDRERZ LIKE JFRP-ISPDRERZ,
ISPVBELN LIKE JFRP-ISPVBELN,
ISPFKPER LIKE JFRP-ISPFKPER,
NETWR LIKE JFRP-NETWR,
END OF T_GET_DOCUMENTS.
data: begin of itab occurs 0,
vbeln like jkap-vbeln,
end of itab.
SELECT-OPTIONS: s_date for jkap-ERFDATE.
select vbeln
into table itab
from jkap
where ERFDATE in s_date.
loop at itab.
select ispfakvon ispdrerz ispvbeln ispfkper netwr
into corresponding fields of table t_get_documents
from jfrp
where ispvbeln eq itab-vbeln.
endloop.Hi
TABLES: JFRP,jkap.
DATA: BEGIN OF T_GET_DOCUMENTS OCCURS 0,
ISPFAKVON LIKE JFRP-ISPFAKVON,
ISPDRERZ LIKE JFRP-ISPDRERZ,
ISPVBELN LIKE JFRP-ISPVBELN,
ISPFKPER LIKE JFRP-ISPFKPER,
NETWR LIKE JFRP-NETWR,
END OF T_GET_DOCUMENTS.
data: begin of itab occurs 0,
vbeln like jkap-vbeln,
end of itab.
SELECT-OPTIONS: s_date for jkap-ERFDATE.
select vbeln into table itab from jkap
where ERFDATE in s_date.
if not itab[] is initial.
select ispfakvon
ispdrerz
ispvbeln
ispfkper
netwr from jfrp into corresponding fields of table t_get_documents
for all entries of in itab
where ispvbeln eq itab-vbeln.
endif.
loop at itab.
endloop.
Thanks
mahi -
Mr. Frank Could u plz check this ...
Hi,
Could u please guide me wat is the reason of this error...Is this error occuring due to some configuration Problem. I tried to run the backup application, which was running smoothly previous days.
The error-----
C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\bin\startWebLogic.cmd
[http://waiting for the server to complete its initialization...]
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=256m
WLS Start Mode=Development
CLASSPATH=;C:\ORACLE\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\ORACLE\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\ORACLE\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\ORACLE\MIDDLE~1\JDK160~1\lib\tools.jar;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\ORACLE\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\ORACLE\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;C:\ORACLE\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;C:\ORACLE\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
PATH=C:\ORACLE\MIDDLE~1\patch_wls1030\profiles\default\native;C:\ORACLE\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\ORACLE\MIDDLE~1\patch_cie660\profiles\default\native;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\bin;C:\ORACLE\MIDDLE~1\modules\ORGAPA~1.5\bin;C:\ORACLE\MIDDLE~1\JDK160~1\jre\bin;C:\ORACLE\MIDDLE~1\JDK160~1\bin;D:\9iDS\bin;D:\9iDS\jdk\jre\bin;D:\9iDS\jdk\jre\bin\classic;D:\9iDS\jdk\jre\bin\classic;D:\9iDS\jlib;D:\9iDS\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
Starting WLS with line:
C:\ORACLE\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=256m -Djbo.34010=false -Xverify:none -da -Dplatform.home=C:\ORACLE\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\ORACLE\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\ORACLE\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=C:\ORACLE\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1 -Doracle.home=C:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=C:\ORACLE\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\ORACLE\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\ORACLE\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;C:\ORACLE\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
<Feb 12, 2009 10:16:03 AM IST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
C:\Oracle\Middleware\patch_wls1030\profiles\default\sysext_manifest_classpath\weblogic_ext_patch.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar>
<Feb 12, 2009 10:16:03 AM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
<Feb 12, 2009 10:16:04 AM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR380042 Thu Sep 11 13:33:40 PDT 2008
WebLogic Server Temporary Patch for 7372756 Fri Sep 12 17:05:44 EDT 2008
WebLogic Server Temporary Patch for CR381265 Wed Oct 08 10:15:58 PDT 2008
WebLogic Server Temporary Patch for CR380913 Wed Oct 15 13:24:22 PDT 2008
WebLogic Server Temporary Patch for CR381739 Tue Oct 21 14:06:14 IST 2008
WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 >
<Feb 12, 2009 10:16:05 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Feb 12, 2009 10:16:05 AM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Feb 12, 2009 10:16:05 AM IST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
<Feb 12, 2009 10:16:10 AM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Feb 12, 2009 10:16:14 AM IST> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158|http://forums.oracle.com/forums/]No application files exist at 'C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
<Feb 12, 2009 10:16:14 AM IST> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158|http://forums.oracle.com/forums/]No application files exist at 'C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
<Feb 12, 2009 10:16:16 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Feb 12, 2009 10:16:16 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Feb 12, 2009 10:16:17 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application Application1 is not versioned.>
Feb 12, 2009 10:16:17 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
Feb 12, 2009 10:16:18 AM oracle.as.jmx.framework.PortableMBeanFactory setJMXFrameworkProviderClass
INFO: JMX Portable Framework initialized with platform SPI "class oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl"
<Feb 12, 2009 10:16:39 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application DashBoard is not versioned.>
Feb 12, 2009 10:16:39 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
<Feb 12, 2009 10:16:52 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application Dashboard is not versioned.>
Feb 12, 2009 10:16:52 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
<Feb 12, 2009 10:16:52 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application TestApplication is not versioned.>
Feb 12, 2009 10:16:52 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
<Feb 12, 2009 10:17:04 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application TestJith is not versioned.>
Feb 12, 2009 10:17:04 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
Feb 12, 2009 10:17:18 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Application1/z60kl9/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:18 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Application1/z60kl9/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:18 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Application1/z60kl9/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:21 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/DashBoard/lg29wz/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:21 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/DashBoard/lg29wz/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:21 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/DashBoard/lg29wz/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
<Feb 12, 2009 10:17:22 AM IST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'Dashboard'.
weblogic.application.ModuleException: Context path '/Dashboard-ViewController-context-root' is already in use by the module: Dashboard-ViewController-context-root application: DashBoard
at weblogic.servlet.internal.WebAppModule.initAndValidateContextPath(WebAppModule.java:1076)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:908)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:364)
at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:423)
at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:182)
Truncated. see log file for complete stacktrace
>
Feb 12, 2009 10:17:22 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
Feb 12, 2009 10:17:23 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestApplication/91la5j/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:23 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestApplication/91la5j/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:23 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestApplication/91la5j/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:26 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestJith/lea4zh/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:26 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestJith/lea4zh/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:26 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestJith/lea4zh/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
<Feb 12, 2009 10:17:27 AM IST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Feb 12, 2009 10:17:27 AM IST> <Warning> <Server> <BEA-002611> <Hostname "Conti1", maps to multiple IP addresses: 192.168.1.12, 127.0.0.1>
<Feb 12, 2009 10:17:27 AM IST> <Warning> <Server> <BEA-002611> <Hostname "localhost", maps to multiple IP addresses: 192.168.1.12, 127.0.0.1>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.1.12:7101 for protocols iiop, t3, ldap, snmp, http.>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
<Feb 12, 2009 10:17:28 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Feb 12, 2009 10:17:28 AM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
DefaultServer startup time: 88062 ms.
DefaultServer started.
[http://Running application Dashboard on Server Instance DefaultServer...]
---- Deployment started. ---- Feb 12, 2009 10:17:30 AM
Target platform is (Weblogic 10.3).
Running dependency analysis...
2009-02-12 10:17:30.859: Writing WAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Dashboard\Dashboard-ViewController-webapp
2009-02-12 10:17:30.906: Wrote WAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Dashboard\Dashboard-ViewController-webapp
WARNING: Connection G5PS has no password. G5PS-jdbc.xml file not generated for connection G5PS.
2009-02-12 10:17:31.078: Writing EAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Dashboard
2009-02-12 10:17:31.093: Wrote EAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Dashboard
Redeploying Application...
<Feb 12, 2009 10:17:32 AM IST> <Warning> <Deployer> <BEA-149124> <Failures were detected while initiating deploy task for application 'Dashboard'. Error is: '[Deployer:149164|http://forums.oracle.com/forums/]The domain edit lock is owned by another session in exclusive mode - hence this deployment operation cannot proceed.'>
weblogic.management.ManagementException: [Deployer:149164|http://forums.oracle.com/forums/]The domain edit lock is owned by another session in exclusive mode - hence this deployment operation cannot proceed.
#### Deployment incomplete. #### Feb 12, 2009 10:17:32 AM
oracle.jdeveloper.deploy.DeployException
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:247)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:157)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
at oracle.jdevimpl.runner.adrs.AdrsStarter$5$1.run(AdrsStarter.java:1365)
Caused by: oracle.jdeveloper.deploy.DeployException
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:561)
at oracle.jdevimpl.deploy.weblogic.common.Jsr88WeblogicDeploymentHelper.redeployApplications(Jsr88WeblogicDeploymentHelper.java:259)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:222)
... 11 more
Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:542)
... 13 more
#### Cannot run application Dashboard due to error deploying to DefaultServer.
[Application Dashboard stopped and undeployed from Server Instance DefaultServer|http://forums.oracle.com/forums/]
Kindly help me to sort this issue.
Thanks in Advance
JitheshHi all,
I got the solution for this issue. Try to do the following steps...
open the admin console (http://127.0.0.1:7101/console) log in (user:weblogic pwd:weblogic). After successful login look in the upper left corner. There you see a button where you can activate pending changes (or revoke them).
If u hv any doubt then open the following URL
The domain edit lock is owned by another session in exclusive mode
Thank you very much to Timo....His tread helped me to solve this problem
Regards,
Jithesh -
I installed the latest version of flash player and it said installed successfully and i can use it just fine, but when I checked system requirements it didnt seem to match. it needed 2.33 ghz and I have 2.13ghz. can this cause problems to my computer? i have an intel i3 proccessor, windows 7, internet explorer.
Since all Intel i3 processors have at least 2 cores, your specs are well above the requirements; see http://ark.intel.com/products/family/75025#@All
I have some computers with far slower processors, and Flash Player 14 works perfectly well on them too. -
I just installed Apple TV. Works fine but turrns itself off at regular intervals of about 30 minutes. This requires me to re-enter my Apple ID and re-start all over again. Wjen I check iTunes on my computer, home sharing is still turned on. THis leads me to think the problem is in how I configured Apple TV on my HDTV. Any advice on where I should look?
THanks in advance.I have had no luck. After an hour with phone tech support I have re-installed the current Apple TV software update., re-booted the entire system three times., checked each of my two Airport Express's.,unplugged and re[plugged in every cable, ad infinitum, ad nauseum and still no luck. I have also decided iTunes 11 *****. Not near as intuitive especially with regard to moving stuff around between my playlists, etc.
Alright guys, is this a problem because of iTunes 11? Is Apple releasing stuff before adequate debugging? Did Steve take his high standards with him? -
I still don't see why i can not download this. It says check my requirements, but i satisfy them
I feel your pain... I can get it to work either.
-
hi all,
plz correct this revert back whan i executing every time it will show internal table itab is no long enough.
plz rectify the errirs and send back it.
ABLES: zfm_kfz.
type-pools: slis. "ALV Declarations
*Data Declaration
*TYPES: BEGIN OF t_ekko,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
statu TYPE ekpo-statu,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
menge TYPE ekpo-menge,
meins TYPE ekpo-meins,
netpr TYPE ekpo-netpr,
peinh TYPE ekpo-peinh,
END OF t_ekko.
*DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
wa_ekko TYPE t_ekko.
DATA : BEGIN OF ITAB OCCURS 0,
KFZNR LIKE ZFM_KFZ-KFZNR,
GERAET LIKE ZFM_KFZ-KFZNR,
KOSTENTRAEGER(10) TYPE C,
BEZEICHNUNG(10) TYPE C,
TUVDATUMMMYYYY(6) TYPE C,
ASUDATUMMMYYYY(6) TYPE C,
KMSTAND(6) TYPE C,
HISTO(1) TYPE C,
REIFEN(1) TYPE C,
USERNAME(12) TYPE C,
END OF ITAB.
DATA: BEGIN OF ITAB1 OCCURS 0.
INCLUDE STRUCTURE ITAB.
DATA: END OF ITAB1.
DATA: BEGIN OF ITAB_FIELDCAT OCCURS 0.
INCLUDE STRUCTURE ITAB.
DATA: END OF ITAB_FIELDCAT.
DATA: T_KFZ LIKE TABLE OF ZFM_KFZ.
*ALV data declarations
data: fieldcatalog type slis_t_fieldcat_alv with header line,
gd_tab_group type slis_t_sp_group_alv,
gd_layout type slis_layout_alv,
gd_repid like sy-repid,
gt_events type slis_t_event,
gd_prntparams type slis_print_alv.
*Start-of-selection.
START-OF-SELECTION.
perform data_retrieval.
perform build_fieldcatalog.
perform build_layout.
perform build_events.
perform build_print_params.
perform display_alv_report.
*& Form BUILD_FIELDCATALOG
Build Fieldcatalog for ALV Report
form build_fieldcatalog.
There are a number of ways to create a fieldcat.
For the purpose of this example i will build the fieldcatalog manualy
by populating the internal table fields individually and then
appending the rows. This method can be the most time consuming but can
also allow you more control of the final product.
Beware though, you need to ensure that all fields required are
populated. When using some of functionality available via ALV, such as
total. You may need to provide more information than if you were
simply displaying the result
I.e. Field type may be required in-order for
the 'TOTAL' function to work.
fieldcatalog-fieldname = 'kfznr'.
fieldcatalog-seltext_m = 'kfznr'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 11.
fieldcatalog-emphasize = 'X'.
fieldcatalog-key = 'X'.
fieldcatalog-do_sum = 'X'.
fieldcatalog-no_zero = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'geraet'.
fieldcatalog-seltext_m = 'geraet'.
fieldcatalog-col_pos = 1.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'kostentraeger'.
fieldcatalog-seltext_m = 'kostentraeger'.
fieldcatalog-col_pos = 2.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'bezeichnung'.
fieldcatalog-seltext_m = 'bezeichnung'.
fieldcatalog-col_pos = 3.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'tuvdatummmyyyy'.
fieldcatalog-seltext_m = 'tuvdatummmyyyy'.
fieldcatalog-col_pos = 4.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'asudatummmyyyy'.
fieldcatalog-seltext_m = 'asudatummmyyyy'.
fieldcatalog-col_pos = 5.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'kmstand'.
fieldcatalog-seltext_m = 'kmstand'.
fieldcatalog-col_pos = 6.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'histo'.
fieldcatalog-seltext_m = 'histo'.
fieldcatalog-col_pos = 7.
fieldcatalog-outputlen = 1.
fieldcatalog-datatype = 'CURR'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'reifen'.
fieldcatalog-seltext_m = 'reifen'.
fieldcatalog-col_pos = 8.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'username'.
fieldcatalog-seltext_m = 'username'.
fieldcatalog-col_pos = 9.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
endform. " BUILD_FIELDCATALOG
*& Form BUILD_LAYOUT
Build layout for ALV grid report
form build_layout.
gd_layout-no_input = 'X'.
gd_layout-colwidth_optimize = 'X'.
gd_layout-totals_text = 'Totals'(201).
gd_layout-totals_only = 'X'.
gd_layout-f2code = 'DISP'. "Sets fcode for when double
"click(press f2)
gd_layout-zebra = 'X'.
gd_layout-group_change_edit = 'X'.
gd_layout-header_text = 'helllllo'.
endform. " BUILD_LAYOUT
*& Form DISPLAY_ALV_REPORT
Display report using ALV grid
form display_alv_report.
gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM
i_callback_user_command = 'USER_COMMAND'
i_grid_title = outtext
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
it_special_groups = gd_tabgroup
it_events = gt_events
is_print = gd_prntparams
i_save = 'X'
is_variant = z_template
tables
t_outtab = itab1
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endform. " DISPLAY_ALV_REPORT
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
form data_retrieval.
select * from zfm_kfz
into table itab where kfznr = itab-kfznr.
endform. " DATA_RETRIEVAL
Form TOP-OF-PAGE *
ALV Report Header *
Form top-of-page.
*ALV Header declarations
data: t_header type slis_t_listheader,
wa_header type slis_listheader,
t_line like wa_header-info,
ld_lines type i,
ld_linesc(10) type c.
Title
wa_header-typ = 'H'.
wa_header-info = 'EKKO Table Report'.
append wa_header to t_header.
clear wa_header.
Date
wa_header-typ = 'S'.
wa_header-key = 'Date: '.
CONCATENATE sy-datum+6(2) '.'
sy-datum+4(2) '.'
sy-datum(4) INTO wa_header-info. "todays date
append wa_header to t_header.
clear: wa_header.
Total No. of Records Selected
describe table itab lines ld_lines.
ld_linesc = ld_lines.
concatenate 'Total No. of Records Selected: ' ld_linesc
into t_line separated by space.
wa_header-typ = 'A'.
wa_header-info = t_line.
append wa_header to t_header.
clear: wa_header, t_line.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = t_header.
i_logo = 'Z_LOGO'.
endform.
FORM USER_COMMAND *
--> R_UCOMM *
--> RS_SELFIELD *
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
Check function code
CASE r_ucomm.
WHEN '&IC1'.
Check field clicked on within ALVgrid report
IF rs_selfield-fieldname = 'EBELN'.
Read data table, using index of row user clicked on
READ TABLE it_ekko INTO wa_ekko INDEX rs_selfield-tabindex.
Set parameter ID for transaction screen field
SET PARAMETER ID 'BES' FIELD wa_ekko-ebeln.
Sxecute transaction ME23N, and skip initial data entry screen
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
ENDFORM.
*& Form BUILD_EVENTS
Build events table
form build_events.
data: ls_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = gt_events[].
read table gt_events with key name = slis_ev_end_of_page
into ls_event.
if sy-subrc = 0.
move 'END_OF_PAGE' to ls_event-form.
append ls_event to gt_events.
endif.
read table gt_events with key name = slis_ev_end_of_list
into ls_event.
if sy-subrc = 0.
move 'END_OF_LIST' to ls_event-form.
append ls_event to gt_events.
endif.
endform. " BUILD_EVENTS
*& Form BUILD_PRINT_PARAMS
Setup print parameters
form build_print_params.
gd_prntparams-reserve_lines = '3'. "Lines reserved for footer
gd_prntparams-no_coverpage = 'X'.
endform. " BUILD_PRINT_PARAMS
*& Form END_OF_PAGE
form END_OF_PAGE.
data: listwidth type i,
ld_pagepos(10) type c,
ld_page(10) type c.
write: sy-uline(50).
skip.
write:/40 'Page:', sy-pagno .
endform.
*& Form END_OF_LIST
form END_OF_LIST.
data: listwidth type i,
ld_pagepos(10) type c,
ld_page(10) type c.
skip.
write:/40 'Page:', sy-pagno .
endform.Hi,
Change this..
DATA : BEGIN OF ITAB ,
KFZNR LIKE ZFM_KFZ-KFZNR,
GERAET LIKE ZFM_KFZ-KFZNR,
KOSTENTRAEGER(10) TYPE C,
BEZEICHNUNG(10) TYPE C,
TUVDATUMMMYYYY(6) TYPE C,
ASUDATUMMMYYYY(6) TYPE C,
KMSTAND(6) TYPE C,
HISTO(1) TYPE C,
REIFEN(1) TYPE C,
USERNAME(12) TYPE C,
END OF ITAB.
DATA: BEGIN OF ITAB1 OCCURS 0.
INCLUDE STRUCTURE ITAB.
DATA: END OF ITAB1.
DATA: ITAB_FIELDCAT type SLIS_T_FIELDCAT_ALV .
and also use CAPS for field names.
fieldcatalog-fieldname = '<b>KFZNR</b>'.
fieldcatalog-seltext_m = 'kfznr'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 11.
fieldcatalog-emphasize = 'X'.
fieldcatalog-key = 'X'.
fieldcatalog-do_sum = 'X'.
fieldcatalog-no_zero = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
Regards
vijay -
Check for required fields before locking subforms and submitting
Hello,
I have a 5-page form with many questions, to be completed by the original requestor and multiple approvers. What I'm trying to do is have the original requestor's Submit button on p. 3 lock the input on the first three pages, but first check if all those fields have some content. I currently have all the fields on pp. 1-3 set to "Required" in the object properties, but my script still locks them when there's is one empty one. Here's what I have:
//Lock portions of form
Page1.access = "readOnly"
Page2.access = "readOnly"
Page3.access = "readOnly"
//Save document, allow user to change name
app.execMenuItem("SaveAs");
//Submit via e-mail
Submit_REAL.event__click.submit.target = "mailto:[email protected]" +
"?subject=Subject text" +
"&body=Message";
Submit_REAL.execEvent("click");
The automatic check for required fields happens after the pages get locked. I would like the check to stop the process before it locks the pages. Is there any way to check all at once that all "Required" fields on those pages have some content before allowing the script to proceed? I know how to script it to manually check the 50 or so questions on those pages, but I would like to avoid that. Thanks for any help.There are a few problems that I can see from the start. First, your code is going to pick up EVERY node that exists on these pages. Some of those nodes will not have a rawValue, and some will not have an actual name. As an example, you can take your code and create a text field to dump all of the names of the nodes that you get when you pull in all of the nodes this way. Here's an example:
The result:
Now, the question is, do you have a consistent naming convention for your fields that might be empty? That could be text fields, radio button lists, etc. For instance, I always prefix the names of objects in order to more easily keep track of what they are in scripts. Since I'm doing that, I can check the name of the field for tf, nf, rbl, cb, or whatever I have included to make sure that I'm checking an actual field before I check for things like rawValue.
var nodeName = oNodes.item(nNodeCount).name;
if (nodeName.indexOf("tf")>-1 || nodeName.indexOf("rbl") > -1 || /*check other field types*/) {
//insert your code to check for empty answers here
As for your line 7 issue. The syntax problem is that you've put extra parentheses in your if statement. Take out the parentheses that are just before and after the or "||".
*This is my fourth attempt to reply. Something was going on with Adobe/Jive earlier, I suppose. -
Please provide the abap code for this requirement
note : if the below mentioned user exit is not suitable please find the suitable user exit and provide the code for this requirement.
The User-exit MEFLD004 is only to be used at PO level (ME21N/ME22N).
When PO is create or changed (ekko-ebeln) user exit MEFLD004 is triggered which check for the business requirement of the PO check for PO doc types (ekko-bsart) :z4,z6,z11,z12 from the table ekko and Account Assignment Category (knttp) is either N or K then stock process follows.
When an PO is cancelled, all entries will have to be reversed
The Buffer table for the PO will have the following fields:
Purchase order Number EKKO-EBELN
Line item number of the PO EKPO-EBELP
Vendor Number EKKO-LIFNR
PO Quantity EKPO-MENGE
PO Nett Price EKPO-NETPR
Base Unit of Measure EKPO-LMEIN
Account Assignment Category EKPO-KNTTP
PO Doc type EKPO-BSART
Plant EKPO-WERKS
Purchase Org EKKO-EKORG
Purchase Group EKKO-EKGRP
Company code EKPO-WAERS
Item category EKPO-PSTYP
PO Doc Date EKKO-BEDAT
No duplications are allowed for any created, changed or cancelled purchase orders. If such a case occurs, the record will be updated with the latest update time stamp. This custom table will be keyed by purchase order number.Cross-post: http://forum.java.sun.com/thread.jspa?threadID=763485
-
How we can replace the column in Core Table plz see this msg
Hi,
How we can replace the column in Core Table plz see this msg
Req:
when i push the Insert button the data inserted into the Table
like
Cols Values
FOCD CUFZ14
PRDCD FU6
Month 082008
AgencyCD AG02
PLAN 123
This is FO_Plan Table....
Requirement:
i need at table show to replace the Prd_CD to Prd_Desc while inserting the above Row....
There is no Prd_Desc in FO Plan Table....
Prd_desc comes from Product Table.
did u get my point...
how to solve.
Thanks
Ram
Edited by: Ram Vungarala on Sep 24, 2008 9:09 AM
Edited by: Ram Vungarala on Sep 24, 2008 9:15 AMHi,
I'm not sure if I understood what are you trying to do. But you can modify your table in a backing bean code. JSF page code for a table:
<af:table id="product_search_results_tbl" binding="#{backingBean.boundTable}" ... />
And a backing bean code:
import oracle.adf.view.faces.component.core.data.CoreTable;
public class YourBackingBean {
private CoreTable boundTable;
public void setBoundTable(CoreTable boundTable) {
this.boundTable = boundTable;
public CoreTable getBoundTable() {
return boundTable;
public String insertButtonAction() {
// Bind your button action to this method and modify here your bound table
return null;
{code}
Look for column modification methods in a CoreTable class documentation.
Marius -
"You must specify a value for this required field" in SharePoint list
HI All,
I have a couple of taxonomy fields in my content type. When I try to add a new item with my content type and save, I'm getting an error message "You must specify a value for this required field" against each taxonomy field. I'm not sure what am
I missing. I deleted the content type and added that again to my list but still no luck. Can someone please help me out? Thanks.
Regards,
SC Vinodhi
it depends how you updated existing field. We faced with the problem that update of taxonomy site column was not propagated to the lists. In Sharepoint when content type is bound to the list, new hidden content type is created for that list - you may check
it if will enumerate
SPList.ContentTypes property. And when you try to update site column changes may not be propagated to these list content types. In order to update it you need to get reference on a field from list content type and update if explicitly.
Blog - http://sadomovalex.blogspot.com
Dynamic CAML queries via C# - http://camlex.codeplex.com -
I had one error plz solve this
hi when i am useing this code i am getting one error like
like : when ur using addition of for all entries
the objid must be it_hrp1000-objid have same length and type
plz solve this what can i do
TYPES :BEGIN OF ST_OUTPUT,
COUNT TYPE STRING,
OTYPE TYPE HRP1000-OTYPE,
OBJID TYPE HRP1001-SOBID,
STEXT TYPE HRP1000-STEXT,
BDATE TYPE HRP1000-BEGDA,
EDATE TYPE HRP1000-ENDDA,
CANCRT TYPE T77CRT-CANCRT,
AEDTM TYPE HRP1026-AEDTM,
NCONT TYPE HRP1026-NCONT,
LOCTX TYPE HRVPVA-LOCTX,
UNAME TYPE HRP1026-UNAME,
END OF ST_OUTPUT.
TYPES: BEGIN OF ST_HRP1000,
OTYPE TYPE HRP1000-OTYPE,
BEGDA TYPE HRP1000-BEGDA,
ENDDA TYPE HRP1000-ENDDA,
OBJID TYPE HRP1001-SOBID,
END OF ST_HRP1000.
TYPES : BEGIN OF ST_HRP1001,
OTYPE TYPE HRP1000-OTYPE,
OBJID TYPE HRP1001-SOBID,
SCLAS TYPE HRP1001-SCLAS,
SOBID TYPE HRP1001-SOBID,
BDATE TYPE HRP1000-BEGDA,
EDATE TYPE HRP1000-ENDDA,
END OF ST_HRP1001.
TYPES : BEGIN OF ST_HRP1026,
AEDTM TYPE HRP1026-AEDTM,
UNAME TYPE HRP1026-UNAME,
REASN TYPE HRP1026-REASN,
DELET TYPE HRP1026-DELET,
NCONT TYPE HRP1026-NCONT,
END OF ST_HRP1026.
TYPES : BEGIN OF ST_REASON,
CANCR TYPE HRP1026-CANCR,
CANCRT TYPE T77CRT-CANCRT,
END OF ST_REASON.
DATA : IT_REASON TYPE STANDARD TABLE OF ST_REASON.
DATA : WA_RESON TYPE ST_REASON.
DATA : IT_OUTPUT TYPE STANDARD TABLE OF ST_OUTPUT. "OUTPUT FEILDS OF REPORT.
DATA : WA_OUTPUT TYPE ST_OUTPUT.
DATA : IT_HRP1000 TYPE STANDARD TABLE OF ST_HRP1000. "DATA FROM HRP1000 TABLE
DATA : WA_HRP1000 TYPE ST_HRP1000.
DATA : IT_HRP1001 TYPE STANDARD TABLE OF ST_HRP1001. "DATA FROM HRP1001 TABLE
DATA : WA_HRP1001 TYPE ST_HRP1001.
DATA : IT_HRP1026 TYPE STANDARD TABLE OF ST_HRP1026. "DATA FROM HRP1026 TABLE
DATA : WA_HRP1026 TYPE ST_HRP1026.
DATA: WS_FCAT TYPE SLIS_FIELDCAT_ALV . " FEILDCATALOG FOR ALV REPORT
DATA: IN_FCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA: W_LAYOUT TYPE SLIS_LAYOUT_ALV.
DATA : LV_COUNT TYPE I. "FEILD FOR SERIAL NUMBER
DATA : JOBJID LIKE HRP1000-OBJID,
JSOBID LIKE HRP1001-SOBID.
***************************END OF DATA DECLARATION******************************************
***********SELECTION SCREEN DESIGN***********************
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS : OTYPE LIKE HRP1000-OTYPE.
SELECT-OPTIONS: DATE FOR SY-DATUM.
SELECTION-SCREEN END OF BLOCK B1.
**********END OF SELECTION SCREEN DESIGN*****************
****INITIALIZATION VENT TO ASIGN DEFAULT VALUES TO OTYPE
INITIALIZATION.
OTYPE = 'D'.
*************END OF EVENT INITIALIZATION*****************
START-OF-SELECTION.
SELECT OTYPE OBJID BEGDA ENDDA
FROM HRP1000
INTO TABLE IT_HRP1000
WHERE OTYPE = 'D'.
AND BEGDA GT BEGDAT AND ENDA LT ENDDA.
SELECT SCLAS SOBID
FROM HRP1001
INTO TABLE IT_HRP1001
FOR ALL ENTRIES IN IT_HRP1000
WHERE OBJID = IT_HRP1000-OBJID
AND OTYPE = 'D' AND ( SCLAS = 'E' OR SCLAS = 'ET' ).
SELECT AEDAT UNAME
FROM HRP1026
INTO TABLE IT_HRP1026
FOR ALL ENTRIES IN IT_HRP1001
WHERE OBJID = IT_HRP1001-SOBID
AND ( OTYPE = 'E' OR OTYPE = 'ET' )
AND DELET = 'X'.Hi naresh,
1. minor mistake
2.
TYPES: BEGIN OF ST_HRP1000,
OTYPE TYPE HRP1000-OTYPE,
BEGDA TYPE HRP1000-BEGDA,
ENDDA TYPE HRP1000-ENDDA,
<b>OBJID TYPE HRP1001-OBJID</b>,
END OF ST_HRP1000.
3. OBJID and SOBID are different in length, hence the error.
4. Just correct the BOLD LINE, and check again.
(also check if there is any impact on other sql statements or data)
regards,
amit m. -
CLUVFY fails to check system requirements
clusterware 10.2 installation manual advises to check the system requirements by running cluvfy
http://download.oracle.com/docs/cd/B19306_01/install.102/b14203/prelinux.htm#sthref133
but when I run it with the parameters like in the manual, I get this error:
[oracle@zeeta bin]$ ./cluvfy comp sys -n zeeta -p crs -osdba dba -orainv dba
Verifying system requirement
Checking system requirements for 'crs'...
No checks registered for this product.
Verification of system requirement was unsuccessful on all the nodes.
does anyone know what's wrong with it?
I'm running RHEL4 Update 6on Node 1:
# Copyright (c) 1993-1999 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
10.1.1.49 prodora1.ybp.com prodora1
######### Public Host IPs - Physical (eth2)#####
#10.1.1.49 prodora1.ybp.com prodora1
#10.1.1.50 prodora2.ybp.com prodora2
#10.1.1.51 prodora3.ybp.com prodora3
#10.1.1.52 prodora4.ybp.com prodora4
######## Interconnect Host IPs (Heartbeat) #####
### Network 192.168.1/24 Enet eth0 (all hosts) ####
#192.168.1.11 prodora1-priv.ybp.com prodora1-priv
#192.168.1.12 prodora2-priv.ybp.com prodora2-priv
#192.168.1.13 prodora3-priv.ybp.com prodora3-priv
#192.168.1.14 prodora4-priv.ybp.com prodora4-priv
######## Interconnect Host IPs (Heartbeat) #####
### Network 192.168.2/24 Enet eth1 (all hosts) ####
#192.168.2.11 prodora1-priv-b.ybp.com prodora1-priv-b
#192.168.2.12 prodora2-priv-b.ybp.com prodora2-priv-b
#192.168.2.13 prodora3-priv-b.ybp.com prodora3-priv-b
#192.168.2.14 prodora4-priv-b.ybp.com prodora4-priv-b
######## VIPs for Oracle DB/RAC ####################
10.1.1.59 prodora1-vip.ybp.com prodora1-vip
10.1.1.60 prodora2-vip.ybp.com prodora2-vip
#10.1.1.61 prodora3-vip.ybp.com prodora3-vip
#10.1.1.62 prodora4-vip.ybp.com prodora4-vip
On Node 2:
# Copyright (c) 1993-1999 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
######### Public Host IPs - Physical (eth2)#####
#10.1.1.49 prodora1.ybp.com prodora1
#10.1.1.50 prodora2.ybp.com prodora2
#10.1.1.51 prodora3.ybp.com prodora3
#10.1.1.52 prodora4.ybp.com prodora4
######## Interconnect Host IPs (Heartbeat) #####
### Network 192.168.1/24 Enet eth0 (all hosts) ####
#192.168.1.11 prodora1-priv.ybp.com prodora1-priv
#192.168.1.12 prodora2-priv.ybp.com prodora2-priv
#192.168.1.13 prodora3-priv.ybp.com prodora3-priv
#192.168.1.14 prodora4-priv.ybp.com prodora4-priv
######## Interconnect Host IPs (Heartbeat) #####
### Network 192.168.2/24 Enet eth1 (all hosts) ####
#192.168.2.11 prodora1-priv-b.ybp.com prodora1-priv-b
#192.168.2.12 prodora2-priv-b.ybp.com prodora2-priv-b
#192.168.2.13 prodora3-priv-b.ybp.com prodora3-priv-b
#192.168.2.14 prodora4-priv-b.ybp.com prodora4-priv-b
######## VIPs for Oracle DB/RAC ####################
10.1.1.59 prodora1-vip.ybp.com prodora1-vip
10.1.1.60 prodora2-vip.ybp.com prodora2-vip
10.1.1.61 prodora3-vip.ybp.com prodora3-vip
10.1.1.62 prodora4-vip.ybp.com prodora4-vip
Thanks
Maybe you are looking for
-
What do I need to create a wireless external hard drive?
Here's the situation. Hubs and I have just combined households. Between us we have a Macbook Pro laptop (10.5.8. mine), an HP laptop (his), a westell router from century link and 3 external firewire/usb hardrves, one of which serves as my time capsul
-
Itunes will not install/upgrade?
itunes will not install, keeps trying to save to g:/ drive when it does not exist, will not let me change drive?
-
How do I sync ipad 2 to my calendar on iphone 4
How do I sync my ipad 2 with my calendar on iphone 4?
-
Bank type - usage and customizing?
Hello, in a vendor there are two bank connections and a field bank type. The help to this field hints, that this can be used for the postings to decide which bank connection is used. Do I have to customize the bank type, or can I use existing types?
-
When I click on Develop->Show Error Console nothing happens. Nothing happens when I click Web Inspector or Network Timeline either. Snippet Editor works though. I'm running Vista. Nothing in Windows event log. I watched the process activity using Pro