STYLE for replacement BEE

Hello there,
I am using an iterator to render a tableview cell differently. Whenever I am in edit mode, I want the cell to be rendered in a different colour, but for some reason this doesn't seem to work when I populate the replacement_bee. Here is the code:
METHOD if_htmlb_tableview_iterator~render_cell_start .
  CASE p_column_key.
    WHEN 'ZMENG'.
      IF g_edit_mode IS NOT INITIAL.
        DATA: zmeng TYPE string.
        zmeng = g_row_ref->zmeng.
        p_style = 'celldesign:GROUP_LEVEL2'.
        p_replacement_bee = cl_htmlb_inputfield=>factory(
                              id        = p_cell_id
                              value     = zmeng
                              type      = 'INTEGER'
                              showhelp  = 'TRUE' ).
      ENDIF.
    WHEN OTHERS.
  ENDCASE.
ENDMETHOD.
But the cell is rendered in standard white.
I've also tried using the STYLE attribute of the cl_htmlb_inputfield=>factory like this:
p_replacement_bee = cl_htmlb_inputfield=>factory(
                              id        = p_cell_id
                              value     = zmeng
                              type      = 'INTEGER'
                              showhelp  = 'TRUE'
                              style = 'GROUP_LEVEL2' ).
with the same result.
What's wrong?
Kind regards,
Michael

"DCameronMauch" <[email protected]> wrote in
message
news:gd7jb6$loi$[email protected]..
> Is there a way to alter the style for a specific option
in a combobox? I
> have
> been unable to find a list of the recognized keys (other
than "label" and
> "data" ) for the dataProvider array. My goal is to have
some options in
> the
> combobox have light red/gray text and disabled from
selection. Starting
> to
> think this capability is not available without extended
the combobox
> class. I
> really hope that is not the case. Even old *** HTML
gives you those
> capabilities for options in select boxes.
Does setting the disabledColor on the combobox not work for
you?

Similar Messages

  • [AS] CS3- Find any text with style, then replace that text with a new applied fill color.

    I am trying to find the simplest way in cs3 to find any text with style, then replace that text with a new fill color. I can find text and change text. I can find a style and change it to a new style. I can't seem to find a style and change the applied fill color. I do not want to change the properties of the style, just the applied color. Yes, I want the + sign, for now. I know, why not update the style, I am not allowed to. Any help would be great. Since the search is not available, I need a new response.
    Thanks.

    You can work around the bug by just doing a find, then looping through the<br />results, changing the color one at a time. It'll be a fraction slower, but<br />should do the trick:<br /><br />tell application "Adobe InDesign CS3"<br />    set find text preferences to nothing<br />    set properties of find text preferences to {applied paragraph style:"The<br />name"}<br />    set theFinds to find text document 1<br />    repeat with i from 1 to count of theFinds<br />        set properties of item i of theFinds to {fill color:"Replace color"}<br />    end repeat<br />end tell<br /><br />The bug is fixed in CS4, BTW.<br /><br />-- <br />Shane Stanley <[email protected]><br />AppleScript Pro Florida, April 2009 <a href=http://scriptingmatters.com/aspro>

  • HT201375 After Mavericks update there is no bold style for "al bayan" font.

    Hi, I have issue after Mavericks update from Snow Leopard. There is no bold style for "al bayan" font. I already tried to uninstall and replaced with the backup, but no change. The Font works fine on the secondary MacBook on OS X Leopard.
    Any Ideas? Many Thanks!

    For several weeks now after the 10.6 update every time I select some text in a new email and press apple + b for bold nothing changes!
    See this thread for a possible fix:
    http://discussions.apple.com/thread.jspa?messageID=10098577&#10098577

  • GREP style for one specific paragraph

    Hi all,
    I'm faced with the following problem in a textdocument I've got to rework in InDesign.
    The text is based on 3 'groups' of information. First there is a title, beginning with:
    "1.1. Title (so two digits and a paragraph),
    a body text,
    and a source, starting with: 'source: This is the source' and
    '*: this is the source'.
    Now I want all paragraphs starting with two digits in the same style, and all lines starting with 'Source' or '*' in the same style.
    I'm pretty new with GREP, but I believe that might be the solution. Or any other ideas to to this fast and automated?
    Is there a code that specifies a style for a whole paragraph?
    All help is very much appreciated since this is a very laaaarge document.
    Thanks!

    GREP styles (which you seem to think of) only apply character styles. So that's out for entire paragraphs.
    woutergeeftvorm wrote:
    Now I want all paragraphs starting with two digits in the same style, and all lines starting with 'Source' or '*' in the same style.
    Select all text and assign it your Body text paragraph style. Then use this in the Find/Replace dialog, GREP section. Find:
    ^\d+\.\d+
    Replace: leave blank, but select the name of the title style in the Change To formatting fiend.
    Press Change All. Done.

  • Create a new set of skin and style for OC4J

    hi, I have created a new set of skin and style
    for example,
    just duplicated folders s_oracle10 , sk_oracle10 and rename them as s_oracle10b , sk_oracle10b (in \OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res)
    however, I found that there is no new choice - oracle10b in the dropdownlist for selecting style.
    how to create a new set of skin and style ??

    I have read Oracle® Business Intelligence Suite Enterprise Edition Release Notes Version 10.1.3.4.1 E10404-25
    =====================================================================
    In Chapter 10, the section "About Skins and Styles" contains incomplete
    information. The following information should appear after the section's first
    paragraph:
    Respective Web servers require resource files like styles to be deployed
    appropriately for those applications. For example, when using OC4J as is common
    in Oracle BI deployments, skins, styles and images need to be duplicated in the
    following directories:
    – {OracleBI}\oc4j_bi\j2ee\home\applications\analytics\analytics\res
    – {OracleBI}\web\app\res
    As a rule, customer-specific files like custom styles should live in the
    {OracleBIData} folders so these are not lost during upgrades. In this case, the
    custom style would then be deployed to OC4J as described above and to the
    following directory: {OracleBIData}\web\res
    ===================================================================== copied from the pdf
    we need to copy the new set to two directories.
    however, I found that resources of the new set are from {OracleBI}\oc4j_bi\j2ee\home\applications\analytics\analytics\res
    not from {OracleBI}\web\app\res
    if there is a upgrade or redeployment, will the new set be removed or replaced.
    why isn't load from {OracleBI}\web\app\res?
    how to configure to make it load from {OracleBI}\web\app\res?
    thanks

  • How to discover all available font styles for a given family?

    I'm using InDesign CS3 and need to discover all of the available styles for any given font. I've found Application.Fonts.itemByName(), but this only returns a single font by the full name. Using ExtentScript in CS3 How can I ask for ALL font styles for any given font family (as displayed in the styles drop-down?)
    Thanks!

    hey,
    I was just searching the web trying to find why this piece of code:
    for (var i = 0; i <app.fonts.length;i++) {
         app.fonts[i]..... some other code
    take 4+ minutes to execute.
    app.fonts.everyItem().getElements(); did the trick, sweet!!
    However, I would like to ask you whether you know if there is some handout or some guide (possibly online page) for such advanced scripting...
    or how did you find this solution?
    thank you very much for this post, anyway
    regards
    jenda

  • Report for replacement stock to be recived from vendor

    Hi
    I HAVE ONE ISSUE ON ABOUT VENDOR REPLACEMENT STOCK REPORT
    EX:.. i have done GR for material-A qty 100...and ihave done MIRO for this ..pur.order..
    after 20 days i have return the materai-A ..qty 25..(without cancel the MIRO) with movement tuype 122..but this material should be return from vedor.(subsequent deliver).after some days or weeks ..( bcoz money has already paid to vendor)...like this we many materials ..
    for this... i want report for replacement material will be recived from vendor
    regards
    sesidhar

    Hi
    already i have done MIRO..
    then return to vendor qty 25..(through MIRO...w/o creadit memo
    thne again recive the replacement material ..through MIGO (subsequent delivery)
    in this case ..need to create credit memo..?
    if yes.. pls...send me procedure.
    regards
    sesidhar

  • Iphone is dead, gone  to insurance co. for replacement. They say because "Find My iPhone" is still active, they can't replace or try to fix it. problem is can't log in to de-activate it, cos email account does not exist anymore. How can I de-activate it?

    iphone is dead, gone  to insurance co. for replacement. They say because "Find My iPhone" is still active, they can't replace or try to fix it. problem is can't log in to de-activate it, cos email account does not exist anymore. How can I de-activate it?

    You never used your iPhone?
    You never logged into iTunes?
    Your AppleID & Password for iCloud&  iPhone should be the same AppleID &Password you used to log in here and post a message.
    -> Find your Apple ID

  • Report for the cost for replacing the defective goods free of cost

    hi guru's,
      iam having the qury that iwant to create a report for the free of cost .For the senario that company wants the report for replacing the defective goods free of cost .pls help me out .IN SD module
    Edited by: joe mm on May 13, 2008 3:35 PM

    Dear joe
    I am sure, for giving free of cost, you should be having different document types like sale order for free goods, billing with no value.  So thru VF05, by selecting the billing document type, you can generate a report.
    thanks
    G. Lakshmipathi

  • More than one style for a single link state?

    RH 8 outputting CHM
    Hello,
    Is it possible to define more than one style for a single link state?
    For example, I would like a link in the footer of my master page to be smaller than the links that appear in the body of my topics. I want to retain behavior, and simply change the point size.
    I can't simply hand format in Design mode, because my link is within a script. Or, am I missing something easy here?
    Thanks much.

    I'm pleased to say I figured out how to change the formatting of a hyperlink embedded within a script.
    Within the script, I used a var string to reproduce the text in my link. Then I used another var to change the string size.
    So, here's the part of my script that produces what I'm after:
    var mailDisplay = 'Was this information helpful? ';
    var str = 'Was this information helpful?';
    var mailDisplay = str.fontsize("1");
    Upon generation of the CHM, the script trumps the CSS. It's a beautiful thing.

  • My iphone 5 is not charging properly. Recently the USB cable was emitting sparks on connecting it to my laptop.This has resulted in physical damage of the wire. Is it still eligible for replacement since it is under 1 year warranty?

    My iphone 5 is not charging properly. Recently the USB cable was emitting sparks on connecting it to my laptop.This has resulted in physical damage of the wire. Is it still eligible for replacement since it is under 1 year warranty?

    Why not. The iPhone was also delivered with a charger to connect to the wall outlet, use it

  • How to setup the portal with the uniform style for SRM + Esourcing?

    how to setup the portal with the uniform style for SRM + Esourcing? We will setup SRM 7 + esoourcing + portal, but as we know esourcing screen style is not same with SRM, so how to uniform the style between this 2 diffirent software?  any body have idea?

    Hi,
    SAP E-Sourcing 6.0 is the solution. It is same look&feel.
    Regards,
    Masa

  • What is the proceedure for replacing a hard drive (after failure) for RAID 5 with IX4-300D?

    I have the IX4-300D with 4 hard drives (identical Seagate drives) using RAID 5.
    Someday a hard drive will fail and I and I have to replace it. I read through the users manual briefly and I didn't see any documentation on how to perform a hard drive replacement and not lose any data.
    So here are my questions:
    1) I know per the instructions that Lenovo prefers using identical hard drives. Let's say in 2 years, 1 hard drive fails. Most likely, the same model Seagate hard drive will not be available. So will using a replacement hard drive by the same manufacturer with similar specifications work?
    2) Will the front panel (or the software) tell me which hard drive has failed?
    3) What is the proceedure for replacing a hard drive after a failure occurs? I read that the IX4-300D is not hot-swappable. So do I just power the IX4-300D down, replace the hard drive, and turn it back on?
    Solved!
    Go to Solution.

    Hi exceptionalht,
    It is best to replace the hard drive with one that is the same manufacturer, rotational speed, and capacity, so it does not have to be exactly the same model.
    The front panel should show which drive has failed. If not you can check the web interface to find out.
    That is the basic procedure for replacing a hard drive. You can see a more detailed instructions here: Installing hard drives in an ix4-300d 
    Have questions and need answers?
    Search the database for answers to FAQ's, software/driver downloads, tutorials, news, features and more!
    LenovoEMC Support & Downloads
    LenovoEMC North America Support Contact Page

  • How to View Pending List for Replacement Subsequent Order

    Hi Guru's,
           Can any one tell me how we will able to findout the list of Pending order for Replacement.
    If we will book a Return & do the delivery. After delivery we have Release the Sales Return order by VKM3. Then how we will found the list of released by VKM3 Sales Return Orders for Replacement. I m awaiting for Reply.
    thanks & Regards,
    Naveen Bhatia

    Hi,
    VL06  LIST OF OUTBOUND DELIVERIES
    BR
    Diwakar
    reward if useful

  • Script for replacing Image from a frame into InDesign document file

    Hi All,
    I am having an indesign document (indd) file with images and texts. I am using InDesign Server CS4 to run the scripts via SOAP.
    My requirement is to replace any of the images from the required frame/s of indesign document through scripting (I already have frame id of which image needs to be replaced). I have written written java-script file (as given below): but when I execute this java-script on InDesign Server via SOAP, I get follwoing error into InDesign Server:
    10/03/09 15:15:54 INFO  [javascript] Executing File: \\Server_IP_Address\JavaScript_File_Path\JavaScript_File.js
    10/03/09 15:16:01 ERROR [link manager] Link missing.; file:C:/help.gif
    10/03/09 15:16:01 ERROR [link manager] Link missing.; file:C:/Documents%20and%20Settings/All%20Users/Documents/My%20Pictures/Sample%20Pictures/ Water%20lilies.jpg
    10/03/09 15:16:01 ERROR [link manager] Link missing.; file:C:/Documents%20and%20Settings/All%20Users/Documents/My%20Pictures/Sample%20Pictures/ Winter.jpg
    Following is the java-script that is being used for replacing image from indd's frame:
    var myDocument = app.open(File('//Server_IP_Address/InDesignDocument_File_Path/Sample.indd'));
    var tmp_frmid="1339"; //frame id of which image needs to be replaced.
    for (var i=0;i<myDocument.pages.length;i++)
    var objPage=myDocument.pages.item(i);
    var objPageitems = objPage.pageItems;
    try
    var obj = objPageitems.itemByID(tmp_frmid);
    obj.images[0].remove;
    obj.appliedObjectStyle = null;
    var myImage=obj.place(File('//Server_IP_Address/Images_to_be_reolaced_Path/ImageFile.jpg'));
    var old_height = myImage.geometricBounds[2] - myImage.geometricBounds[0];
    var new_height = obj.geometricBounds[2] - obj.geometricBounds[0];
    var old_width = myImage.geometricBounds[3] - myImage.geometricBounds[1];
    var new_width = obj.geometricBounds[1] + ((new_height / old_height) * old_width);
    myImage.geometricBounds = [obj.geometricBounds[0] + "mm", obj.geometricBounds[1] + "mm", obj.geometricBounds[2] + "mm", new_width + "mm"];
    var diff = obj.geometricBounds[1] - myImage.geometricBounds[1];
    myImage.move( undefined, [diff,0] );
    break;
    catch(e)
    myDocument.save('//Server_IP_Address/InDesignDocument_File_Path/Sample.indd');
    var previewFile = File('//Server_IP_Address/Images_to_be_reolaced_Path/ImageFile.jpg');
    app.jpegExportPreferences.jpegQuality["JPEGOptionsQuality.low"];
    app.documents.item(0).exportFile(ExportFormat.jpg, previewFile);
    myDocument.close();
    I have very urgent requirement; if anyone have any idea; please suggest me. \
    It would be highly appreciable.
    Kind Regards,
    Prashant.

    http://www.automatication.com/selection-to-pdf-script.html
    Harbs
    http://www.in-tools.com

Maybe you are looking for