Multipane selected element index
Hi,
I am trying to use Multipane UI element which has a 'button' UI element within it. The action should have as a parameter the index of the pane in which it was pressed.
The multipane is bound to the context node. It is enabled.
The documentation says that multipane element should change the lead selection of the context node to which it is bound when something is 'used' within an individual pane. But it does not. Is it correct?
Does anybody know how to get the index of the pane which was 'used'.
Thank you,
Helen
Hi Helen,
please could you tell us, where you found this information in the docu? I cannot find such thing.
The Multipane does not change the lead selection. If you have a button inside it, a reference to the context element, which identifies the current multipane part, is passed to the action. Just declare
CONTEXT_ELEMENT TYPE REF TO IF_WD_CONTEXT_ELEMENT
as an importing parameter to the action.
Regards, Regina
Similar Messages
-
Get selected elements from a table
Hi all,
I have a requirement like i m enhancing standard component in that i have added one button on click of that i want fetch the selected line item from the table ( which is a normal table). selection mode is auto.
i tried with the following code.
DATA:lr_element TYPE REF TO if_wd_context_element,
lv_index TYPE i.
*--Get selected element
lr_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
****Here itself its throughing dump because lr_element is initial***************
*--get selected element index.
lv_index = lr_element->get_index( ).
can any one help me what is the wrong.. else suggest me how to get the selected elements from a table....
Thanks in advance.*--Get selected element
lr_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
if lr_element is bound.
lv_index = lr_element->get_index( ).
endif.
Instead you can directly read the node if that row is a lead selected one.
lo_node = wd_context->get_child_node( name = 'EMP' ). "Emp is node name
lo_ele = lo_node->get_lead_selection( ).
or
lv_index = lo_node->get_lead_selection_index( ).
where is the above code written..is it written in OnLeadSelect event of the TABLE..
can any one help me what is the wrong.. else suggest me how to get the selected elements from a table....
As the selection mode is Auto there is no multiple selection..hence try to use the lead selection only.
Edited by: Lekha on Jan 3, 2012 6:47 PM -
JScrollpane, scroll to selected element
I have a JList of years inside a JScrollPane. The size of the scrollpane is the height of one row, so you can only see one year at a time. If the selected element in the list is changed, I want the ScrollPane to move to the selected element.
It was suggested to me that I use the methods
scrollRectToVisible()
and
getCellBounds()
but I can't get that to work.
Here is just a rough bit of code using these functions:
import java.awt.*;
import javax.swing.*;
public class test {
public static void main(String[] args) {
JList selectYear;
DefaultListModel selectYearModel;
JScrollPane selectYearScrollPane;
selectYearModel = new DefaultListModel();
selectYear = new JList(selectYearModel);
selectYear.setFixedCellHeight(25);
selectYearScrollPane = new JScrollPane(selectYear);
selectYearScrollPane.setPreferredSize( new Dimension(100, 25) );
for(int i=1800; i<2200; i++) {
selectYearModel.addElement(""+i);
selectYear.setSelectedIndex(5);
selectYearScrollPane.scrollRectToVisible( selectYear.getCellBounds(selectYear.getSelectedIndex(), selectYear.getSelectedIndex()) );
JFrame myFrame = new JFrame();
myFrame.setVisible(true);
myFrame.add(selectYearScrollPane);
myFrame.pack();
}If you run this you will see that the selected index is not scrolled to.I have a JList of years inside a JScrollPane. The
size of the scrollpane is the height of one row, so
you can only see one year at a time.Then you shouldn't use a JList. A JSpinner seems more appropriate.
If the selected
element in the list is changed, I want the ScrollPane
to move to the selected element.
It was suggested to me that I use the methods
scrollRectToVisible()
and
getCellBounds()
ensureIndexIsVisible(int index) might work better. -
hi!
I have a SELECT element in my html-file and i can't get the selected value from it in NETSCAPE. In Explorer
everything goes fine with the code tha is beneath.
I am a very beginner in this and do not know if there is a error in my code or should i code this diffrently in NETSCAPE.
Can anyone help me?
Here is part of the code i have.
function initSearch()
var f = document.search;
var fa = document.add;
fa.ADD_FORM.options.length = 1;
fa.ADD_FORM.options[1] = new Option('--Lakis��teinen tapaturmavakuutus', ' ');
fa.ADD_FORM.options[2] = new Option(' Palkkatiedot 4 viikon ajalta', '/redbox/servlet/com.sampo.redbox.servlet.FormServlet?ACTION=NEW&FORMVERSION=0&FORMNAME=OccuAcci4WeekPay');
<form name="add">
<TABLE name="add_table" border="0">
<TR>
<TD> </TD>
<TR>
<TD><FONT color=#000000 face=arial,helvetica size=3>Lomakkeet:</FONT></TD>
<TD colspan=3>
<SELECT NAME="ADD_FORM"
<option value="--none--">-
<option value="--none--">Valitse Lomake . . . . . .
<option value="--none--">-
<option value="--none--">-
<option value="--none--">-
</SELECT></TD>
</TR>
<TR>
<TD colspan=4 align="center">
<input type="button" value="Avaa" onClick= "loadFormLink(document.add.ADD_FORM.value)">
</TD>
</TR>
</TABLE>
</form>This should do:
document.yourForm.yourSelect[document.yourForm.yourSelect.selectedIndex].text;
or
document.yourForm.yourSelect[document.yourForm.yourSelect.selectedIndex].value;
For more information here you have a link to the JavaScript reference.
http://developer.netscape.com/docs/manuals/communicator/jsref/index.htm -
Delete selected elements??
Hi all,
How do I delete selected elements in a node? Let say I want to delete element index 2. How do I do it? Thanks.Hi.,
Get the selected Element or selected Index.,
now read the internal table in node using get_static_attributes_table method.,
loop the internal table
count = count + 1.
if count = selected index.
esle.
append internal table to final internal table (itab-fin).
endif.
endloop.
now bind_table( itab_fin ). " now the selected element will not appear in the node.
you can also use remove_element method to remove selected elements
hope this helps u..
Thanks & Regards,
Kiran -
'Variable Substitution' error - Expected numeric element index
Hello everyone!
I'm using the 'variable substitution' property in XI to replace the filename of the output file to a value in the message payload.
Here are the parameters I provided:
File Name Scheme: %filename%.xml
Variable Name: filename
Reference: payload:ORDERS05,1,recordset,1,IDOC,1,E1EDK02,BELNR,1
I'm getting this error in the adapter engine:
Caught exception while initializing variable substitution engine: Cannot parse pseudo-path for variable substitution: 'filename': Expected numeric element index, got 'BELNR': For input string: "BELNR"
Can anyone tell me what this means, and how I can fix this problem?
Thanks in advance!
GlennYup, raj! it's IDOC to file.... I did what you asked but I'm now getting this error:
MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message header: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message header
any idea what it means?
Kind regards,
Glenn -
Team , Thanks for looking into this ..
As a last resort on optimizing my stored procedure ( Below ) i wanted to create a Selective XML index ( Normal XML indexes doesn't seem to be improving performance as needed ) but i keep getting this error within my stored proc . Selective XML
Index feature is not supported for the current database version.. How ever
EXECUTE sys.sp_db_selective_xml_index; return 1 , stating Selective XML Indexes are enabled on my current database .
Is there ANY alternative way i can optimize below stored proc ?
Thanks in advance for your response(s) !
/****** Object: StoredProcedure [dbo].[MN_Process_DDLSchema_Changes] Script Date: 3/11/2015 3:10:42 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- EXEC [dbo].[MN_Process_DDLSchema_Changes]
ALTER PROCEDURE [dbo].[MN_Process_DDLSchema_Changes]
AS
BEGIN
SET NOCOUNT ON --Does'nt have impact ( May be this wont on SQL Server Extended events session's being created on Server(s) , DB's )
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
select getdate() as getdate_0
DECLARE @XML XML , @Prev_Insertion_time DATETIME
-- Staging Previous Load time for filtering purpose ( Performance optimize while on insert )
SET @Prev_Insertion_time = (SELECT MAX(EE_Time_Stamp) FROM dbo.MN_DDLSchema_Changes_log ) -- Perf Optimize
-- PRINT '1'
CREATE TABLE #Temp
EventName VARCHAR(100),
Time_Stamp_EE DATETIME,
ObjectName VARCHAR(100),
ObjectType VARCHAR(100),
DbName VARCHAR(100),
ddl_Phase VARCHAR(50),
ClientAppName VARCHAR(2000),
ClientHostName VARCHAR(100),
server_instance_name VARCHAR(100),
ServerPrincipalName VARCHAR(100),
nt_username varchar(100),
SqlText NVARCHAR(MAX)
CREATE TABLE #XML_Hold
ID INT NOT NULL IDENTITY(1,1) PRIMARY KEY , -- PK necessity for Indexing on XML Col
BufferXml XML
select getdate() as getdate_01
INSERT INTO #XML_Hold (BufferXml)
SELECT
CAST(target_data AS XML) AS BufferXml -- Buffer Storage from SQL Extended Event(s) , Looks like there is a limitation with xml size ?? Need to re-search .
FROM sys.dm_xe_session_targets xet
INNER JOIN sys.dm_xe_sessions xes
ON xes.address = xet.event_session_address
WHERE xes.name = 'Capture DDL Schema Changes' --Ryelugu : 03/05/2015 Session being created withing SQL Server Extended Events
--RETURN
--SELECT * FROM #XML_Hold
select getdate() as getdate_1
-- 03/10/2015 RYelugu : Error while creating XML Index : Selective XML Index feature is not supported for the current database version
CREATE SELECTIVE XML INDEX SXI_TimeStamp ON #XML_Hold(BufferXml)
FOR
PathTimeStamp ='/RingBufferTarget/event/timestamp' AS XQUERY 'node()'
--RETURN
--CREATE PRIMARY XML INDEX [IX_XML_Hold] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index
--SELECT GETDATE() AS GETDATE_2
-- RYelugu 03/10/2015 -Creating secondary XML index doesnt make significant improvement at Query Optimizer , Instead creation takes more time , Only primary should be good here
--CREATE XML INDEX [IX_XML_Hold_values] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index , --There should exists a Primary for a secondary creation
--USING XML INDEX [IX_XML_Hold]
---- FOR VALUE
-- --FOR PROPERTY
-- FOR PATH
--SELECT GETDATE() AS GETDATE_3
--PRINT '2'
-- RETURN
SELECT GETDATE() GETDATE_3
INSERT INTO #Temp
EventName ,
Time_Stamp_EE ,
ObjectName ,
ObjectType,
DbName ,
ddl_Phase ,
ClientAppName ,
ClientHostName,
server_instance_name,
nt_username,
ServerPrincipalName ,
SqlText
SELECT
p.q.value('@name[1]','varchar(100)') AS eventname,
p.q.value('@timestamp[1]','datetime') AS timestampvalue,
p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') AS objectname,
p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') AS ObjectType,
p.q.value('(./action[@name="database_name"]/value)[1]','varchar(100)') AS databasename,
p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') AS ddl_phase,
p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') AS clientappname,
p.q.value('(./action[@name="client_hostname"]/value)[1]','varchar(100)') AS clienthostname,
p.q.value('(./action[@name="server_instance_name"]/value)[1]','varchar(100)') AS server_instance_name,
p.q.value('(./action[@name="nt_username"]/value)[1]','varchar(100)') AS nt_username,
p.q.value('(./action[@name="server_principal_name"]/value)[1]','varchar(100)') AS serverprincipalname,
p.q.value('(./action[@name="sql_text"]/value)[1]','Nvarchar(max)') AS sqltext
FROM #XML_Hold
CROSS APPLY BufferXml.nodes('/RingBufferTarget/event')p(q)
WHERE -- Ryelugu 03/05/2015 - Perf Optimize - Filtering the Buffered XML so as not to lookup at previoulsy loaded records into stage table
p.q.value('@timestamp[1]','datetime') >= ISNULL(@Prev_Insertion_time ,p.q.value('@timestamp[1]','datetime'))
AND p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') ='Commit' --Ryelugu 03/06/2015 - Every Event records a begin version and a commit version into Buffer ( XML ) we need the committed version
AND p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
AND p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
AND p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') <> 'Replication Monitor' --Ryelugu : 03/09/2015 We do not want any records being caprutred by Replication Monitor ??
SELECT GETDATE() GETDATE_4
-- SELECT * FROM #TEMP
-- SELECT COUNT(*) FROM #TEMP
-- SELECT GETDATE()
-- RETURN
-- PRINT '3'
--RETURN
INSERT INTO [dbo].[MN_DDLSchema_Changes_log]
[UserName]
,[DbName]
,[ObjectName]
,[client_app_name]
,[ClientHostName]
,[ServerName]
,[SQL_TEXT]
,[EE_Time_Stamp]
,[Event_Name]
SELECT
CASE WHEN T.nt_username IS NULL OR LEN(T.nt_username) = 0 THEN t.ServerPrincipalName
ELSE T.nt_username
END
,T.DbName
,T.objectname
,T.clientappname
,t.ClientHostName
,T.server_instance_name
,T.sqltext
,T.Time_Stamp_EE
,T.eventname
FROM
#TEMP T
/** -- RYelugu 03/06/2015 - Filters are now being applied directly while retrieving records from BUFFER or on XML
-- Ryelugu 03/15/2015 - More filters are likely to be added on further testing
WHERE ddl_Phase ='Commit'
AND ObjectType <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
AND ObjectName NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
AND T.Time_Stamp_EE >= @Prev_Insertion_time --Ryelugu 03/05/2015 - Performance Optimize
AND NOT EXISTS ( SELECT 1 FROM [dbo].[MN_DDLSchema_Changes_log] MN
WHERE MN.[ServerName] = T.server_instance_name -- Ryelugu Server Name needes to be added on to to xml ( Events in session )
AND MN.[DbName] = T.DbName
AND MN.[Event_Name] = T.EventName
AND MN.[ObjectName]= T.ObjectName
AND MN.[EE_Time_Stamp] = T.Time_Stamp_EE
AND MN.[SQL_TEXT] =T.SqlText -- Ryelugu 03/05/2015 This is a comparision Metric as well , But needs to decide on
-- Peformance Factor here , Will take advise from Lance if comparision on varchar(max) is a vital idea
--SELECT GETDATE()
--PRINT '4'
--RETURN
SELECT
top 100
[EE_Time_Stamp]
,[ServerName]
,[DbName]
,[Event_Name]
,[ObjectName]
,[UserName]
,[SQL_TEXT]
,[client_app_name]
,[Created_Date]
,[ClientHostName]
FROM
[dbo].[MN_DDLSchema_Changes_log]
ORDER BY [EE_Time_Stamp] desc
-- select getdate()
-- ** DELETE EVENTS after logging into Physical table
-- NEED TO Identify if this @XML can be updated into physical system table such that previously loaded events are left untoched
-- SET @XML.modify('delete /event/class/.[@timestamp="2015-03-06T13:01:19.020Z"]')
-- SELECT @XML
SELECT GETDATE() GETDATE_5
END
GO
Rajkumar Yelugu@@Version : ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Microsoft SQL Server 2012 - 11.0.5058.0 (X64)
May 14 2014 18:34:29
Copyright (c) Microsoft Corporation
Developer Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
(1 row(s) affected)
Compatibility level is set to 110 .
One of the limitation states - XML columns with a depth of more than 128 nested nodes
How do i verify this ? Thanks .
Rajkumar Yelugu -
How to get selected row index of a Table ?
hi gurus,I'm new to Webdynpro for abap
I'm displaying just Flight details in a Table so
how to get selected row index of a Table and need to be display in Message manager.Hi,
For getting the row index use the following code.
DATA lo_nd_node TYPE REF TO if_wd_context_node.
DATA lo_el_node TYPE REF TO if_wd_context_element.
DATA index TYPE i.
* navigate from <CONTEXT> to <NODE> via lead selection
lo_nd_node = wd_context->get_child_node( name = wd_this->wdctx_node ).
lo_el_node = lo_nd_node->get_lead_selection( ).
index = lo_el_node->get_index( ).
node is the name of the node which is binded to the table.
For printing the message u can use code wizard.
Press ctrl-F7. Now Select generate message.
IN this select the method REPORT_SUCCESS
In the code now u can give index to Message text Exporting parameter. Comment receiving parameter.
Write the whole code in onLeadSelect of the table.
Regards,
Pankaj Aggarwal -
How can I access the selected element of a DropDownByIndex-box?
Hi,
I want to create a WebDynpro with two web services. I created the first request with the first web service and the results are displayed in a DropDownByIndex-Box. Now the user should choose one of the results and I would like to use this for the request with my second web service. How can I access the selected Element of a DropDownByIndexBox in the Code?
Thank you!!
JuliaHi Julia,
when user select one element in drop down it automatically set lead selection of node binded to dropdown.
For example if you bind a dropdown to node myNode with value attribute myAttribute the lead selection of node myNode is set in the position of element choose from user.
So to take this chooised element use this code:
wdContext.currentMyNodeElement.getmyAttribute()
bye
Andrea -
Error Rendering SELECT Element in Safari Under iOS (iPhone & iPad)
Hello,
Our website contains three SELECT elements that are not rendering properly under Safari, iOS 4.2 on both an iPhone and iPad.
If you load http://demo.campusguides.com in a normal browser (Chrome, FF, non-mobile Safari) you will see that the three "Browse By" boxes at the top of the page each contain text that you can select using your mouse. Each of those boxes is actually a SELECT element and each piece of text is an OPTION within that SELECT box. We have set a SIZE property on the SELECT element that allows the user to see more than one OPTION value at a time. Here is the W3C page that mentions the SIZE option for SELECT boxes - http://www.w3.org/TR/html401/interact/forms.html#adef-size-SELECT.
On all the browsers I have tested the list displays properly, meaning that you can see multiple OPTION values at once as well as a scroll bar (when needed) that allows you to scroll up and down the list. On iOS Safari however the list is displayed as an empty box with no OPTION values visible to the user. If the iOS user clicks the SELECT element they are taken to the normal SELECT interface for Safari which does work fine, but without any content displaying in the box to begin with, I don't think many users would know they can / should click that element.
So basically I think this is a bug, and that iOS Safari should either render that SELECT element with the OPTIONS visible to the user, or it should ignore the SIZE property and render that element like a "normal" SELECT menu where only one option is visible at a time.
Thank you!Check here for Safari HTML guidelines: Safari HTML Reference
If you regard the seen behavior as a bug then report it to Apple at: Bug Report Form
Note: This is a user-to-user forum. You might get better response in the developers forums. -
Firefox 33 HTML select elements do not display correctly
HTML form <select> elements do not display options correctly in Firefox 33.
For example:
<select id="field_4" class="mainForm" name="field_4">
<option value=""></option>
<option value="submitted"></option>
<option value="pending"></option>
<option value="discarded"></option>
<option value="all"></option>
</select>
should display a drop down with 5 elements (first one blank) but no elements at all are displayed.
The bounding box does not seem to be computed correctly so no options display.
I have observed this issue on multiple pages. These pages displayed correctly in older version of Firefox and they display correctly under IE. The problem occurs with no addons or additional themes installed. The problem does not occur in SafeMode so I suspect that it is theme related but the Default 33.0 theme is the only installed theme and it cannot be disabled outside of SafeMode. I tried installing and changing multiple themes without success. The problem persists after restarting Firefox and after rebooting the computer and even after uninstalling and re-installing Firefox.
I can supply a screen shot if needed.You can try to disable hardware acceleration in Firefox.
*Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
You need to close and restart Firefox after toggling this setting.
*https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration
If it works in Safe Mode and in normal mode with all extensions (Firefox/Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.
Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: Firefox > Quit Firefox; Linux: Firefox/File > Quit)
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
I am asking you this because I did not find this problem in any of the other browsers I have (chrome, opera, ie, safari).
I uploaded a simple html file to show this problem here: http://rvyu.com/mKLG
Notice that if you don’t change the language you have no problem changing the value in the select element (the original one with 3 options, not the one generated by google translate) but if you do when you switch values the selected one does not show up.Ok thank you so much, for your timely response.
RESPONSES:
1) When I set up my iMac, I did not transfer any data directly from my windows PC. I simply used the same iTunes login and account. I have access to all of the files via the "Purchased" section of the iTunes store. If I click "Download Previous Purchases" text, I can download ALL of the purchases I have ever made.
2) I have the Apple TV 2, so good news, question answered. I thought maybe it was the Apple TV 1, but it is the Black model, so bam. Good response for you. Well the whole damned reply is an awesome response, just pointing out that one piece of awesome. I stated that it was an Apple TV 2, and yet you were still good enough to figure I could be mistaken, and provide me with knowleedge just incase.
QUESTIONS:
3) So can my iMac not stream the data directly from itunes, without download? Apple TV can, but perhaps that is something among many things that maker it unique, and awesome.
SERIOUSLY.... THANK YOU...
I work in the computer support section for the Military. The only problem is we use Windows , lol. Well that and i've been gone for nearly 6 months on recover. I go back next month though I hope. But working in that field gives me the abilty to judge responses that run inside the same vein. Your response was so awesome that I half thought I might have written it myself. -
How to select all indexes in a schema , for gathering the statistics
In OEM 10g , How can we select all the indexes in a particular schema for gathering the statistics.
For example , consider the schema got 1500 indexes. When i clicked on select all , it is selecting 10 indexes in one stretch ( all which are present in that page).
For 1500 indexes , i have to make 150 such selection.
How can we avoid it.
In 9i OEM, its quite simple. With just 1 mouse clicke , we can select all the indexes .
Thanks
Naveen
314 439 9554On the Administration Tab of the instance, choose Statistics Management - Manage Optimizer Statistics, then Gather Optimizer Statistics and click Continue. You then get a choice of Database, Schema, Tables or Indexes.
Stupid that you have to supply an OS username and password to do this but anyway. -
Current selected element of table ( using tree )
Hi experts ,
I am using a tree by table UI in which master. I want to know text of current selected element of table (which is one of the column of table ) . as table is dynamically expanding or collapsing upon expanding or closing master column.
so i used follwing code in do modify view to get it
IWDTable tab = (IWDTable) view.getElement("Table1");
tab.mappingOfOnLeadSelect().addSourceMapping("row", "element");
public void onActionOnrowSelect
(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, int element )
//@@begin onActionOnrowSelect(ServerEvent)
//@@end
but above code also give me current row (an integer value) .
but its not solving my problem . as current row elemt is always not going to be same row in which table (data source for table).
can any body have solution ?
Regards
abhayHi Abay,
IWDTable tab = (IWDTable) view.getElement("Table1");
tab.mappingOfOnLeadSelect().addSourceMapping(IWDTreeNodeType.IWDOnLoadChildren.NODE_ELEMENT,"element");
datatype of the <b>element</b> should be <b>IWDNodeElement</b>
Or
You can use
IWDNodeElement IWDNode.getTreeSelection()
Ex: wdContext.nodeA().getTreeSelection()
Regards
Ayyapparaj -
Create a glossary/element index in WebCenter Portal
I need to create a glossary/element index like this in WebCenter Portal. Do you know if exists any ADF/Trinidad element to do this?
Thank youHi.
There aren't components similar in ADF/Trinidad. You can try to build your own .
http://docs.oracle.com/cd/E28280_01/web.1111/b31973/ad_custom.htm
Regards.
Maybe you are looking for
-
Does anyone share my problem with atv3 I can play films through iTunes without any problems. When I start playing music using the remote app on my iPhone 3GS after around 5 tracks in it just stops playing and seems to lose my connection. Hoping this
-
I need to re-install Adobe suite
My computer needed re-booting so it had to be completely wiped therefore I need to re-install my adobe suite. How do I do this?..
-
I want to inroll to the complete package for $49.99. Your payment options do not accommondate South-Africa, how do I go about subscribing
-
Unable to convert .doc to PDF after Leo install
What am I missing? I recently installed Leopard on four machines, two at home and two at school. In all cases I am not able to write a PDF from a Word doc, something that I have to do from time to time. There is a message that says my PDF printer is
-
Sky broadband not supported by PSP
Hi, I am trying to connect our PSP to the sky broadband but it keeps saying unsupported even though it's 100%. I've had a look at the other discussions on here with the same issue but non of the links work for me and I don't know how to change the se