A tabular presentation read-only
HelloI'd like to "pass" an array form read-only (all fields of the form) If a definide in page 0 (P0_role) item is equal to "READER".
I use 4 APEX.
Any suggestion?
Thanks in advance
concerning
Saverio
Hello
try going on http://forums.oracle.com/forums/thread.jspa?threadID=2216389&start=0&tstart=0
It is a position similar to your request, can be that find you something that can help you get the desired results.
Kind regards
Little Foot
Tags: Database
Similar Questions
-
Field read only based on the authorization form
Hello
I have a field in a tabular presentation read only based on a permission scheme, as you can for a field in the region with the help of a condition of PL/SQL. Is it possible to do this?
See you soon,.
Andrew.Hi André,.
Caught this idea,
Please create a plus column within the report using as "alaisecolumnname" then
column with editable text for authorization schema [ISADMIN] box
draw sheet column with displayonlytext for authorization shcema [NOTISadmin]I hope that it will match your expected results, I tested it in my workspace works very well for me
Thank you
Select this option. -
OGNL presentation - mark read-only?
Hello
In part an UserInteraction object, I have a value default of ' #_userdisplayname '.
I use this for which captures the current user who meets the interaction (approval process).
Is it possible to transfer only the current user (cannot be changed)? I use for verification purposes, but don't want the person approving the action to change it.
BTW...
The end-user uses the web client in 6.x to respond to these actions.
Thank you
B
Hello
There is no direct property to mark a presentation read-only field.
There is a sort of workaround, however. Open to edit the presentation of user interaction (as indicated on your screen), click the "Approve" display group and enter the expression you want to display in the form of a text read-only in "General"-> field 'Description' at the bottom of the dialog box.
For example, you can enter something like:
Directly responsible for: ${__userdisplayname}
When you start the workflow, and it reached approval stage, you should see a read-only label, something like
Directly responsible for: __John Doe
-
Dynamically set read-only columns in the tabular presentation at record levels
Hello
Is it possible to activate and deactivate fields at the level of the line in a tabular presentation... I use OFA to create a page that should give the possibility to activate and deactivate certain fields in the table on the fly...
Here's the requirement:
examples of data
Item_code | Review | Point Attrib1 | Article attrib2 | Article attrib3 | Columna | ColumnB
1.234 100 A B _ A _
1.235 100 B _ B _ A
fields point attrib3 and Columnb should be read-only if the value of attrib1 point is A
Even if point value attrib1 is B columna and attrib2 of the element must be read-only...
I have PPR on item_attrb1 to manage the change of value in the attrib1 element, but I'm not able to make fields read only at the level of the line... Please help me if someone has work around this
Is this possible?
Thank you
Dilip
Hello..
It is possible. Made myself.
You must use SPEL for this.
Steps to follow:
1. the Caisse one type of transitional say as Boolean column ReadOnly
2 set the Readonly property for that column as ReadOnly
(Syntax FRO SPEL-> {oa. VO. ReadOnly})
3 al ' PPR after checking the status, the ReadOnly Anaïs value accordingly.
.
You can get the idea here.
https://blogs.Oracle.com/manojmadhusoodanan/entry/hiding_an_item_conditionally_through
-
Disable or read-only for all text elements on a specific row in a tabular presentation
After spending all morning on the interweb Googling I'm still at a loss as to how to do this
I'm on the apex 4.01 version
I think that if I were on 4.2 I could do this through dynamic actions, oh well
Maybe I could use javascript to loop through each line check the value of the field and then make each disabled/readonly element
can't seem to find an example that I can understand enough to tweak
Basically, I developed a tabular form that the customer love with nice formatting, the calculated values in the column headings that I am very proud of :-)
line highlighting values etc but one last request escapes me
We have three lines that we need to lock so that the user cannot change the values in the text fields
in the PM_REF column, we have a value, if the value is 200 300 or 400 so all the line items must be disabled or read-only
I hope someone can put me out of my misery so I can fill out this form,
Thank you very much
ChrisYou always
$("td[headers='ASSIGNMENT_ID'] input:visible", this.triggeringElement).each(function(){
where it should be
$("td[headers='ASSIGNMENT_ID']", this.triggeringElement).each(function(){
"td [headers ="ASSIGNMENT_ID"] entry: visible" seeks of entry elements, which are not there, it's just plain text. Change that, and it should work just fine.
-
Hello
I have two or three items with dates selectors and do not want to implement
This code because it will be too many buttons on my form. I need to delete an element
at a time when the date picker is read-only, but in tabular form.
Then after that I created a button url and pass this function I can erase the datepicker. But, Ifunction f_clear_items() { {$x('P1_ITEMA').value = ''}; {$x('P1_ITEMB').value = ''}; }
has been wondering is there a cleaner way to do this.
I have other items on the page that are the same name but in different tables. I only want
to clear each item date picker at the same time. This code works very well for a regular shape.
-Item after item to erase text element
There is a named thread "how to delete a page only reading point...?" that shows how this code works, but does not worka href="javascript:setValue('P1_ITEMA','');">Clear Date</a
work for a table shape in a page master detail. There is a link on the side of the switch of dates to delete the item specified, but in a tabular form point, there is no tab of the item, any ideas on how to clear a date picker component readonly by using a tabular form
and not with a button for each item, thanks in advance. I use the Application Express 3.2.0.00.27.Charles,
I did a little more for you...
Kind regards
Danhttp://danielmcghan.us
http://sourceforge.NET/projects/tapigen
http://sourceforge.NET/projects/plrecurYou can reward this answer by marking as being useful or correct ;-)
-
Conditional read only the rows in a table
We have a requirement only under a certain condition (which may change each line), a line can be read only or editable and are uncertain how to implement this with APEX
for example, lets say a table has the following features
columns: ID, Date, editable
1, September 12, 2015, Y
2, September 15, 2015, Y
3, 18 September 2015, N
4, 19 September 2015, N
5, 22 September 2015, Y
Thus, when this data displays on a page in a tabular presentation, the date ONLY are editable for lines 1, 2 and 5. For lines 3 and 4, the date cannot be changed
In the ADF, we get this by setting the attribute readonly on the date component to "row.bindings.Editable.inputValue =='N" ""-this would be evaluated by line and switch read only one or off for each date listed in the table.
Help, pointers would be greatly appreciated!
See you soon,.
Brent
Here is a link to a starting point: dynamic Action on a tabular presentation. Jeff Kemp on Oracle it shows how to condition the unalterable columns. The same logic would apply only to a line level...
Thank you
Tony Miller
Los Alamos, NM -
How could put editable report column as read only based on the other domain
Hello world
I'm new to APEX. I have a modifiable tabular report (SQL query). When I choose the column (which is a selection list) of a certain value, I want column B to be read-only (depending on the result of an another SQL described below). It doesn't seem to be a READ ONLY section in the type of tabular report where I could put my SQL condition.
In other words, "column B" must be read only based on SQL returning following true or Exists:
Thus, to determine if column B is ready only, I need the following logic:
SELECT 'x '.
of tab1
where key = (value of column A)
and the flag = "Y".
Any help would be greatly appreciated!
Thank you
FrançoisYou can only do so if your tabular presentation is a manually created. In this example, it shows how to set this property:
http://Apex.Oracle.com/pls/OTN/f?p=31517:170
You can use a case statement to set this property for specific lines.
SELECT empno, CASE WHEN ename LIKE 'A%' THEN apex_item.text (34, job, 80, 100, 'style="width:170px" readonly="readonly"', 'f34_' || '#ROWNUM#' ) ELSE apex_item.text (34, job, 80, 100, 'style="width:170px"', 'f34_' || '#ROWNUM#' ) END job FROM emp
Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
------------------------------------------------------------------- -
Put some files on DVD and then tried to change them. Receipt message they are 'read only' tried to click on 'read only' in the properties, but this does not work. The 'read only' is back. How can we change the files on a DVD?
In general, once you write multi-utilisations, you can not edit the file. If you use a rewritable media, you can delete the file and write again.
DVD writing (burning) is not present natively by XP. What application you are using, including version? Support for packet writing?
-
Hi all
I haven't worked much on tabular forms and JS. I'm looking for help in this regard.
I'm working on a tabular presentation. with several editable fields... I need to disable a column (just for this single line), which contains an image, based on a field of LOV (static) list) (Y/N). The image column must be disabled if the value is N.
My SQL for the report is something like this: (will keep things simple)
Select
emp_id,
emp_name,
static_list,
(case when STATIC_LIST = "Y" THEN ' < a title = "Edit SAMPLE TBL" href = "f?) p = & APP_ID.:10: & APP_SESSION.:NO:P10_EMP_ID, P10_EMP_NAME :'|| EMP_ID | «, » || EMP_NAME | "" "> < img src =" "#IMAGE_PREFIX #SAMPLE.gif" border = '0' (> < /a > ' other ' ' end) as disable_col, "
dept_name
of sample_table
I scoured the topics in this forum. Most of them were made using the table ID f_001, f_002.
I tried to follow the same path by inspecting the item but the disable_col does not have any ID. Let's say, f_003 is for the static list and f_004 is assigned to dept_name.
I tried dynamic actions, but it did not work. Read in a topic that dynamic action does not work on tables. So I chose this approach. Is there a simpler way to solve this?
need your help on how to proceed with this scenario. Thank you in advance.
Versions: Apex: 4.2, DB: 11 g
Thank you
Daniel
Hi Daniel_A,
Daniel_A wrote:
I did my job in Page 4.
If the IS_VALID column is select as 'Yes' then the column hyper must be enabled, allowing the user to click on it. If she chose the 'no', then the column Hyper must be disabled for this line.
The initial question about toggle the hyperlink is resolved. Check your App-> Page 4 35160.
This is done with the help of two dynamic actions:
- DA first loading of the Page / after updating of region "tabular":
Event: After refresh
Selection type: region
Region: The other 'tabular '.
Condition: No strings attached
Action: Run the JavaScript Code
Fire on loading the Page: Yes
Code:
$( 'select[name="f08"]' ).each(function() { if ( $(this).val() === "N" ) { $(this).closest("tr").find('td[headers="HYPER"]').find("a").addClass("apex_disabled").unbind("click"); } });
Items concerned: no item affected
- Second DA on the evolution of the selection list:
Event: change
Selection type: jQuery Selector
jQuery Selector: select [name = "f08"]
Condition: No strings attached
Action: Run the JavaScript Code
Fire on loading the Page: No.
Code:
var el = this.triggeringElement; if ( el.value === "N" ) { $(el).closest("tr").find('td[headers="HYPER"]').find("a").addClass("apex_disabled").unbind("click"); } else { $(el).closest("tr").find('td[headers="HYPER"]').find("a").removeClass("apex_disabled").bind("click"); }
Items concerned: no item affected
NOTE: as the original question/topic related to toggle the image link in the column, for the problem with the Page 5, please create a new thread with the details.
Kind regards
Kiran
-
Tabular presentation - PK_DISPLAY with name
Hi all
Request Express 4.2.4.00.08I have setup an example on apex.oracle.com.
Workspace: BRENTDEMO
user: demo
PW:demo
On page 2, I have a dynamic action
jQuery.each($('input[name="f03"]'), function() { alert('Name = ' + $(this).val()); var deptno =$(this).closest('tr').children('td[headers="DEPTNO_DISPLAY"]').find('input[name="f02"]').val() alert('deptno = ' + deptno); })
If you use firebug on the page, the DEPTNO_DISPLAY column has no name/id associated so obviously that this action will not warn the correct value. How I would go about assigning an id/name of the DEPTNO_DISPLAY column to retrieve the value. I want to get this value it is because I have a how to remove custom that needs the PK ID. (Not in this application example).
I tried to make the column DEPTNO_DISPLAY a text field (changing names in dynamic action). However, it gives an error message of "current version of the data in the database has changed since the user initiated the update process. version of current line identifier = "6FC404C2EDDB998C91CD7473B6DDA6A5" line application version identifier = "D3B1B18D31905688985A3EA6D5F82FB2" (line 1).
On page 3, I tried to adjust the sql query to read
select "DEPTNO", "DEPTNO" DEPTNO_DISPLAY, "DNAME", "LOC", apex_item.text(10,deptno) as deptno_with_name from "#OWNER#"."DEPT"
With dynamic Action
jQuery.each($('input[name="f03"]'), function() { alert('Name = ' + $(this).val()); var deptno =$(this).closest('tr').children('td[headers="DEPTNO_WITH_NAME"]').find('input[name="f10"]').val() alert('deptno = ' + deptno); });
This allows all work fine, except when a validation fails on the page. If you set Dname null and try to send the page, the following error message is displayed in the form of tables:
error report:
ORA-01403: no data found
ORA-06510: PL/SQL: not supported by the user-defined exception
Now, if you are populating Dname with what either, and you're trying to send the page again, you receive the following error message:
Current version of the data in the database has changed since the user initiated the update process. version of current line identifier = "A884FA378C851786DDFE3A33709CB23C" line application version identifier = "6FC404C2EDDB998C91CD7473B6DDA6A5" (line 2)
I tried searching forums and I believe that page 3 does not work because the mixture of apex_items and a Query (updateable report) "SQL" does not work. Please correct me if that's wrong.
Does anyone have a solution on how I can retrieve the value of DEPTNO? Is the best solution to use a tabular presentation manual? If more information is needed, please let me know.
Thank you
Brett
What about just using the text() td value?
The javascript code for your dynamic action reads as as follows, and the alert shows what is desired:
jQuery.each($('input[name="f03"]'), function() { alert('Name = ' + $(this).val()); var deptno =$(this).closest('tr').children('td[headers="DEPTNO_DISPLAY"]').text(); alert('deptno = ' + deptno); });
-
Hello
I created a data guard with 1 physical and 1 relief database.
Database: 11.2.0.4 - Enterprise edition
Everything is OK, if the wait is still in State of Mount.
but.
When I want to open the day before in read-only mode, log shipping is stop.
I found az error in the primary newspaper:
PING [ARC2]: Unable to connect to the standby Heartbeat "keeps." The error is 88.
The newspaper of Eve:
alter database open read only
AUDIT_TRAIL initialization parameter is changed to OS, as DB is NOT compatible to the database open with read only access
Wed Dec 03 12:02:02 2014
SMON: enabling cache recovery
Dictionary check start
Verification of the complete dictionary
Database character set is AL32UTF8
No Resource Manager plan active
off replication_dependency_tracking (no replication multimaster async found)
Physical standby database opened for read only access.
Completed: alter database open read only
Wed Dec 03 12:02:03 2014
Mo 4977 db_recovery_file_dest_size is 2.29% used. It is a
user-specified limit on the amount of space that will be used by the present
for the files related to the recovery of databases and does not reflect the amount of
space available in the underlying file system or ASM diskgroup.
Thanks for your help and sorry for my bad English.
LACI
Oracle error: ORA-00088
Error description:
Cannot be executed by the shared serverCause of the error:
Debug command issued on a shared server.Action:
Run the command again using a dedicated server. -
How to activate a field read-only for data entry.
Dear all,
In fact, I'm bring a form simply queries the table of database data and shows it. It presents the data in readonly textfields.
There is a button that can create a new line. The problem is when the system is to create the line he is creating the messagefield readoly.
In order to overcome the situation that I wrote the code below
mainVO.last () .setAttribute ("IsTextReadable", Boolean.TRUE); To make the last row entrable for the user.
But the system gives the error when the user is pressing the button create
Details of the exception.
oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: Houston-25058:
IsTextReadable of the type definition of that attribute is not found in XxphccamsfdbmstdtlrVO1
Could you please suggest me how to make the textfield readonly can be changed dynamically.
Concerning
Rajat
Dear Stephanie,
Thanks for your reply. I solved the problem and it was pretty simple.
I created a transient in the VO and attached attribute the transitional attribute to the property read-only from the field using SPEL (${oa.) XxamsfdbdtlrVO1.Viewenb}).
Select the line that you want to update and run it.
row.setAttribute ("Viewenb", Boolean.TRUE);
Concerning
Rajat
-
How to add the transient attribute for LOV (object of the view read-only)
I have a view called CustomerView and attribute DepartmentId is present in it.
Also exists DepartmentView and CustomerView.DepartmentId has an LOV from this point of view.
I need to add a transient attribute to CustomerView which express the DepartmentName attribute in the LOV.
Because of the view are read-only there is no entity object don't match them.
How can I write the groovy for the transitional object expression.
The name of the view accessor Lov's DepartmentView1
Looking for your help. Thank you.
Hi gcoban
I do not understand your question correctly,
you are not able to write to the expression property in viewObject?
or you want to know how to write groovy for that?
for writing groovy you need viewAccessor and you who have, you can try as Alejandro Tovar Lanz suggested
or you can write code in RowImpl to fill in the name of the Ministry of the accessor
See -https://blogs.oracle.com/adf/entry/combo_lov_how_to_display
Thank you
-
Look for the lines selected on a tabular presentation
Hello guys and girls,
I have a small problem trying to understand if/how I can check by pressing the "submit" button if there where no records selected in my tabular presentation.
To explain better: I have a selection list in which the user select an employee. On this choice, a tabular presentation appears with the own products for this employee.
The user must check at least one of the lines to go further.
If the user does not select all and always press the "submit" button you should see an error message saying: "there are no selected product."
What I was doing until now (stupid I suppose) was to create a Boolean as validation:
DECLARE
vRow directory;
BEGIN
BECAUSE me in 1... apex_application.g_f01. COUNTY
LOOP
vRow: = apex_application.g_f01 (i);
If vRow is NULL then
Returns false;
on the other
Returns true;
end if;
END LOOP;
END;
But does not work. If I have no active records it will say nothing and let me go. If I check something even record.
Help, please.
There must be something that I have no idea about.
Thank you very much.
Gabriel
Checkboxes only support values for the lines. For example, a loop on the table will always return true since vRow will never be NULL. In addition, a table with a number equal = 0 will not be locked during all, again don't generate no errors.
No loop, just check apex_application.g_f01. COUNTY. If it is 0, no checkboxes have been verified.
Maybe you are looking for
-
When I try to open a video on the Xfinity homepage he just clocks/loading. I have no problem with other sites. Non-video items load very well. Xfinity is unable to solve the problem.
-
Norton Identity Safe with Firefox
My Firefox updated today, and now I can't use Norton Identity Safe. After reviewing other issues, I've updated my Norton product via live update, but this has not solved the problem. Any suggestions?According to the page Add on, I have 2013.4.0.10, d
-
When google suggest you address this issue to the top or the bottom is facing it is to be face down, but when you look at the online HP, he said face place even with the bent corner that suggests it is to be face down, but they also say that it depen
-
could someone explain this error message on the circumstances Error 1 this is produced to Get Queue Status in the file NI_LVConfig.lvlib:Get Path.vi-> NI_LVConfig.lvlib: Close Config Data.vi-> also someone could guide me how to get more information o
-
HP Envy 17 L8L13AV: How can I change the hard drives in my desire to 17
So finally getting my new laptop for work, the first thing made disk image and drive cloned to 2 separate drives, 1 disk to hide for emergency use second drive an SSD to replace the 1 TB drive. Low and here is new HP Envy can not simply pull old (new