Selection list and hidden display problem
Hi allI use a list of dynamic selection of value, that when you press a button sets the value of a hidden display element. The next page then uses the option display hidden in a SQL query.
It strangely sometimes works and sometimes doesn't - he often fights with the values in the select list that are more than 30 characters.
Someone has an idea what is happening?
Thank you very much
Tom
Use a calculation of page of type 'expression plsql' to recalculate the value.
Replace (: p1_item, ' amp ;','');)
Shunt
Tags: Database
Similar Questions
-
problems with customization select lists and popup LOVs
Hello
I have 2 problems on selection lists and popup LOVs.
The first is on a list in tabular form.
It must be created with APEX_ITEM. SELECT_LIST_FROM_LOV or similar and take its values of a named LOV.
This worked fine, but now it should also have the possibility to enter a free value.
I tried to accomplish this by creating an APEX_ITEM. POPUP_FROM_LOV, but there is a problem with the function which is called the icon of the right arrow to the input field (for eg. genList_f11_5()).
If the line is added by addRow, then it works fine, but if the line is not empty
Then the function call is as genList_f11_$ _row () and the input field becomes worthless, when an LOV is selected.
The other problem is on a list of selection that should have the opportunity to enter a custom value and
It should also be able to select multiple values. I tried to implement this in a text box that contains the selected values, and a multiple select list, with an event handler in each option. The user can click on options and they would be copied into the text box. The problem is that I couldn't make the event handler works in Internet Explorer.
I would like ideas on one of these problems.
TiinaHello
It can be created at APEX_ITEM. TEXT.
APEX_ITEM also generates the name attribute that I use the jQuery selector in the sample.
Use jQuery UI autocomplete just similarly as in my example with APEX_ITEMKind regards
Jari -
"Select list" Application point displays Null instead of "select value".
I have defined an agenda of the application in the form of select list and I try to display 'Select a value' of a null value. I put "Display value Null" "Select value" and the value of display Null values yes. I would like to than the message "select a value ' to always show when the user enters the initial values for 'CREATE' an entry in the table." The user is not required to enter a value. I would like to just display the message anyway. How to "do" APEX the message. Even if I set values, nothing appears.Ok. I found the answer. I just needed to include IS NOT NULL in the WHERE CLAUSE of my statement Select mapped to my Select list and the Extra Null disappear and allow my message to display on the application page.
Published by: V Rickert on April 23, 2013 09:33
-
Values of the cascading select list is not displayed because the ampersand &; in LOV
Hello
I use the LOV example Denes Kubicek http://htmldb.oracle.com/pls/otn/f?p=31517:119 cascading
and I have a problem when my ename has an & in the name. In this case no values appear in the select list cascading. The application process, I use looks like this:
< pre >
BEGIN
OWA_UTIL.mime_header ("text/xml", FALSE);
HTP.p ('Cache-Control: non-cache');
HTP.p ('Pragma: non-cache');
OWA_UTIL.http_header_close;
HTP.prn ("< select >");
HTP.prn ("< option value ="' | 1 |) "" > ' | '- all employees-' | ' < / option > ");"
FOR c IN (SELECT ename, empno
WCP
WHERE mgr =: cascading_selectlist_item_2)
LOOP
HTP.prn ("< option value ="' | c.empno |) '">' || c.Ename | ("< / option >");
END LOOP;
HTP.prn ("< / select >");
END;
< / pre >
What should I change to make it work?
JacobJacob,
What happens if you change your application process on like this:
DECLARE v_ename VARCHAR2 (200); BEGIN OWA_UTIL.mime_header ('text/xml', FALSE); HTP.p ('Cache-Control: no-cache'); HTP.p ('Pragma: no-cache'); OWA_UTIL.http_header_close; HTP.prn (''); END;
Do you still have the same result?
Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
------------------------------------------------------------------- -
After you select list, and button on the same line
Just a minor matter cosmetic a user has raised.
I have a couple of selection lists that I have on the same line by setting the 'start on new line' on no. Is it possible to get a button to sit on the same line (i.e. within the same line of the table or cell as Select lists)?West Indies,
When you create a button, the second page of the wizard is the option you're looking for: 'create a button displayed among the elements of this region. "
Just keep in mind that these buttons don't submit by default where as area buttons can also redirect without submitting it.
Kind regards
Danhttp://danielmcghan.us
http://sourceforge.NET/projects/tapigen -
Dynamic lists and sublist HTML problems
I need to create jQueryUI accordion region based on the list of the APEX / model list. The list will be loaded with the SQL query that contains information of list of level:
SELECT "level" select_level - 1 or 2
select_label label
select_target target
OF custom_menu
ORDER BY menu
select_level
I created the list using < h3 > the main entrance level element template and < a > elements of level 2 data.
Model list (current and non-current):
< h3 class = "selected" > <u > #TEXT # < /u > </ h3 >
Model sublist (current and non-current):
"< img src =" ' #IMAGE # ' #image_attr #= "" style = "vertical-align: middle;" margin: 2px; margin-right: 4px; ' > #TEXT # sublist
To do Jwho accordion, I wrapped my sublist with the < div > elements.
Model sub-list before lines: < div >
Model sub-list after lines: < / div >
Unfortunately, this does not work very well. It seems that the APEX does not print sublist after excerpts from lines < div > but handles sublist elements correctly. In the end, my links are not wrapped with < div > and jQuery UI does not know how to handle the HTML code. It takes only first elements sublist and creates the accordion content.
You can check it out for your self and see the http://apex.oracle.com/pls/apex/f?p=4550:1:0 code:
Workspace: ilijasic
User name: demo
Password: demo
First list uses the expected list model and used the patched list template
I found a way to solve this problem. Again, I made a list template in which I entered in < / div > < tag div > during entry of the main list but this solution works only if I'm sure that each main entry has child elements.
My question is: why the APEX does not print tags sublist < div >. I must say that this model works well if I use a static list. It seems to me that APEX does not know how to handle parenting using the dynamic SQL list.
Thank you in advance.Hello Ivan,.
problem solved. Watch http://apex.oracle.com/pls/apex/f?p=35669:1
I cleaned a model a little and added tags list.
BR,
Marko -
Hello everyone,
I'm having a little problem and I hope someone here can help me. I have a form and a report based on a table, let just say for simplicity that is the structure of the table:
I have made a calculation, after submit, the form. If the end user has to put in the code. The code for the calculation is:create table table1( id varchar2(5), date_added date)
Now, this is where I get my problem. I want to be able to display the date and time in the report. The code that I use for this is:select sysdate from dual
However, this produces the result on my APEX report:select id, to_char(date_added,'DD-MON-YYYY HH24:MI:SS') from table1
Really frustrating thing is that if I insert by using the command line, SQLPlus or APEX SQL commands I get the expected result.1 , 11-MAR-2009 00:00:00
Anyone know what I'm doing wrong and how to fix my problem?4 , 11-MAR-2009 10:32:35
Thanks in advance,
-N.S.N.O.Hi NSNO,.
I created a form as below and is entered a few entries to test the date column, which is not included in the form. It is filled by the trigger as follows:
CREATE TRIGGER biud_events
BEFORE the events of the INSERT or UPDATE or DELETE ON
FOR EACH LINE
BEGIN
IF THE INSERTION
Select nvl (max (id), 0) + 1 in: new.id of events;
: NEW.event_date: = SYSDATE;
END IF;
IF THE UPDATE CAN
: NEW.event_date: = SYSDATE;
END IF;
END;You can access the form and the report by clicking on the links below. Report gives the correct time.
http://Apex.Oracle.com/pls/OTN/f?p=43368:63
http://Apex.Oracle.com/pls/OTN/f?p=43368:64
Kind regards
Zahid -
Turbo Lister and Visual C++ problem
When I try to install the updates required for eBay Turbo Lister I get an error that says "upgrade Turbo Lister was not completed because Microsoft Visual C ++ 2008 Redistributable for installation failed." Please log on with administrator privileges. I'm the Admin and update of security for Visual C++ has been installed successfully on 22/01/13. I am running Windows XP. What is the solution?
Try redownloading the new Ebay Turbo Lister version:
http://pages.eBay.com/sellerinformation/sellingresources/turbolister.htmlTurbo Lister troubleshooting:
http://pages.eBay.com/help/sell/Turbo-Lister-troubleshooting.htmlIf you are unable to install programs in Windows, see the links below.
Diagnose and resolve program install and uninstall problems automatically:
http://support.Microsoft.com/mats/Program_Install_and_Uninstall
Problems installing and uninstalling programs on Windows computers:
http://support.Microsoft.com/kb/2438651
How to use the System File Checker tool and the sfc/scannow to solve the lack or the system files corrupted on Windows Vista or Windows 7:
-
"Help and Support" display problems
When I use "Help and Support" on my system, it displays correctly. There is a red X in a box which replaces pictures should be displayed. I've looked everywhere & can't find a fix for this problem. It is very annoying & I use only my new system for about 8-9 months. Photos of ALL my other programs software, internet browsers, etc. are working properly. It's just the 'Help and Support' area that is not working properly. Please let me know what I can do to solve this problem. Thank you!
"This will happen if the registry setting of Content Type of the file for certain types is missing or incorrect. To fix the problem, download helpcontentfix_vista.reg in the article attachments section and save it to the desktop. Right-click on the downloaded file and choose merge. "The REG file sets the values of Type content types of XML/XSL/PNG/JPG/CSS files and so to solve the problem.
Windows Vista and Support help pages do not display correctly
http://www.Winhelponline.com/articles/194/1/pages-in-Windows-Vista-Help-and-support-are-not-displayed-correctly.html -
Black and white display problem
Welcome!
Some of you have a problem during development of black and white photos into LR 4.4 x 64? When I do this and say convert in b & W photo in the develop module, it has a slightly yellow tint - especially seen in the highlights. But then I export and see te in the observer of FastPicture has no yellow tint and is correctly displayed as b & w photo. I uploaded the same photo in PS CR 7.4 and the conversion it is OK, the pictures have no yellow tint.
Does anyone now what may be the reason for the bad photos n & b display in LR 4.4?
Kind regards
Slawomir
Have a yellowish histogram in what should be a grey area is proof positive that your monitor profile is corrupted. You should get a hardware calibrator and calibrate your monitor. In the meantime, simply as a stop-gap measure, you can change your default profile to sRGB.
HAL
-
Illustrator and pdf display problem
Hello, I am completely stumped by this one:
Create a new document in Adobe Illustrator cs5
1 visible layer
1 layer of Hidden
Saved a copy in pdf format
layer visible and the hidden layer are both seen on another computer using Reader version 10.0.1.434
I use Adobe Acrobat X Version 10.0.3 and cannot see the hidden layer, only the visible.
I creates PDFs for evidence like that all the time and have never had this problem. I did nothing extraordinary. I don't understand why I can't see the hidden layer and someone else can be downloaded on their system. I have tired opens the file as an image of Google as well and still don't see the hidden file.
I know that I wouldn't be able to see the hidden layer, but why can someone else see it?
Thanks in advance for anyones help.
I took a quick glance and how it is if your client apply layer overrides checked
The three small white filed and contour black paths are on a hidden layer that doesn't show what it I make visible or have this option checked.
Tell them to uncheck the option.
I add this as well if you check this option, then save from Acrobat X 10.1.0 Acrobat 1.6 it happens when re-open you it, but if you save with Acrobat 1.8 hidden layer is not visible even after one save slot, unless you check this option.
Leads me to believe that your client is working with Acrobat 7 or 8
-
Qosmio X 500-blue screens and video display problem
Hi all
I bought my Qosmio X 500 (PQX33A-02g00j) about 2 months ago and have had recurring problems, which fortunately I documented, with blue projection (actually this is my second unit as the 1st was defective).
I have re-instanned factory three times and minimum the newest driver (one store told me version 188.75 and the card is a Gforce GTS 250 M). I note, there are a few forum posts dealing with or question on the screen flashing etc, but it was always going to re-start and blue screen
The computer can do this 2 or 3 times in a row and then possible work for several days without any problem? This happens especially when im using Adobe or Word (not hungry graphics applications).
Is there an answer to this problem here because next week it's back to the store for a full refund - whether they like it or not?Thanks for your time on this
Hello
Your laptop is fine, but all the problems related to the BSOD is nvidia graphics card driver. It looks like this nvidia programmers don't want to fix a bug... I have recommended you download graphics driver http://www.nvidia.com/object/notebook_winvista_win7_x64_197.16_whql.html download and install. Hopefully, you won't have no blue screen
-
Choose the value of the selection list and value come into text without the refres field
Hi friends
I want to like this link
[http://htmldb.oracle.com/pls/otn/f?p=33867:1:3985649502490025:NO]
When I select the emp name then use should come without updating to the text field.
should what code I apply for this...
How can I do this...
Thank youGood JS code below
Also change OnDemand as follows
htp.p(ad_rs ||':'||t_in); -- exception handling added exception when others then htp.prn(sqlerrm); end;
Concerning
Published by: Dominique on August 17, 2010 18:01
-
problem in the multiple selection list
Hello...
That's my problem... We have a few values in session selection multiple list... these values are highlighted in the list... If wen I try to hide the list im unable to do? I think that its because of the session... wat shal I do nw?
function hidelist()
{
document.getElementById('item_name').style.display = 'none ';
}
function showlist()
{
document.getElementById('item_name').style.display = 'block ';
}
DavidHi David,
It is difficult to know what can happen that I can't see your page - this error message indicates that javascript can not see the page element to which you are referring to.
For example, if I make document.getElementById("ABC").style.display, but the article did a 'BCD' ID I would get this error.
So, the first thing to check is that the list item is the ID that you think it does. Load the page and do a view Source. Find the selection list and check to see how ID attribute there. If it contains the right ID attribute, then it might be easier if you could save the page view Source and send it to me at... so I can watch it.
Andy
-
Problems of selection list static apex
I have a selection list (P147_EVENT_TYPE) with only two values, defined as:
Static: Hurricane; HURRICANE, River; RIVER
The selection list filter a report. The user selects 'River', they see all the events of the River in the report. The user selects "Hurricane", they see all the events of the River in the report.
I wanted to make changes so that there would be a possibility to see "All events". Inside the element, so I changed:
Display nulls-> Yes
Null value display-> all Types of events
Return NULL-> white left value
The query of the report itself along the lines of:
SELECT name, type
Areas
where ((P147_EVENT_TYPE = "Hurricane" or P147_EVENT_TYPE = "River")
or P147_EVENT_TYPE is NULL)
Normally coming to the page on the report, the selection list should display 'All Types of events' and the report is expected to be Hurricane events and river. However, when I get the report selection list (P147_EVENT_TYPE) is displayed for 'River '. It has three choices in there (River, hurricane and all Types of events), however, if I select "All Types of events" in the selection list, it is just for the river. Is it possible to change this? Can I not use a static selection list with a default value type? Any help on that would be great. Thanks in advance for your help.
It looks like somehow the default value is used for 'River '. I'm trying my earlier suggestion and see what's the result. It must be fast to try it. You can also set up on apex.oracle.com so we can fix it.
Maybe you are looking for
-
What should I do when the awesome bar turns red?
When I am on G mail, sometimes my awesome bar turns red with a lock with an x. It is said that the site has enough information. How can I fix this do I have to reset the toolbar, every time that happens? I hate having to readd my theme (blue cats) ag
-
Satellite P300D - 21K Touchpad scroll not working not not on Windows 7
Hello I'm new to this forum so I don't know if this is the right place to post this. Anyway, recently I installed Windows 7 32 bit on my Toshiba laptop, everything went well and I installed all the drivers I needed in order to make the webcam and the
-
Need for a coefficient of fish using deformation measurement gage (wheatstone)
Hello I'm building this interface labview eventualy do strain meter measures on composite samples. I tested what I've done so far in half-bridge config. and so far so good. I read about the need for my wages on the material in half or full-bridge ( h
-
I look forward to rant, but I need to get out some of my chest... I ordered my w520 July 30... It is now September 3... I'm still not able to use my w520... I'll put aside delivery period, delay of UPS and double clearance... I'll put aside my camera
-
Expansion base xb3000 - compatible with the new portable computers HP?
Hello all! I am currently using a laptop DV8305 connected to a basic xb3000 expansion. This is a great set! I would like to get a new computer laptop (something in the DV7 range) and use it with my old xb3000. The problem is nothing new HP laptop c