Dynamically created "alt" attribute not displaying

Hi, I have created a details page for our company product, which is diplayed dynamically. I have on this page a dynamic image as well thats pulled from my database. As with any image on the web, I want to set the alt attribute, but of course this has to be dynamic as well. I have done this it seems, as I view my source code from a browser, I can see that the alt has a value there and that it is the correct value. My question is, why doesnt this display when I mouse over the image? Is there something I am forgetting to add? Is this attribute deprecated? here is my code for the alt cfoutput:
function(){return A.apply(null,[this].concat($A(arguments)))}
<cfoutput>
          <table align="center">
            <tr>
              <td><cfif rsDetails.image1 NEQ "">
                  <a href="images/#rsDetails.image1#" target="_blank"><img src="images/#rsDetails.image1#" alt="#rsDetails.item#" /></a>
                </cfif></td>
            </tr>
          </table>
        </cfoutput>
Here is the source code from the browser that shows there is an alt value:
function(){return A.apply(null,[this].concat($A(arguments)))}
<table align="center">
    <tr>
       <td>
         <a href="images/60K19DL.jpg" target="_blank"><img src="images/60K19DL.jpg" alt="60K19/DL" /></a>
       </td>
    </tr>
</table>
I hope this is easy to understand without going into lengthy detail. Thanks for any help!

Ok I understand what you're saying now. lol I did try my code without the <a> tag but still didn't work. SO thats kinda weird.
However, until you pointed it out, I didn't realize his site didn't have the mouse tips in firefox or that other browsers didn't support it, so I guess its not that important after all...the tips I mean.
I hate IE too! but unfortunately when dealing with an online wholesale site, I must use and develop for IE.
Anyway, thanks for the help! I may try the title attribute, but I think as long as I have the alt for SEO then I am fine.

Similar Messages

  • Dynamically created HTMLDataTable does not update its chlidren

    I have a very delicate problem that I hope to get help with. I have created a HTML data table dynamically in the Java code. The left-most column contains a checkbox so that I can select and deselect rows in the table. The problem is that the checkbox value is only read from my backing bean but changes to it are not written back.
    The strange thing is that if I create exactly the same data table statically (i.e., as tags in the JSP-page) everything works perfectly fine.
    Is there some strange property that needs to be set when creating the data table dynamically that the JSF-framework automatically sets when it creates the table from the tags?
    Below you see the code for the creation:
    HtmlDataTable component = new HtmlDataTable() ; 
    CColumnHeader   column;
    UIColumn        tableColumn;
    tableColumn = new UIColumn();
    HtmlOutputText textHeader = new HtmlOutputText() ;
    textHeader.setValue("");
    tableColumn.setHeader(textHeader);
    HtmlSelectBooleanCheckbox tCheckBox = new HtmlSelectBooleanCheckbox() ;
    tCheckBox.setValueBinding(  "value", FacesContext.getCurrentInstance().getApplication().createValueBinding("#{data.subItems[0].selected}")) ;                       
    tableColumn.getChildren().add( tCheckBox ) ;
    component.getChildren().addAll( this.uicolumns ) ;
    JSF tag is defined as...
    <h:dataTable id="table" value="#{bean.model}" binding="#{bean.component}" var="data" />This do not work!
    However, the below code do...
    <h:dataTable id="table2" value="#{bean.model}" var="data">
    <h:column >
    <f:facet name="header">
         <h:outputText value="" />
    </f:facet>
    <h:selectBooleanCheckbox value="#{data.subItems[0].selected}" />
    </h:column>
    </h:dataTable>          For what I know these to examples should be equivalent.
    Furthermore, I noticed in the debugger that the attributes of my dynamically created table was not the same as the attributes on the one that JSF created for me. For example, each component that JSF created has got a map entry with the key javax.faces.webapp.COMPONENT_IDS for a ListArray containing the ids of its children. However if I try set this attribute in my code the column is not rendered at all. The UIColumn in the JSF-created table did have a javax.faces.webapp.FACET_NAMES=[header] in its attribute map. I don�t know if this has something to do with it, it was just one thing I noticed.
    Is this a bug or am I missing something?

    Why is that?
    What is it that actually goes wrong here? The two example works
    exactly the same in every aspect but in the first example, the JSF-
    framework only calls the getter method of the selected property and the
    latter case it calls both the getter and the setter. Otherwise the two
    tables works correctly.
    I use the binding attribute to be able to create the HtmlDataTable
    before the actual page is loaded and dynamically populate it with
    different numbers of columns depending on different system states.
    This is the reason why I have to create it dynamically and why I have to
    use the binding attribute.
    What is the reason for this not working? Am I breaking anything in the
    specification?
    What do you mean by "...with the hope that JSF will draw.."? It's is
    drawn, it is just the setter method that is not beeing invoked correctly.

  • I create trigger but not display massage after insert in oracle 10g

    I create trigger but not display massage after insert in oracle 10g
    **CREATE OR REPLACE TRIGGER TableName**
    **AFTER INSERT OR DELETE OR UPDATE ON test**
    **BEGIN**
    **if inserting then**
    **dbms_output.put('Message');**
    **end if;**
    **END;**

    What user interface are you using?
    If the tool doesn't support the SQL*Plus syntax (set serveroutput on), it probably has an option somewhere to enable DBMS Output. Not even knowing what tool you're using, it's impossible for us to guess where that option might be configured.
    As others have suggested, using DBMS Output to test code is less than ideal because you're dependent on the application you're using to display it to you and not every application can or will do that. If you want to use DBMS_Output, you may need to switch to a different GUI (SQL Developer or SQL*Plus are both free utilities from Oracle). Otherwise, you'd probably be better off having the trigger do something that you can subsequently query (i.e. write a row to a log table).
    Justin

  • How to set a value to a dynamically created node/attribute?

    Hi,
    I dynamically created attributes using the following method,
    IWDNodeInfo cbOptions = wdContext.getNodeInfo().addChild("cbOpt"+count, null, true, true, false, false, false, true, null, null, null);
    cbOptions.addAttribute("opt"+critEle.getQuest_Critid(), "ddic:com.sap.dictionary.string");
    How do i assign a  value to it now, since the node/attribute cannot be accessed via wdcontext?
    On a side note, it seems really troublesome if i need to use a checkbox grp(s) dynamically. I actually need to dynamically create a seperate node + attribute for each checkbox grp i have. Is there any better way to do this?
    Thanx in advance

    Hi
    Steps:
    1) Create the  action click is done statically (you cannot create action dyanmically)
    2) binding the  action click to checkbox dynamically 
    code
    public static void wdDoModifyView(IPrivateDynamicProgrammingView wdThis, IPrivateDynamicProgrammingView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
         if(firstTime){
                      IWDTransparentContainer con=(IWDTransparentContainer)view.getElement("RootUIElementContainer");
              IWDCheckBox checkBox=(IWDCheckBox)view.createElement(IWDCheckBox.class,"ck");
              IWDAction act=wdThis.wdCreateAction(IPrivateDynamicProgrammingView.WDActionEventHandler.CLICK,"");
              checkBox.setOnToggle(act);
              con.addChild(checkBox);
        //@@end
    Thanks and Regards,
    Arun

  • SSAS Date Dimension attribute not displaying all members when browsed singly

    I have an SSAS Cube database that holds data from 2009 to 2013 (5 years)
    There is a Date Dimension in the database which holds a "Calender Period" Hierarchy with the attributes CalenderYear >> Quarter >> MonthYear >> Day .
    I am connecting to the cube via Microsot EXCEL
    Whenever i try to browse this hierarchy alone in the spread sheet, the first attribute as per the hierarchy shown above i.e. Calender Year does not display all the members, that is confusing the users to assume that the cube is not processed with the latest
    data, which is not the case. However as soon as i try to browse any measure with this dimension, the data automatically shows for the latest dates of 2013 as per the expectations.
    The perspective that is selected while connecting to the Cube in this case is the one that is by default the one including all the Cube Objects.
    Whenever i try to browse the same cube for the same Dimension Hierarchy but in a separate user perspective i get the latest three Calender Years i.e. 2011,2012 and 2013 but not the complete years 2009 to 2013.
    When i was browsing this earlier by the original base perspective (which has all the cube objects visible) the Calender Years displayed were 2009,2010,2011&2012 but not 2013 which should be there.
    I checked the base view in the DB that is used to create this Dimension, that is fetching the complete data for 2009 to 2013.
    I have also verified that this issue is still there if i try to browse the cube from the SSMS.
    Can anyone help me to get all the years from 2009 to 2013 (the years for which my cube has data) become visible as soon as i drop it alone into the Spreadsheet?
    Thanks 
    Suvrat

    Thanks for your response Muthukumaran.
    I did not know about this default measure property of the SSAS cube, it would be nice if you could also tell me how to check which is the default measure for a cube.
    I understand your point that if a particular measure group does not have data for a year then that particular year will be skipped as per the default excel settings, which when disabled allowed all the years to be displayed, but in that case every time the
    users connect to the cube via excel, they will have to configure this property.
    I would like to share the way i resolved this issue:
    I went ahead and simply did a Process Full for the Date dimension. The years started to display by default as per the expectations. Now after observing this change, as per my understanding I believe this issue was due to the CACHE of the cube not being updated
    for the date dimension. As after each incremental load of the DWH we processed the cube & while processing the cube the dimensions were set for a Process Update and the Measure Groups were set for a Process Full. This caused this issue, and we could resolve
    this once the Date Dimension was processed full.
    Thanks
    Suvrat Rai

  • Dynamic create of attributes

    Hello friends Can I create the attributes Dymanically and assign Values to it.
    Ster

    Not sure whether you have seen this document earlier..
    If not look at this document & from page number 31 for dynamic field creation & binding.
    [Dynamic Data biding|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/72d7ac11-0501-0010-63a2-cc6960569926]
    Also [look at this thread|Dynamic Layout in BSP;
    Raja

  • Dynamic ALV Grid is not displaying !!

    Hi all,
      I am trying to create dynamic alv grids and upto five levels(five grids) out put is displaying fine without any problem. But when I try to display the 6th grid, the program is going into infinite loop and getting timed out. Even I tried to increse the height of the grid even though it is not displaying.
    Please correct me if any thing is wrong in below code.
    *1st Level grid
    IF <table1> IS ASSIGNED AND <table1> IS NOT INITIAL.
       CREATE OBJECT ob_split1
           EXPORTING
             parent      = ob_custom
             orientation = cl_gui_easy_splitter_container=>orientation_vertical.
        PERFORM set_split_height USING ob_split1  '20'.
        CREATE OBJECT ob_grid1
          EXPORTING
            i_parent = ob_split1->top_left_container.
    ELSE.
        CREATE OBJECT ob_split1
           EXPORTING
             parent      = ob_custom
             orientation = cl_gui_easy_splitter_container=>orientation_vertical.
        PERFORM set_split_height USING ob_split1  '0'.
    ENDIF.
    *2nd Level grid
    IF <table2> IS ASSIGNED AND <table2> IS NOT INITIAL.
       CREATE OBJECT ob_split2
           EXPORTING
             parent      = ob_split1->bottom_right_container
             orientation = cl_gui_easy_splitter_container=>orientation_vertical.
          PERFORM set_split_height USING ob_split2   '20'.
        CREATE OBJECT ob_grid2
          EXPORTING
            i_parent = ob_split2->top_left_container.
      ELSE.
         CREATE OBJECT ob_split2
            EXPORTING
              parent      = ob_split1->bottom_right_container
              orientation = cl_gui_easy_splitter_container=>orientation_vertical.
         PERFORM set_split_height USING ob_split2    '0'.
      ENDIF.
    (Created 3rd,4th,5th same like above).
    *6th Level grid
    IF <table6> IS ASSIGNED AND <table6> IS NOT INITIAL.
    CREATE OBJECT ob_split6
           EXPORTING
             parent      = ob_split5->bottom_right_container
             orientation = cl_gui_easy_splitter_container=>orientation_vertical.
         PERFORM set_split_height USING ob_split6  '20'.
         CREATE OBJECT ob_grid6
           EXPORTING
             i_parent = ob_split6->top_left_container.
      ELSE.
         CREATE OBJECT ob_split6
           EXPORTING
             parent      = ob_split5->bottom_right_container
             orientation = cl_gui_easy_splitter_container=>orientation_vertical.
         PERFORM set_split_height USING ob_split6  '0'.
      ENDIF.
    Appreciated your reply. Please let me know for additional info.
    Thanks,
    Ranjith.
    Edited by: Thomas Zloch on Dec 8, 2010 5:44 PM - please use code tags

    Hi romanch,
    defining the field catalog you must reference all currency fields to the respective currency key field (type CUKY).
    <alv_fieldcat>-cfieldname         = 'HWAER'.
    This is sample for alv output of a currency field. The alv structure has a field HWAER which carries the currency key, e.g. USD or so.
    Obviously you do not provide a cutrrency key for your values. If they are initial (zero), ALV will not display them as 0,00 but leave the field empty if the reference too currency key is not established.
    If you define a DDIC structure for the ALV output this refernce is enforced. You can pass the DDIC structure name to the ALV and don not have to create the field catalog manually.
    Regards,
    Clemens

  • Problem: Dynamic Page portlet is not displayed on a public-viewable page

    I've written a little dynamic page portal that works nicely on secure pages, but when I create a new page and mark this page as "public viewable" - the portal is not displayed.
    I created a 2nd public page and put several prebuilt and some of our own portlets onto this page - again none worked - except the prebuilt "login" portlet.
    Is there a restriction that I'm not aware of?
    Is there a documentation about this behaviour?
    Can anyone post me a hit or link to documentatin?
    Sincerly,
    Art
    Message was edited by:
    user620777

    Make sure your Portlet Provider access is set to allow 'PUBLIC' access with Execute';
    To set, navigate to Providers > Locally Built Providers
    Follow 'Grant Access' link near provider name
    Doc Reference, Section A.5.1.2 > http://download.oracle.com/docs/cd/B14099_19/portal.1014/b14135/pdg_portletbuilder.htm#BABIEFJG

  • Dynamic Text Field is not displaying foreign characters... HELP!

    I have a dynamic text field that is not displaying foreign characters properly. They appear as boxes.
    Here's what I've tried.
    Under properties for the text field, I clicked on the embed characters button. In there, I pasted all the special characters I would need and clicked okay. Shouldn't this be enough for the text to display properly? What am I missing? Please help...

    More info: I'm noticing that in the actual dynamic text field in my .FLA file, if I type a foreign character like é, it pops up as a block. My family font is set to New Caledonia... is it possible that New Caledonia doesn't have those particular glyphs? The thing that doesn't make sense to me though is, last year when I made this card, it worked fine with New Caledonia... Any help is greatly appreciated!!

  • Newly created images will not display in Firefox 8 for Mac. Same images appear in other browsers. Why?

    1. Specific new images are uploaded but will not display in Firefox 8 on my Mac with OS 10.6.8. (Does appear in other browsers, e.g., Chrome and Opera, and appears on Firefox 8 for PC.) Also, other images on the page display.
    2. I have cleared cache, cookies, etc., in Recent History, and restarted both application and computer.
    3. I've tried creating GIF, JPG and PNG, but none show on the page in Firefox on my Mac. I can see the offending image in other browsers such as Chrome on the same computer, and on Firefox on PC. Offending pages are in both PHP and HTML: http://www.brookfieldcivic.org/advertisers.php and http://www.brookfieldcivic.org/advertising_freedom_montessori.html
    Image links: http://www.brookfieldcivic.org/images/advertisers/freedom.png and http://www.brookfieldcivic.org/images/advertisers/Freedom_Montessori_bizcard.jpg

    You can use these steps to check if images are blocked:
    *Open the web page that has the images missing in a browser tab.
    *Click the website favicon ([[Site Identity Button]]) on the left end of the location bar.
    *Click the "More Information" button to open the "Page Info" window with the Security tab selected (also accessible via "Tools > Page Info").
    *Go to the <i>Media</i> tab of the "Tools > Page Info" window.
    *Select the first image link and scroll down through the list with the Down arrow key.
    *If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.

  • Newly Created Infoobjects are not displaying in the RSA1

    Dear Experts,
    When ever i am trying to create a new Info Object Characterstic/Keyfigure, i am able to create and activate it sucess fully, but when i am trying to see the same in corresponding infoobjects catelog in RSA1 that object is not displaying there.
    When i am trying to find the same using "FIND' Option it is returing 'No Entries' as result even though i am sure that obj is created.
    Please help me in this context.
    Regards,
    Rajkandula

    Have you created that Infoobjects under a specific Catalog.If it is true try to find that catalog and you can find the Infoobjects there. If it is not true they will be under Unassigned nodes. Otherwise refresh your transaction once and try to find the Infoobject with find option.
    I hope it will help you.
    JM Krishna

  • New created values are not displaying after upload

    Hi
    I have created 2 key figures(Infoobject),4 new nodes and leafs(Hierarchy), to include the new logic at R/3 end as well as BW end.Every thing is fine even after doing full upload(repair).
    When i execute the query the data is not populated in its respective infoobjects and hierarchy nodes and leafs.
    Even 1 infoobject which is used for Counter value is not showing the counting as it's defined as aggregate to the info object Count and that included to ODS which is responsible for counting. after full upload it's not showing the counter values.
    After full upload(Repair) all these entries are not displaying in the report against the data which is present at RSA3 level.
    Can any one tell me how to make them available in the query even after data is uploaded / available in the bw.
    Gaurav Upadhyaya
    Edited by: Gaurav on Aug 26, 2008 10:55 AM

    Hi,
    You can´t see hierarchies in an infoprovider, so this is ok. A hierarchie is a part of an infoobject. But you say  you have 2 new kefigures and they are not filled. I suppose you added both keyfigures to your DSO/Cube and to the datasource (in your source system). Have you extended the transformations between datasource <-> DSO and DSO <-> Cube too? Are the keyfigures correctly connected (in the transformations)? If yes, check your PSA after loading. Are the keyfigures filled here? If no, check the RSA3 in your source system. Are the fields for you keyfigures filled there?
    Pls. check this all and tell us, what the result is.
    Regards

  • BEx Query:  Attribute not display Unit of Measure (UOM)

    In a BEx I am trying to create a query that displays attributes to 0EMPLOYEE.  One of the custom attributes is the employee's rate of pay.  We have the hourly rate, nightly rate, etc.  This attribute is a numeric attribute with currency assigned as the Unit of Measure.  I am trying to create a query displaying the pay rates from the attributes of 0EMPLOYEE but remove the unit of measure in the output.  I am aware this can be done on key figures using the NODIM formula.  How can I remove on an attribute?
    Example:  Output is $10.25 UOM.  I want it to display as $10.25.
    Thanks.

    Hi,
    Create a Formula Variable with Replacement Path for this Attribute.
    Use NODIM function for the Formula Variable.
    Let me know if it works according to your requirement.
    Regards,
    Geeta

  • XML attribute not displayed by stylesheet

    HI Gentlemen,
    I set up a very simple case where some of the input data is in attributes. It works fine for the element content--firstname, however it does not display the attribute requested. What can be wrong? Please help!
    Thanks, regards
    Miklos
    The XML instance (people.xml):
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="c:\XSL\people.xsl"?>
    <people>
    <person born="1912" died="1948">
    <name>
    <firstname>Alan</firstname>
    </name>
    </person>
    </people>
    The corresponding stylesheet (people.xsl):
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="person">
    <person born="{born}" />
    </xsl:template>
    </xsl:stylesheet>

    Are you opening "people.xml" directly in a web browser?
    If so, I think you need to transform to HTML for a proper display.
    For example :
    people.xml
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="file://c:/XSL/people.xsl"?>
    <people>
    <person born="1912" died="1948">
    <name>
    <firstname>Alan</firstname>
    </name>
    </person>
    </people>
    people.xsl
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="person">
      <html>
       <body>
        <p><xsl:text>First name = </xsl:text><xsl:value-of select="name/firstname"/></p>
        <p><xsl:text>Born = </xsl:text><xsl:value-of select="@born"/></p>
        <p><xsl:text>Died = </xsl:text><xsl:value-of select="@died"/></p>
       </body>
      </html>
    </xsl:template>
    </xsl:stylesheet>Otherwise, you could use any XSLT processor to perform the transformation.

  • Img alt="text" not displayed when images are turned off in Safari

    I have tried to search this, but every search has returned too many posts, so I apologize in advance.
    Have I made some error or is there an issue with my Safari? For some reason my Safari does not display alt="text" when images are turned off?
    This is what is supposed to happen (see http://www.w3schools.com/tags/attimgalt.asp) and it works fine in my other browsers (Opera, FF), but with Safari I get nothing - no image, no alt text, no indiciation that an image is supposed to be in that place. According to w3c, Safari is supposed to be compliant.
    There is no problem with the site itself, I am designing the site and test with and without images to see how it degrades. As I said, it works properly in Opera and FF - the alt="text" text is displayed in place of the image - but not in Safari.
    Is this just my Safari? How do I fix this if it is?
    Is it Safari in general? If so, how do we get it fixed, because this is clearly just not correct?

    It's not just you. I see the same thing in my Safari. It appears to be a Safari problem, in which case the best thing to do is submit feedback to Apple's developers via the Mac OS X feedback form. (You will not receive a response, as that page notes, but the feedback will get to the people who can use it.)

Maybe you are looking for