How to change control in adf table
Hi
I am using jdev 11.1.2.1.0
I have a view object which have one boolean type transient field and set the control type in UIHints tab to CheckBox.
I create a jsf page and drop the iterator from data control (Created by that view object).
On jsf page the control for transient field is check box and I want to convert it to radio button.
Whenever I am converting this from property window radio button is not displaying on output window.
Please solve the problem and help me out.
Thanks
Hi Sudipto Desmukh
I am not using LOV for that transient field.
I just add a transient field in view object.
Let me explain more about my application that what I want to do.
Actually I am creating a finance approval application
I have 2 tables(header and detail)
On jsf page I take paneltabbed layout which have two tabs one for header and other for detail.
On first tab I drop header table to create adf table.
There is on concept which I want to implement that is row locking.
Means whenever user select any row of header in first tab and press on claim button the associated detail should be display in second tab.
and that particular record should not be display to any other.
To select a particular row in header I am using a transient attribute(Named select type boolean) in header view object.
now I want to display this attribute on jsf as radio button so that user can select only one row to claim.
i.e. if the value of radio button become true ,that particular row is ready to approve by that user.
How should I do the same ?
Please provide the help
Thank you
Edited by: Chandan Srivastava on ११ जून, २०१२ ५:३७ अपराह्न
Similar Messages
-
How to change records in standard tables ?
how to change records in standard tables ?
HI,
If you are asking from program..Then you can use BDC or BAPI to update the records in teh standard tables..
OR
use the corresponding tcode to update the record
Thanks
Naren -
How to change tablespace for a table in 10g?
Does anyone know how to change tablespace for a table (like changing tablespace for an index [alter index ... rebuild tablespace ... ])? Many thanks in advance.
alter table tablename move tablespace newtsname;
You need to rebuild the indexes after the move. -
How to change GUI title in Table maintenance generator?
How to change GUI title in Table maintenance generator?
Thanks
PankajHi,
In table maintenance goto
Environment>Modification>Maintenance screen
Click on layout button
Make editable form
change the text property of column.
save and activate it.
check in sm30 headings.
Pankaj -
How to change settings for insert table
I use DW CS4. Don't know how this changed but now when i click insert>table the result is insertion of a table with width of 960 and 8 columns and 8 rows?
Where can i change this back to what it was so that in properties i can set the width, the number of columns, the number of rows, etc.
thanks for your help,
Jim BalthropJBWebWorks wrote:
I use DW CS4. Don't know how this changed but now when i click insert>table the result is insertion of a table with width of 960 and 8 columns and 8 rows?
Where can i change this back to what it was so that in properties i can set the width, the number of columns, the number of rows, etc.
Dreamweaver should remember the last table definition you put on the page.
Insert>table>Specify Rows/Columns/Width
That should then be the default until you specify something else. -
How to change the limitation of Table name's length?
The length of table's name or field's name is limited to 30 characters.
Can I change it? If I want to create a long name table,then how can I do?
Thanks in advance!This is a duplicate of another question
How to change Table name's length?
The short answer is no, you cannot.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
How to add SelectionListener to ADF table Programatically?
Hi,
Iam creating ADF table programatically and trying to setSelectionListener(MethodExpression) to it. i am unable to pass parameter MethodExpression properly.
What i am trying to do is, need to get the values on row selection of table.
How to pass that method name in setRowSelection(MethodExpression) programatically.?
and Any one got sample code of performing row selection event programatically, i mean accessing the selected row in java class i.e., creation of table and adding listeners to it programatically.....
Thanks
Thoom
Edited by: User007 on Sep 4, 2011 9:06 PM
Edited by: User007 on Sep 4, 2011 9:45 PMThoom,
from the Docs:
public final void setRowSelection(java.lang.String rowSelection)so setRowSelection method take a string parameter, and when you look at the property inspector for 'RowSelection' in jdev (which setRowSelection is the peer) you see the possible values:
single, multiple, multipleNoSelectAll and none or their constant field values ROW_SELECTION_SINGLE, ROW_SELECTION_MULTIPLE, ROW_SELECTION_MULTIPLE_NO_SELECT_ALL, ROW_SELECTION_NONE. You use this property to let the framework know if you want row selection at all, single or multiple rows.
As you want to get the selected rows of a table you have to distinguish between singe and multiple selection, as they are handled in a different way. The default for single selection is to use the 'makeCurrent' selection listener from the bindings
#{bindings.YOUR_TREE_BINDING.collectionModel.makeCurrent}To Set this in code you need to generate an MethodExpression out of it
MethodExpression ex = JSFUtils.resloveMethod("#{bindings.EmployeesView1.collectionModel.makeCurrent}", Object.class, new Class[]
{ SelectionEvent.class });
table.setSelectionListener(ex);
public static MethodExpression resloveMethod(String expression, Class returnType,
Class[] argTypes)
FacesContext facesContext = cesContext.getCurrentInstance();
Application app = facesContext.getApplication();
ExpressionFactory elFactory = app.getExpressionFactory();
ELContext elContext = facesContext.getELContext();
MethodExpression methodExpression =
elFactory.createMethodExpression(elContext, expression, returnType, argTypes);
return methodExpression;
}Timo -
OIM: How to change user search results table?
Hello,
My customer wants to change the search results table to add/delete columns or move around the existing columns. Is there a way to configure or customize this? If so how? Please let me know.
ThanksThis jsp uses the table generator.jsp which shows the data in the form of table. You have to make your own action class to do this after extending their class (provided by oracle) tcSearchUserAction.java and you can show data as per your client requirement.
-
How to change stored procedure with Table Valued Parameter
I am not sure how to change the normal stored procedure with Table Value Parameter.Do I have to create a separate Table or do I have to create a datatype. Can you please help me with this
ALTER PROCEDURE [dbo].[uspInsertorUpdateINF]
@dp_id char(32),
@dv_id char(32),
@em_number char(12),
@email varchar(50),
@emergency_relation char(32),
@option1 char(16),
@status char(20),
@em_id char(35),
@em_title varchar(64),
@date_hired datetime
AS
BEGIN
SET NOCOUNT ON;
MERGE [dbo].[em] AS [Targ]
USING (VALUES (@dp_id, @dv_id , @em_number, @email, @emergency_relation, @option1, @status, @em_id, @em_title, @date_hired))
AS [Sourc] (dp_id, dv_id, em_number, email, emergency_relation, option1, status, em_id, em_title, date_hired)
ON [Targ].em_id = [Sourc].em_id
WHEN MATCHED THEN
UPDATE
SET dp_id = [Sourc].dp_id,
dv_id = [Sourc].dv_id,
em_number = [Sourc].em_number,
email = [Sourc].email,
emergency_relation = [Sourc].emergency_relation,
option1 = [Sourc].option1,
status = [Sourc].status,
em_title = [Sourc].em_title,
date_hired = [Sourc].date_hired
WHEN NOT MATCHED BY TARGET THEN
INSERT (dp_id, dv_id, em_number, email, emergency_relation, option1, status, em_id, em_title,date_hired)
VALUES ([Sourc].dp_id, [Sourc].dv_id, [Sourc].em_number, [Sourc].email, [Sourc].emergency_relation, [Sourc].option1, [Sourc].status, [Sourc].em_id, [Sourc].em_title, [Sourc].date_hired);
END;It's not clear how you would change the procedure. But assuming that you want to replace the existing scalar parameters with tabular input, this is how you would do it. You first create a table type:
CREATE TYPE Insertor_type AS TABLE
(dp_id char(32),
dv_id char(32),
em_number char(12),
email varchar(50),
emergency_relation char(32),
option1 char(16),
status char(20),
em_id char(35),
em_title varchar(64),
date_hired datetime)
Then you change the procedure header:
ALTER PROCEDURE [dbo].[uspInsertorUpdateINF] @tvp Insertor_type READONLY AS
And finally you change the USING clause:
USING (SELECT dp_id, dv_id , em_number, email, emergency_relation, option1, status, em_id, em_title, date_hired
FROM @tvp) AS [Sourc] ON [Targ].em_id = [Sourc].em_id
The rest is fine as it is.
Erland Sommarskog, SQL Server MVP, [email protected] -
How to change data in decision table using excel file in operating system?
Hello, BRF Experts
I now brf + for the first time in the current project is being developed.
Now, project has been facing a big problem.
Develop system that was developed in the history of decision table in the operating system can be used to update excel file, etc. I do not know whether.
So, I was tested, but can not change data in decision table.
[ error message : system is not change allowed ].
The operating system itself to the current system setting is immutable and check it
: changes and transports for client-specific object -> no changed allowed
: cross-client object changes -> no changes to repository and cross-client customizing object.
Decision table in the operating system can update the details if I want to know what to do.
Maintenance view can be modified in the operating system as a decision table, I wonder if you can create a view.
Edited by: Sung-Wook Ha on Jan 13, 2012 2:02 PMHi ,
Exchanging data with Microsoft Excel is done with the help of the XML-based file format (file extension .XSLX) introduced with Microsoft Excel 2007. If you are using an older version of Microsoft Office, you can download the Microsoft Office Compatibility Pack to upgrade the supported file formats from the Microsoft Download Center ([Exchanging Decision Table Data With Microsoft Excel |http://www.microsoft.com/downloads/details.aspx?familyid=941b3470-3ae9-4aee-8f43-c6bb74cd1466]). Once you have downloaded the Compatibility Pack, you have to install it on every workstation that has an older version of Microsoft Office installed.
Please refer the link-
[BRFplus-Data exchange with MS Office 2007|http://help.sap.com/erp2005_ehp_05/helpdata/en/b8/e03486d1df48c6baa3c4354f5198ee/frameset.htm]
Hope this helps.
Thanks,
Ajay -
How to change data in item table in sales order in UI
Hi Experts ,
i have 5 products line items in my item table in UI in sales order and i want to change the status of third line item on the basis of some condition .
please guide me how to do it .
thnx in advanceHi Abhinav,
You can assign a status profile to the item category of Item 3. Then set the condition depending on the new status profile.
Hope this helps..
Regards,
Shwetha -
URGENT - How to change data in a table
I have created the basic table to display some data. But how do I change some of the data in the table. I generate the data within my program and then need to display the new table data in the same original table.
So far I am just testing with the example codes from the sun website. How would I change the name Mary to say Kate? Do I have to implement an abstract table model? Can I just change the value in the array or something?
Thanks in advance
// create the table
Object[][] tableData =
{"Mary", "Campione",
"Snowboarding", new Integer(5), new Boolean(false)},
{"Alison", "Huml",
"Rowing", new Integer(3), new Boolean(true)},
{"Kathy", "Walrath",
"Chasing toddlers", new Integer(2), new Boolean(false)},
{"Mark", "Andrews",
"Speed reading", new Integer(20), new Boolean(true)},
{"Angela", "Lih",
"Teaching high school", new Integer(4), new Boolean(false)}
String[] columnNames = {"First Name",
"Last Name",
"Sport",
"# of Years",
"Vegetarian"};
final JTable table = new JTable(tableData, columnNames);
table.setPreferredScrollableViewportSize(new Dimension(500, 100));
//Create the scroll pane and add the table to it.
JScrollPane scrollPane = new JScrollPane(table);
//Add the scroll pane to this window.
//getContentPane().add(scrollPane, BorderLayout.CENTER);
displayPanel.add(scrollPane); -
HOW TO CHANGE DATA IN STANDARD TABLE
PLEASE HELP AS PER ABOVE.
THANKS,
LALITHi,
You can use the statements UPDATE / MODIFY to change the DATA in a database table
UPDATE
The statement UPDATE changes the content of one or more lines of the database table specified in target. The entries in source determine which columns of which lines are changed, and how they are changed.
System fields
The statement UPDATE sets the values of the system fields sy-subrc and sy-dbcnt.
sy-subrc Meaning
0 At least one line has been changed.
4 At least one line was not able to be changed, either because no appropriate line was found, or because the change would generate a line that leads to double entries in the primary key or a unique secondary index in the database table.
The statement UPDATE sets sy-dbcnt to the number of changed lines.
The changes are definitively copied to the database with the next database commit. Until that point, they can still be undone using a database rollback.
MODIFY
ex - modify <dbtab> from TABLE it_tab.
The MODIFY statement inserts one or several lines specified in source in the database table specified in target, or overwrites existing lines.
System fields
The MODIFY statement sets the values of the sy-subrc and sy-dbcnt system fields.
sy-subrc Meaning
0 At least one line is inserted or changed.
4 At least one line could not be processed since there is already a line with the same unique name secondary index in the database table.
The MODIFY statement sets sy-dbcnt to the number of processed lines.
The changes are transferred finally to the database table with the next database commit. Up to that point, they can be reversed using a database rollback. -
How to change Purch Org in table T001W for STO
Hi,
In the Production System wrong Purch. Org is appearing for the Plant Vendor Assignment in table T001W. Can someone pls tell how this incorrect Purch. Org can be changed to the correct one?
ThanksDB49,
Thanks for the reply.
Purchase Org has already been assigned correctly to both Plant and Comp Code. The issue is that the current Vendor/Company Code/Purch Org (ABC) combination has correct Plant assigned in VM (XK02), however in table T001W an incorrect Purch Org XYZ is appearing instead of ABC for the same Vendor/Comp Code/Plant combination. Even the Vendor is also not extended to the Purch Org. XYZ, but still this Purch Org is appearing in table T001W. This incorrect Master data entry was accidentally transported from DEV to QA and then to PROD server.
Now even after unassigning and then reassigning the Plant to this Vendor in XK02, the Purch. Org. does not change in table T001W.
Is there any way that this incorrect Purch Org can be changed in table T001W?
Regards. -
How to change control panel options and shortcuts in CS4
Hi there,
I'm trying to customize the control panel in CS4 and am having trouble with a couple of options:
- I've turned on distribute options but it won't display (only the align options will)
- Where do I find/change the shortcut for "Highlight the first option in the Control panel" (currently cmd 6)
Any suggestions would be much appreciated.
Cheers
BenI bet A-M is spot on. As for this lingering issue
macopp wrote:
The issue with the keyboard shortcut is that I can't find the option to edit it - do you know where it is or how to search for a shortcut so it can be changed?
since you know the current hotkey combo (CMD+6), you can call up the entire active keyboard set and search for this string. If you do so, you'll find this:
Product area : Views, Navigation
Toggle Keyboard Focus in Control Panel --- Default: Cmd+6
Maybe you are looking for
-
Auto goods receipt against production order
is it possible to do auto goods receipt against production order of (material with serial number) if not please suggest me solution please also tell me possibility of enchancement for goods receipt against production order sunil
-
When I connect my laptop to a monitor - the problem is not there. I can see local streets clearly because the background color is gray and the streets are white - Any ideas as to why?
-
BI 7.0 Installing Business Content
Can anyone tell me the steps that are required to activate business content in BI 7.0? Thank You
-
Massive colour variation from Aperture to Photoshop
Hi there I have experienced a startling colour variation when exporting an image form Aperture to Photoshop 3 (for a bit of tweaking). Please see this screen grab which shows the variation - particularly the desaturated reds in p/shop: http://www.whi
-
AppleTV and Firewall - Streaming Problem
Hi All I currently have 2 ATV1s which are both linked to iTunes running on a Server (Windows 2008 R2) via Streaming rather than Syncing. I have no issues with the connection until I enable the Fire Wall. I have ebaled the following Ports TCP 123, 36