APEX 4.0 'attributes of the element' field are ignored in the tabular forms
HelloI don't know if I should report it as a bug, but first I want to ask around to make sure I don't do something wrong.
I noticed that no matter what attribute you put in this area (under the column attributes), when APEX generates your tabular presentation it not include the attribute you entered.
For example, I create a simple tabular presentation using the wizard and then I entered 'Attributes of elements' of one of the column (which was a textfield): style = "color: red;"
This piece of code was not the case to be found in any of the source of the page.
Can someone confirm this problem? Or maybe it has already been reported?
Thank you
Published by: reggieh on March 22, 2011 10:09
Hello
Idea is that make you example and let us see source.
Seems in any case there is problem. Use jQuery and add your styles after that document is ready.
Something like this page run JavaScript when Page loading
$('[name="f10"]').css({"font-weight":"bold","color":"red"});
Kind regards
Jari
Tags: Database
Similar Questions
-
ID attribute in the attribute of the html form element of: p1_item
Hello
How can I place id = 'demo' in the attribute of the html form element of: p1_item. It does not. There error Throughing attributes, •size and ID do not have to be specified. (Go to the error)
Thanks and greetings
CORINEI just tried the thing above with dynamic Action and its works for me
If possible for you, please try dynamic action "during the click on the button" with "execute Javascript Code.
and write it in the code
$(".demo").css("background-color","yellow");
and it will work.
Kind regards
Tauceef -
several events in the attributes of the Html form element?
How can we put more than one event in the Form Html element attributes?
For example, I have:
onChange = "zeroTenScaleCheck (this); »
and
onClick = "checkScroll (this); »
I want both of you to be active on the same element. It is possible and if so, how?
Another related question is, is it possible to have two handlers listening on the same
event?
Thank you!Hello
Place the HTML Form attributes of the element element
onchange="zeroTenScaleCheck(this);" onclick="checkScroll(this);"
Call two javascripts for example the onchange event, place to the Form HTML element attributes
onchange="zeroTenScaleCheck(this);checkScroll(this);"
Kind regards
Jari -
Enter the name of app_user by updating the tabular form of builtin apex
Hi people,
I am a new to apex and trying to implement a tabular apex that has only an editable field box and form two audit field. Last updated by and updated, I use the built-in tabular form Apex.
Properly put form to update the field box to check and it works as it is supposed to be, the two audit field and Updated_by Update_date, I'm updating via slot table form and not updated.
Any help will be much appreciated. After the code that I use in the application process after submit
BEGIN
II in 1... APEX_Application.g_f02. COUNTY
LOOP
(ii) apex_application.g_f08: =: sysdate;
apex_application.g_f09 (II (: = v ('APP_USER');))
/*
UPDATE MG_RESTRICTION_DEV SET UPDATED_BY = v ('APP_USER')
WHERE MG_ID = APEX_APPLICATION. G_F05 (II);
*/
END LOOP;
END;
My goal is to use the max integrated apex and want to use the default MRU apex process. I get the success message, but the value does not get updated on the table.
Thank you
Shabbir
Published by: user13413381 on July 4, 2011 10:39Post this question in the forum asking Express. This is the forum of forms.
-
Manually created the tabular forms and Firefox 4 problem
I have a tabular presentation created with pl/sql dynamic content using the apex_item Toolbox areas. A collection of the apex is used to maintain the State of the tabular data entered. It is an application originally created at the APEX 1.5 and improved over the years to 3.2. Never a problem with the application so far. I've recreated the question on the site of apex.oracle.com here:
http://Apex.Oracle.com/pls/Apex/f?p=28213
Run the application in Internet Explorer (I use 8), then run it in Firefox 4. Enter a quantity in the first element, then the next and previous then several times. See the problem? The problem doesn't occur in FF 3.6 or Chrome either. I have not tried Safari as my mac at home and I'm at the office.
Here's the code for areas of pl/sql and the update of the collection (after submitting). Page 2 is just a selection of the collection report. I spent a day trying to solve this problem. Any help will be appreciated. Redesign without pl/sql dynamic regions is not an option at this time.
Dave
Report region 1: (there is no collection)
declare
Other1 varchar2 (2000) value default null;
other_char varchar2 (32000) value default null;
Start
HTP.p ("< table border ="1 "width =" 100% "> '");
HTP.tablerowopen;
HTP.p ('< th > Description < /th > < th > price < /th > < th > quantity < /th >');
HTP.tablerowclose;
for rec in (SELECT id, description, to_char(price,'$9,999.99') price
FROM foodbev_items by id) loop
Select apex_item.hidden(1,rec.id) in the double other_char;
HTP.p (other_char);
Select apex_item.hidden(3,rec.description) in the double other_char;
HTP.p (other_char);
HTP.tablerowopen;
HTP. TableData (Rec.Description);
HTP. TableData (Rec.Price, 'right');
-quantity here
Select apex_item.text(6,null,5)
in double other1;
HTP. (Other1) TableData;
HTP.p ("< tablerowclose >" ");
end loop;
HTP.p ("< /table >" ");
end;
Report region 2: (collection exists)
declare
Other1 varchar2 (2000) value default null;
other_char varchar2 (32000) value default null;
Start
HTP.p ("< table border ="1 "width =" 100% "> '");
HTP.tablerowopen;
HTP.p ('< th > Description < /th > < th > price < /th > < th > quantity < /th >');
HTP.tablerowclose;
-collection BREAKFAST_SELECTION
--
-1 is item_id, 3 is description 6 is Qty.
--
for rec (item_id SELECT a.c001, description, price, a.c006 entered_qty to_char(b.price,'$9,999.99') a.c003
Htmldb_collections a, foodbev_items b where a.c001 = to_char (b.id) and a.collection_name = 'BREAKFAST_SELECTION"to order by b.id) loop
Select apex_item.hidden(1,rec.item_id) in the double other_char;
HTP.p (other_char);
Select apex_item.hidden(3,rec.description) in the double other_char;
HTP.p (other_char);
HTP.tablerowopen;
HTP. TableData (Rec.Description);
HTP. TableData (Rec.Price, 'right');
-quantity here
Select apex_item.text(6,rec.entered_qty,5,5)
in double other1;
HTP. (Other1) TableData;
HTP.p ("< tablerowclose >" ");
end loop;
HTP.p ("< /table >" ");
end;
Collection update:
declare
la_cks wwv_flow_global.vc_arr2;
other_char varchar2 (2000) value default null;
other_char1 varchar2 (2000) value default null;
Start
htmldb_collection.create_or_truncate_collection ('BREAKFAST_SELECTION');
because me in 1... htmldb_application.g_f01. Count
loop
--
-1 item_id, 2 is digital price, 3 is description, 6 Qty
--
--
() htmldb_collection.add_member
p_collection_name = > 'BREAKFAST_SELECTION ',.
p_c001 = > htmldb_application.g_f01 (i),
p_c003 = > htmldb_application.g_f03 (i),
p_c006 = > htmldb_application.g_f06 (i)
);
end loop;
end;don't know if this is the problem or not, but
... htp.tabledata(other1); htp.p('
'); end loop; htp.p(''); ... should be
... htp.tabledata(other1); htp.tablerowclose; end loop; htp.p(''); ..
Thank you
Janet Tyson
-
Show/hide the buttons on the tabular form region
I have a classic tabular form with standard buttons: AddRows, RemoveSelectedRows, cancel, Save. What I want is to have the button visible to AddRows only when there is no given on the form (the source table is empty). When the user clicks the AddRows button, a blank line apears. Right now I want to show, save, and Cancel buttons (buttons remove is covered by the current Condition). And when the user deletes all the data in the table, I want to hide all buttons except AddRows.
How to do this? Thanks in advance.Hello
If you use Apex 3.x and you have created a table by using wizard, you already have branch page.
Change this branch and add to the query field&REQUEST.
BR, Jari
-
I have problems with two forms who pass through only the first field and ignoring the other two fields. they are both located in the same site and two of them worked perfectly the last time I edited the site that was about 3 months ago.
they are both forms of html in php pages that are supposed to display the form data in a database. Since I am very new with work in php, I'm not even sure what relevant questions to ask can be to find information about why they do not work properly.
The last thing I did which was a global change of the site was to change the php.ini file, but I tried it revert to the previous version and it doesn't seem to affect him.OK, so I was wrong. It's the php.ini file that he was. apparently when I returned to the old version, it was in the wrong directory, so it didn't ' do something.
-
problem with checkbox on the tabular form
(All my friends at the time of deperate) Hi,
I have a tabular form on a page, which I use for adding record only. So it always shows me a blank line, which is ready to be inserted after the user has filled in the data and click on the "submit" button.
Now, I have a field check box on this form of table. Since all the columns that I show as null, I also shows this check box cleared when page appears. This is the query for the region of origin of this form:
SELECT "Customer", null
NULL "currency."
HTMLDB_ITEM. CheckBox(40,'YES',null) critical_box,
OF the double
I used the 'YES' as return value of this checkbox (when the user checked, otherwise I guess that's not equal to 'YES').
I have my own update process, which gets triggered when clicking on 'submit '.
It's my insert clause in this update process:
INSERT INTO table1
(customer, currency, critical_level)
values
(APEX_APPLICATION.g_f01 (i), APEX_APPLICATION.g_f02 (i), decode (APEX_APPLICATION.g_f40 (i), 'YES', 'YES', 'NO')
Now the problem is that when I click on checkbox and save it, it adds record correctly. But when I click on check box when you insert, I get error message no data available. It must insert 'NO' for the 3rd column when the check box is not clicked.
Please help here. Not sure why its not giving no data found error when unchecked the checkbox on the form of tables.
Thank you and best regards,
Rave.Sorry, this one is out of date, try this
http://HTMLDB.Oracle.com/pls/OTN/f?p=31517:219
Here are a few related threads you might be interested.
Re: Boxes to check off and go to the other fields in the table
Re: Problem in selecting the checkbox values
Tabular presentation - box -
Avoid repeating the selected values on the tabular form select list
Hello
I need help with the following situation:
I have a selection list containing all departments. When the user selects a Department, a tabular presentation appears with a list of selection employees containing on this Department. When adding new employees (new lines), I would like to remove the current employees of the selection list without submitting the page to avoid duplicates.
Something similar to this: http://apex.oracle.com/pls/apex/f?p=18:307, the problem with this example is that the number of lines is predefined and initially shows all values so if I change one, it erases all existing records.
I created an example on apex.oracle.com:
Workspace: EDIAZJORGE
USER name: TEST
PASSWORD: test123
Application: 84395 - tabular
Page: 1 - home
Thank you for your help,
Erick
Hi Erick,.
As a solution, I suggest to use an element of the shuttle in a form instead of a tabular presentation. I think that its functionality to meet your needs.
Robert
-
Required form fields are ignored in Firefox
Works under IE and Chrome
BTW, I tested on Firefox 3.6.23
What? You're wasting your time and our tests of the form features HTML5 on any version prior to version 4. There is no support for the required attribute in Firefox 3.6.x.
-
manually assign primary key and copy to the detailed form
Hi experts,
Oracle Apex 4.2, 11g database, using windows 7.
I created a form and created automatic product no. (not only sequence) with logic and SQL. SQL query produced good wise exercise, and exercise begin from 01 July and ends 30 June each year. This means if the 07/01/2015 start it will create a new voucher No.
The main Table name is GL_PV and the columns are:
Number of PV_No
Date of PV_Date
Number of CC_code
number amount
Remarks varchar2 (100)
Created a process to submit before the calculations and validations.
The codes are
NVL SELECT (MAX (to_number (nvl(pv_no,0))) + 1, 1) AMENDMENTS
IN: P15_pv_no
OF GL_PV
WHERE pv_date
BETWEEN to_date (' 01-07-' |) (extract (year from to_date (: P15_pv_date, "dd-mm-yyyy")))
+ case when extracted (month of to_date (: P15_pv_date, "dd-mm-yyyy")) < = end of another 0, then 6-1), "dd-mm-yyyy")
AND to_date (30 - 06-' |) (extract (year from to_date (: P15_pv_date, "dd-mm-yyyy")))
(+ case when extracted (month of to_date (: P15_pv_date, "dd-mm-yyyy")) < = 6 then 0 otherwise 1 end), "dd-mm-yyyy")
and cc_code =: P15_cc_code;
and press the button when Conditions = Generate_Button
In the form of master I put the data and click on create button is working well and generating good can result.
Now that I've created a detail of my detail table is pv_detail and the columns are
pv_voucher_no
pv_date
account_code
Remarks
amount
I want to create the relationship of the master / detail form.
I tried:
- primary key and foreign key, but does not. column GL_PV table primary key (PV_NO, PV_DATE), PV_DETAIL (pv_voucher_no, pv_date) foreign key table columns: -.
- has created one for master and 2nd 2 form for details, good master shape generates but not detail of.
I want to assign pv_no, pv_date in both value table (master / detail), in other words copy value pv_no and pv_date of main table in detail table pv_voucher_no and pv_date.
Please advise how I can solve this problem.
Thank you forum oracle to solve my problems.
error report: ORA-01790: expression must have the same type of data, matching expression
Find the solution on this forum
Solution:
Attributes and the tabular form:
Change the default type = PL/SQL Expression on the function
Default = to_date(:P15_PV_DATE,'DD-MON-YYYY')
-
the html form element attributes
Hey guys,.
Have a question about the attributes of the html form element
For a P1_Code element, I have an onchange = attribute "f_TestOnDemand (this.value)" "
Now if I want to add another attribute to the same P1_Code element, how to combine the two
the two attributes that I want to include for the same item are:
OnChange = hilitebtn (this.value)
OnChange = "f_TestOnDemand (this.value)" "
Thank you guys
Appreciate your help
JeshJesh salvation,
You must specify JavaScript functions in a defined mode of semcolon. In your example it will be as follows.
onChange = "hilitebtn (this.value); f_TestOnDemand (this.value)" "
Thank you best regards &,.
VikasYou can reward this answer by marking as being useful or correct ;-)
-
The HTML Form element attributes: Onchange
Hello
I get an error when I have two "Onchange =" for an Items element. Its shape and I want to be able to click the Previous and Next button to scroll through the records, but one already has an Onchange when the other Onchange is added I get an error:
The form Creation Wizard of paging uses
the JavaScript onChange event to alert users
When they are about to leave a page without
save their changes. Remove the onChange
event from any article with a database source
Column, restart the wizard.
Is it possible to have two Onchange =... to an article 'Attributes of the HTML Form element'?You are welcome!
Concerning
Andy
-
To hide the field of tabular form
Dears
I want to hide the tabular form by JScript field in the APEX. can anyone help me in this matter.
Concerning
KamranHello
Please see API javascript $x_Hide
http://download.Oracle.com/docs/CD/E14373_01/apirefs.32/e13369/javascript_api.htm#CHDDAGFEKind regards
Jari -
Tabular form and the value of the element
Hello people:
I certainly hope that your holidays are festive.
I have a question for you.
I have a tabular form which is filled, based on a list of selection (with the type of delivery). I placed a form on the same page (based on a table), and I would for a question to be filled as well following the list of selection even completing the tabular form. What is the best way to go about this? Calculation? I'm not sure how to do this...
Thanks for your help!
Aqua
AquaNX4 wrote:
I have a tabular form which is filled, based on a list of selection (with the type of delivery). I placed a form on the same page (based on a table), and I would for a question to be filled as well following the list of selection even completing the tabular form. What is the best way to go about this? Calculation? I'm not sure how to do this...
If the selection list submits the page then you can set the value of the element using a calculation after the presents. Make sure that it will not be reset by any statement of process or branch of State later clear session.
Maybe you are looking for
-
RAZR M hearing aid compatibility
My hearing aids have the ability of the induction loop, RAZR N is estimated as a M4/T4, which means the support of loop induction is as good as it gets. I and product support, have not found the switch that turns on, how we get out of the features of
-
Age Of Mythology: Gold Edition [resolved]
I was looking for an old thing here and I found the game Age Of Mythology: Gold Edition and nostalgia appeared in me, I installed and when I clicked on the icon, he asked to insert the cd to play, I inserted the CD again clicked and nothing he asked
-
I was using Skype with no problems, all of a sudden, everything was still, I finally had to restart the computer, uninstalled Skype, I tried downloading Skype again, uninstalling the toolbar was not possible, "required to complete the installation of
-
Error to find the frequency of signal to tachometer
I use the vi "Extract only your Information" to find the speed of a motor. The entrance is a monarch Laser Tach AC output. Tach reading is very regular and the AC output is 5 volts peak. There are a few negative pics, but these are at the speed of
-
I manually ran Windows Update for about 22 updates including KB3002885 (KB3000061 is not included at this time). It resulted in "Failure Configuring Windows Updates, changes of recovery". Measures taken (without the fix): -Reboot -Restart in Boot Cl