Link to Table cell content...

Hi,
I am Prashant.i am developing SDAP Portal.In that,I am populating data to the .NET SAP NwtWieaver Table control dynamically.I am also adding LinkToAction control to the table cell.I want some action should be carried out on clicking on that link.For that i am using LeadSelect event.
Actually it works fine when i am putting data at design time by editing rows.But it does not work when i gather data from at run time.When i gather data at run time and when i click on some link,all the table data disappears.
I can not understand why this is happened?. What properties should i set for the same.If any one knows, Please help me.
Regards,
Prashant J.

Soory it is not SDAP.It is SAP....

Similar Messages

  • SAP Portal development-Table Controls having link to table cell content

    Hello all,
    I am creating the SAP portal in which i am using Table controls to display the data. I want the function should be called whenever user clicks the table cell content. i.e. i want to create the function link to table cell.
    Please reply soon.
    Regards,
    Prashant

    Hi Prashant,
    You haven't mentioned if you are using Webdynpro or HTMLB JSPDynPages.
    If its the webdynpro, you can declare then and there itself that the content to the table column is a row my changing the property.
    If it is a HTMLB component TableVIew that you are trying to use, you can include a TableCellRenderer Class which renders the cells of the table at the runtime as links or buttons or whatever you want to put.
    So let me know, what exactly you are trying to use, then finding a solution will be more clear.
    regards,
    Sujana

  • Space in table cell content

    Hi,
    I want to add some space before and after the table cell content. I am using setIntercellSpacing() method to achieve that and I could get the required functionality. But its adding space in the Table Header also which looks odd. Is there any way to set the spacing only for the cell and not for the table header.
    Let me know if anyone has solution for this.
    Thanks and Regards,
    R.Vishnu Varadhan.

    I find this behaviour of setIntercellSpacing() very annoying, too. Why the hell did the Swing developers implement it that way?
    Nevertheless, you can create the desired effect by writing a custom cell renderer, but that is if course more work than that single method call.

  • How to link a table cell?

    Hi,
    What would be the best way to link this table cell? I want the entire cell to be linked rather than just the text inside it.
    <table width="160" border="0" align="right" cellpadding="5" cellspacing="0" class="backgroundbox-video">
                          <tr>
    <td width="167" align="left" valign="top"><p class="navheader-lg">Video Clip</p>
                                <p class="navheader-sm">Watch a short<br />
                                  testimonial video</p></td>
                          </tr>
    Thanks so much
    Laura

    Here is what I have in the style sheet...
    .vidA a {
        text-decoration: none;
        display:block;
        background-image: url(../images/videoclip-imageandcolor-tr.gif) no-repeat scroll right bottom;
        background-color:#B1D6D5;
        padding:10px;
    .vidA a:link, .vidA a:visited, .vidA a:hover{
        color:black;
    .vidA a:hover{
        background-color:#4AA3C9;
    .vidA p {
        margin:5px;
    .audioA a {
        text-decoration: none;
        display:block;
        background-image: url(../images/audioclip-imageandcolor-tr.gif) no-repeat scroll right bottom;
        background-color:#B1D6D5;
        padding:10px;
    .audioA a:link, .vidA a:visited, .vidA a:hover{
        color:black;
    .audioA a:hover{
        background-color:#4AA3C9;
    .audioA p {
        margin:5px;
    and here is what I have for those tables...
    <td align="right" valign="top" bgcolor="#FFFFFF"><table width="160" border="0" align="right" cellpadding="5" cellspacing="0" class="backgroundbox-video">
                          <tr>
                            <td class="vidA" width="167" height="100" align="left" valign="middle"><a href="http://www.12results.com/video1.html" onclick="MM_openBrWindow('http://www.12results.com/video1.html','','width=400,height=400');return false">
          <span class="navheader-lg">Video Clip</span><br />
          <span class="navheader-sm"><br />
          Watch a short<br />
          testimonial video</span></a></td>
                          </tr>
                        </table></td>
                      </tr>
                      <tr>
                        <td align="right" valign="top" bgcolor="#FFFFFF"><table width="160" border="0" align="right" cellpadding="5" cellspacing="0" class="backgroundbox-audio">
                          <tr>
                            <td class="audioA" width="167" height="100" align="left" valign="middle"><a href="http://www.12results.com/video1.html" onclick="MM_openBrWindow('http://www.12results.com/video1.html','','width=400,height=400');return false"> <span class="navheader-lg">Audio Clip</span><br />
                                  <span class="navheader-sm"><br />
                                  Listen to a 40 min<br />
    interview about SAW</span></a></td>
                          </tr>
                        </table></td>
    ---I completely removed the styles for those tables (was background-video, background-audio) because all it had was the background styling (which you said to remove) and can't see any other reason to have it there?
    So it's perfect except for the background images are not showing...so did I do something wrong in the fireworks/make transparent process do you think?
    Thanks...
    Laura

  • Wrapping table cell contents

    Hi
    I have a requirement where i need to wrap my table cell contents.I have chekced all the properties of table but none serves my purpose.Kindly help in this direction.
    NWDS version : 7.3
    Server version : 7.3 SP02
    Thanks
    Monika

    Hi Monika
    Wrapping property is not available at table level.
    The individual columns header and content in the text views only you can wrap.
    If the table column cell editor is a Text View , then you can see the Wrapping property and you can change it to true for wrapping.. For column headers also you can set the property.
    Regards
    Venkata KALYAN

  • Command links as column cell content...

    Hi
    I am trying to add command links as cell content. Clicking on one of the links will cause the outputText component located at the bottom to be updated.
    However, I can't differentiate the different links. Since the commandLink is generated for each row of data, the id generated for each commandLink component is the same. That is, I am getting the same ID when I call
    public void commandLinkActionListener(ActionEvent ae) {
    CoreCommandLink ccl = (CoreCommandLink) ae.getSource();
    System.out.println("commandLinkActionListener: " + ccl.getId());
    Is there any way to differentiate or pass unique data to the above action listener?
    The following is the code segment:
    <af:table emptyText="No items were found" value="#{MyTableBean.tableValue}"
    var="row" id="table">
    <af:column sortable="false" headerText="Name" formatType="text"
    id="nameColumn">
    <af:commandLink actionListener="#{MyTableBean.commandLinkActionListener}"
    partialSubmit="false" text="#{row.name}">
    </af:commandLink>
    </af:column>
    </af:table>
    <af:outputText value="Column Trigger: #{MyTableBean.text}" partialTriggers="nameColumn"/>
    Would appreciate any help on this.
    Thanks

    Found the answer from one of Frank's blog.
    public void commandLinkActionListener(ActionEvent ae) {
    CoreTable ct = (CoreTable) ae.getComponent().getParent().getParent();
    Object data = ct.getRowData();
    The data object is the type of object that you add to your List or CollectionModel.
    Note that the commandLink is a child of the column which is a child of the table.

  • Acrobat X, Word 2011, and Links in Table of Contents

    I have a 300+ page document in Word 2011, with a Table of Contents that has been automatically generated by Word, based off headings.
    When I "print" the document using "Save as Adobe PDF" from the Print dialouge, the PDF comes up, but the links in the ToC no longer work.
    I've looked online for a solution, but I am noticing two things:
    1) The option to turn the ToC links into Hyperlinks is not present on the Mac version of Word (2011).
    2) I opened the file in Word 2010 on a PC, and enabled the above feature, and then brought it back to my Mac and Word 2011 - the links now seem active in Word.  However, when I convert it to PDF, the links still do not work in the PDF.
    Is there an automated way to make the links convert, or to add them to the PDF?  With 300+ pages, a Table of Contents with working links is almost essential for navigation.
    Thank you!

    That's a defect (bug) in Adobe(Mac) that has been going on for 15 years and Adobe refuse to admit it and fix it. In Reference to Links.
    The only work around is to use iWork's Pages.
    The links should be active. Then Create the PDF from there The links should be live.
    I've heard you can do the same thing with Preview, But haven't tried. I know Pages will.
    Its no wonder that Apple won't allow Flash on the iPad. Besides not fixing Flash issues on the Mac paltform, They have a history of refusing to fix problems with Acrobat on The Mac Platform.

  • Autofit column width to table cell content in Pages

    Hello,
    Would anyone know how to autofit the column width of a table cell in Pages '09?
    I have searched Pages Help to no avail.
    Thank you very much in advance.

    There is a checkbox in the table inspector to auto-resize to fit content. Unfortunately, that only seems to work with rows, not columns.

  • Creating PDF with links in Table of Contents

    How do I convert a Word file (in which the page numbers in the Table of Contents are links to their corresponding headings) to a PDF file so that the page numbers in the Table of Contents are still liinks to their corresponding headings?  I am working with Adobe Acrobat 9 Pro.  Thanks!

    Hmmm. I hadn't heard of this limitation. Indeed, http://www.pdfa.org/2011/08/pdfa-–-a-look-at-the-technical-side/ says "With regard to hyperlinks, the special ‘Link’ annotation type is permitted with or without activated ‘Appearance’. "  Maybe this document is being generated with a different kind of annotation.

  • Click a link in table of contents, then need to be able to jump right back

    The table of contents is wonderful in the document I'm making. However, I need a quick easy way to get me back to it after I click on a link to one of the chapters. Is this possible?
    Thanks.

    I opened the Pages User Guide in Preview.
    Using the search tool with the keyword bookmark sent me to:
    Yvan KOENIG (VALLAURIS, France) jeudi 25 mars 2010 18:30:02

  • "Create Link" in table of contents being overwritten?

    Hello community,
    I'm using Acrobat X. Just one item in my table of contents is linking incorrectly. I've deleted the link and tried making new ones by:
    Using the Link tool under Tools > Content.
    Right-clicking the text and selecting "Create Link."
    For some reason the link keeps taking me past the heading I want and onto the start of the following page. Text is about 2/3 of the way down on the page. I can link anywhere else in the document just fine -- even higher up on the same page. Just not around this one particular heading.
    Any ideas why this is happening? It's driving me mad.
    Thanks in advance.

    Try using the go to a page view action for the link.
    Be well...

  • Expanding/Enhancing a table cell contents

    I have a search utility that shows my database query results in a read-only table.
    Say this table T has columns C1-C5 and rows R1-R5.
    Data returned in column C3 has a VARCHAR count between 2000-4000.
    Currently the table only displays somewhere in the region of 500 characters (on mouse hover) for this column, the page depends how far you can stretch the table column.
    My question is three part:
    - is there an ADF component that will allow me to copy the contents of a cell, for example, column C3 row R1.
    - is there an ADF component that will allow me to expand the cell(C3/R1) in a popup window? (And enable other cells in the C3 column to do the same)
    - is there an ADF component that will allow me to open the cell contents in a new window? or .txt (And enable other cells in the C3 column to do the same)
    Jdev Version (11.1.2.4)

    User, which jdev version do you use?
    All this can be done.
    1) Yes, but this depends on the use case (e.g. per drag & drop or copy & paste using the keyboard)
    2) Yes a popup which you e.g. show on hoover which shows all text or you click on the cell and open a popup
    3) Yes, if your table is in click to edit mode or you show a form with all attributes of the selected row in a new window (which allows you to layout the components better).
    Timo

  • PDF/A results in non-functional links in Table of Contents -- Normal?

    Hey,
    Got a quick Q here - I recently converted a .docx into the PDF/A 1-b (2005) standard, but for whatever reason, save the computer that did the actual conversion, the links in my Table of Contents no longer function.
    If I use Preflight to remove the PDF/A tag, the links work OK. Is there something about PDF/A that removes linking functionality that I'm not aware of? These links on my document simply move to different parts of the document, nothing too fancy.
    Thanks.

    Hmmm. I hadn't heard of this limitation. Indeed, http://www.pdfa.org/2011/08/pdfa-–-a-look-at-the-technical-side/ says "With regard to hyperlinks, the special ‘Link’ annotation type is permitted with or without activated ‘Appearance’. "  Maybe this document is being generated with a different kind of annotation.

  • Table Cell Contents Disappears Please HELP!!!!

    PROBLEM: I have a different tables within different table cells in the Master table. One table per Master cell. Once I click on a table cell (0,0) and click on another table cell (1,1) the cell (0,0) blanks out. Likewise with other cells so that if I've click on all the cells in the Master Table and then clicked somewhere else all cell contents have disappeared.
    QUESTION: Do I need to call some UI refresh procedure????? I have a cell renderer which returns the table for each Master's Cell.
    I don't if this is clear but please help!
    Thanks

    Hi,
    the problem is that the DefaultCellEditor can't handle tables.
    So you have to write your CellEditor, which returns another table as Editor.
    class YourTableCellRenderer implements  TableCellRenderer{
        private  JTable table = new JTable();
        public Component getTableCellRendererComponent(JTable table,
                                                       Object value,
                                                       boolean isSelected,
                                                       boolean hasFocus,
                                                       int row,
                                                       int column){
             // set Data and Layout
             return table;
    }then set the Editor to your MasterTable (master) with.
    master.setCellEditor(TableCellEditor anEditor) or
    master.setDefaultEditor(Class columnClass,
                                 TableCellEditor editor);Hope this Helps.
    Michael

  • Centering table cell content in panel grid

    How can I center the content of the cells in a table grid so it would end up something like this:
    <table>
    <tr>
    <td align="center">

    You can do that using stylesheet. You can look at the
    repeater demo example for ideas. The corresponding
    stylesheet class is components/web/stylesheet.css .
    Hope this helps.
    -JayashriI think we need more powerfull layout oriented components.
    XAML, XUL, ADF all of them have powerfull layout components library.
    Maybe it's time start working in this direction.
    I'm sure that JSF must provide in near future more powerfull layout related components library, no doubt here!
    After that it will be possible to remove from styles classes and jsp code everything that was used for layout.
    Layout components will take care about align components, preferred size and etc.
    We need minimize number of style classes.
    That possible if you will make them more universal.
    But no way to make universal style classes with layout related attributes inside them.
    Take a look on simple layout case:
    <s:row align="opposite" styleClass="footerPage">
         <h:outputText value="#{bundle.copyright}"/>
         <h:outputText value="#{bundle.terms}"/>
    </s:row>
    public class RowRenderer extends HtmlBasicRenderer {
    public RowRenderer() {
    super();
    public boolean getRendersChildren() {
    return true;
    public void encodeBegin(FacesContext context, UIComponent component) throws IOException {
    if (!component.isRendered())
    return;
    ResponseWriter writer = context.getResponseWriter();
    writer.startElement("div", component);
    writeIdAttributeIfNecessary(context, writer, component);
    String styleClass = (String) component.getAttributes().get("styleClass");
    if (styleClass != null) {
    writer.writeAttribute("class", styleClass, "styleClass");
    Util.renderPassThruAttributes(writer, component);
    public void encodeChildren(FacesContext context, UIComponent component) throws IOException {
    if (!component.isRendered())
    return;
    Iterator kids = null;
    String style = null;
    int i = 0;
    String align = (String) component.getAttributes().get("align");
    if (align == null) align = "start";
    if (null != (kids = getChildren(component))) {
    while (kids.hasNext()) {
    UIComponent child = (UIComponent) kids.next();
    if (!child.isRendered())continue;
    style = (String) child.getAttributes().get("style");
    style = (style != null) ? style + ";" : "";
    if ( (align == "start") || (align == "left"))
    style += "float: left;";
    else
    if ( (align == "end") || (align == "right"))
    style += "float: right;";
    else
    if (align == "opposite") {
    if ((i % 2) == 0)
    style += "float: left;";
    else
    style += "float: right;";
    child.getAttributes().put("style", style);
    encodeRecursive(context, child);
    i++;
    public void encodeEnd(FacesContext context, UIComponent component) throws IOException {
    if (context == null || component == null) {
    throw new NullPointerException(Util.getExceptionMessageString(
    Util.NULL_PARAMETERS_ERROR_MESSAGE_ID));
    if (!component.isRendered())
    return;
    ResponseWriter writer = context.getResponseWriter();
    writer.endElement("div");
    It's good idea in many layout situations to use tableless layout.
    Row component just simple demonstration how it work.
    There are some problems with implementation and using tableless layout
    but at least in some cases it's good choise.
    I'm ready to provide plenty suggestions in area of creating and using layout components.
    Just don't know if you have interest to discuss that matter.
    Vladimir

Maybe you are looking for

  • One number/account, multiple users answering

    Here's what I would like to set up for my business: - A button on my business website that says "contact us now on Skype" - Clicking that button activates a call or a chat session to a Skype account for my business - That call or chat will be answere

  • Hiding a column in report

    HI Apex Community I want to hide a column in a report based on an item(#item#) of the same report . for ex , if invoice is zero then hide DUE row of that particular client I tried with condition value is null equal to #invoice# but it hide the whole

  • Not Updating in Central SLD

    Hello, Upon performing our daily system checks, one of the item is to monitor the sending of SLD data of the installed systems in the System Landscape to the Central SLD which in our case is the XI box. Four of our systems having Java stack did not u

  • How do I program the cwCounter control to generate an AcquiredData Event?

    I'm trying to use a general purpose timer on a 6024E DAQ card to generate an AcquiredData event every n MS. I can get the timer to run, but I can't seem to get the AcquiredData event to fire. Here is the code I'm using: ctrLoop.Reset ctrLoop.device =

  • Iphoto will not update since downloading Yosemite

    iPhoto will not update since downloading Yosemite--any help?