XPathException: Function Extension error: method not found "abs".

Hello

I use - XMLP 5.6.3 on EBS 11.5.10.2
In XML Publisher Admin, see model page, click on 'Sample' I receive a report, but all it contains is a long stack trace containing the following messages:

java.lang.reflect.InvocationTargetException
...
Caused by: oracle.xdo.parser.v2.XPathException: Extension function error: method not found "abs".


In my RTF, the offending code is
<?when:xdoxslt:abs(ACCOUNTED_CR)>xdoxslt:abs(ACCOUNTED_DR)?>
It works fine on my pc where I have BI Publisher Office 10.1.3.4

When I look at the documentation to [documentation XML Publisher | http://download.oracle.com/docs/cd/B25284_01/current/acrobat/115xdoug.pdf] in Chapter 7, I don't see the abs function in the game of XDOXSLT.

The version of [10.1.3.4 | http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187/T421739T481158.htm] has.

To be sure, you could do a simple check with a blank report and a field as or something similar. You know for sure, it is not supported in EBS.

[XPATH 1.0 | http://www.w3.org/TR/xpath#section-Number-Functions] does not have the abs function. So you should fix it yourself for example a widening when or...

Tags: Business Intelligence

Similar Questions

  • the length error "method not found".

    Using the line of code below and get the error "* function Extension error: caused by: oracle.xdo.parser.v2.XPathException: Extension function error: method not found 'length ' * '.

    <? xdoxslt:set_variable ($_XDOCTX, "LNG", xdoxslt:to_number(xdoxslt:length(LINE_ITEM_DESCRIPTION)))?) >

    I had the same problem before with the substr function. The answer to this problem was to use substring instead. There is another function that returns the length of a string as well? The next page using as reference but really nothing else.


    [http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e12187/T421739T481158.htm]

    What Miss me? Thanks for your help.

    What about using the string-length function?

    Thank you!

  • code xdoxslt:Sum does not not in the RTF model: method not found "sum".

    We get the error when you run a RTF model customized using the application (Oracle HRMS) below and in Office BiPublisher for a particular set of data (1 employees check data). Format RTF model code which seems to be the cause of the error is the cumulative total code which is supposed to sum YTD_HOURS for all elements in the DataSet xml AC_EARNINGS:

    Problem code: <? xdoxslt:sum(YTD_HOURS_[.!_=''])? >

    The error message below it seems to be having trouble with the sum

    HRMS Oracle concurrent Manager error:

    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39
    )
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl
    . Java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:677)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:425)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:244)
    at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
    at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
    at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate (TemplateH
    Elper.Java:5936)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate (TemplateHelp
    St. Java:3459)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate (TemplateHelp
    St. Java:3548)
    at oracle.apps.pay.core.documents.DocGenerator.process(DocGenerator.java:521)
    Caused by: oracle.xdo.parser.v2.XPathException: Extension function error: method
    not found 'sum' to the oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1534)
    at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:521)
    at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
    at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
    at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
    at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
    ... more than 17

    HR_6882_HRPROC_ASSERT
    LOCATION pyjavacom:2
    APP-PAY-06882: Assertion failure detected at the location pyjavacom:2.

    Cause: an internal error has occurred at the location pyjavacom:2.

    Action: contact your Oracle customer representative.



    Note: The RTF check model works ok most of the time, but there is a problem with the model of XML data below. In this scenario, there is no YTD_HOURS and only one line of data for this employee, unlike the data second example of another audit below.

    The data that the code does NOT work with:

    -< AC_EARNINGS >
    < DATE_DISP_FLG > N < / DATE_DISP_FLG >
    revenues of < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 58423 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 10511197 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 1200 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 1584.8 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 25698.88 < / YTD_AMOUNT >
    Normal salary < REPORTING_NAME > < / REPORTING_NAME >
    < CURRENT_HOURS > 80 < / CURRENT_HOURS >
    < YTD_HOURS > 1312 < / YTD_HOURS >
    < RATE / >
    < CURRENT_DAYS / >
    < YTD_DAYS / >
    < ATTRIBUTE_NAME / >
    < ORIGINAL_DATE_EARNED / >
    < EFFECTIVE_START_DATE / >
    < EFFECTIVE_END_DATE / >
    < ELEMENT_CATEGORY / >
    < JURISDICTION_CODE / >
    < RATE_MUL > 19.81 < / RATE_MUL >
    < RATE_RET / >
    < / AC_EARNINGS >

    Data that works with the code:

    -< AC_EARNINGS >
    < DATE_DISP_FLG > N < / DATE_DISP_FLG >
    revenues of < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 58423 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 10511197 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 1200 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 1584.8 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 25698.88 < / YTD_AMOUNT >
    Normal salary < REPORTING_NAME > < / REPORTING_NAME >
    < CURRENT_HOURS > 80 < / CURRENT_HOURS >
    < YTD_HOURS > 1312 < / YTD_HOURS >
    < RATE / >
    < CURRENT_DAYS / >
    < YTD_DAYS / >
    < ATTRIBUTE_NAME / >
    < ORIGINAL_DATE_EARNED / >
    < EFFECTIVE_START_DATE / >
    < EFFECTIVE_END_DATE / >
    < ELEMENT_CATEGORY / >
    < JURISDICTION_CODE / >
    < RATE_MUL > 19.81 < / RATE_MUL >
    < RATE_RET / >
    < / AC_EARNINGS >
    -< AC_EARNINGS >
    < DATE_DISP_FLG > N < / DATE_DISP_FLG >
    < ELEMENT_CLASSIFICATION > attributed gains < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 58444 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 10511222 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 3250 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 1.46 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 25,51 < / YTD_AMOUNT >
    Life term for the Group < REPORTING_NAME > < / REPORTING_NAME >
    < CURRENT_HOURS / >
    < YTD_HOURS / >
    < RATE / >
    < CURRENT_DAYS / >
    < YTD_DAYS / >
    < ATTRIBUTE_NAME / >
    < ORIGINAL_DATE_EARNED / >
    < EFFECTIVE_START_DATE / >
    < EFFECTIVE_END_DATE / >
    < ELEMENT_CATEGORY / >
    < JURISDICTION_CODE / >
    < RATE_MUL / >
    < RATE_RET / >
    < / AC_EARNINGS >
    -< AC_EARNINGS >
    < DATE_DISP_FLG > N < / DATE_DISP_FLG >
    Additional gains < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 58431 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 10511205 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 2500 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 9.6 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 163,2 < / YTD_AMOUNT >
    < REPORTING_NAME > dental CB < / REPORTING_NAME >
    < CURRENT_HOURS > 0 < / CURRENT_HOURS >
    < YTD_HOURS > 0 < / YTD_HOURS >
    < RATE / >
    < CURRENT_DAYS / >
    < YTD_DAYS / >
    < ATTRIBUTE_NAME / >
    < ORIGINAL_DATE_EARNED / >
    < EFFECTIVE_START_DATE / >
    < EFFECTIVE_END_DATE / >
    < ELEMENT_CATEGORY / >
    < JURISDICTION_CODE / >
    < RATE_MUL / >
    < RATE_RET / >
    < / AC_EARNINGS >
    -< AC_EARNINGS >
    < DATE_DISP_FLG > N < / DATE_DISP_FLG >
    revenues of < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 64614 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 10518109 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 1526 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 0 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 1571.12 < / YTD_AMOUNT >
    < REPORTING_NAME > TOWP < / REPORTING_NAME >
    < CURRENT_HOURS / >
    < YTD_HOURS > 80 < / YTD_HOURS >
    < RATE / >
    < CURRENT_DAYS / >
    < YTD_DAYS / >
    < ATTRIBUTE_NAME / >
    < ORIGINAL_DATE_EARNED / >
    < EFFECTIVE_START_DATE / >
    < EFFECTIVE_END_DATE / >
    < ELEMENT_CATEGORY / >
    < JURISDICTION_CODE / >
    < RATE_MUL / >
    < RATE_RET / >
    < / AC_EARNINGS >
    -< AC_EARNINGS >
    < DATE_DISP_FLG > N < / DATE_DISP_FLG >
    revenues of < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 57863 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 10510820 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 1200 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 0 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 937,2 < / YTD_AMOUNT >
    Holiday < REPORTING_NAME > < / REPORTING_NAME >
    < CURRENT_HOURS / >
    < YTD_HOURS > 48 < / YTD_HOURS >
    < RATE / >
    < CURRENT_DAYS / >
    < YTD_DAYS / >
    < ATTRIBUTE_NAME / >
    < ORIGINAL_DATE_EARNED / >
    < EFFECTIVE_START_DATE / >
    < EFFECTIVE_END_DATE / >
    < ELEMENT_CATEGORY / >
    < JURISDICTION_CODE / >
    < RATE_MUL / >
    < RATE_RET / >
    < / AC_EARNINGS >
    -< AC_EARNINGS >
    < DATE_DISP_FLG > N < / DATE_DISP_FLG >
    < ELEMENT_CLASSIFICATION > attributed gains < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 63592 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 10517244 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 3250 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 0 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 285.07 < / YTD_AMOUNT >
    < REPORTING_NAME > F90 SVEU DIST < / REPORTING_NAME >
    < CURRENT_HOURS / >
    < YTD_HOURS / >
    < RATE / >
    < CURRENT_DAYS / >
    < YTD_DAYS / >
    < ATTRIBUTE_NAME / >
    < ORIGINAL_DATE_EARNED / >
    < EFFECTIVE_START_DATE / >
    < EFFECTIVE_END_DATE / >
    < ELEMENT_CATEGORY / >
    < JURISDICTION_CODE / >
    < RATE_MUL / >
    < RATE_RET / >
    < / AC_EARNINGS >
    -< AC_EARNINGS >
    < DATE_DISP_FLG > N < / DATE_DISP_FLG >
    Additional gains < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 67074 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 10520289 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 2500 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 0 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 85.24 < / YTD_AMOUNT >
    < REPORTING_NAME > other Tx RRs < / REPORTING_NAME >
    < CURRENT_HOURS / >
    < YTD_HOURS / >
    < RATE / >
    < CURRENT_DAYS / >
    < YTD_DAYS / >
    < ATTRIBUTE_NAME / >
    < ORIGINAL_DATE_EARNED / >
    < EFFECTIVE_START_DATE / >
    < EFFECTIVE_END_DATE / >
    < ELEMENT_CATEGORY / >
    < JURISDICTION_CODE / >
    < RATE_MUL / >
    < RATE_RET / >
    < / AC_EARNINGS >


    If anyone has any ideas as to what is necessary to resolve the issue we have in our company can you please let me know? I appreciate your time. If you need more information please let me know and I'll post it.

    Thank you

    Greg

    Published by: gtruta on November 20, 2012 16:20

    Published by: gtruta on November 20, 2012 16:21

    xdoxslt sum allows us to avoid the issue while fields sum with the value null. as you already now the condition with the field u do not need xdoxslt

    is - enough try this

    you are able to get a preview of the template with the code of the sum.

    Send me your model and xml. I can try at my side
    E-mail: [email protected]

  • I come from components to build a new computer. Try to use the Windows XP Pro computer old version but after BIOS and XP installation I get the error "file not found \i386\ntkrnlmp.exe. The error code is 7. "What should I do?

    New components is a new computer.
    Inserted the XP Pro CD in the drive but get the error "file not found \i386\ntkrnlmp.exe. The error code is 7. »
    Rebooted comp 5 times with the same problem after BIOS.

    Hi Milkshake83,

    Thanks for posting. Proceed as follows for this error.

    Method 1: Restore the default settings of the BIOS WARNING: this procedure may involve changing the semiconductor (CMOS) settings of the computer's complementary metal oxide and by changing the BIOS of the computer. Incorrect changes to the BIOS of your computer can result in serious problems. Change the CMOS settings of the computer at your own risk.

    To resolve this issue, restore the BIOS of the computer to its default settings. For more information about the correct settings of the BIOS of the computer and how to check and change these settings, see the computer documentation or contact the manufacturer of the computer.

    In addition, to confirm that the computer's BIOS is current, contact the computer manufacturer to inquire about the last update of the BIOS available for the computer.

    Method 2: Remove the faulty RAM to resolve this issue, remove the memory modules installed in the computer.

    NOTE: you must leave enough RAM for the computer to start and run Windows.

    For more information on the amount of RAM that is required to run Windows, click on the number below to view the article in the Microsoft Knowledge Base:

    304297 configuration (http://support.microsoft.com/kb/304297/) System requirements for Microsoft Windows 2000 operating systems

    If the error message described in the "Symptoms" section of this article appears again after removing the memory module, remove a different memory module. This procedure may ask you to restart your computer several times to identify the specific memory module that is not working properly.

    For more information about how to add and remove RAM to the computer, contact the manufacturer of your computer or see the documentation that came with your computer.

    http://support.Microsoft.com/kb/318729

    I hope this helps!
    Shawn - Support Engineer - MCP, MCDST
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Cordova initialization error: class not found

    Hello

    I have a problem Cordova initialization error: class not found.  when building my app in the clouds (genereted apk file) and install it on my Tablet Samsung tablet device.

    My config.xml (path platforms\android\res\xml) content:

    ------------------------------------------------------------------------------------------ ------------------------------------------------

    <? XML version = "1.0" encoding = "utf - 8"? >

    < widget id = "com.xchanging.HelloWord" version = "1.0.0" xmlns =" " http://www.w3.org/ns/widgets "xmlns:gap =" " http://PhoneGap.com/ns/1.0 ">

    < name of option = "loglevel" value = "DEBUG" / >

    < plugins >

    < name of the plugin = "Device" value="org.apache.cordova.device.Device"/ >

    < / plugins >

    < name of the function 'Battery' = >

    < param name = "android package" value = "org.apache.cordova.batterystatus.BatteryListener" / > "

    < / fiction >

    < name of the function 'Caméra' = >

    < param name = "android package" value = "org.apache.cordova.camera.CameraLauncher" / > "

    < / fiction >

    < name of the function = "File" >

    < param name = "android package" value = "org.apache.cordova.file.FileUtils" / > "

    < param name = "onload" value = "true" / >

    < / fiction >

    < name of the function "Capture" = >

    < param name = "android package" value = "org.apache.cordova.mediacapture.Capture" / > "

    < / fiction >

    < name of the function = "Contacts" >

    < param name = "android package" value = "org.apache.cordova.contacts.ContactManager" / > "

    < / fiction >

    < name of the function 'Device' = >

    < param name = "android package" value = "org.apache.cordova.device.Device" / > "

    < / fiction >

    < name of the function = "Accelerometer" >

    < param name = "android package" value = "org.apache.cordova.devicemotion.AccelListener" / > "

    < / fiction >

    < name of the function 'Compass' = >

    < param name = "android package" value = "org.apache.cordova.deviceorientation.CompassListener" / > "

    < / fiction >

    < name of the service 'Notification' = >

    < param name = "android package" value = "org.apache.cordova.dialogs.Notification" / > "

    < / fiction >

    < name of the function "File transfer" = >

    < param name = "android package" value = "org.apache.cordova.filetransfer.FileTransfer" / > "

    < / fiction >

    < name of the function = "Geolocation" >

    < param name = "android package" value = "org.apache.cordova.geolocation.Geolocation" / > "

    < / fiction >

    < name of the function 'Globalisation' = >

    < param name = "android package" value = "org.apache.cordova.globalization.Globalization" / > "

    < / fiction >

    < name of the function = "InAppBrowser" >

    < param name = "android package" value = "org.apache.cordova.inappbrowser.InAppBrowser" / > "

    < / fiction >

    < name of the function = "Media" >

    < param name = "android package" value = "org.apache.cordova.media.AudioHandler" / > "

    < / fiction >

    < name of the function 'NetworkStatus' = >

    < param name = "android package" value = "org.apache.cordova.networkinformation.NetworkManager" / > "

    < / fiction >

    < name of the function = "SplashScreen" >

    < param name = "android package" value = "org.apache.cordova.splashscreen.SplashScreen" / > "

    < param name = "onload" value = "true" / >

    < / fiction >

    < name of the function "Θtat bar" = >

    < param name = "android package" value = "org.apache.cordova.statusbar.StatusBar" / > "

    < param name = "onload" value = "true" / >

    < / fiction >

    < name of the function 'Vibration' = >

    < param name = "android package" value = "org.apache.cordova.vibration.Vibration" / > "

    < / fiction >

    < name of the function 'Whitelist' = >

    < param name = "android package" value = "org.apache.cordova.whitelist.WhitelistPlugin" / > "

    < param name = "onload" value = "true" / >

    < / fiction >

    "< density icon ="ldpi"src="www/res/icon/android/drawable-ldpi-icon.png "/ >

    "< density icon ="mdpi"src="www/res/icon/android/drawable-mdpi-icon.png "/ >

    "< density icon ="hdpi"src="www/res/icon/android/drawable-hdpi-icon.png "/ >

    "< density icon ="xhdpi"src="www/res/icon/android/drawable-xhdpi-icon.png "/ >

    "< density icon ="xxhdpi"src="www/res/icon/android/drawable-xxhdpi-icon.png "/ >

    "< density icon ="xxxhdpi"src="www/res/icon/android/drawable-xxxhdpi-icon.png "/ >

    "< splash density ="Earth-ldpi"src="www/res/screen/android/drawable-land-ldpi-screen.png "/ >

    "< splash density ="Earth-mdpi"src="www/res/screen/android/drawable-land-mdpi-screen.png "/ >

    "< splash density ="Earth-hdpi"src="www/res/screen/android/drawable-land-hdpi-screen.png "/ >

    "< splash density ="Earth-xhdpi"src="www/res/screen/android/drawable-land-xhdpi-screen.png "/ >

    "< splash density ="Earth-xxhdpi"src="www/res/screen/android/drawable-land-xxhdpi-screen.png "/ >

    "< splash density ="Earth-xxxhdpi"src="www/res/screen/android/drawable-land-xxxhdpi-screen.png "/ >

    "< splash density ="port-ldpi"src="www/res/screen/android/drawable-port-ldpi-screen.png "/ >

    "< splash density ="port-mdpi"src="www/res/screen/android/drawable-port-mdpi-screen.png "/ >

    "< splash density ="port-hdpi"src="www/res/screen/android/drawable-port-hdpi-screen.png "/ >

    "< splash density ="port-xhdpi"src="www/res/screen/android/drawable-port-xhdpi-screen.png "/ >

    "< splash density ="port-xxhdpi"src="www/res/screen/android/drawable-port-xxhdpi-screen.png "/ >

    "< splash density ="port-xxxhdpi"src="www/res/screen/android/drawable-port-xxxhdpi-screen.png "/ >

    < allow intention href = "' market: *" / > "

    < name > HelloWorld < / name >

    < description >

    Hello request sample of world that responds to the deviceready event.

    < / description >

    " < author email = ' [email protected] "href =" http://PhoneGap.com ">

    PhoneGap team

    < / author >

    < src = "index.html of content" / > "

    < name of option = "DisallowOverscroll" value = "true" / >

    < name of option = "android-minSdkVersion" value = "14" / >

    < src = "icon.png icon" / > "

    < access origin = "" * "/ >"

    " < allow intention href = ' http://*/* " />

    " < allow intention href = ' https://*/* " />

    < allow intention href = "" Tel: * "/ >"

    < allow intention href = "" sms: * "/ >"

    < allow intention href = "mailto:*" / >

    < allow intention href = "" geo: * "/ >"

    < / widget >

    And the content of the file config.xml (project root) is:

    ------------------------------------------------------------------------------------------ -----------------------------------------------

    <? XML version = "1.0" encoding = "utf - 8"? >

    < widget id = "com.xxx.HelloWord" version = "1.0.0" xmlns =" " http://www.w3.org/ns/widgets "xmlns:gap =" " http://PhoneGap.com/ns/1.0 ">

    < name > HelloWorld < / name >

    < description >

    Hello request sample of world that responds to the deviceready event.

    < / description >

    " < author email = ' [email protected] "href =" http://PhoneGap.com ">

    PhoneGap team

    < / author >

    < src = "index.html of content" / > "

    < name of option = "DisallowOverscroll" value = "true" / >

    < name of option = "android-minSdkVersion" value = "14" / >

    < plugin name = 'cordova-plugin-battery-status' source = 'MNP' spec = "~1.1.1" / >

    < plugin name = 'cordova-plugin-camera' source = 'MNP' spec = "~2.1.1" / >

    < plugin name = "cordova-plugin-media-capture" source = 'MNP' spec = "~1.2.0" / >

    < plugin name = 'cordova-plugin-console' source = 'MNP' spec = "~1.0.2" / >

    < plugin name = 'cordova-plugin-contacts' source = 'MNP' spec = "~2.0.1" / >

    < plugin name = 'cordova-plugin-device' source = 'MNP' spec = "~1.1.1" / >

    < plugin name = 'cordova-plugin-device-motion' source = 'MNP' spec = "~1.2.0" / >

    < plugin name = 'cordova-plugin-device-focus' source = 'MNP' spec = "~1.0.2" / >

    < plugin name = "cordova-plugin-dialogues" source = 'MNP' spec = "~1.2.0" / >

    < plugin name = source "cordova-plugin-file" = "MNP" spec = "~4.1.1" / >

    < name of plugin = 'cordova-plugin-transfer files' source = 'MNP' spec = "~1.5.0" / >

    < plugin name = "cordova-plugin-Geolocation" source = 'MNP' spec = "~2.1.0" / >

    < plugin name = "cordova-plugin-globalization" source = 'MNP' spec = "~1.0.3" / >

    < plugin name = "cordova-plugin-inappbrowser" source = "MNP" spec = "~1.3.0" / >

    < plugin name = 'cordova-plugin-media' source = 'MNP' spec = "~2.2.0" / >

    < plugin name = 'cordova-plugin-network-information' source = 'MNP' spec = "~1.2.0" / >

    < plugin name = 'cordova-plugin-splashscreen' source = 'MNP' spec = "~3.2.1" / >

    < plugin name = "statusbar-plugin-cordova" source = 'MNP' spec = "~2.1.2" / >

    < plugin name = 'cordova-plugin-vibration' source = 'MNP' spec = "~2.1.0" / >

    < plugin name = "cordova-plugin-whitelist" source = 'MNP' spec = "~1.2.1" / >

    < src = "icon.png icon" / > "

    < platform name = "android" >

    "< density icon ="ldpi"src="www/res/icon/android/drawable-ldpi-icon.png "/ >

    "< density icon ="mdpi"src="www/res/icon/android/drawable-mdpi-icon.png "/ >

    "< density icon ="hdpi"src="www/res/icon/android/drawable-hdpi-icon.png "/ >

    "< density icon ="xhdpi"src="www/res/icon/android/drawable-xhdpi-icon.png "/ >

    "< density icon ="xxhdpi"src="www/res/icon/android/drawable-xxhdpi-icon.png "/ >

    "< density icon ="xxxhdpi"src="www/res/icon/android/drawable-xxxhdpi-icon.png "/ >

    "< splash density ="Earth-ldpi"src="www/res/screen/android/drawable-land-ldpi-screen.png "/ >

    "< splash density ="Earth-mdpi"src="www/res/screen/android/drawable-land-mdpi-screen.png "/ >

    "< splash density ="Earth-hdpi"src="www/res/screen/android/drawable-land-hdpi-screen.png "/ >

    "< splash density ="Earth-xhdpi"src="www/res/screen/android/drawable-land-xhdpi-screen.png "/ >

    "< splash density ="Earth-xxhdpi"src="www/res/screen/android/drawable-land-xxhdpi-screen.png "/ >

    "< splash density ="Earth-xxxhdpi"src="www/res/screen/android/drawable-land-xxxhdpi-screen.png "/ >

    "< splash density ="port-ldpi"src="www/res/screen/android/drawable-port-ldpi-screen.png "/ >

    "< splash density ="port-mdpi"src="www/res/screen/android/drawable-port-mdpi-screen.png "/ >

    "< splash density ="port-hdpi"src="www/res/screen/android/drawable-port-hdpi-screen.png "/ >

    "< splash density ="port-xhdpi"src="www/res/screen/android/drawable-port-xhdpi-screen.png "/ >

    "< splash density ="port-xxhdpi"src="www/res/screen/android/drawable-port-xxhdpi-screen.png "/ >

    "< splash density ="port-xxxhdpi"src="www/res/screen/android/drawable-port-xxxhdpi-screen.png "/ >

    < / platform >

    < platform name = "ios" >

    "< icon = platform"57"height ="ios"src="www/res/icon/ios/icon.png "width ="57"/ >

    < height icon = "114" platform = "ios" src = "www/res/icon/ios/[email protected]" width = "114" / >

    "< icon height ="40"platform ="ios"src="www/res/icon/ios/icon-40.png "width ="40"/ >

    < height = '80' platform 'ios' src = icon = ' www/res/icon/ios/[email protected]' width = '80' / >

    "< icon height ="50"platform ="ios"src="www/res/icon/ios/icon-50.png "width ="50"/ >

    < height icon = '100' platform = 'ios' src = "www/res/icon/ios/[email protected]" width = "100" / >

    "< icon height ="60"platform ="ios"src="www/res/icon/ios/icon-60.png "width ="60"/ >

    < height icon = '120' platform = 'ios' src = "www/res/icon/ios/[email protected]" width = "120" / >

    < height icon = "180" platform = "ios" src = "www/res/icon/ios/[email protected]" width = "180" / >

    "< icon = platform"72"height ="ios"src="www/res/icon/ios/icon-72.png "width ="72"/ >

    < height icon = "144" platform = "ios" src = "www/res/icon/ios/[email protected]" width = "144" / >

    "< icon = platform"76"height ="ios"src="www/res/icon/ios/icon-76.png "width ="76"/ >

    < height icon = "152" platform = "ios" src = "www/res/icon/ios/[email protected]" width = "152" / >

    "< icon height ="29"platform ="ios"src="www/res/icon/ios/icon-small.png "width ="29"/ >

    < height icon = platform '58' = 'ios' src = ' www/res/icon/ios/[email protected]' width = '58' / >

    < height icon = "87" platform = "ios" src = "www/res/icon/ios/[email protected]" width = "87" / >

    "< splash height ="1136"platform ="ios"src="www/res/screen/ios/Default-568h@2x~iphone.png "width ="640"/ >

    "< splash height ="1334"platform ="ios"src="www/res/screen/ios/Default-667h.png "width ="750"/ >

    "< splash height ="2208"platform ="ios"src="www/res/screen/ios/Default-736h.png "width ="1242"/ >

    "< splash height ="1242"platform ="ios"src="www/res/screen/ios/Default-Landscape-736h.png "width ="2208"/ >

    "< splash height ="1536"platform ="ios"src="www/res/screen/ios/Default-Landscape@2x~ipad.png "width ="2048"/ >

    "< splash height ="768"platform ="ios"src="www/res/screen/ios/Default-Landscape~ipad.png "width ="1024"/ >

    "< splash height ="2048"platform ="ios"src="www/res/screen/ios/Default-Portrait@2x~ipad.png "width ="1536"/ >

    "< splash height ="1024"platform ="ios"src="www/res/screen/ios/Default-Portrait~ipad.png "width ="768"/ >

    "< splash height ="960"platform ="ios"src="www/res/screen/ios/Default@2x~iphone.png "width ="640"/ >

    "< splash height ="480"platform ="ios"src="www/res/screen/ios/Default~iphone.png "width ="320"/ >

    < / platform >

    < platform name = "wp8" >

    "< icon height ="99"platform ="at"8 src="www/res/icon/wp8/ApplicationIcon.png "width ="99"/ >

    "< icon height = '159' platform 'at' 8 src="www/res/icon/wp8/Background.png = ' width = '159' / >

    "< splash height ="1280"platform ="at"8 src="www/res/screen/wp8/screen-portrait.jpg "width ="768"/ >

    < / platform >

    < platform name = "windows" >

    "< icon height ="150"platform ="windows"src="www/res/icon/windows/Square150x150Logo.scale-100.png "width ="150"/ >

    "< icon height ="30"platform ="windows"src="www/res/icon/windows/Square30x30Logo.scale-100.png "width ="30"/ >

    "< icon height ="50"platform ="windows"src="www/res/icon/windows/StoreLogo.scale-100.png "width ="50"/ >

    "< splash height ="300"platform ="windows"src="www/res/screen/windows/SplashScreen.scale-100.png "width ="620"/ >

    "< icon height ="120"platform ="windows"src="www/res/icon/windows/StoreLogo.scale-240.png "width ="120"/ >

    "< icon height ="44"platform ="windows"src="www/res/icon/windows/Square44x44Logo.scale-100.png "width ="44"/ >

    "< icon height ="106"platform ="windows"src="www/res/icon/windows/Square44x44Logo.scale-240.png "width ="106"/ >

    "< icon height ="70"platform ="windows"src="www/res/icon/windows/Square70x70Logo.scale-100.png "width ="70"/ >

    "< icon height ="71"platform ="windows"src="www/res/icon/windows/Square71x71Logo.scale-100.png "width ="71"/ >

    "< icon height ="170"platform ="windows"src="www/res/icon/windows/Square71x71Logo.scale-240.png "width ="170"/ >

    "< icon = '360' platform height ="windows"src="www/res/icon/windows/Square150x150Logo.scale-240.png "width ="360"/ >

    "< icon height ="310"platform ="windows"src="www/res/icon/windows/Square310x310Logo.scale-100.png "width ="310"/ >

    "< icon height ="150"platform ="windows"src="www/res/icon/windows/Wide310x150Logo.scale-100.png "width ="310"/ >

    "< height icon = platform '360 °' = 'windows' src="www/res/icon/windows/Wide310x150Logo.scale-240.png ' width = '744' / >

    "< splash height ="1920"platform ="windows"src="www/res/screen/windows/SplashScreenPhone.scale-240.png "width ="1152"/ >

    < / platform >

    < access origin = "" * "/ >"

    " < allow intention href = ' http://*/* " />

    " < allow intention href = ' https://*/* " />

    < allow intention href = "" Tel: * "/ >"

    < allow intention href = "" sms: * "/ >"

    < allow intention href = "mailto:*" / >

    < allow intention href = "" geo: * "/ >"

    < platform name = "android" >

    < allow intention href = "' market: *" / > "

    < / platform >

    < platform name = "ios" >

    < allow intention href = "" itms: * "/ >"

    < allow intention href = "" itms-apps: * "/ >"

    < / platform >

    < / widget >

    Can you help me please?

    Looks like you upload a complete project of Cordoba to BMP. You should not.

    Try this first:

    -Move www root config.xml

    -Adjust the paths to the icons/splash in configuratie accordingly

    -Zip up the contents of the www, not the directory itself

    Once you have built it, please come back here, so we can guide you how to fix your remaining configuration errors.

  • OBIEE11g Mobile App Designer with error 404 - not found

    Hi all

    Please visit this link OBIEE11g Mobile App Designer

    Rittman Mead Consulting & amp; raquo; Blog Archive & amp; raquo; A first look at the OBIEE11g Mobile App Designer

    Based on this blog, we applied

    16556157 (OBIEE 11.1.1.7.1 group of hotfixes, which also requires to download another patch, 16569379)

    • 17004920, that enable the Mobile App Designer BI support in the catalog and the presentation service user interface
    • 17220944, the BI Mobile App Designer real application, thanks to the extension of the field of OBIEE WebLogic

    Patches on our server.

    has obtained the option Mobile App in the BI Home page.

    while trying to access the following error is Mobile application

    Error 404 - not found

    Of RFC 2068 Hypertext Transfer Protocol - HTTP/1.1:

    10.4.5 404 not found

    Server not found anything matching the request URI. No indication is given whether the condition is temporary or permanent.

    If the server does not wish to make this information available to the client, the status code 403 (refused) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through a configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.

    Environment: Windows 2008 (64-bit), OBIEE 11.1.1.7.1

    Please me tips

    Thank you

    Hello

    I was facing the same error after installing the patches for (application Mobile Designer) and restarts as all OBIEE components as well as the server,

    nothing worked except the same error 404 for the last two days.

    so, here the path to get the fixed number advances now.

    1: check the patches applied to the Mobile application designer

    2: follow the blog step by step for the process to be completed.

    Installation Mobile App Designer OLIVIER | OBIEE by Shiva Molabanti

    3: after the patches and the theOBI Mobile App Designer (MAD) deployment manually apply to aid configuration WebLogic the rebound of all services on the OBI (all components)

    4: execution of the Configuration of security as described in the blog. It wil gives error if the console service is not started because it expects for port 7001 WebLogic

    5: after the success of the security configuration reboot all components bi on the side of the OBI and wiat for all future services

    now, I logged in and click on new Mobile app, it worked as expected and it solved the problem.

    Thank you

    BSK

  • method not found

    Hello.

    I use jdeveloper 11.1.1.5
    I'm following this link
      http://marianne-horsch-adf.blogspot.com/2011/11/how-to-render-different-pages-for-each.html
    Now I tried to use this code
                HrRegionBean bean = (HrRegionBean) getBeanInstance("#{pageFlowScope.regionBean}");
                if (employeeKey == null) {
                bean.startEmpty();
                } else {
                DepartmentsViewImpl row =
                (DepartmentsViewImpl)getService().getDepartmentsViewView2().getCurrentRow();
                if (row.getManagerId() == null) {
                getService().getLocationsVO1().setb_id(row.getLocationId());   //getting error as setb_id method not found  since b-id is a paramter passed
                getService().getLocationsViewView1().executeQuery();
                getService().getLocationsViewView1().setCurrentRow(getService().getLocationsViewView1().first());
                bean.startLocation();
                } else {
                getService().getManagers1().setb_id(row.getManagerId());
                getService().getManagers1().executeQuery();
                getService().getManagers1().setCurrentRow(getService().getLocationsViewView1().first());
                bean.startManager();
                }
            }
    could someone help me solve this error

    Hello

    expose you a client method "setb_id" on the LocationsVO1? If not, then that is why.

    Frank

    PS: Please note that to access the business service classes impl - as DepartmentsViewImpl - is considered to be bad practice and you should only work with interfaces or through the link layer

    Frank

  • getExpressionObjectReference "method not found".

    Hello! I use the method:
      public void PasesPPR(ValueChangeEvent valueChangeEvent) {
        GenericButton gB = (GenericButton)JsfUtils.getExpressionObjectReference("#{GenericButton}");
        gB.getThirdLevel().setDisabled(true);
        AdfFacesContext.getCurrentInstance().addPartialTarget(gB.getThirdLevel());
        
      }
    And I have error: getExpressionObjectReference method not found

    Where would be the problem?

    Best regards, Debuger!

    Doggone it, OTN.

    Here is the code

    package oracle.fodemo.storefront.jsf.util;
    
    import java.util.Iterator;
    import java.util.Locale;
    import java.util.Map;
    import java.util.MissingResourceException;
    import java.util.ResourceBundle;
    
    import javax.el.ELContext;
    import javax.el.ExpressionFactory;
    
    import javax.el.MethodExpression;
    import javax.el.ValueExpression;
    
    import javax.faces.application.Application;
    import javax.faces.application.FacesMessage;
    import javax.faces.component.UIComponent;
    import javax.faces.component.UIViewRoot;
    import javax.faces.context.ExternalContext;
    import javax.faces.context.FacesContext;
    
    import javax.servlet.http.HttpServletRequest;
    
    /**
     * General useful static utilies for working with JSF.
     * NOTE: Updated to use JSF 1.2 ExpressionFactory.
     *
     * @author Duncan Mills
     * @author Steve Muench
     *
     * $Id: JSFUtils.java 1885 2007-06-26 00:47:41Z ralsmith $
     */
    public class JSFUtils {
    
        private static final String NO_RESOURCE_FOUND = "Missing resource: ";
    
        /**
         * Method for taking a reference to a JSF binding expression and returning
         * the matching object (or creating it).
         * @param expression EL expression
         * @return Managed object
         */
        public static Object resolveExpression(String expression) {
            FacesContext facesContext = getFacesContext();
            Application app = facesContext.getApplication();
            ExpressionFactory elFactory = app.getExpressionFactory();
            ELContext elContext = facesContext.getELContext();
            ValueExpression valueExp =
                elFactory.createValueExpression(elContext, expression,
                                                Object.class);
            return valueExp.getValue(elContext);
        }
    
        /**
         * @return
         */
        public static String resolveRemoteUser() {
            FacesContext facesContext = getFacesContext();
            ExternalContext ectx = facesContext.getExternalContext();
            return ectx.getRemoteUser();
        }
    
        /**
         * @return
         */
        public static String resolveUserPrincipal() {
            FacesContext facesContext = getFacesContext();
            ExternalContext ectx = facesContext.getExternalContext();
            HttpServletRequest request = (HttpServletRequest)ectx.getRequest();
            return request.getUserPrincipal().getName();
        }
    
        /**
         * @param expression
         * @param returnType
         * @param argTypes
         * @param argValues
         * @return
         */
        public static Object resolveMethodExpression(String expression,
                                                     Class returnType,
                                                     Class[] argTypes,
                                                     Object[] argValues) {
            FacesContext facesContext = getFacesContext();
            Application app = facesContext.getApplication();
            ExpressionFactory elFactory = app.getExpressionFactory();
            ELContext elContext = facesContext.getELContext();
            MethodExpression methodExpression =
                elFactory.createMethodExpression(elContext, expression, returnType,
                                                 argTypes);
            return methodExpression.invoke(elContext, argValues);
        }
    
        /**
         * Method for taking a reference to a JSF binding expression and returning
         * the matching Boolean.
         * @param expression EL expression
         * @return Managed object
         */
        public static Boolean resolveExpressionAsBoolean(String expression) {
            return (Boolean)resolveExpression(expression);
        }
    
        /**
         * Method for taking a reference to a JSF binding expression and returning
         * the matching String (or creating it).
         * @param expression EL expression
         * @return Managed object
         */
        public static String resolveExpressionAsString(String expression) {
            return (String)resolveExpression(expression);
        }
    
        /**
         * Convenience method for resolving a reference to a managed bean by name
         * rather than by expression.
         * @param beanName name of managed bean
         * @return Managed object
         */
        public static Object getManagedBeanValue(String beanName) {
            StringBuffer buff = new StringBuffer("#{");
            buff.append(beanName);
            buff.append("}");
            return resolveExpression(buff.toString());
        }
    
        /**
         * Method for setting a new object into a JSF managed bean
         * Note: will fail silently if the supplied object does
         * not match the type of the managed bean.
         * @param expression EL expression
         * @param newValue new value to set
         */
        public static void setExpressionValue(String expression, Object newValue) {
            FacesContext facesContext = getFacesContext();
            Application app = facesContext.getApplication();
            ExpressionFactory elFactory = app.getExpressionFactory();
            ELContext elContext = facesContext.getELContext();
            ValueExpression valueExp =
                elFactory.createValueExpression(elContext, expression,
                                                Object.class);
    
            //Check that the input newValue can be cast to the property type
            //expected by the managed bean.
            //If the managed Bean expects a primitive we rely on Auto-Unboxing
            Class bindClass = valueExp.getType(elContext);
            if (bindClass.isPrimitive() || bindClass.isInstance(newValue)) {
                valueExp.setValue(elContext, newValue);
            }
        }
    
        /**
         * Convenience method for setting the value of a managed bean by name
         * rather than by expression.
         * @param beanName name of managed bean
         * @param newValue new value to set
         */
        public static void setManagedBeanValue(String beanName, Object newValue) {
            StringBuffer buff = new StringBuffer("#{");
            buff.append(beanName);
            buff.append("}");
            setExpressionValue(buff.toString(), newValue);
        }
    
        /**
         * Convenience method for setting Session variables.
         * @param key object key
         * @param object value to store
         */
        public static
    
        void storeOnSession(String key, Object object) {
            FacesContext ctx = getFacesContext();
            Map sessionState = ctx.getExternalContext().getSessionMap();
            sessionState.put(key, object);
        }
    
        /**
         * Convenience method for getting Session variables.
         * @param key object key
         * @return session object for key
         */
        public static Object getFromSession(String key) {
            FacesContext ctx = getFacesContext();
            Map sessionState = ctx.getExternalContext().getSessionMap();
            return sessionState.get(key);
        }
    
        /**
         * @param key
         * @return
         */
        public static String getFromHeader(String key) {
            FacesContext ctx = getFacesContext();
            ExternalContext ectx = ctx.getExternalContext();
            return ectx.getRequestHeaderMap().get(key);
        }
    
        /**
         * Convenience method for getting Request variables.
         * @param key object key
         * @return session object for key
         */
        public static Object getFromRequest(String key) {
            FacesContext ctx = getFacesContext();
            Map sessionState = ctx.getExternalContext().getRequestMap();
            return sessionState.get(key);
        }
    
        /**
         * Pulls a String resource from the property bundle that
         * is defined under the application <message-bundle> element in
         * the faces config. Respects Locale
         * @param key string message key
         * @return Resource value or placeholder error String
         */
        public static String getStringFromBundle(String key) {
            ResourceBundle bundle = getBundle();
            return getStringSafely(bundle, key, null);
        }
    
        /**
         * Convenience method to construct a FacesMesssage
         * from a defined error key and severity
         * This assumes that the error keys follow the convention of
         * using _detail for the detailed part of the
         * message, otherwise the main message is returned for the
         * detail as well.
         * @param key for the error message in the resource bundle
         * @param severity severity of message
         * @return Faces Message object
         */
        public static FacesMessage getMessageFromBundle(String key,
                                                        FacesMessage.Severity severity) {
            ResourceBundle bundle = getBundle();
            String summary = getStringSafely(bundle, key, null);
            String detail = getStringSafely(bundle, key + "_detail", summary);
            FacesMessage message = new FacesMessage(summary, detail);
            message.setSeverity(severity);
            return message;
        }
    
        /**
         * Add JSF info message.
         * @param msg info message string
         */
        public static void addFacesInformationMessage(String msg) {
            FacesContext ctx = getFacesContext();
            FacesMessage fm =
                new FacesMessage(FacesMessage.SEVERITY_INFO, msg, "");
            ctx.addMessage(getRootViewComponentId(), fm);
        }
    
        /**
         * Add JSF error message.
         * @param msg error message string
         */
        public static void addFacesErrorMessage(String msg) {
            FacesContext ctx = getFacesContext();
            FacesMessage fm =
                new FacesMessage(FacesMessage.SEVERITY_ERROR, msg, "");
            ctx.addMessage(getRootViewComponentId(), fm);
        }
    
        /**
         * Add JSF error message for a specific attribute.
         * @param attrName name of attribute
         * @param msg error message string
         */
        public static void addFacesErrorMessage(String attrName, String msg) {
            FacesContext ctx = getFacesContext();
            FacesMessage fm =
                new FacesMessage(FacesMessage.SEVERITY_ERROR, attrName, msg);
            ctx.addMessage(getRootViewComponentId(), fm);
        }
    
        // Informational getters
    
        /**
         * Get view id of the view root.
         * @return view id of the view root
         */
        public static String getRootViewId() {
            return getFacesContext().getViewRoot().getViewId();
        }
    
        /**
         * Get component id of the view root.
         * @return component id of the view root
         */
        public static String getRootViewComponentId() {
            return getFacesContext().getViewRoot().getId();
        }
    
        /**
         * Get FacesContext.
         * @return FacesContext
         */
        public static FacesContext getFacesContext() {
            return FacesContext.getCurrentInstance();
        }
        /*
       * Internal method to pull out the correct local
       * message bundle
       */
    
        private static ResourceBundle getBundle() {
            FacesContext ctx = getFacesContext();
            UIViewRoot uiRoot = ctx.getViewRoot();
            Locale locale = uiRoot.getLocale();
            ClassLoader ldr = Thread.currentThread().getContextClassLoader();
            return ResourceBundle.getBundle(ctx.getApplication().getMessageBundle(),
                                            locale, ldr);
        }
    
        /**
         * Get an HTTP Request attribute.
         * @param name attribute name
         * @return attribute value
         */
        public static Object getRequestAttribute(String name) {
            return getFacesContext().getExternalContext().getRequestMap().get(name);
        }
    
        /**
         * Set an HTTP Request attribute.
         * @param name attribute name
         * @param value attribute value
         */
        public static void setRequestAttribute(String name, Object value) {
            getFacesContext().getExternalContext().getRequestMap().put(name,
                                                                       value);
        }
    
        /*
       * Internal method to proxy for resource keys that don't exist
       */
    
        private static String getStringSafely(ResourceBundle bundle, String key,
                                              String defaultValue) {
            String resource = null;
            try {
                resource = bundle.getString(key);
            } catch (MissingResourceException mrex) {
                if (defaultValue != null) {
                    resource = defaultValue;
                } else {
                    resource = NO_RESOURCE_FOUND + key;
                }
            }
            return resource;
        }
    
        /**
         * Locate an UIComponent in view root with its component id. Use a recursive way to achieve this.
         * @param id UIComponent id
         * @return UIComponent object
         */
        public static UIComponent findComponentInRoot(String id) {
            UIComponent component = null;
            FacesContext facesContext = FacesContext.getCurrentInstance();
            if (facesContext != null) {
                UIComponent root = facesContext.getViewRoot();
                component = findComponent(root, id);
            }
            return component;
        }
    
        /**
         * Locate an UIComponent from its root component.
         * Taken from http://www.jroller.com/page/mert?entry=how_to_find_a_uicomponent
         * @param base root Component (parent)
         * @param id UIComponent id
         * @return UIComponent object
         */
        public static UIComponent findComponent(UIComponent base, String id) {
            if (id.equals(base.getId()))
                return base;
    
            UIComponent children = null;
            UIComponent result = null;
            Iterator childrens = base.getFacetsAndChildren();
            while (childrens.hasNext() && (result == null)) {
                children = (UIComponent)childrens.next();
                if (id.equals(children.getId())) {
                    result = children;
                    break;
                }
                result = findComponent(children, id);
                if (result != null) {
                    break;
                }
            }
            return result;
        }
    
        /**
         * Method to create a redirect URL. The assumption is that the JSF servlet mapping is
         * "faces", which is the default
         *
         * @param view the JSP or JSPX page to redirect to
         * @return a URL to redirect to
         */
        public static String getPageURL(String view) {
            FacesContext facesContext = getFacesContext();
            ExternalContext externalContext = facesContext.getExternalContext();
            String url =
                ((HttpServletRequest)externalContext.getRequest()).getRequestURL().toString();
            StringBuffer newUrlBuffer = new StringBuffer();
            newUrlBuffer.append(url.substring(0, url.lastIndexOf("faces/")));
            newUrlBuffer.append("faces");
            String targetPageUrl = view.startsWith("/") ? view : "/" + view;
            newUrlBuffer.append(targetPageUrl);
            return newUrlBuffer.toString();
        }
    
    }
    
  • enableThemes method not found in the oracle.lbs.mapclient.MapViewer class

    Hello
    I would ask about the error I recently.
    I don't know what's wrong with my code, but I '_enableThemes_ method not found in the class oracle.lbs.mapclient.MapViewer' when I tried to apply a theme to my card using the API of Java Bean.

    Another method does not recognize mapviewer is '_setAllThemesEnabled_ '.

    I don't know how to apply some themes I did for my card despite the use of the method.
    I have already imported oracle.lbs.mapclient.MapViewer.

    -----
    Here are my codes:

    < % @ page import = "java.util.Enumeration" % > "
    < % @ page import = "java.awt.geom.Point2D" % > "
    < % @ page import = "java.awt.Dimension" % > "
    < % @ page import = "oracle.lbs.mapclient.MapViewer" % > "
    < % @ page import = "oracle.lbs.mapclient.ScaleBarDef" % > "

    String mvURL = request.getParameter ("mvurl");
    mvURL = "http://localhost: 8888/mapviewer/omserver";

    MapViewer mv = session.getAttribute("gvis_mvhandle") (MapViewer);

    Boolean newSession = false;

    if(MV==null)
    {
    create a new ID customer mapviewer
    MV = new MapViewer (mvURL);
    mv.setImageFormat (MapViewer.FORMAT_PNG_URL);
    mv.setMapTitle("");
    session.setAttribute ("gvis_mvhandle", mv); keep the handle of the client in the session
    newSession = true;
    }

    mv.setDataSourceName ("mvdemo");

    String = "#000000" stroke1, fill1 = null, tr1 = null, labelc1 = null, asis1;

    int opacity1 = 128;

    String style1 = "gvis_" + ("NONE".equals (stroke1)? ". (': stroke1) + "_" +.
    ("NONE".equals (fill1)?" (': fill1) +.
    ((opacity1>0)?) » 128" : « ») ;

    String query1_ = "select * from counties;

    mv.addJDBCTheme ("peta", "theme1", query1_, null, null,
    Style1, labelc1, '_gvis_style_text_', true);

    mv.enableThemes ("THEMENAME");

    try {}
    mv.setFullExtent ();
    MV. Run();
    } catch (Exception e) {out.println (e.getMessage ()) ;}}

    String url = mv.getGeneratedMapImageURL ();

    -----


    I really appreciate your help...

    Hello
    Make sure that you type the correct setting. EnableThemes method requires an array of strings. Try the following:

    mv.enableThemes (new String() {"THEMENAME"});

  • BindingExpression path error: 'Orientation' not found 'object' property "ColorScale'

    Hi all

    A data binding error is thrown by the Debug Output window just after setting the DataSource property to certain data :

    System.Windows.Data error: 40: BindingExpression path error: 'Orientation' not found 'object' property "ColorScale '(HashCode = 50862316)'. BindingExpressionath = direction; DataItem = "ColorScale' (HashCode = 50862316); Target element is 'DependencyPropertyListener' (HashCode = 6239444); target property is 'Target' (type 'Object')

    I did the following:

    Graph graphic = new Graph();
    Graph Plots.Add (new Plot());
    Graph plots [0]. Renderer = new IntensityPlotRenderer();
    (Graph (IntensityPlotRenderer). Parcels [0]. Rendering engine). ColorScale = new ColorScale();
    Graph DataSource = new list();

    The error message is raised right after the execution of the assignment of a new list of the data source. The error seems harmless but it would be nice to understand what is causing this problem.

    Thank you.

    Hi, gabe0

    It seems that this error occurs because the chart control is to look at his collection of scales to determine if scale orientation changes took place, but the ColorScale does not have a direction property. While you can't do anything to your program to work around this error, you can safely ignore it. I filed a bug for this behavior report.

    Thanks for the comments!

  • How to fix error: "application not found" for C:\Windows\system32\rundll32.exe _

    I had the virus ' Vista Internet Security 2010 "deleted using McAfee, but now I can't start my programs and browsers because I see the error:"application not found"for C:\Windows\system32\rundll32.exe" ".
    How can I fix this problem? I use Vista SP2

    Your computer is still infected. Only McAfee will take care about that. First run .exe from Doug Knox fix:

    http://www.dougknox.com/XP/file_assoc.htm

    Then follow the instructions here:

    http://www.bleepingcomputer.com/virus-removal/remove-antivirus-Vista-2010 MS - MVP - Elephant Boy computers - don't panic!

  • Error-Application not found

    I had a false alarm microsoft virus/troj or something on the computer.  Scanned with Norton and the virus has been removed, but now whenever I click on most of the applications: itunes, word, excell - it gives me the error-application not found.  I can round about still happen to these applications using recent documents, but when I click on the shortcut on the desktop or the start menu, the error message appears.  What should I do?

    First download and run this tool. Make sure you get the freeware version.

    Malwarebytes Anti-Malware
    http://www.download.com/Malwarebytes-anti-malware/3000-8022_4-10804572.html

    Restart when you remove all infected items.

    Bruce Hagen ~ MS - MVP [Mail]

  • Vista service pack 2 error code 80092004__run updated stand-alone responsible package__down ServicePack 2__run stand-alone service pack 2___ error code not found crypt_E_ (0 x 80092004) __could the log file is not open

    Service pack 2 80092004 Vista error code
    Run the stand-alone update package
    Load service pack 2
    run stand-alone service pack 2
    error code not found crypt_E_ (0 x 80092004)
    could not open log file

    https://support.Microsoft.com/OAS/default.aspx?PRID=13014&Gprid=582034&St=1

    Free unlimited installation and compatibility support is available for Windows Vista, but only for Service Pack 2 (SP2). This support for SP2 is valid until February 26, 2010.

    Microsoft free support for Vista SP2 at the link above.

    See you soon.

    Mick Murphy - Microsoft partner

  • Error "Audio not found" every 5 seconds

    Hello

    I use Adobe Premiere Pro (CC 2015) to edit the behind the scenes of a movie, but I can't edit correctly because whenever I hit

    space to see a preview of what is in my calendar, it works for 5 seconds (or the better 8 seconds) and then it shows an error "audio not found."

    and there is a loss of images.

    I have only two audio files in my sequence, one of them suddenly stops and the error of "audio not found" appears, the other audio file

    continues to play for about 2 seconds and then stops as well.

    I can't find a solution and I have to finish this project quickly, so I can burn everything on DVD.

    Does anyone have a solution?

    Thanks (and sorry for the bad English)

    Hi John,.

    I have an I7 mounting and the film's 1080 p 23 976 fps mov of a T3i, jpeg photos and his (wav).

    After a few days, he started working properly again. I don't know what caused it.

  • MAF: Build Error "adfmf - not found feature.xml.

    Hi all

    Anyone know how to change the ViewController.jpr file?  After the upgrade to the MAF (JDev 12.1.3) and the migration of my existing Mobile ADF codeset, I have a build error: "adfmf - not found feature.xml.  The project is looking for the feature.xml file - adfmf.  However the MAF migration script has renamed this file feature.xml - MAF.

    Can I modify the ViewController.jpr script to look for the new MAF - feature.xml myself?  When I opened the project .jpr file in a text editor I don't find any reference to the MAF - feature.xml or adfmf - feature.xml.

    Thanks for the tips,

    TreeStrepek

    * Note: I initially thought that rename the MAF - feature.xml to adfmf - feature.xml solve the problem temporarily.  However, after that I get an error of deployment "doesn't have the profile to deploy, because the 'ViewController.jpr' project is not a MAF ApplicationController or ViewController project.» (oracle.adfmf.framework.dt.features.deployers.FeatureArchiveDeployer)

    I think it was a side effect of the original version of the MAF, which turned out to be unstable.  This has been corrected in the patch below MAF.

    Mobile application framework JDeveloper Patch

    2.0.0.0.41.140623.0901

    Patch 18030351 - patches the main components of JDeveloper required for Mobile Application Framework (MAF).

Maybe you are looking for

  • Storage issues

    I have a Mac Book Pro. recently, he said that I ran out of storage. When I investigated further my lap top told me that I have almost 80 GB of movies. I went threw all the files on my mac and deleted everything related to film and it made no differen

  • Re: Module Satellite L350-172 WLAN variable

    Hello Is it possible to change the Wlan (54g) module in another one (draft-n)? Thank you

  • FMS 5.6.7 and netmonitor

    Hi all. I have FMS 5.6.7 with OS installed 5.5.4 cartridge. I want to know the availability (ping) of my physical hosts. But when I create netmonitor agent, it does not collect data. 29-07-2013 12:20:50.770 ECHO VERBOSE [AgentProcessIOHandlerReader [

  • Movie Maker and photo gallery will not open

    I can't open Windows Movie Maker and photo gallery. Whenever I try to open one of the two, the computer is 'think' for a few seconds, but then stops, the spinning wheel disappears and nothing is really happening. I don't get any error message at all.

  • Lexmark X 2310 driver for Windows 7?

    I need driver for printer Lexmark X 2310 for Windows 7 starter