Application Express :: Setting Source Of Popup Lov Field As SQL Query

Oct 12, 2012

I am having a problem with a popup lov. When I click on the "popup icon" I can select a supplier and it is stored in the field. But when I leave the form and return later, it shows the return value instead of the display value. For example: you select "supplier A" from the popup list with ID 12. "Supplier A" is shown in the text field, when you save the form, it stores ID 12 in it. But when you return to the form, it fetches ID 12 and shows "12" in the text field instead of "Supplier A".

I tried setting the "source" of the popup lov field as an SQL query, but that didn't work for me.

View 5 Replies


ADVERTISEMENT

Application Express :: Set Popup LOV Value From JavaScript?

Sep 3, 2013

I use APEX 4.2.2 and in my page I call a Modal Region to insert a new customer using AIAX and OnDemand PL/SQL process, then I need to set the inserted value into the Popup LOV from javascript. I used the code

:$('dialog').dialog('close');$('P20_CUSTOMER').trigger('apexrefresh');$('P20_CUSTOMER').one('apexafterrefresh', function()  { apex.item('P20_CUSTOMER').setValue(ajaxResult, $v('P20_DESCRIPTION'));} 

where P20_CUSTOMER is the Popup LOV, ajaxResult is the PK returning from the OnDemand PL/SQL process and P20_DESCRIPTION is an APEX Item of the Modal Region. The new customer is inserted successfully into the table and the PK value returned to javascript code, but the new value is not displayed into the LOV.

View 1 Replies View Related

Application Express :: Update Field On Change For SQL Query

Nov 26, 2012

We are using APEX 4.2, 10GR2, RedHat5.

I have a report that comes from SQL Query (updateable report). I'm using the apex_item.text and apex_item.hidden on fields. I'm using a button to submit and after submit process to add some logic that I need.

There could be 1 - 10 records in the report. There is only 1 field that is needed to enter a value, but the value of this field determines the value of another field. I think that I can do this with a submit button and an after submit process where I loop through all the records. I think I have this handled.

This is the question

When the value of that field is changed then the value of another field in the same row changes immediately. All the examples I've seen so far are for a single record and that doesn't work for us.

I guess this is a MRU process but I haven't seen an example where a dynamic action is possible on a Multi Row Update.

View 4 Replies View Related

Application Express :: IR Report Date Column Popup

Apr 30, 2013

I have an IR report and want to add another column such as complete_date. I want to add as a link so when user click it then should display the popup window or javascript popup for date selection. i don't want to use apex_item.date_popup or apex_item.date_popup2. On date selection popup user can choose only two dates such as yesterday or today all other date should be disabled?

View 2 Replies View Related

Application Express :: Last Image Of Popup List Of Value Does Not Hide

Dec 27, 2012

i am using Apex 3.2,

i am display popup list of value item with out refresh when i select some value from Radio button. But Pop up item lable and element is Hide but in last image of popup list of value does not Hide .

How can i hide this image of popup list of values

i am using
<script>
function Show_On_Radio_Value_2(pThis, pThat, pValue, pLabel){
   var rv = html_RadioValue(pThis);
   var elm = document.getElementById(pThat);

[Code]...

View 0 Replies View Related

Application Express :: Passing Values To Modal Popup?

Aug 23, 2012

this modal popup, it works correctly but not passing values from page page1 to my page3. How do i pass these paramater values to page3,

function modalWin() {
if (window.showModalDialog) {
window.showModalDialog("f?p=&APP_ID.:3:&SESSION.:POP:NO::P3_EMPNO:#P1_CUSTOMER_ID#::","name","dialogWidth:600px;dialogHeight:400px");

[Code].....

View 4 Replies View Related

Application Express :: Adding Checksum To URL For Popup Window

Oct 18, 2012

Using Apex 4.1.1

I have button which opens up a pop-up showing a report passing some parameter in URL. The button calls the javascript function defined below:

<script language="JavaScript" type="text/javascript">
  function newReport()
     {
          url = 'f?
[Code]...

It all works well but for security I would like to add checksum to arguments in URL. I had a look at the Javascrpt API for Apex and couldn't find any for creating a checksum I can append to the URL.

Is there one that I missed or is it possible to do it by other means?.

View 2 Replies View Related

Application Express :: Tree To Popup A Called Page

Feb 8, 2013

Ive created a tree structure and i want it to popup the called page.select case when connect_by_isleaf = 1 then 0

            when level = 1             then 1
            else                           -1
       end as status,
       level,
       '<SPAN style="color:red;">' || "ENAME" || '</SPAN>'  as title,
       (case when level = 1 then '#IMAGE_PREFIX#Fndtre11.gif'
  [code]....          

View 6 Replies View Related

Application Express :: Modal Popup Window Hides?

Aug 20, 2012

today I stepped upon an issue regarding popup windows.I have created an application with popup windows for editing and inserting new records.I left the item label templates to "Optional with Help".When I now click upon an item label the help - popup window appears but it is hidden behind the popup window I am working in.

Is there a workaround for that.Is there a possibility to modify the z-order either of the help popup or of the modal window ?

View 6 Replies View Related

Application Express :: Popup LOV Template Subscription - Report Says Not Subscribed?

Apr 11, 2013

APEX 4.1.1.00.23 on 11gR2 - browser independent issue.

We are converting all of our applications to use a standard centralised theme (23). This is fine and seems to work for all templates except for Popup LOV. When you choose the master template it shows as subscribed from within the template detail page, but in the apex_application_templates view and in Shared Components/Templates it is the only item showing as not subscribed.

My guess is simply that the apex_application_templates view does not cover popup LOVs perfectly for some reason but it

View 0 Replies View Related

Application Express :: Refreshing Main Page After Closing Skillbuilder Popup?

Aug 17, 2012

I need to refresh my main page after closing the popup page displayed by skillbuilder plugin

apex 4.1.0/Oracle 11g Ent.

View 9 Replies View Related

Application Express :: JQuery Mobile - Popup Only Opens After F5 / But Not On First Page-load

Feb 12, 2013

how to combine APEX 4.2 with jquery mobile componentsOn one page with a hole bunch of components there is also a popup-div<div id="myPopup" data-role="popup">

 <!-- close button, safe button, input field and short list... -->
</div>It gets opened with js:  $( "#myPopup" ).popup( "open" );

This all works fine, besides the face that it only works after refreshing the page! The page gets loaded via js:    $.mobile.changePage('f?p='+ $v('pFlowId') +':20:' + $v('pInstance') { transition:"slide", reloadPage:true });...

which also works fine so far. That same problem I had before when I was using a dialog instead of the popup. - only showing after refreshing the page.

This certainly must have something to do with how JQM loads and renders the page (besides the APEX-job) - a rather basic issue. I have also tried different ways of calling the page, with no difference to that problem.

View 6 Replies View Related

Application Express :: Error When Calling Skillbuilder Popup In Edit Record Mode?

Jan 3, 2013

Iam facing another issue with Skillbuilder modal page(for those who have used this plugins). Ive the CREATE part working well the problem is with EDIT part to edit records via the link i applied all the steps and clicking the edit link pops up the page but the issue is for any clicked row the parameter is not being passed and seleceted record doesnt show on the pop up page where could the problem be? though if i set it back to normal link created by the wizard the edit link works well and shows that record on the editable page.

Apex 4.1.1/oracle 11gR2 ; issue happens in FF & IE

View 3 Replies View Related

Application Express :: Source Of Interactive Report

Jul 31, 2012

I have an error why trying to update the source of my interactive report the error is : 1 error has occurred

The report query needs a unique key to identify each row. The supplied key cannot be used for this query. Please edit the report attributes to define a unique key column. ORA-01446: cannot select ROWID from, or sample, a view with DISTINCT, GROUP BY, etc.

The SQL query is :

select l.code_lignebip, m.identifiant_mission, m.libelle_mission, SUM(b.nbr_jours),
SUM(c.nbr_jours_consome), c.nbr_jours_realise, c.nbr_jours_raf, c.nbr_jours_reestime, c.lundi, c.mardi, c.mercredi, c.jeudi, c.vendredi
FROM missions m, bip l, cra c, budgets b
[code]....

View 2 Replies View Related

Application Express :: Setting MaxDate Using Javascript?

Jun 24, 2013

I am struggling to set the maxDate of a datetimepicker.

In the document load of the page I have this:

$('#P64_STARTDT').datepicker("option", "maxDate", $v('P64_XFORMATSTARTDT'));

P64_XFORMATSTARTDT is in the format YYYYMMDDHH24MI

It never sets it.

View 3 Replies View Related

Application Express :: Setting Up SSO In Work Area?

Jul 5, 2012

How to set up Apex SSO in your work area? I have been trying to set it up, but to no avail. I even tried asking support but still under oblivion.

Have you able to run this script before?

apex_sso.sql, apex_verify.sql, apex_sso_server.sql

My output for this scripts are good.

View 0 Replies View Related

Application Express :: 4.2 - Where Is Flash Chart Region Source

Sep 4, 2012

I just noticed on apex.oracle.com (4.2) that I couldn't find the region source for flash charts. I expected to find it under the Region Definition tab.

Has this moved or will it be included in a later release?

View 12 Replies View Related

Application Express :: Setting Default Login Page

Nov 1, 2012

I am working on an existing application updating it to use custom authentication. When I changed the active authentication scheme APEX created a new login page (121). Why? How do I set it back to the login page I was using previously which I ahve customized somewhat?

View 4 Replies View Related

Application Express :: Report With Links To External Source Files

Mar 25, 2013

Application which I`m creating would work only inside domain. In the report I would like to have a link to files that stored outside from oracle server ( so apex cannot see the file but knows the absolute path to the file ).

And when I click in the report on the link to the file I would like to have this file opened in the application controlled from my OS ( naturally if I have rights to the path specified given from domain level).

I have been trying with column link ( a href, file:// ) and none of them works. I want to avoid APEX from copying files to local path or opening using java or creating directory.

View 2 Replies View Related

Application Express :: Setting Value Of Column Depending On LOV Selection Tabular Form

Mar 7, 2013

We have a master detail form with report that inserts the details in both region/ sub region.

However our requirement is that in sub region we have a LOV to chose the service, and each service has a price. How can we populate the Price column based on the selection of the Service? There are some similar posts but we cannot apply to our form.

Application Express 4.2.1.00.08
Oracle Database 11g Express Edition Release 11.2.0.2.0

View 2 Replies View Related

Application Express :: Setting Foreign Key Value In Detail Tabular Form Region On Submit

Feb 27, 2013

I have a master detail screen where the detail region is a tabular form. I want to create a new master and detail records at the same time. The master uses a get PK process on submit that gets the PK from a sequence.

Obviously I need to set this value in the FK column on the new detail records on submit also, but I just cannot see how this is done. Fine for updates etc, but this is when the master is new as well. A two stage process is not an option here.

View 0 Replies View Related

Forms :: Field Column Setting?

Sep 30, 2013

I am currently working on a bug that came from a user. An oracle form is used for entering employee information and the backend table is employees. One for the field here is LAN ID. It was found that some users were using space bar either before or after entering the Lan id and this is causing issues in finding the employees in the system. A request is being submitted to not let any blanks or space to be entered in the field. In the table, this particular field/column datatype is varchar2 and the size is 8.

How do I make no blanks or spaces to be entered in the field or otherwise, even if they put a space or blank, the field should only use the actual ID entered.. Is it possible?

View 9 Replies View Related

Application Express :: Set Value For Read-only Field?

Sep 22, 2012

I have a form that based on a table,

Col1: text field
Col2: text field with Disabled =Yes and Save session state = Yes

I create a dynamic action on Col1 to set value for Col2, when I submit page an error raised: Session state protection violation

visit: [URL]...

My purpose is: Col2 is set value by Col1 via Dynamic action, and is read-only, user cannot modify.

View 7 Replies View Related

Application Express :: Recognize A Change Of A Field Value?

Aug 21, 2012

I created a table (software defect details) and an interactive report on it. Users can go to the details form where they can manage many information: STATUS is one of them and they can change it or not.

I would like to send an email when SUBMIT botton is pressed only if field STATUS has changed. How can I detect this? I mean, I wrote a procedure in order to send an email and it works, but it runs always: I cannot set it running only when the content of STATUS_ID has changed.

how to understand if a field value has changed and, if possible what the old values was? I know how to do that by using a trigger (:old.status, :new.status) but I don't when using an APEX procedure.

View 4 Replies View Related

Application Express :: Change LOV Based On Another Field Value?

Sep 26, 2012

I have a need to change the LOV of a page item's select list based on the selection in another page item's select list. So in other words, for a page item that is a select list, I need to use one LOV normally, and a different LOV if the value of a different page item is set to X.

A dynamic action would be useful here (on change where Select List 1 = x), but I don't know how to take the action of changing LOVsfor Select List 2 based on that action.

View 5 Replies View Related

Application Express :: 4.2 - Validate Field In Tabular Forms?

May 13, 2013

1.- i have a product_item field (wich is a lov and user choose one value), so i need to call a function (sending it the selected value product_item) that will return me some data about the product i selected, for example :

if the function return 'A' then
disable the next item on tabular form, lets say quantity
else
enable the next item on tabular form, lets say quantity
end if

2.- i need to determine the result of two items operations:
total := final_quantity - start_quantity
the user will introduce start and final quantity and i will determine the total.

View 0 Replies View Related

Application Express :: Numeric Field In Tabular Form

Mar 25, 2013

I am using APEX 4.1 and Oracle 10g XE.

I want to restrict 3 digits after decimal in tabular form. Only three or less than three digits should be allowed after decimal and should be stopped automatically.

e.g. 34.543

View 6 Replies View Related

Application Express :: How To Change Grayed Field Font

Nov 7, 2013

I need to change the grayed field item font ... ie i need to make disabled item value to be bright to achieve this what i have to do.

View 6 Replies View Related

Application Express :: Default Value Date Picker Field

Nov 21, 2012

In a detail tabular form I am referencing a date picker field from the master form as default value.This is the situation in the detail form:

TABULAR FORM
Column Name: FECHAREGISTRO -- the field's name in the detail tabular form

Default Type: Item (application or page item name)
Default: P68_FECHAREGISTRO -- It's a field in the master form and also is Date Picker format
Reference Table Owner: SAMPEDRORIVEROS
Reference Table Name: BITACORAABOGADO
Reference Column Name: FECHAREGISTRO -- It's a date field in the database

At execution time I have the error:

report error:ORA-01790: expression must have same datatype as corresponding expression

I think it is because i must use to_date and to_char in order to change the datatype and i have tried using:

Default: to_date(to_char(:P68_FECHAREGISTRO,'DD-MON-YYYY'),'DD-MON-YYYY')

and in Default Type: PL/SQL Expression or Function but I get a different message at execution time:

report error: ORA-01722: invalid number.

View 1 Replies View Related

Application Express :: How To Update Total - New Value Doesn't Display In Field?

Oct 18, 2012

Let's say that we have an order entry app and the price and quantity items are already populated. We now want to show the user the extended price (the product of the first two items). the extended price would automatically display after both the quantity and price items are entered. I'm assuming that would require some kind of client-side processing. I imagine server-side processing is simpler, so I'll lean in that direction. I'm sure we've all seen web sites that require you to click a button for the order totals to be updated. I'm okay with that approach, but I haven't quite put all of the pieces together. Here's what I came up with.

A region button was added to trigger the updating of the extended price. The button's "Action When Button Clicked" is to submit the page. Under "Page Processing", a process was created to do the calculation with the recipient of the product being a page item. From debug code in the procedure, I can see that the item containing the extended price was, indeed, modified. But the new value doesn't display in the field and the Session window shows that the value of the item didn't change.

I must be missing something. The debug code says the item value was updated. The Session window says it wasn't updated. What gives? What did I do wrong and what needs to be done to correct this?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved