Resetting query fields on LOV popup
I'm having an issue with LOV popups on inputListOfValues components. If I do a query based on one or more attributes of the LOV and then exit the search and select popup (either by selecting a result and clicking OK, or just by canceling the popup), whatever I have typed will still be there the next time I go to this LOV's popup, except for one field of the query, the one that needs to be set on the VO's attribute I'm using the LOV on. which will be empty. Also, the reset button in the popup doesn't work.
This only happens if I set AM Pooling to false on the Application Module I'm using for the VO that's using the LOV. By default AM Pooling is on, and then everything works as it should, the reset button works and the fields on the popup get reset each time I enter the popup, which is what I want. It's like this for every LOV in the application (which are all View Objects that use entities)
I'm using JDeveloper 11.1.1.7
If anyone's interested, I found out what was wrong, the page item the LOV query is referencing has to be set at page load. So if I put a computation to set :P3_VALUE "before header" it will work fine, otherwise it will not. If I use a select list it does not care when :P3_VALUE is set as long as it's sequence if before the LOV page item itself. I've noticed this happens with other things in apex. For example a flash chart has to have variables used defined "before header" load.
Similar Messages
-
Change font color in the Text Field of a Popup Key LOV
Hello,
I have a question concerning Popup Key LOV.
I want to change the font color in the Text Field of the Popup Key LOV Item.
I searched the forum but I cannot find an answer about this! Although I searched the CSS and the Popup Key LOV Template, but I do not know where to modify the font color.
Has anyone an idea how to solve that problem?
Regards,
TimHey,
thank for your reply!
I use style="color:#000000;" and it work in Firefox, but not in Internet Explorer 7.0!
And that is not the first time, that there are differences in displaying those tags in the HTML Form Element Attributes and in css files, etc.
Does anybody know I to solve that?
Thank you,
Tim -
Using multiple LOV popups in a multi-row updatable report but save to 1 col
Hi,
I'm trying to generate a multirow updatable report, which has only 1 writeable column. There is a read-only column that indicates the type of value that the writeable column should contain (it's a varchar2). The second column will be a LOV popup.
I can create the report by setting the 2nd column to a LOV and it's fine, however I really want the LOV to be different, depending upon the value of the first column for the row.
For example, if the first column is "list" then I want the popup to show all my "lists"
If the first column is "role" then I want to the popup to show all my "roles".
There will be a mixture of values within the entire rowset.
I've so far managed to use a case statement to generate different LOV popups, which are displayed as required but the returned data isn't written back to the correct field.
If I use the same p_idx value then there is only one javascript function created and it always stores the data in the first rows column.
If I use unique p_idx values, then it works better but selecting a value for the 2nd row will store it there but also overwrite the 1st rows value as well.
My SQL for the report currently looks like this (cut down for clarity)
SELECT RULACTPRMIDD, /* PK */
CASE PRMNME /* type */
WHEN 'list' THEN
APEX_ITEM.POPUPKEY_FROM_QUERY(2,rulactprmval,
'SELECT LSTNME r, LSTNME d FROM LSTLST', 0)
WHEN 'role' THEN
APEX_ITEM.POPUPKEY_FROM_QUERY(2,rulactprmval,
'SELECT ROLNME r, ROLNME d FROM PDRROL', 0)
END dynamic_popup
FROM CPNRULACTPRM
I can't think of an example where i've seen this done within the Apex development environment otherwise I would refer you to that.
An alternative option would be to pass the type of value required to the same LOV and then get the LOV query to only show the appropriate values - i'll look into this as a workaround option.
thanksUser478832,
I didn't look thru all the code but I have a feeling your problem is the 9th line in the On Demand process. (the 9th line in this post anyway)...
htp.prn('<option value="' || rec.cpc_name|| '">' || rec.cpc_name|| '</option>');
You modified your query to get a different column but your returning the same column later: rec.cpc_name x2
I assume you want to display NAME and return ID so change it like this...
htp.prn('<option value="' || rec.cpc_id || '">' || rec.cpc_name|| '</option>');
Let me know if that helps...
Dan -
How to open a LOV popup programatically?
Hi All,
I am using JDeveloper Version 11.1.1.1.0.
I need to open LOV popup when pressing a push Button in my page.
I am using (af:inputListOfValues) tag in .JSPX and (RichInputListOfValues) component in Backing Bean.
Any help would be appreciated.
Thanks,
Srinivas.kandulaHi,
Welcome to OTN.
Do you mean, you want to change the default find icon (that would be displayed next to the inputListOfValues field) to a button? Or you want to have a command button on which you want to invoke the LOV in a popup?
You may want to go through the [ADF Faces Demo |http://jdevadf.oracle.com/adf-richclient-demo/faces/index.jspx] (Navigate to tag guide and select inputListOfValues for an example).
-Arun -
How to replace LOV popup with a search screen that opens within same window
Hi,
We have a requirement to get rid of LOV popups from our custom OA pages. They need to be replaced by search pages that open within the same window.
For example, we are creating an employee assignment to a department. We first find the employee (currently using the LOV), then the department (currently using another LOV) and then save the new assignmnet record.
The two options we have are:
1. search page fully replaces the current page, and when the user has selected a record, it returns them back to the first page, setting some fields, eg. employee id, employee name, employee address fields.
2. search page opens in a region of the same page (PPR?) and then disappears once the user has seleted a record.
I am not sure how to do this, and really could do with some pointers, i.e. the best way to achieve this.
Thanks in advance
MarkBoth of your options are valid with some pros and cons.
option 1: It gives you a nice interface but then you will have a pass a large number of data back to 1st page.
options 2: You can use the Rendered property of a serach region at runtime and achieve your goal. Since it will be a single page, result set to base items mapping will be easier. Though this kind of UI will look bad if your search region is big.
So it all depends on which option is easier to implement for you.
--Shiv -
Create record issue in the JHS LOV popup window after delete record
Jdeveloper : Studio Edition Version 11.1.2.2.0
Jheadstart : 11.1.2.1.28
hi
i sent a testcase to [email protected]
in JHS lov popup window,when i delete a record and then, i want to create a new record,it is not work
but when i click in one of the fields and then click plus icon, it work correctlyOK, this happens because of the code that fixed the delete issue that I sent you before. This code needs to be changed slightly, the following lines:
Row row = selectedRowData.getRow();
if (!isMultiSelect())
// make this row current, so row delete will work in LOV page
selectedRowData.getIteratorBinding().getRowSetIterator().getRowSet().setCurrentRow(row);
selectedRows.add(new RowData(row));
should be enclosed with a check whether there is a selected row:
if (selectedRowData != null)
Row row = selectedRowData.getRow();
if (!isMultiSelect())
// make this row current, so row delete will work in LOV page
selectedRowData.getIteratorBinding().getRowSetIterator().getRowSet().setCurrentRow(row);
selectedRows.add(new RowData(row));
Steven Davelaar,
JHeadstart team. -
Reset Button in InputListOfValues Search Popup
Hello!
Working in JDEV 11.1.1.5.
I have another issue while using InputListOfValues.
What function has the Reset-Button in Search&Select - Popup of InputListOfValues?
In the ADF Faces Rich Client Demos, this Button highlights the Search Field "Ename", but in our Application isn't any action performed on this Button.
How can I remove the Button or is it possible to give it a function?
Thanks for answers.
Regards,
AndreasI've already tried to implement my own popup, (as you said, it's not easy) but you can only implement the children of the dialog, when using the facet "searchContent" (Or is there any other way?), and not the whole popup.
In my own popup I had a table and two commandButtons, to refresh and delete the filter of the table, but none of the listeners (I implemented all available) of the buttons performed any action.
So I think it's the best if I hide the Reset-Button.
Can you tell me how that works in the LaunchPopupListener?
Regards,
Andreas -
Can a LOV popup search be made case sensitive?
Can a LOV popup based on a SQL table query be made case sensitive. By default it looks like it is case insensitive by the text on the popup.
I think you might need to look at doing some customization to your custom managed properties , you can manipulate the values within the managed properties by mapping them to single values check custom content processing
http://msdn.microsoft.com/en-us/library/office/jj163968(v=office.15).aspx
Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010 -
System and Query field disable in Data Manager for Netweaver BI
Dear All.
i have installed Xcelsius Engage Server 2008, when i try to add connection for SAP Netweaver BI from the Data Manager the dialog appears correctly but in Defination TAB only the Name field is enable both System and Query field is disable.
without that how can i configure the connection please let me know how to fix this issue.
Kind regards,Hi,
You give the name of the connection and then click on "Browse". It will then prompt you to connect to the desired system. Log in and then select the appropriate query you want to build a dashboard on.
Hope this helps.
Regards,
RashmiG -
VA01 adding new fields in the popup bot aht display a customers contract
Hi,
I need to add 3 extra fields in the popup box that appears showing a customers open contracts, to see the popup do VA01 -> enter the data below on the first screen.
Order Type: OR
Sales Organization 0002
Distribution Channel 01
Division 01
On the 2nd screen enter sold to party only and press enter you will then see the popup Im talking abpou. This popup is generated by a function sd_list_reference_document.
Is the only way to do this to copy sd_list_reference_document to a z function and then also copy VA01 to a Z transaction to cjh the call to the new function.
Any help would be apprecdated.HI
GOOD
TRY TO USE THE USER EXITS AMONG THESE
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing p
SDAPO001 Activating Sourcing Subitem Quantity Propagation
V45A0001 Determine alternative materials for product selection
THANKS
MRUTYUN^ -
CR on BW Query : Query fields not displayed properly
Hi Experts,
I am using Crystal reports 2008 with SAP Integration Kit for BO Enterprise XI 3.0
I want to create a CR based on SAP BI 7.0 Query. But I add BI query as a datasource from SAP BW Query, it doesn't bring in all the fields correctly.
All the Characteristics are displayed as D~ [0sold-to]~ K or D~ [0Material] ~K
All KFs are displayed as M~ [Measures].[D4NXLFXS1ULO50FAO05ZCM9DN] ~ M or M ~ [Measures].[D4NXLFXS1ULO50FAO05ZCM9DN] ~ U
Please help me how to see the proper description of Char or KF?
Thanks,
Smruti
Edited by: Smruti Pattani on Dec 11, 2008 8:12 PMHi,
I built a Crystal Report on BI query using SAP BW MDX Query.I have Crystal Reports 2008 and BO Integration kit for sap XI 3.1. I am able to bring in all the query fields into report but when i try to see preview, system fails to retrieve data and it gives me error
Database Connector Error: "BAPI Error # :0"
Error occurred when starting the parser: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'
Please help me how to resolve this issue.
Thanks,
Smruti -
How to increase width of LOV popup
I would like to increase width of LOV popup in my ui. I found one suggestion to use skin to change the LOV display property and would like to know if there is any other default framework support to increase LOV size declaritively. Appreciate your responses.
BTW I am using ADF version 11.1.1.6
thanks.Thanks Timo. Yes I would like to increase the size of af:inputListOfValues popup displayed when clicked on the torch icon. But since I have all the LOVs already coded I would like to find a way to increase just the display width as the LOV popup doesn't expand completely and the user has to scroll to view the details displayed in the LOV popup.
-
Marketing Calender Query field is not populating
Hi Experts,
I'm using CRM5.0 and EP7.0 .
I've a problem with marketing calener. I've added it to portal but I'm not getting data from the backend in the query field(Show label). I'm getting all the views in view field but not the query field. I got some idea that the backend role to be assigned to portal roles in 'Assign portal role to single role' but it is not working.I think I'm missing some steps or entering incorrect values. Please send me detail steps of what I've to do in ''Assign portal role to single role' .
Thanks in advance
KoustavHello ,
Create requirement class and Requirement type relevalnt for your order type.
Path to create this is:
SPRO-> Proect systems->Material->Control of Sales-Order-Related Production->Check Requirements Classes
Check Requirements type also.
Create stretegy in view V_T461S.
assign req class &type to stgy.
then assign this req class and type in material master
create Project or WBS elemt in transaction CJ20N.
then follow the same process steps to create sales order that WBS elemt pop will come.
regards,
Nisha
@award pts is helpful. -
How to reset particular fields in the Form
hi there
i am using a reset button to reset the form, but it resets the whole form including data which is bound with XML.
i would like to know whether i can reset particular fields in the form excluding the XML bound fields.
any examples would be appreciated!!
Thank you for your timeCheck the help at
Scripting > Scripting Reference > Scripting Methods > resetData -
I'm having a problem with reseting my signature fields. It seemed to work fine in reader X but not XI.
I have a form with multiple signature fields, and each time a signature field is signed then it locks certain fields. Now when I reset these signature fields (via a button), it resets the field itself but does not unlock the fields it originally locked.
Any help with how to unlock these fields as well?When a field is locked when a signature field is signed, the field is set to read-only. You can can undo this by setting the read-only property of the fields to false:
getField("text1").readonly = false;
You will have to do this for each field. If you use hierarchical naming for the fields so that all of the ones you want to affect have the same prefix (e.g, group1.name, group1.address, etc.), you can set them all with a single statement:
getField("group1").readonly = false;
Maybe you are looking for
-
How can i update my ipod touch to 4.3.3 it always come out with 3194 error
i can't update my ipod touch ios from 4.1 to 4.3.3 i don't know why i already try every method i can like turn to DFU mode and then restore or rn the itune as administrator but it still can't it always show the 3194 error i have no idea now what to d
-
How to create a PortalSite map in a tree structure
Hi, We are trying to reuse SAP Portal EP 7.3 standard functionalities related to create a Portal Site Map. I've seen the procedure to create a Workset map iview (http://help.sap.com/saphelp_nw73/helpdata/en/49/32a7a9e8c45aaae10000000a42189d/frameset.
-
Audit types which are configured not found while creating Audit
Hi Experts, Please help me to solve the below problem- I have configured new Audit types in Audit managment. But while creating Audit in transaction PLMD_AUDIT, I could not find these in drop down of Audit type. How to rectify this problem? Thanks in
-
How do you PRECISELY sync two video tracks?
Here's the background: I filmed a video, in the dark, doing sequential movements with light-sources while listening to a metronome (to create a pattern of trail-effects) I then took this video, duplicated it, took the opacity down to 50%, and overlay
-
Out of memmory with Sound object
Hello, I have 2k+ of mp3 files and i need form playlist based on id3 tags. When i create air.Sound object in JS I run load() method and get ID3 tags in COMPLETE event handler. After that i create new Sound object for next file and all looks fine but