Error in apex.widget.tree export JavaScript?
Hi all
I am referring to an older ad
, because it exactly describes my problem.I have a few pages in my app with widgets tree that everything will work perfectly. Until I tried to export and import my request.
Apex (I'm under 4.2.1.00.08) seems to have a problem with the creation of an export file, because it adds additional quotas.
After another assignment Bug: apex.widget.tree: reproducible in apex.oracle.com I learned that I could try to replace single with double quota. I did, and once again my trees are working well.
I tried again to export/import demand and found a very strange effect: the Javascript for collapse_all and expand_all are managed differently. Here's an excerpt from my export file:
p_button_redirect_url = > 'javascript:apex.widget.tree.collapse_all ("tree67120232678212867");',
...
p_button_redirect_url = > ' javascript:apex.widget.tree.expand_all ('tree' | to_char(67120232678212867+wwv_flow_api.g_id_offset) | ") ») ; ",
What happens here? The first button seems to be ok, now, the error is on the second button.
Y at - it a fix for this bug? Or can someone suggest me one solution other than to edit the export file manually?
Any help is appreciated, thanks!
Birgitt
I found a solution, so I answered my question myself:
First Javascripts must be moved from the action of the button (URL redirect) for dynamic action. Placed JavaScripts here seem to be interpreted correctly when you generate the export file.
And: You can't use real ID for export, because in another environment will create another ID for a tree. It is therefore preferable to working with variables, I used bugs report mentioned at the beginning of my ad:
JavaScript:apex.widget.Tree.expand_all ($('#DIV_GRP_TREE'). Find('.) Tree:first').attr('id'));
Here DIV_GRP_TREE is the static ID, I gave to the region of the tree.
It works very well. However, I would be interested to hear about a bugfix in APEX...
Birgitt
Tags: Database
Similar Questions
-
"Update to 4.2 Apex - apex.widget.tabular ' is null or not an object
After the Apex 4.2 the following occurs error when loading a page that contains a list of select group [plugin]:
' *'apex.widget.tabular ' is null or not an object *.
The error seems to be related to a list item select [plug-ins] group with assigned values attributes (options) list follows:
Display the Null value: Yes
Value null, display value: -.
Return value of NULL: NULL
Note: The application requires a NULL option to display in the list of values (display = '-', value = null). It works very well in the Apex 4.1...
Remove the above values eliminates the error message. However to enter any value in the display Null value and attributes return Null value causes the error message reappear.
Is it a group select list [plug-ins] known problem/bug? Any ideas on how to work around this problem would be greatly appreciated.
THXHello
http://Apex.Oracle.com/plugins contains a version update of the plug-in the Selectlist (v1.1) group which should solve your problem. Just import it into your application and you should do.
Concerning
Patrick -
Apex. Submit in javascript do not set a value for the element
Hi all
I work with Application Express 4.1.1.00.23.
I am trying to use this
in order to assign a different value to P30_SELECTED_ROW_ID, and depending on demand, run the processes corresponding, but even if the beginning of the process correctly the value of the element sucks.apex.submit({request:parRequest,set:{'P30_SELECTED_ROW_ID':parID},showWait:true});
I also try to call the apex.submit using a javascript function to check the parameters passed and the value of Thierry is correct and NON NULL .
Thanks in advance for any help or suggestion.
AlexHello
article P1_SELECTED_ROW_ID is about to "view only".
If you replace this 'hidden' and unprotected, it should work.But because of the check constraint DEMO_CUST_CREDIT_LIMIT_MAX credit_limit<= 5000="" there="" will="" be="" an="" error="">=>
Good luck, Erik-jan
-
Hi allllllllllllllllllllll I want to help please?
I have a lot of questions?
There was an error importing the widget:
[3003] file or directory does not exist.
sound appear when aim import widget?
2:
Impossible to load the WSDL. If there are currently online, please verify the format of the WSDL and URI file (http://www.adobe.com/cfusion/exchange/exchangedwwidgetsfacade.cfc?wsdl)
sound appear when aim box in!
3:
Could not feed widget. Make sure that you are connected to the internet.
Unknown error.
Could not feed widget. Charging | View more information!
Sorry to say, but the browser Widget support has been removed from Dreamweaver CC
-
apex.widget.DatePicker - closing click of the day
Dear users,
I have a date picker component (apex.widget.datepicker) on my page.
Parameters: -.
Format mask: jj. MM YYYY HH24
Show: When click on icon
The default value for the element is SYSDATE. So when the display point will have current date & time already set.
Now, the requirement is, * "the calendar needs to close" when the user selects the "Date" * (since in some cases 'time' has important..)
I tired creating a DA who will run on the loading of the page (bind) with following JS
Calendar is closed, but the date is not changed. Any thoughts?function bindCloseCalendar() { //alert('binding started'); $('.ui-datepicker-calendar td a').click( function() { //alert('Bind successful'); $('button.ui-datepicker-close').trigger('click'); } ); } $('img.ui-datepicker-trigger').click(function(){setTimeout(bindCloseCalendar,500);});
Kind regards
AmandineOh, I forgot to mention...
You can get it here-online
https://github.com/brandonaaron/livequery/downloads
See you soon
Ben
-
spatial databases give errors in the log when exporting
My databases of export fine, but Spatial databases installed show these errors in the logs for export...
database v11.2.0.2 Enterprise Group of 11 patches
ORA-39127: unexpected error of the call to local_str: = SYS. DBMS_EXPORT_EXTENSION. GET_DOMAIN_INDEX_METADATA('PARKING_SI','I_NAVTEQ','SDO_INDEX_METHOD_10I','MDSYS',11.02.00.00.00,newBlock,0)
ORA-01403: no data found
ORA-01403: no data found
ORA-06512: at "SYS." DBMS_EXPORT_EXTENSION", line 270
ORA-06512: at line 1
ORA-06512: at "SYS." Dbms_metadata", line 6498
expdp system / * DIRECTORY = export DUMPFILE = OSOW. DMP LOGFILE = OSOW. JOURNAL FULL = Y = 4 PARALLEL
also tried with sys as sysdba. same resultsHello
Install the patch Patch: 10402740
problem: ORA-39127 ORA-6512 in SYS. DBMS_EXPORT_EXTENSION during export Datapump of index of the field
Kind regards
Rakesh -
APEX DA validation using javascript
Hello
APEX 4.2 using (Oracle, 10 anf 11g)
I have a page and check off the items when click on the button "SUBMIT" using Javascript.
for example. I have a 10 page. P10_item1, P10_item2, P10_item3 so on. name of the button is SUBMIT.
Dynamic action: Click-> button-> action-> execute Javascript code
If ($x('P10_item1').value == "| $x('P10_item2').value ==" | $x('P10_item3').value == ") {}
Alert ('required fields can be left blank');
}
else {}
Apex. Submit ('SUBMIT');
}
ALL WORK fine, but I want to add the change of background color (field) if any field above is empty after
Click on submit. I added these to the CSS page
. Highlight-error
{
background-color: #FAE7E7! important;
color: white;
}
so, how can I use this css in my javascript code after warning message please?
Thank you very much.
Kind regards
RI
Hi RI,
(1) put that css for you have created for normal in background
Page-> css-> online
.highlight-ok { background-color: none !important; color: white; }
(2) check the else part
if ($x('P10_item1').value == '') { $("#P10_item1").addClass('highlight-error'); alert('Mandatory fields can be left blank'); } else if ($x('P10_item2').value == '') { $("#P10_item2").addClass('highlight-error'); alert('Mandatory fields can be left blank'); } else if ($x('P10_item3').value == '') { $("#P10_item3").addClass('highlight-error'); alert('Mandatory fields can be left blank'); } else { $("#P10_item1").addClass('highlight-ok'); $("#P10_item2").addClass('highlight-ok'); $("#P10_item3").addClass('highlight-ok'); apex.submit('SUBMIT'); }
Hope this helps,
Kind regards
Jitendra
-
APEX application Import/Export
Hello
I have my version of the application in the APEX on 10.2.0.4 databases that now I want to migrate to 11.2. Name of the schema in the back of my application is DBADMIN. What I did is, I just exported my current apex on 10.2.0.4 request and tried to import on my 11.2 but this is for me the following error message
This is the first time I migrate my application so please help to know what is the problem and how to solve it. Here are the details how I performed the operationORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 80, column 32: PLS-00103: Encountered the symbol &quot;!&quot; when expecting one of the following: ( - + case mod new not null &lt;an identifier&gt; &lt;a double-quoted delimited-identifier&gt; &lt;a bind variable&gt; continue avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date &lt;a string lit
Source APEX
-----------------
Name of the workspace = monitoring
User request application loged in this workspace and created = SALMAN
= Surveillance application name
Database schema name behind application = DBADMIN
I exported UNIX application and also format BACK
Destination APEX
----------------------
Name of the workspace = monitoring
Application user that loged to import the application = UTACADMIN
Database schema name behind application = DBADMIN and I already exported the schema of my database source imported all objects with data
Tried importer request for UNIX as well as BACK script but same error message as above.
Please guide me how can I got pass my request my source APEX has this new APEX
Thank youI hope may guide you http://download.oracle.com/docs/cd/E17556_01/doc/install.40/e15513/otn_install.htm#CBHBDAIF more
There is no need to install the runtime Environment when installed the full development environment, what you were doing with @apexins (it says in step 6: Select the option to install appropriate). That's enough.
Proceed to the next steps of the installation.
Miroslav
Published by: MiroslavK on May 31, 2011 10:49
-
Problem with Apex 3.2 export
Hello world
A few days ago, I upgraded my APEX of 3.1 to 3.2. It was easy and I had no problem.
After a few tests, everything seems to be right. Cams then the time to make a backup. I use the export as a backup tool utility.
After reading an excellent article by Jan Huyzentruyt "automatically backup your Apex Application", I built a batch file that calls the java class APEXExport. This package works well on Apex 3.1 but in 3.2 gives this error:
Exception in thread "main" java.lang.UnsupportedClassVersionError:
Oracle/apex/APEXExport (unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0 (Native Method)
to the java.lang... etc.
I said: well, no problem, I can always do an export of APEX interface... and it worked, but just for the curious, I compared my last 3.1 export with this recently generated 3.2 export and am surprised: it seems that export 3.2 loses some characters in the generated scripts.
For example. where should say "wwv_flow_api.g_id_offset", sometimes I randomly get "wwv_flow_ap.g_id_offset" (I miss) or "wwv_flow_ai.g_id_offset" (lack of P).
Play with the export options in the interface of the APEX, change of Format from UNIX to BACK, seems to give good export stuff, but File Format is about how lines end (LF or CR/LF) in the resulting file, for things or worse.
A deeper check SEEMS to show that occurs when characters missing when I use accented characters in the object what script is generated.
To work around these problems, I always use 3.1 APEXExport class from java to batch export.
Does anyone have the same problem?
Oscar
BTW: export-> File Format, in addition to the option UNIX and BACK, there is an option of database, but is not documented in the help file and the Application Builder User Guide. Can someone tell me what this option is for?Oscar - Install PL/SQL Web Toolkit 10.1.2.0.6 or higher. See for a recent example of success.
Scott
-
Application of JavaScript - TypeError: window of the CloseAlert not a function.
What causes this error, can you help me fix?
I use Windows 7 and the latest browser Foxfire.
- If you have many extensions then first turn on half of test extensions that half the problem.
- Continue to divide the bad half that still has the question until you find that one is causing it.
-
There was an automatic Windows Update this morning. Since then, I get the error message "type: Yahoo.widget.overlay is not a constructor ' when I open certain websites such as ancestry.com. Other sites such as Facebook, do any work. Everything looks garbled when I open the Web site. Other sites seem to be unaffected, although I have not more open. These errors are produced only with Firefox and not IE. IE still works very well.
A friend just to give me a tip that solved this problem. I went to the Options menu, content and unchecked the box that says "enable Java Script". I have no idea why this worked, but it solved the problem and all the Web sites seem to be working again.
-
MAPI error when you import or export messages in Outlook Express
If I try to import messages into Outlook Express, I get the following error message:
Messages cannot be imported from the MAPI client. Year error has occurred.
If I try to export messages from Outlook Express, I get the following error message:
The export could not be performed. An error occurred during initialization of MAPI.
someone knows the solution to the my problem?
-
APEX 5.0 Export to CSV produces duplicate records
Good day to you all:
I use APEX 5.0, and I have a classic report that has a total number of lines of 274. (274 documents also in SQL Developer). However, when I export the report to CSV, duplicate records are produced and the total number of lines increases to 365. Has anyone already known this before bug in APEX 5.0? I tried to reproduce the report to a type of interactive, but I get the same results when you export to CSV. Advice or guidance would be appreciated. Thank you.
Aqua
Hey Aqua,
If you are APEX 5.0.0 or 5.0.1? And which version of the database, you are on?
There was a problem with CLOB (which are used for the download) in 5.0.0 running on specific versions of 11 GR 2. A fix is included in the 5.0.1 patch set.
Concerning
Patrick
-
Error of APEX 5 compatible with process of PL/SQL
Try to use apex.oracle.com post apex 5 upgrade and I find the following error message in the console of the Chrome browser when opening the code editor
f4000_p4500_all.min.js?v=5.0.0.00.28:7 Uncaught TypeError: Cannot read property 'lineCount' of undefined
This makes the IDE unusable and I need to reload the page.
Firefox seems to have the same problem (I have no extensions in FF)
The screenshot is the superposition of the two
Hi Scott,.
by chance using the APEX developer Addon developed by Peter Raganitsch? We had similar to EA1 - 3 problem reports and all the problems of the Code Editor are down to this tool, which was not up-to-date.
Concerning
Patrick
Member of the APEX development team
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf
-
Various errors between Lightroom and Jeffrey "Export to Flickr" Plugin Flickr
Greetings.
It is really just a FYI forum post, in the hope that the error messages I received can help users of plugin from Adobe or Jeffrey Friedl; its export-to-flickr plugin has been much more reliable than the default of Macromedia, but it still gets errors sometimes - I attribute this especially on Flickr when it happens, but some of the error messages that I can't decipher, and devs can learn more.
Last week, in a single session of Lightroom, within two hours, the plugin has failed several times to download over and over again, and the following errors have been systematically posted:
(it was weird, because all images are imported at the same time, but 4 of them were given the status read-only; I attribute this to Lightroom).
(of course Flickr abandoned connection - so frustrating.)
(this happened many - totally no descriptive error!)
Again, these are FYI only - I guess that the thread is 'closed' as soon as I 'opened it"- but I hope this helps devs on either end make their software communicate better with each other.
See you soon.I get similar messages. Sometimes to download 100 images, I have to restart the download 10 times. Sometimes I can't download a special Collection to publish Smart for a month, it will not just download and then as if by magic, the next time it downloads.
Jeffrey told me by e-mail that his plugin simply reports messages from Flickr, so all the problems are problems caused by Flickr.
I think part of the problem is the parent company of that than yahoo Flickr! is in trouble, and the money and resources to maintain and improve the Flickr just isn't what it should be.
Maybe you are looking for
-
Podcasts in the section "On My Device?
iTunes v12.3.3.17 Podcasts are supposed to is displayed under ' my device' section of iTunes? If so, then how can I make it show up there? Thank you.
-
Can't do breaks in InDesign - Satellite Pro P300 (PSPCDE)
Hello I have a big problem. I wanted to work with Adobe InDesign. I want to write a text in a textfield, so I pressed 'Enter' (to the letter key) to write in a new paragraph. The second line was hidden and my teacher told me in InDesign, the two "Ent
-
Obtaining of row and column of a table element
Hello I have a table of 24 rows and column 24 giving me a total of 576 items. How can I get the row and column of a particular element in a table in LabView. For example if I write to item 127 How can I get the column and line item 127 is located. Ki
-
Multiple is plotted on the XY graph (by iteration)
Hi all I wrote a program that allows me to chart the theoretical data and change it in real-time to see how it changes the plots. Currently, I have all the equations in a for loop and have the berries each iteration XY are clusterted together and au
-
Safely remove device applet for esata drives
Is there a sure way to stop a drive esata, constantly? tnxs bb