Remove line of af: from table of the VO readonly
Hello
I have an af:table in the page that is based on an unalterable VO. In the table, there is a column with a delete button to allow the user to delete the selected line. This VO is a bit like a cache for us, and we have a send button to perform a work based on the rows in the table.
I tried to use RowSetIterator.removeCurrentRowFromCollection () and ViewObjectImpl.removeCurrentRowFromCollection (). There was error complaining that it is an unalterable VO.
Please tell us how to implement delete line read-only VO.
Thank you
-Mina
Mina, please tell us your jdev version!
Two things to check:
(1) is there a PK set for reading only VO?
(2) are the attributes defined to be editable (allways)? What you have to do it by hand because they are never put to the query according to your.
Timo
Tags: Java
Similar Questions
-
Anyone know if the Adobe Pro 11 program allows allows you to remove and re - paste new tables in the existing PDF documents?
Hi span Structures.
Acrobat Pro XI allows to edit/insert text and images, but it is not intended to do some heavy lifting in this Department. And, there is really no way to modify the tables in Acrobat, because they are generally made of individual vector lines that you cannot fill.
If you have many changes to make, or want to add/remove a table, you better make these modifications in the source application and by recreating the PDF file.
Best,
Sara
-
Delete from Table on the Cancel button.
Hello
I am facing problem funny.
I created the form with the report page and I have option to implement send e-mail on the Page so I am attaching a document more with email.if I attach document then it goes into the DUMY_DOC_FILE table.
I create a process
If I press the button Cancel Button.This is redirecting on page no. 4. not my Code on Page 6.delete from DUMY_DOC_FILE . Process Point IS ON Submit -After Conmputation and Validation On Page No 6.
page is redirect to 4 but the doc don't delete Table of DUMY_DOC_FILE.
How to remove Doc from Table if I press the Cancel button.
Thank you
Published by: 805629 on January 13, 2011 05:25
Published by: 805629 on January 13, 2011 23:49
Published by: 805629 on January 14, 2011 12:43 AMThis conditional validation_, so that it does not cancel send button (for example: *: ASK! = 'NAME of the BUTTON' *)
-
How could I avoid creating C$ table in the db (readonly) source?
Hi all, I have a big problem here, hope you can help me :(
the source DB: ORACLE, SQLSERVER2005
target db: ORACLE
For oracle data to oracle, I use 'LKM to Oracle (Oracle DBLINK)', 'IKM Oracle incremental update' and 'CKM Oracle. "
Of data between SQL SERVER and oracle, I use 'LKM SQL for Oracle', 'IKM Oracle incremental update' and 'CKM Oracle. "
Today, my boss told me that I should not create or alter any table in the source database, even if it was table C$ created by ODI.
What can I do? Which KM in each progress (ELT) should I use to deal with this situation?Hi Jun,
U cannot use DBLINK and datapump in this case. Try SQL for SQL or SQL for Oracle LKM.
Thank you
Guru -
Extracting data from table using the date condition
Hello
I have a table structure and data as below.
create table of production
(
IPC VARCHAR2 (200),
PRODUCTIONDATE VARCHAR2 (200),
QUANTITY VARCHAR2 (2000).
PRODUCTIONCODE VARCHAR2 (2000).
MOULDQUANTITY VARCHAR2 (2000));
Insert into production
values ('1111 ', '20121119', ' 1023', 'AAB77',' 0002');
Insert into production
values ('1111 ', '20121122', ' 1023', 'AAB77',' 0002');
Insert into production
values ('1111 ', '20121126', ' 1023', 'AAB77',' 0002');
Insert into production
values ('1111 ', '20121127', ' 1023', 'AAB77',' 0002');
Insert into production
values ('1111 ', '20121128', ' 1023', 'AAB77',' 0002');
Insert into production
values ('1111 ', '20121201', ' 1023', 'AAB77',' 0002');
Insert into production
values ('1111 ', '20121203', ' 1023', 'AAB77',' 0002');
Insert into production
values ('1111 ', '20121203', ' 1023', 'AAB77',' 0002');
Insert into production
values ('1111 ', '20130103', ' 1023', 'AAB77',' 0002');
Insert into production
values ('1111 ', '20130104', ' 1023', 'AAB77',' 0002');
Insert into production
values ('1111 ', '20130105', ' 1023', 'AAB77',' 0002');
Now, here I want to extract the data with condition as
PRODUCTIONDATE > = the current week Monday
so I would skip only two first rows and will need to get all the lines.
I tried to use it under condition, but it would not give the data for the values of 2013.
TO_NUMBER (to_char (to_date (PRODUCTIONDATE, 'yyyymmdd'), 'IW')) > = to_number (to_char (sysdate, 'IW'))
Any help would be appreciated.
Thank you
MaheshHello
HM wrote:
by the way: it is generally a good idea to store date values in date columns.One of the many reasons why store date information in VARCHAR2 columns (especially VARCHAR2 (200)) is a bad idea, it's that the data invalid get there, causing errors. Avoid the conversion of columns like that at times, if possible:
SELECT * FROM production WHERE productiondate >= TO_CHAR ( TRUNC (SYSDATE, 'IW') , 'YYYYMMDD' ) ;
-
How to remove a user account from microsoft since the local account main administrator?
Basically started nitialy I entered my email incorrectly. Then I created a new profile with the correct e-mail and he agreed to become a microsoft account. Then I deleted the old start microsoft account via the browser, as it was useless, because I could not verify that the email was incorrect, and I could not change this without checking the account... Bit of an odd he implemented.
anyway. Now my main Administrator profile is not a profile of microsoft and electronic mail microsoft profile has no administrative privileges. I also want that one account as theres not point have two if they are identical. I tried to go to the users and manage the account but can't see anywhere. Please help me through this messHello
I understand that you are unable to remove a user account that is not listed in the control panel under users, manage account.
Follow these methods and check if that helps.
Method 1:
Please refer to these steps on how to remove a PC user account.To remove an account from your PC
You must be logged in as an administrator to perform these steps.
a. drag from the right edge of the screen, tap settings, and then tap Change PC settings.
Press or click accounts, and then press or click on other accounts.b. press or click the account that you want to remove, and then press or click delete.
c. press or click delete the account and data. (Please back up all important data before you delete the user account).
d. it may take a few minutes, if the account has a lot of associated data.
Method 2:
If you are not able to find the user account, and then follow these steps.
a. press Windows + R and type netplwiz, and then press ENTER.b. in user accounts, select the user tab.
c. now, click the account you want to remove and click Remove.
Check if it helps. If the problem persists, we would be happy to help you.
-
Excerpt from table (insert the provided table)
I would like to get the ID with one of the specific criteria
1 iDs who ONLY have LOST STATUS and TAKEN_DTE as NULL in the YEAR 2010/2011
The ID peut have status as TAKEN previous to the YEAR 2010 but first must meet the above criteria.
CREATE TABLE CHLOE_C)
ID varchar (8),
YEAR varchar (8),
Varchar (8), the STATE
TAKEN_DTE varchar (8),
STATUS varchar (8));
INSERT ALL
IN chloe_c (ID, YEAR, STATE, TAKEN_DTE, STATUS) VALUES ('80730 ","2006 ", 602" ", March 13, 2006 ', ' TAKEN')
IN chloe_c (ID, YEAR, STATE, TAKEN_DTE, STATUS) VALUES (' '80730', ' 2010 ', 705', 12 March 2010 ', "LOST")
IN chloe_c (ID, YEAR, STATE, TAKEN_DTE, STATUS) VALUES (' '6321 ', '2012', ' 1203', 13 March 2012 ', ' LOST')
IN chloe_c (ID, YEAR, STATE, TAKEN_DTE, STATUS) VALUES (' '6321 ', '2012', ' 1209', 13 March 2012 ', ' TAKEN')
IN chloe_c (ID, YEAR, STATE, TAKEN_DTE, STATUS) VALUES ('75454 ', '2010', ' 1015', ","LOST")
IN chloe_c (ID, YEAR, STATE, TAKEN_DTE, STATUS) VALUES (' '75454', ' 2011 ', 602', March 13, 2011 ', ' TAKEN')
IN chloe_c (ID, YEAR, STATE, TAKEN_DTE, STATUS) VALUES ('100 ', '2010', 6102', ","LOST")
IN chloe_c (ID, YEAR, STATE, TAKEN_DTE, STATUS) VALUES (' '100 ', '2009', 6152', March 13, 2009 ', ' TAKEN')
IN chloe_c (ID, YEAR, STATE, TAKEN_DTE, STATUS) VALUES (' '100', ' 2006 ', 61152', March 13, 2006 ', ' LOST')
IN chloe_c (ID, YEAR, STATE, TAKEN_DTE, STATUS) VALUES ('99 ', '2009', 5402', ","LOST")
IN chloe_c (ID, YEAR, STATE, TAKEN_DTE, STATUS) VALUES (' '99 ', '2010', 6102', 13 March 2010 ', "LOST")
IN chloe_c (ID, YEAR, STATE, TAKEN_DTE, STATUS) VALUES ('88 ', '2011', 6102', ","LOST")
IN chloe_c (ID, YEAR, STATE, TAKEN_DTE, STATUS) VALUES ('88 ', '2010', 6102', ","LOST")
IN chloe_c (ID, YEAR, STATE, TAKEN_DTE, STATUS) VALUES (' '88 ', '2009', 6102', 13 March 2010 ', "TAKEN")
SELECT * FROM dual;
THEN
ID 88 YES because it saisfies the criteria it has NULL in TAKEN_DTE and STATUS as LOST, for the two years
99 NO ID that she satisfied the STATE but it has a TAKEN_DTE year 2010
ID 100 YES it has the STATUS as LOST and YEAR 2010 (STATUS TAKEN is prior 2010 so its ok)
ID 6321 NO YEAR IS 2012 (DO YOU WANT ANYTHING FROM 2012)
75454 ID number STATE is LOST for 2010 which is what we want, but she also TOOK in 2011 which we do not want
80730 NO ID even if the STATUS is LOST TAKEN_DTE is not NULL
I tried something like this:ID 88 100
but it also gives me ID 75454Select distinct C.ID FROM chloe_c C WHERE c.taken_dte IS NULL AND YEAR in ('2010','2011') AND ID not in (SELECT ID FROM chloe_c c WHERE c.status = 'Taken' and c.year in ('2011','2010'))
Hello
That's what you asked for:
SELECT id FROM chloe_c WHERE year IN ('2010', '2011') GROUP BY id HAVING COUNT ( CASE WHEN status = 'LOST' AND taken_dte IS NULL THEN 'OK' END ) = COUNT (*) ;
Thnaks for the display of the sample data. don't forget why do you: that people who want to help you can recreate the problem and test their ideas. If you post code that does not work, then it is not so useful. You try to put 11 strings, for example, March 13, 2006 ", in a column of type VARCHAR (8)" Test your code before you post.
Use VARCHAR2, VARCHAR not, for strings.
Use DATE (or perhaps TIMESTAMP), no strings to the date information. -
I have tried (in vain) to set up a network "wireless ad hoc" to allow another pc share my internet connection (which works fine).
Needless to say, it didn't work! But now... every time I search for wireless networks, my ad - hoc network returns as an available network. Worse still, it now shows that non-secure, even if I got it.
So I need to remove quickly... but HOW please?
I "removed" control Panel\Manage wireless networks, but it keeps reappearing in the list of available wireless networks to connect to.
Try this:
Go to control panel > Classic view > Network and Sharing Center > customize > merge or delete network location > highlight the network, and then click on remove.
I hope this helps.
Good luck!
Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
-
How to export select data from table in the file?
Hello..
Here's my query to select data in 2 tables and I join help call_id column: -.
Select n.nbr_calling, n.nbr_called, c.tec, n.conversation_duration
of albn_ngnsm_280110 n, albc_ngnsm_280110 c
where c.call_id = n.call_id
and c.route_to_arbor = 1;
The problem is what is the query to export all the output in text files?
Thank you
BalleurHello
set echo off set heading off set pagesize 0 set linesize 150 spool D:\file.csv SELECT Query spool off
Thank you
Ankur -
How to remove columns from the table on the master 1-0?
I have an array of 96 columns with strings. I also have the array of int 96-elemets (mask) with 1 and 0.
What I want to do is to is to remove (or hide - but I read that it is not possible) all the columns with index corresponding to 0 in the mask table.
example:
columns in the table
1 2 3 4 5
mask
0 1 0 0 1
I want to remove the columns 1, 3 and 4 and leave only 2 and 5 in my table.
How can I do?
If I create loop for with i as the index of the column, when I do DeleteTableColumns() columns number decreases, and I get an error of range out of
Or do I have an option to hide the unnecessary columns (not set their width to 1, it's very ugly-looking)?
Please help me (())
Hello rovnyart!
1. removal of columns in the table:
I suspect that the reason why you get the out-of-range error is due to fact that in your loop, you delete the columns in the table, you'll eventually end up by referring to a column that no longer exists, because the other columns before it have been deleted. While you remove each column of your table in the loop for example, the column index number will move, because you deleted the other columns in front of her.
To resolve this, even if you delete a column in your loop, make sure that you take also into account that the index of the column is moved because of the removed columns.
2 hide columns in table:
You can use the ATTR_COLUMN_VISIBLE attribute to hide columns in the table:
http://zone.NI.com/reference/en-XX/help/370051Y-01/CVI/uiref/cviattrcolumnvisible_column/
3 alternatives:
Note that another alternative would also use a tree instead, control as the tree control also supports the hidable columns:
http://forums.NI.com/T5/LabWindows-CVI/table-hide-column/TD-p/569773
Best regards!
-Johannes
-
Button remove row created dynamically from the Table
In the form below, I can't any of the buttons to work properly.
There is a table at the bottom of the form and to the right a green + button. Clicking this button adds a row to update. This line when it appears has a delete on the left (white red with "X") button. If I click on the delete button, it works fine. But if I create several of these updates of lines, by clicking on the button on the third instance removes the first instance instead of the third instance. How can I fix it?
https://Acrobat.com/#d=4mzuO1Pjz-0Z4ntuLZAy4w
On the Remove button, you must change the setting stayed the removeInstance.
removeInstance (this.parent.parent.index - 1);
When you simply type this.parent.index, it refers to Subform3 where there is always only one instance. You add instances of Row1 [1] as a result, you must climb a level more. This.parent.parent.index. because you use Row1 [1] then you must use-1 as it is good otherwise will be the incorrect instance
If you had an exclusive name each line, you can then use this.parent.parent.index (without the - 1).
-
How to remove a line empty after an anchor of the table?
We use FrameMaker 12 on Windows 7 (64-bit) platform.
I'm working my way down to a chapter in the content of the training. I'm at halfway in the chapter, and - as fate would have - I need start a table at the top of a page.
When I insert a table (with a caption/title at the top), FM creates an anchor at the top of the page. The space to the right of the anchor is a blank line. In fact, I want the table to start at the top of the page without the white line to the right of the anchor.
That's what I tried, with results:
I put the cursor after the anchor and press DELETE.
Result: The text * under * the table is set up above the table.
I put the cursor after the last piece of text on the previous page and press DELETE.
Result: The paragraph on the previous page Stoops to the next page on the top of the table, leaving a large empty space on the previous page.
I change the start option (Table Designer) at the top of the column (or the top of the Page).
Result: FM leaves the anchor where she was, move the table until the next page and leaves a completely blank page where the table used to be.
Is it possible to just go up the table so that it is on the same line as the anchor?
(And as a design tool problem, is there ALWAYS a reason why a content developer wants a complete line of vacuum over a table?)
Thank you in advance,
TimAssuming that your para anchor has a spacing of X:
- In the Paragraph Designer set it for tea by anchor, base: space: below the FMP: -x
- In the table designer for the table, set the base: space: above: -x
>... it NEVER is a reason why a content developer wants a complete line of vacuum over a table?
A series of tables not run-together, sure. But the hack of negative space above there are quite often do suggests a design control.
-
Remove a line in the user interface of the table of the adf
I have a table of ADF, displaying the data I need to filter. Basically there is a column that indicates whether it should be displayed or not. Unfortunately, the query runs very inefficiently when a variable binding is applied on it. Therefore, I would like to return all the lines to the UI and then simply not display a line if it does not meet the criteria.
Is there a way to do this? I looked at the table component, but I saw no way to get there.
Thank youHello
the table does not allow you simple to hide the lines in this way. You wonder what makes the variable binding working slowly in your case. I think that adding a view criteria to the query that form you with a variable binding should run as fast as it does in SQL Plus.
Frank
-
Allowing the movement line temporarily on partitioned table
Hello
Using oracle 11.2.0.3 and have tables that are hash of composite range partitioned.
We need to update the dates of theses for a small percentage of records 1 < %.
Normally we have movement line enabled so that can copy the lines in the temporary table, update insert_table, remove lines concerned living table and replace them with the new dates of the partition.
Another option allowing possibly temporariliy movement line.
Thoughts?
Thank you
Is there any disadvanatges to allowing it for example from performance perspective.
Haerd was a bad iade of have it activated - perhaps isn't so bad.
Tom Kyte meets ALL these questions (and more) in this blog:
https://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:35203106066718
If never actually cause you a row to move, then there is zero overhead. All the movmement of line enable does is give us permission to move a line, if you do not ask us to move the line - extra "nothing happens.
. . .Follow-up Friday, March 10, 2009-02:00 UTC:
Is there something wrong? Only you can answer that you have any application that expects the rowid is constant for a line? If yes - then it is false, if not - then it's probably OK.
Any overload? No, it's just allowed to change a rowid if you perform an operation that would have caused a rowid to change - alter table t shrink compact space, flashback table t to..., update t set partition_key = some_value_that_moves_row;
You can change a table instantly to activate circulation line - whatever the size of the table - it'll be instant - you have no need to do advance if you don't want, fairly easy to add later...
I recommend you to read the ENTIRE blog because there are many other issues that should relieve your concerns and good examples.
As says this quote above if you have an application that expects the ROWID is constant for a line, then you might have a problem.
ROWID is the way the FASTER to search for a line. Sometimes the ETL process are complex and multiple operations on a line by multiple, separate steps.
You can often get huge performance gains in saving the values ROWID lines collections or tables of work/temp during ETL processing. For example, a query in PL/SQL can use ' RETURN ROWID IN... "to get all of the ROWID that affects the query.
This set of ROWID can be used in the following queries to locate the exact lines directly without the need of ALL indexes or other search criteria: WHERE ROWID IN...
If the ROWID has changed during the process, it would be disastrous if these processes are written in:
1. Enter the current setting of moving the line
2. turn off the movement of the line during the process
3 re-enable line movement ONLY if it has been activated prior to the start of the process
-
Delete the line feature in a Table with Multiselect LOV
[Issue]
Is it possible to add a remove function line in a Table Advancced with Multiselect LOV?
[Reminder]
I created a page OFA by "LOV Multiselect for Advanced of Table" according to the developer's guide.
This is the expected behavior.- The values in the LOV screen have been added to the table in the main screen.
- The values selected in the new LOV screen have been inserted to the table in the basic screen by additions.
Then, when I have attached an icon to remove a table, it was not the expected behavior.
- The values in the LOV screen have been added to the table in the main screen.
- Again selected in the screen LOV values were NOT inserted into the table of the basic screen by additions.
The deletion icon was created according to the tutorial from the OFA (Chapter 2: lessons from Core - delete)
and here are the properties of the element.- customer action type: fireAction
- form: true
- paraemter name: target
- parameter value: 1 (nominal value)
Before attaching the trash icon,
When the user select values in the LOV screen, processFormRequest method in the basic screen is executed.But after attaching the trash icon,
When the user select values in the LOV screen, processFormRequest method in the basic screen is NOT executed.Is it possible to add a remove function line in a Table Advancced with Multiselect LOV?
Best regards
Eimei
The problem was solved by changing a parameter name.
It seems that the parameter name 'target' is used in a standard program.
Maybe you are looking for
-
Recharge my Macbook air when it is opened or closed
I just got a brand new 13-inch Macbook air yesterday and I was wondering what is the best way to load it? Open and lit, closed and turned on, closed and power off, open and off, open and in mode 'Eve", closed and in mode 'sleep', or as I use it?
-
Hello I have an iMac with 1 TB HDD &! Backup drive external CT that are now filled and slowing everything up! Today I get 2 x external hard drives again 5 TB and will be new to move all the files to the 2 x new disks but will need programs like light
-
Satellite A200: After Vista Ultimate upgrade Chicony webcam does not work
Hello I hope someone can help me. For 3 weeks, I have buy the Toshiba A200 with Windows Vista Home Premium and very good built-in Webcam function. I have no problem. Yesterday I did an upgrade to Windows Vista Edition full and now the Webcam does not
-
Cannot run Microsoft FIXIT error: "an unexpected error has occurred.
Title: Microsoft Fix it fails Hello Whenever I try to run Microsoft Fix it, I get an error message saying something like "an unexpected error has occurred. The fix that it Wizard cannot continue. "I used to see if the Fix, it would help solve the pr
-
Trying to do a clean install of Vista 64 but only gives the repair installation option
I think I got a virus and it got to the point that I can not go on my computer safe mode. I got my drive and put it in. Unfortunately he gave me the opportunity to do a repair install (which wouldn't help because the virus would still be on the compu