Application Express :: How To Get Value Of Clicked Item In Shuttle Control

Jul 17, 2012

I have a shuttle control (P8_SHUTTLE) that lists then names from scott.emp.

Now I want to create a dynamic action that fires when I click on one of the names on the left side of the shuttle control.

I want the dynamic action to recognize the name of the employee that was clicked, and then set the value of a text item (P8_LAST_VALUE) to that ename. (Eventually I want to display the department of that employee in the other text item).

Here are screen shots of my DA:

[URL].....

Currently, when I click an item in the shuttle control, the text item P8_LAST_VALUE remains blank.

View 2 Replies


ADVERTISEMENT

Application Express :: Action When Button Clicked - Redirect To URL

Feb 6, 2013

I have tested the following html page:

<html>
<body>
Click me
</html>

and is working fine when I click on the button on the created page.

However, using the same thing under the "Action When Button Clicked -- Redirect to URL" when create a new button, i.e:

javascript:window.open ('file:///c:/sample/','Documents');

will only open a new window, but blank in content!

View 2 Replies View Related

Application Express :: Filter Shuttle Using Dynamic Actions

Sep 7, 2012

I am using Apex 4.1 and builder theme.I came across this thread to filter the shuttle values based on javascript in dynamic action.Auto filter Shuttle selection list

I created a shuttle and a textbox as described but the dynamic action is not clear. And It is not working for me. The steps are not so clear and i guess the javascript is not complete.

View 2 Replies View Related

Application Express :: Refresh Tree On Change Of Shuttle

Sep 27, 2012

I have a requirement in which on Change event of shuttle, the tree present in another region of the same page should refresh. On refresh, the tree should include the values selected on the right hand side of the shuttle as its nodes.

View 3 Replies View Related

Application Express :: 4.0.2 - Shuttle Empty When On IPad / Safari

Aug 21, 2012

(Apex 4.0.2) This thread mentions the same problem I am having:

Shuttle empty when on iPad / safari

In the iPad, the shuttle item displays like this:

Select                     >>                          
Stores [0 items    [...]]  >   [0 items [...]]
<
<<You need to click on the select list on the left, select the items you want to transfer to the right, then click the > icon. Not very user friendly.

The same on the right side: it always says "0 items" even when there are items in the right of the shuttle. Looks like an iPad issue. Are there any workarounds for it?

View 1 Replies View Related

Application Express :: Shuttle / How To Reference Selected Items On The Right Side

Sep 13, 2012

I have a simple shuttle:

1 Adam
2 Baker
3 Charlie
4 Delta
5 Echo
6 Foxtrot

Select Name D, UserID R from UserTable

The values are stored in a VARCHAR2 field MULTI_USER (for example 1:2:4:6) When I want to get the names back from the selected item, how do I reference the colon-separated items?

For example:

Select Name from UserTable
where UserID in (select MULTI_USER from MULTI_USER where MULTI_USER_ID = 1)

should return:

Adam
Baker
Delta
Foxtrot

View 2 Replies View Related

Application Express :: Force Report To Return To Top Of Page / Screen When Previous / Next Clicked?

Jan 10, 2013

We have several interactive reports setup and some of them can display more than one screen of data at a time, depending on the results returned.

All of the reports have prev/next pagination links at the top and bottom of the reports. For the longer reports, if you click prev/next at the bottom of the reprot, the prev/next page will display. But, you will still be at the bottom of the page/screen. Is there a way to force the report to return to the top of the page/screen when prev/next is clicked?

View 1 Replies View Related

Application Express :: Reset Data Picker Page Item By Selection Page Item

Aug 23, 2012

Need to create a report based on date ranges and for this created a interactive report and two page item datepicker fields P15_fromdate and p15_todate. Report works fine with this criteria.But user wants one more field quarter(P15_quarter), When they select the quarter the range values has to get reset and as to get applied to report.

Issue here is unable to find a way to set the page range item values based on the quarter field selection

how to reset the page item fields.

View 0 Replies View Related

Application Express :: IR Does Not Recognize The Application Item Content Correctly

Aug 22, 2013

I have an application item that receives a web service result. This result is like 'MARIA','JOSE','JESUS'. I'm using this string into the parameters of the interactive report, but this is not recognized. I'm showing the content of the application item into a pl sql region and the content is 'MARIA','JOSE','JESUS', when I include this application item into the query, the IR shows me 'MARIA','JOSE','JESUS' 

View 1 Replies View Related

Application Express :: Can't Get Current Value Of Item

Aug 14, 2012

i user javascript to set a item value by a Partial Page Refresh .then i want to turn to another page by a button and Transfer the item's new value to the second page's item,but the value of the item is always teh old value but not de new value,how can i get the new value of the item first.

View 2 Replies View Related

Application Express :: How To Make Use Of Error Template Control

Oct 2, 2012

I actually have tried to read the Customizing Templates chapter of the Users Guide. According to that guide, the following substitution strings are supported in the the Error Template Control section of page templates.

#MESSAGE# and #ADDITIONAL_INFO# - Places the error message.
#TECHNICAL_INFO# - Displays detailed internal error information which will just be visible for developers.
#BACK_LINK# - Displays a link back to the previous page.
#OK# and #RETURN_TO_APPLICATION# - Returns to translated text strings.

However, if I enter the follow code

<p> message:     #MESSAGE# </p>
<p> additional info:   #ADDITIONAL_INFO# </p>
<p> techie stuff:     #TECHNICAL_INFO# </p>
<p> back link:     #BACK_LINK# </p>
[code]........

return to application: Return to application.

It appears that only the first substitution string is doing anything. I'm especially interested in additional info and technical info. The back_link just looks like an html snippet, not sure why I would use a substitution string for this. I imagine the last two could facilitate site translation, but that doesn't work much if there is no machinery for translating error messages themselves.

View 5 Replies View Related

Application Express :: Item Value In A Classic Report?

Oct 3, 2012

I have the release 4.1.1. I have this problem:

- i have a master-detail page

- in a detail there is a classic report

- some item of the row of report are the select list based on LOV

I need to get the value of item inside the select list.

View 1 Replies View Related

Application Express :: Two Validations On One Page Item?

Jun 13, 2013

it is possible to have two Validations one Page Item. Also I need to execute them one by one. If one is passed then go to the other and validate that one. 

Example:P20_FORM_ACTIONP20_REOPENP20_REASON Validation 1: P20_REASON  != 0 with condition P20_FORM_ACTION = CLOSEIf Validation 1 is passed then go to Validation 2Validation 2: P20_REASON  != 0 with condition P20_REOPEN = YES

If Validation 2 is passed, then submit the form otherwise get error.  is possible in Application Express 4.2.2.00.11. I tried to put the validations as described above into my application, but it did not work. Only one Validation was executed. 

View 6 Replies View Related

Application Express :: Get ID (Number) Of Apex Item

Jan 15, 2013

I am wanting to open up an Item's Help popup feature using a different button.

I understand I need to call:

javascript:popupFieldHelp($('1234567','&SESSION.');

Where 1234567 is the items id.

So my question is how do I get the items ID?

I thought it was something similar:

$('#P1_ITEM_TEST').attr('id')

But this returns P1_ITEM_TEST, I want the ID or Sequence of the item.

View 1 Replies View Related

Application Express :: Global Item Date

Dec 19, 2012

in my application I have several pages with the item of date. How to ensure that all items had the same date for all pages and can be set on each page ?.

Application Express: 4.1.0.00.32
DB: Version     10.2.0.4.0

View 7 Replies View Related

Application Express :: Dynamic Page Item Name

Nov 1, 2012

I have a from with some fields (VELD01, VELD02...VELD11) and a page process that fills that field. I want to make that more dynamic using a loop. Is it possible to use some 'dynamic SQL' like:

l_cnt := 1;
for r in c
loop
P1210_VELD0||l_cnt;
l_cnt := l_cnt + 1;
end loop;

Example above does not work of course...

View 3 Replies View Related

Application Express :: Prevent Changing Value Of Item?

Sep 17, 2012

Im my application, after login, I have a hidden & protected item whose value I am setting based on a logic. Also I would like to access this item's value in a application process, so session will have this value. Now I do not want anybody to be able to change the value of this item. For Eg, if my item was P1_RESP, I was able to change its value in the following way, I have an edit link on somr IR, where I redirect to another page passing some values and the URL looks like : [URL] After the browser loads, I can edit the above URL to below and click enter, [URL]

View 1 Replies View Related

Application Express :: After Hiding Item / Its Value Cannot Be Used In Query

Jul 30, 2013

I am using its value in a query by using sql collection array. My requirement is that I need to hide that shuttle. But when I hide the shuttle, its value is not retrived by the query.

View 4 Replies View Related

Application Express :: Formatting (dollar Value) Within ITEM?

Mar 21, 2013

So I'm trying to display a monetary value in an item.

SELECT to_char(SUM(TXN_AMT),'$9,999') from CMS_COST_TRACKING where UPPER(TXN_NODE)='VMAX'this results in ######### in the item

If I remove the to_char formatting then the SUM displays correctly.Is this a restriction of some kind. The item is a display only.

APEX Application Express 4.1.1.00.23
ORacle 11G.

View 1 Replies View Related

Application Express :: Transaction Control - How To Handle Cancel Button

Apr 11, 2013

[save] button can be done but how to handle [cancel] button

Master record
Transaction record 1
Transaction record 2
Transaction record 3the user does one/all of the following changes

Master record
Transaction record 1 : deleted
Transaction record 2
Transaction record 3 :edited
Transaction record 4 :new added

now the Requirement is :

when the user hits [ save ] all the records are saved
with in *new master record ID*

else

when the user hits [ ignore/cancel ] all the *Actions on transaction is rolledback*

View 1 Replies View Related

Application Express :: Control Break Appearance In Interactive Report

Sep 4, 2013

I'm using a control break on 3 columns in my report, but when doing this Apex shows the columns comma-separated, like: Column A: value, Column B: value, Column C: value But I would like it to look like:

Column A: value
Column B: value
Column C: value 

Is there any way of achieving this? I am currently working with the test environment Oracle supplied us, because we are testing if we can use APEX at our company. The version is Application Express 4.2.2.00.11 and it's running on Oracle 11g. Im using Firefox but it's just the same in IE. 

View 10 Replies View Related

Application Express :: Use Page Item In LOV That Was Set By Dynamic Action?

Aug 15, 2012

I have a situation where I need to reference a hidden item in a List of Values (for a pull-down list) SQL statement. It doesn't seem to be working properly. Here is what I have:

1) Using a dynamic action, set the value of a hidden item based on the change of Select List 1.

2) Select List 2 has a parent LOV item of Select List 1, and the Select statement for Select List 2 uses the hidden item that was set from the dynamic action above.

I can see that the dynamic action is working correctly. But when I change Select List 1, the Select List 2 does not show any values from its LOV.

I'm wondering if the LOV for Select List 2 is not working because the item used in the SQL statement was set by a dynamic action?

View 7 Replies View Related

Application Express :: Interactive Report - How To Get Item Values

Mar 27, 2013

I have created a workflow which is going through 12 pages. At each page the user needs to choose his variables.

This could be the y-axes, x-axes, amount, surname ... etc. The variables are given to the next page via branch to next page process. Everything works well until I need to create an interactive report out of the chosen variables.

Lets say I have a variable called :P7_XAXIS with static LOV :

Amount,Amount;Date,Date;quantity,quantity

Page 8 is my IR. If I try :

Select :P7_XAXIS  from mytable This will not work.

But if I try

Select Date from mytable This will work. Why? In my workflow there are several variables that can be used in a where condition. This also works. But I need to access the values before the condition and I also need to get a chart out of it.

View 1 Replies View Related

Application Express :: Passing Item Values To Javascript

Nov 23, 2012

APEX 4.2 - Base code from Denes examples

CODE ON HTML HEADER

<script language="JavaScript" type="text/javascript">
function f_setglp(pThis,p_app_item,p_other_record_level_item)
{    
var curr_id = $x(pThis).id; // OK !
var curr_glp = $x(p_app_item).id; // returns undefined
var curr_orli = $x(p_other_record_level_item).id; // returns undefined

[Code]...

The Javasxcript function fires OK on click in the "Product" attribute but: PMO_GLP_PK is an Application Item that Javascript can´t reference as I called YES_NO is another tabular form attribute and the reference returns also "undefined"

what is the best way to implement this ?

View 4 Replies View Related

Application Express :: Password Item Not Getting Cleared After Login?

Nov 27, 2012

I have two pages

1. Login Page  contains two items
P1_LOGINNAME - Textfield 
P1_PASSWORD - Password

2. Data entry form created using page items.  - This page is used to create new users
This page contains many items but issue with only two items.
P10_LOGINNAME - Textfield 
P10_PASSWORD - Password

These items are used for creating loginname and password for new user. When i am logging with admin user ,Chrome browser prompts for save password or not save password

1. When i am logging with save password option then
LOGINNAME and PASSWORD of Login page is reflecting on the LOGINNAME and PASSWORD of Data entry page.

so how can i clear the LOGINNAME and PASSWORD item on Data entry page after login.I have tried  to set blank to these fields after login

document.getElementById('P10_LOGINNAME').value = '';
document.getElementById('P10_PASSWORD').value = '';

// This is working in Firefox but not in chrome.APEX Version : 4.1
Database : 10g

View 6 Replies View Related

Application Express :: Page Item Only Refresh Into Session?

Mar 24, 2013

I have some troubles with a "Set Value" Dynamic Action. What I want to do is set a Page Item with a specific variable derived from javascript. So basically I have a javascript variable 'test' that is being changed in javascript code. I am using a dynamic Action "Set Value" to set this value into a page item. As source, Im using "Javascript Expression". It is working, however, the Set Value Dynamic Action with JAvascript expression does not reflect this change in the session, so the page item is not updated.

I tried:

$s -> does not work
apex.submit -> does work, however submits the page. I need to submit only the Page item.

View 3 Replies View Related

Application Express :: How To Retrieve Item Help Text From Database

May 23, 2013

I would like to let the customer edit the item help text. Is it possible to retrieve item help text from my own custom database table based via a PLSQL function call or something similar?

View 4 Replies View Related

Application Express :: File Browse Item Translation

Mar 14, 2013

I would like to ask if is possible to translate the "Browse..." button of File Browse item.

For me it seems that the button cannot be translated to a different language. I have tried to export the XLIFF and there is no string like "Browse...", also I have tried to edit it manually in translation repository, but the string is not present here.

View 3 Replies View Related

Application Express :: How To Use Display Image Item On Page

Sep 24, 2012

APEX 4.0 Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server

I have a table which contain 3 columns, see below:

id primary key
pic1 blob
pic2 blog

there is 1 row in it(id=1), just for display 2 images.

Uploaded 2 images into above Blob fields by file browse function. Now, I want to show the 2 pictures in a Region by using display image item P1_AR, but it didn't work.

Based on: BLOB Columns specified in item source
Alternative Text Column: null
Filename Column: null
BLOB last update Column: nullSource used: Only when current value in session state is null
Source type: SQL Query(return single value)
Source value or express: select dbms_lob.getlength(PIC) from cp_pic where id=1

I got the error below after runing:
ORA-20999: P1_AR has to have a valid BLOB column as source

View 7 Replies View Related

Application Express :: How To make Item Mandatory Dynamically

Oct 24, 2013

How to  make an item as a  mandatory field dynamically with the change of another item in different regions

View 10 Replies View Related







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