Static LOV Bug
Hi,
please check what happens with your select list behaviour (try selecting the last element in the list)when the LOV is of type SATTIC2 and you pres ENTER after the last element in the list (in the definition area).
I haven't tried this with STATIC.
HTMLDB Version is 1.6.
Please confirm if you reproduce this error.
Would you please fix this?
OK, here it is:
1) Add a Select list with Submit to a page;
2) In the LOV definition area enter: STATIC2:one,two,three
3) Press ENTER after "three" (the last element you wrote). Of course I did not do this intentionally the first time :-)
4) Set display Null to YES;
5) Set Null display value to "-Not selected-";
6) Set Null return value to "notselected" or something else;
6) Apply changes and run the page
7) Select "one" from the list -> it's OK;
8) Select three from the list -> OOOPS, the listbox says "-Not selected-". It did not stay on "three".
Well this is it. I did not try this with STATIC and if the listbox was REDIRECT.
Does this helped?
Similar Messages
-
Bug Report: Static LOV's and PDF Printing with Tabular Forms
I have a tabular form, which acts as an editable report. Some columns are 'Standard Report Column' and some are Select Lists, using Static LOV's with the contents of
Yes;Y,No;NThe purpose of the page is to allow users to edit yes/no attributes of a row. Then, they can print the report.
To make the current sort of the report reflect what is being printed to PDF, I've used a Report Layout associated with the report region, as oposed to a report query. A report query in this case would not reflect the sort of the report (all columns are sortable asc/desc).
Anyway, I link my report with the layout created, and go to run it. I get this message.
ORA-06550: line 1, column 50: PLS-00103: Encountered the symbol "," when expecting one of the following: := . ( @ % ; The symbol ":= was inserted before "," to continue.
Error ERR-1000 Unable to determine LOV from "declare function x return varchar2 is begin Yes;Y,No;N return null; end; begin wwv_flow_utilities.g_query := x; end;".
OK
report error:
ORA-20001: Error fetching column value: ORA-01403: no data foundI'm guessing the product is trying to take my static LOV and place it in a function to be able to generate which value is being displayed as text, from the select lists. However, it doesn't work.
I've been able to get around it - by adding a YES_NO domain to my domain_codes table (a table which associates abreviations with full meanings), I can set by select lists to be query based select lists using the SQL select code_meaning, code from domain_codes where domain = 'YES_NO_CODE'. This still allows the user to dropdown Yes/No fields, and the PDF printing doesn't break.
It is just me, or can't the PDF printing handle static LOV's in tabular forms/reports?Hi Patrick.
I've tried STATIC:Yes;Y,No;Nwhile stating it is a Select List (static LOV). The values that are rendered on the page are
[STATIC:Yes]
[No ]
----------I tried the same thing with STATIC2 instead of STATIC, and the same thing happened.
It also broke if I tried STATIC or STATIC2 under Select List (query based LOV). This is within a report where there is no hyperlink to say 'Create/Edit static list' or 'Create Dynamic List', as there is under select list items.
However, I am finding that for some reason, the values being sent to the PDF are not the values in the database (Y/N), but the showing values (Yes/No). This happens when I use the domain_code select query as the query based LOV.
Furthermore, I cannot get any columns not rendering on the page to be generated in the PDF. I have a column that groups items depending on values, and I want this grouping to display in the PDF instead on the original value, ideally.
Cheers,
K. -
Bug in Static LOV definition in tabular form?
I have always defined static LOVs as follows
STATIC:Yes;Y,No;N
but now with V4.0+ the select list at runtime appears as follows:
STATIC:Yes
No
Suddenly the literal "STATIC" is appearing in the first display field.
If I omit the word "STATIC:" from the definition, it seems to work fine. Was this an intentional change in the definition of static LOVs? If so, you then the developers need to update the help text for LOVs.
PaulPbump...
-
Update of static LOV data display condition is not reflected in comp export
Hi team,
here is another possible little bug in 4.0.1.
I updated the conditional display for one entry in a static LOV.
This change is correctly reported in page 4000:4111 in the last updated column, but it is not reflected in the more general last updated column for the entire LOV component (page 4000:4110).
This affects also the component export where the updated static LOV does not appear in the first places if i sort the report by the most recently updated column (page 4000:688).
Flavio
http://oraclequirks.blogspot.com
http://www.yocoya.comSuda,
1. I am currently on SBO 2005A PL 20, I've checked the issue of the "last purchase price" not being refreshed in the BOM on PL 36 .... Incidentally, the system behaves in the exact same fashion. I heard I can force the data refresh by using a format search, do you know how to do it?
2. If I don't use "last purchase price", instead using "My price list", thus I can use "Update parent items globally" to update the BOM. To achieve this goal, you suggest to use DTW, which I am still trying to figure out, meanwhile I've checked the SAP SDK and found the table ITT1 contains a column "PriceList" , which flags the certain price list being used. Can I reset this field to flag my price list without affecting data integrity?
Thanks...
Edited by: Rui Pereira on Apr 29, 2009 1:15 PM
Edited by: Paulo Calado on Jun 17, 2009 1:08 PM -
Referencing static LOV from plsql
I have a number of static LOV's. How can I reference these in PL/SQL.
For example, I am creating a report using PL/SQL so that I can create the exact layout I require. The data uses a number of list of values so I need to convert the value fields into the displays fields from the list of values using PL/SQL.
How?Jezzer,
It will depend on your version. If you are using 2.2 or 3.0, you could use the view APEX_APPLICATION_LOV_ENTRIES to access your lov values. It will automatically be limited to the workspace that your schema is associated with and then you can further qualify with the APPLICATION_ID and LIST_OF_VALUES_NAME. To see the view, navigate to Utilities > Application Express Views and query on lov.
-- Sharon -
How to display the dispaly-value of a static LOV in a report?
Hi,
I want to display the Display-Value of a lov in a report
How can i procede?
thanksok,
My problem is the following:
Say that I have created a static lov 'lov_colors' with the following values:
display-value return value
red 1
blue 2
green 3
And i have a table 'object' wich has the following fields :
object_name varchar2(100);
object_color number;
I want to make a report on the table object but in stead of displaying the number of the color,
I want to display the name of the color that is in Lov_colors
I hope that my question is clear.
thank you -
Static LOV functions differently in 9.0.2 from 9.0.1
In my previous Portal applications under IAS 9.0.1 I had several static LOV's that contained the following structure:
DISPLAY VALUE RETURN VALUE
Login User Name #PORTAL.wwctx_api.get_user
This worked as expected, the user sees the display of 'Login User Name' in a drop down list on a form, but the users login name was actually inserted into the table when Insert is selected.
I've since upgraded IAS to 9.0.2 (no patchsets installed)
This same LOV no longer works. What gets insert into the table is the string "PORTAL.wwctx_api.get_user" and not the users name, as before.
I know I can kluge something similar into a dynamic LOV but does anyone know why this function call no longer works? I have several similar LOV's that get sequence number nextval's in a similar fashion and they no longer work either.
ThanksA TAR has been created concerning this issue, 2841152.996. If anyone has had similar results, please review it at http://metalink.oracle.com/metalink/plsql/tar_main.single_tar?p_tarNumber=2841152.996&p_countryCode=840&p_show=Show++
-
Radiogroup static LOV only displays the first label.
I have a simple static LOV for a radiogroup item, but it won't show the 2nd label. It is the second radio group item on the page and the first works fine.
2nd LOV:
STATIC2:Yes;1,No;2
Any suggestions, please?The first LOV happens to use the escape character of a bar STATIC2(|,;) because I have numbers with commas in the label (e.g., $5,000).
If I put the 2nd LOVE before the first by changing the sequence, it works, but I don't want it before the one with the escape character. -
I have created a select list in a report with
static LOV.
Does anyone know how to change the font
color of each option in the select list?
Example for options 1,2,3
something like this:
<font color="red">1</font> .... red
<font color="green">2</font> ... green
<font color="blue">3</font> ... blue
ThanksThanks marife
for the good suggestion. It seems that the colour
pattern works absolutely fine but the problem is that
it creates another line for each option and
makes the select list a bit difficult difficult to read.
By the way i am using htmldb_item.select_list
and not an actual select list.
If you have any better suggestions let know
thanks,
Ody -
Table Filter with static LOV column
Hi,
I am using JDeveloper 11.1.14 and ADF-BC in my project.
For one of the tables,I have the following scenario.
1. I have a viewobject [Ex: EmpVo] in which one of the attributes has a static LOV[:Ex: 'Status' attribute in EmpVo has static LOV - StatusLOV with values A - Active I - Inactive].
2. EmpVo -- > Employee table which stores A and I as status values in database
3. Display this view object as table in jsff page.
In the jsff page, when filter is enabled, for the status column I am able to filter only using 'A' and 'I'.
But actually filter has to work with 'Active' and 'Inactive' as filter values.
Please suggest the best way to implement filter in this scenario
Thanks,
PraveenTake a look at the following article:
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/16-custom-table-filter-169145.pdf
Here, for LOV's you could have an LOV as a filter component instead of the default inputText component.
Thanks,
Navaneeth -
STATIC vs STATIC2 in static LOV definition
Hi All,
what is the difference between STATIC and STATIC2 ?
The documentation on creating checkbox references word 'STATIC'. When I create static LOV by clicking 'Create or edit static List of Values' link on 'Edit Page Item' this uses word 'STATIC2' in LOV definition.One sorts values alphabetically and the other in the order in which they are written.
Jure -
Multi-select LOV bug and Developer6i R2 Patch7
Has anyone verified that Patch7 corrects the problem with multi-
select LOV bug (see below). The Headstart6i Report Launch form
(QMS0012F) exhibits this bug (when using the demo reports for
example) and we were unsuccessful applying the workaround (see
below). We will upgrade to Patch7 if this bug is fixed or we
could use a little help from the HeadStart team correcting the
Report Launch form to get around this bug. Thanks, Keith
We have found one odd quirk with Headstart 6i and Forms
6i versions 6.0.13 and higher.
Description ===========
1. When using a multi-select LOV (which is displayed in a modal
dialog window), you select the records you want, press OK, and
the application exits.
2. When using a shuttle control to move records from left to
right or vice versa, you select the records you want, press '>'
to move them, and the application exits. This occurs in Forms
6.0.8.13.0 and higher. It did NOT occur in prior releases. This
is some kind of forms bug.
Workaround ==========
For some reason the call to procedure 'renumber' in
qms$msel.process_records in qmslib65.pll causes the application
to exit. If you copy the code from renumber to all the places
from which it is called, it works fine.So far as I know, this bug has not yet been corrected.
You will have to apply the fix as described in your email
message.
Regards, Lauri -
Very Urgent!! Static LOV with Sort by Option with column names
Hi All,
Can we have am Static LOV with an order by option according to the column names in an Report..
If so can you share with me, waiting for your reply and thanks in Advance..
Select
name,
creator,
date_created,
NVL(Comp_type,Del_TYPE) FORMAT,
from Table_name
So i want to order by the following columns wrt Static Lov both Assending and Descending Order by
like Name(Asc), Name(Desc),Creator(Asc),Creator(Desc) and so on for other columns
Thanks and Regards,
Suriwhere u are callling perform field_cat in ur program ?
flow will be like this
perform fcat.
perform alv_display.
form fcat.
add code here for fcat.
endform.
form alv_display.
call alv here
endform.
Regards
Peram -
Modify dynamically Static LOV and System Tables
Hello,
Does anyone know if it is possible to dynamically modify a Static LOV using a system table. All suggestions greatly appreciated!
SharonHello,
I am converting a program from the old HTML-DB. The original program dynamically manipulated a static LOV using a system table. I am trying to do the same thing. If it is possible to dynamically change a static LOV I would like to know how. If there is no way in APEX, I will create a table and dynamically change the table. Thank you for your suggestions.
Sharon -
I am using a static lov which has a code and description. I select an entry from this lov and it's code is stored in a table.
I now want to create a chart on the contents of this table, but need to translate the code stored in the table to the description stored in the static lov.
Is it possible to do this? If so, any hints!?
TobySo you have a table with a code value in it. The description of the code value is in a static LOV item. I would suggest creating a table in the database with the code and description. Then use a dynamic LOV instead of the static LOV and of course for completeness sake create a foreign key from the table you currently have to your new LOV table.
Now to get the description of a code, you just do a SELECT on your code/description table. This would be helpful for a chart title maybe?
Your LOV item on your page will visually display the description, but when referenced it will have the value of the code. So have your SELECT statement in your chart reference your LOV in its WHERE clause.
Mike
Maybe you are looking for
-
I am calling an HTTPService (id=data2php) which runs a php script which creates an xml doc and puts it on my server. i then call another HTTPService (id=feedRequest) which reads the xml doc. i then try to populate a datagrid with the lastResult of my
-
Won't reset, not recognized by iTunes or computer
Hello, Last week, my iPod was not recognized by my computer or iTunes, so I successfully followed the instructions to Reset, change to Disk Mode, and then restored the iPod (with the latest Updates and newest iTunes version). Now, my songs cut off be
-
I am attempting to use the java api in my reporting solution. The application that we are developing is using JSF and java. I wanted to keep the same look and feel for my reports. First, I created a very simple rtf template in Microsoft word using BI
-
Problems installing new Adobe Flash Player
Several web sites that I visit give the message that I need to update my Adobe Flash Player. I go to the Adobe site and download the update and go through the install, but when I go back to the page saying that I need to update the flash player it s
-
Problems when generating forms from Module Generator
I am trying to generate a form from a module in Module Generator. The form is generating OK, but when design editor tries to show the form in the browser it doesn't work. This is the URL it is trying to use: http://127.0.0.1:8888/forms90/f90servlet/?