Optional label behavior...

Hi, guys.
Clicking on Optional Label (when item is select list or multiselect list) is selecting first value in the control and put it in the Session State. Is this a disired behaviour or...? Is it possible to avoid this, i.e. when click on the label the value in the item is not selected?
Thnks.
Mike

To force it not do that you need to remove the label
tag from the optional label template.
<br>
<br>
Carl or anybody I'm not sure what exactly you mean.
<br><br>
My before label is:
<br>
<label for="#CURRENT_ITEM_NAME#" tabindex="999">
<[pre]span class="t9optional"[pre]><br>
and after label is:
<br>
</a></label><br>
<br>
What part should be removed?
<br>
<br>
Thanks,
<br>
John
Message was edited by:
John b
Message was edited by:
John b

Similar Messages

  • Apex 3.0 Q: "Optional Label with Help" default when creating new form?

    When I create a new application, usually one of the first things I do is set the default item label to "Optional", so I don't have the annoying popup help link.
    Now, when you create a new Form region, based on a table, for all the items the label is set to "Optional label with help". Am I right in hoping this is something that was overlooked when developing Apex, and that it will be fixed in version 3.0, so that it sets the items to the default label as set in the Shared Components?
    And is there a way to change the labels for a lot of items at the same time, other than changing the theme templates?

    AFAIK, label help in default manner is based on column coments of a table.
    Later there is now way to easy reedit these values but manually...

  • Remove ":" from select option label(description)

    Hello All
    I have a requirement to remove the select option description (which SAP displays by default from the field label maintained in the data element),
    I thought the best way to achieve that requirement is by passing "space" to the parameter  'I_DESCRIPTION' to the method IF_WD_SELECT_OPTIONS->ADD_SELECTION_FIELD, however, it turned out that SAP still displays the label from the data element inspite of passing space(blank) to the parameter 'I_DESCRIPTION', to overcome this limitation I have created a data element without maintaining any labels this approach worked expect that SAP still displays ":"(colon) as the label, is there any way to get rid of this ":" too?
    As shown above, ":" is still displayed as the label of the date select option. I'm also looking for a way to reduce the distance between the last radio button and the select option, any pointers would be appreciated.
    Thanks for looking into this.
    -Vikram.

    You could use the below methods to recursively scan all elements of the view and set the design of all labels to light.
    method adjust_view .
    * IO_VIEW Importing RefTo IF_WD_VIEW
      data lo_container type ref to cl_wd_uielement_container.
      check io_view is bound.
      lo_container ?= io_view->get_root_element( ).
      process_elements( io_container = lo_container ).
    endmethod.
    method PROCESS_ELEMENTS .
    * IO_CONTAINER Importing RefTo CL_WD_UIELEMENT_CONTAINER
      data lo_container type ref to cl_wd_uielement_container.
      data lt_elements  type        cl_wd_uielement=>tt_uielement.
      data ls_elements  type ref to cl_wd_uielement.
      data lo_lbl       type ref to cl_wd_label.
      lt_elements = io_container->get_children( ).
      loop at lt_elements into ls_elements.
        try.
            lo_container ?= ls_elements.
            process_elements( io_container = lo_container ).
          catch cx_sy_move_cast_error .
            if ls_elements->_definition_name eq 'LABEL'.
              lo_lbl ?= ls_elements.
              lo_lbl->set_design( value = '01' ).
            endif.
        endtry.
      endloop.
    endmethod.

  • Change the popup window size in the "optional label with help" template?

    G'Day Apex/javascript gurus,
    I am using Apex 4.0 where I coded an HTML table for help text in one item. Now, when an user click for help in this item then the HTML table is bigger than the size of the pop up window so the client has to re size it a bit to see it fully. To fix this, I tried to create a new "optional level with help" template where I can control the size of the pop up window and make it bigger to fit my HTML table so the client does not have to resize but I could not find any parameter in the original template:
    <label for="#CURRENT_ITEM_NAME#"><span class="t9optionalwithhelp"> "javascript:popupFieldHelp('#CURRENT_ITEM_ID#','&SESSION.')" tabindex="999" that help me to achieve that
    I am not an expert in javascript but I appreciate greatly if somebody here could help me to create a new label (with help) template where I can control the size of the popup window.
    Kind regards
    Carlos
    Edited by: creyes on Aug 1, 2011 1:22 AM

    Hello Carlos,
    You can overload the APEX javascript with your own, on the page you want it to happen. You can do that in the Page Definition - Function and Global Variable Declaration.
    Copy the below code into there and change the width and height of the popup.
    function popupFieldHelp(pItemId, pSessionId){
        // Show jQuery div based dialog if not running in screen reader mode, if not fall back to old popup
        if (!$x('pScreenReaderMode')) {
            apex.jQuery.getJSON(
            'wwv_flow_item_help.show_help?p_item_id=' + pItemId + '&p_session=' + pSessionId + '&p_output_format=JSON',
            function(pData){
              var lDialog = apex.jQuery("#apex_popup_field_help");
              if (lDialog.length===0) {
                // add a new div with the retrieved page
                lDialog = apex.jQuery('<div id="apex_popup_field_help">'+pData.helpText+'</div>');
                // open created div as a dialog
                lDialog
                  .dialog({
                    title: pData.title,
                    bgiframe: true,
                    width: 500,
                    height: 350,
                    show: 'drop',
                    hide: 'drop' });
              } else {
                // replace the existing dialog and open it again
                lDialog
                  .html(pData.helpText)
                  .dialog('option', 'title', pData.title)
                  .dialog('open');
        } else {
            popupFieldHelpClassic(pItemId, pSessionId);
        return;
    }; // popupFieldHelpHope that makes sense,
    Dimitri
    http://dgielis.blogspot.com
    http://www.apex-evangelists.com

  • Optional Label w Help - label template

    Hi All,
    I am working on 508 stuff for sequence navigation with tab order. We have a input form on one place where the labels have help text. If I navigate the form using tab key, input fields get the focus first and labels at last. I removed the tabindex="999" from the template to get the right order. Labels are getting focus before input fields, but if I click on label to see the help, help popup appears but can't get focus using IE. And if I try to go to next field after opening the help popup, it throws me out of the form. Please let me know if there is a way to handle this.
    Thanks.

    Hi,
    Thanks for your question. Firstly, can you provide the following information:
    - APEX version
    - IE version
    - Theme #
    So I think you're fix for the tab order issue is correct. Generally speaking, positive tabindex definitions almost always have a negative effect on usability for keyboard-only users. They have been present in theme label templates for a long time and must have been added initially as a way for users to move between form fields quickly. However, and as you have realised, this disrupts a keyboard-only user who wishes to view item help text. This can cause either a) If the form field has focus when the page loads, they have to TAB many times until they reach the help, or b) Form field focus is not set on page load, which can cause page focus to go directly to the label (because browsers treat elements with a positive tabindex as higher priority in the tab order than elements with no tabindex), and then the user has to press TAB many times to get to the form field. It's not good. I have filed bug #16183368 to remove this from all our modern themes, and we also had existing bug #9474840 which deals with the same issue in our internal applications that comprise APEX.
    So moving on to the help text dialog issue. Firstly setting focus to the dialog. I am unable to reproduce focus not being set to the dialog in IE. I tab to the label, hit ENTER, dialog opens, then I can either hit ESC key, or TAB once to go to the 'x' close icon and hit ENTER, to close the dialog. I tested in IE9 and works as expected for me. Can you provide a test case on apex.oracle.com where I could try there?
    Regarding closing the dialog, this is a problem with the version of the underlying jQuery UI dialog widget, where focus is not set back to the calling element when the dialog closes. We failed to workaround this in the default behaviour, (I believe in the most recent release of jQuery UI they have added this now by default, which we hope to pick up in our next release). Until then, I can see 2 options:
    1) Although a little counter-intuitive, you could suggest for keyboard-only users to use 'Screen Reader Mode'. In this mode, the old style page popup loads with the help text. This is fine for keyboard-only users too and focus is still in the same place when the popup closes.
    2) Rework the popup JS to also handle setting focus back to right place on close. I can suggest the code for you, but I need to know your version first, before I can do that.
    Regards,
    Anthony.
    Edited by: Anthony Rayner on Jan 17, 2013 11:37 AM

  • Click-box behavior and calling javascript

    Greetings,
    While working on a project I have noticed odd behavior
    concerning click-box behavior where there are more than one
    click-box on a slide.
    Here is the situation:
    I have a Captivate (2) lesson project. In several slides I
    have an area on the slide where the user can access material
    outside the lesson. They do this via clicking a click-box. The
    click-box is set to fire a javascript that opens the additional
    content (an outside url) in window that "floats" above the
    currently viewed slide.
    The javascript is a standard open browser window script with
    passed parameters.
    Here is the script being called (it is located in
    standard.js):
    function openBrWindow(theURL,winName,features)
    window.open(theURL,winName,features);
    This script is being called in Captivate in:
    Insert -> Click-box -> If the user clicks inside the
    box, On Success -> Execute Javascript
    An example of a typical call:
    Click box -> JavaScript: -> In the window/field is:
    javascript:openBrWindow('
    http://www.mydomain.com/about/org-pol/f-07/f-07-016.html','mypolicy','width=800,height=600 ,scrollbars=yes');
    This works fine. A window with this URL opens up over the
    stopped slide.
    The odd behavior comes in where I have more than one of these
    click-boxes on a slide. If the user clicks a second click box, the
    correct (different) URL opens up in a window OK, but the slide (now
    behind the new, open window) advances. It shouldn't advance to the
    next slide. It should stay put until a user clicks a particular
    button to advance.
    Has anyone seen this type of behavior before? Is this a bug
    in Captivate 2? Or a bad javascript call? Any thoughts?
    Thank you for your input.
    TPK

    Hi TPK
    When you edit the properties of the Click Box, note that
    there are two buttons to the right of the "JavaScript" field. One
    is an ellipsis ( ... ) and you probably clicked that one to enter
    the script. The other is a down arrow. You need to click the down
    arrow and DE-select the option labeled "Continue playing project".
    You will need to do this for each Click Box the user may interact
    with where you don't want the slide to continue if the user clicks.
    Cheers... Rick

  • Add Text Justification Options

    For text fields added to slides, the ability to control justification (e.g., Left, Center, Right), would be very helpful.

    If I understand the use-case correctly, you want the options selected from the addRemove component on page 1 to form the basis of the available options in the addRemove list on page 2.
    The recommended method of transfering values from one page to another is via the RequestBean. In your case, I suggest adding two properties to the request bean. The first we'll call "pageOneAddedValues", and it will be of type java.lang.Object[]. The second we'll call "pageTwoOptions", and it will be of type com.sun.rave.web.ui.model.Option[], and it should probably also be read-only. You bind the Selected property of the page 1 addRemove to the pageOneAddedValues property, and you bind the Items property of the page 2 addRemove to the pageTwoOptions property.
    The trick is to use the values set the pageOneAddedValues property as the seed for the options returned by the pageTwoOptions property. Assuming the simplest case where the option labels are the same as the values, this can be simply:
        public Option[] getPageTwoOptions() {
            Object[] selectedValues = this.getPageOneAddedValues();
            if (selectedValues == null)
                return new Option[0];
            Option[] options = new Option[selectedValues.length];
            for (int i = 0; i < options.length; i++) {
                options&#x5b;i] = new Option(selectedValues&#x5b;i]);
            return options;
        }Good luck!
    // Gregory
    Message was edited by:
    gjmurphy
    Message was edited by:
    gjmurphy

  • App. Express -- Change font size in the item label.

    I would like to size the item label so I did this and it did not work
    in the label I put <span style="font-size:12px;">ITEM 1</span> and
    <span style="font-weight:bold;">ITEM 1</span>
    What wrong?

    Hello,
    The basic “trick” here is to duplicate the proper label template (you can of course change the original label template, but that’s less advisable) in order to add an ID to the text/link part.
    In my example, the template is base on the “Optional Label with Help” template, and the “Before Label” field contains the following:
    <label for="#CURRENT_ITEM_NAME#" tabindex="999"><a class="t2OptionalwithHelp" id="L_#CURRENT_ITEM_NAME#" href="javascript:popupFieldHelp('#CURRENT_ITEM_ID#','&SESSION.')" tabindex="999">In order to maintain ID uniqueness, the new ID just adds “L_” to the item name.
    Now I have direct access to the text/link, and I can manipulate it using JavaScript. In the example, I added the following to the region footer:
    <script type="text/javascript">
    $x('L_P160_ITEM2').style.fontSize = '20px';
    $x('L_P160_ITEM3').style.fontSize = '30px';
    $x('L_P160_ITEM3').style.color = 'green';
    </script>Regards,
    Arie.
    Hi Carl,
    As usual I was busy typing and didn’t see your reply. I agree that a specific example would be the best and easiest way to help.
    Message was edited by:
    ageller1

  • A:hover with "open browser window" behavior?

    Hi,
    Is it possible to make a text link follow the a:hover style (CSS?) with the behavior of "open browser window"?
    I've been using the "OnClick" option (for behaviors), but the cursor doesn't turn into the little hand symbol so I feel like people won't know that you can click on it.  If I could make it change color like it does when it is a direct link, or if i could make the hand symbol appear, that would be great.
    Thank you in advance!!

    We'd need to see your code but I'm guessing you did not highlight the link text and make it a null link.
    http://alt-web.blogspot.com/2010/02/making-pop-up-window-in-dreamweaver.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Howto disable TopLink localized labels and messages?

    Hi,
    my windows regional settings are configured with Portuguese (Brazilian) as language and Brazil as location (since I am a Brazilian Portuguese speaking person who lives in Brazil).
    But the TopLink translations are POOR (almost stupid), it seems that the english text were translated with Google translation tool and this makes difficult to understand certain messages and labels.
    I would like to know how to change this labels and texts to english language without changing my windows regional settings ?
    PS.: It is better to have no translation than to have a translation that confuse you!
    Message was edited by:
    henrique.viecili

    Hi Luisa and Gilberto,
    I'll show you here some examples that I found... I know there are others, but I don't remember how to find them:
    English (type): Portuguese (Alternative)
    Access Modifiers (lablel) - Acessar Modificadores (Modificadores de acesso)
    Generate Methods (button) - Métodos de Geração (Gerar Métodos)
    Query Timeout (label) - Consultar Timeout (Timeout de consulta)
    Refreshing Cache Options (label) - Opções de Cache de Renovação (Opções de atualização de cache)
    These translations are not critical but some bad error message translations are. If you look at the error messages out of its context it seems OK, but when they are shown in context the meaning of the message is different from the translated value. This confuses the user.
    The other problem is that all OTN resources such as tutorials, manuals, API are written in english, so I guess that some TopLink specific terms and concepts should not be translated, e.g. Unit Of Work, API Class Names, API Method Names.
    Sorry if I caused some problem to you, but that kind of translation seems to be done by an non-technical translator, the guy who translates some tool should be familiarized with all technologies related and mainly the tool itself. In the case of TopLink, the translator should know at least about Java, DBMS and TopLink API.
    You can reach me by email at henrique.viecili (at) eds (dot) com

  • How to make a label

    I need to make a label that is 2.062 inches in diameter. I want to add a small picture to this and text. Every attempt over several days has failed. Is there a tutorial that would help or how can I do this?

    I am assuming that you want a circular label, since you reference "diameter", rather than vertical and horizontal dimensions.
    Elements does not provide you with the ability to make a template for a circular label with such close tolerance. It is not a drafting program.
    You can open the grid and the rulers and the guides, use the Ellipse tool, or the Circular marquee tool, and drag out a circle (hold down the shift key), and come close, but no cigar!
    If you have MS WORD, you can make a label-template:
    http://www.labelplanet.co.uk/buy-round-labels.php.
    Scroll down on this site for circular template measurements with diameters listed in mm.
    In WORD, go to Mailings tab, Labels>Options>Label Details>New Label and enter the values from the chart.
    If you can utilize ready-made templates, Avery has many for free download. www.avery.com

  • Save Color Label Set with Collection

    I'd like to be able to save a Color Label Set with a Collection. I'm getting ready to process a bunch of images and I have two destinations for them: a web site slide show, and Flickr. I want to do a slideshow of a small subset of images, but I want to post to Flickr all photos with a rating of 3 or greater.
    I'd like to be able to set up a specific color label set with a color for "slideshow". But, I probably wouldn't use it all the time. It would be great if that specific color label set could be saved with a Collection of all these photos I'm going to work on. That way when I come back in a year and see green photos I get the right text instead of whatever color label set I'm currently using.
    Sure, I can manage this by using some naming convention for the color labels, but it just seems like a natural fit for something that should be able to be specific to a Collection.
    Pete

    Press J to toggle the grid view styel. Only two modes show the color label squares.
    It could also be that you have turned of grid view extras. You can find the option to turn these on in the menu View - Grid View Style.
    It could also be that you have changed the option to show the labels Library View Options.
    (Press Command+J to access).
    Look that one of the fields under Compact Cell Extras contains the option Label.

  • "By default, join" drop-down doesn't have "Preferred Networks" option

    I use my laptop on two different networks. I would like it to automatically join whichever one is available. The Mac Help has instructions titled "Choosing preferred AirPort networks" with three steps. Step 1 works fine; I can open network preferences and get to the drop-down labelled "By default, join". It says I should then select the option "Preferred networks" from the drop-down. The problem I have is, there is no such option. The drop-down has only one option, labelled "A specific network".
    It works identically on a regular user account and an adminstrator account. I have authenticated.
    Tiger 10.4.8, fully updated.

    Can't find the TIL again... might have it bookmarked at work though, but that's the problem... Sorry can't remember the fix right now at all.

  • Make option delete default

    Is there a terminal command to reverse the delete and option delete behavior in mail?
    So instead of having to hold option + delete, I can just hit delete and get the same results...

    The only delete menu option is COMMAND+delete, which AFAICT, does exactly the same thing as the delete key; i.e., moves the selected item(s) to the Trash mailbox. OPTION+delete (delete without moving to the Trash mailbox) isn't in the menu bar, so you can't create a shortcut that will reverse those two separate shortcuts that don't have menu bar options. Sorry, I didn't check Mail before posting earlier.

  • I can't print two-sided with my macbook air. i've tried to look for the driver in the settings of printer and faxes but there is none, my printer is able to print for that kind of option. please help

    Canon MP280 Series

    When you select print you should see a menu option labeled Printer Settings (or Printer Options). This may be hidden in 2 different ways. First, the program may have minimized the print dialog box. Look for a button labeled Show Details. If you see it you'll need to click on the button to see all the printer options that are available. Having done this you'll see more options. Typically you'd look for the Printer Settings under a popup menu labeled Layout but sometimes something else is showing. For example, below you'll see that Safari hides it under Safari.

Maybe you are looking for

  • How to Edit a Missing Flash Image?

    I was given a flash project to edit. I have to edit one image in Photoshop, but when I right click on it and choose Edit with - Photoshop, an error message comes up saying "The file G:Web-02\Site\film120902.gif does not exist, unable to launch extern

  • HT2729 How can I move a rented movie from my iPhone4s to my computer?

    I am tryingt to move a movie I rented on my iphone4s to my macbook so I can watch it on a bigger screen but cannot figure it out!

  • Iphone file browser stopped working after upgraded to IOS 5

    Hi, I have an iphone 3gs which I have recently upgraded to IOS 5. But to my horror after I have done that I can no longer browser my iphone's internal storage. Iphone connected to PC via USB, the file explorer no longer available. It can still sync w

  • Open previously created iWeb pages in iWeb

    Hello, I successfully created a series of simple Web pages using iWeb and would like to load my first Web page to make some changes. However, I do not see "Open..." or some other option in iWeb that would allow me to load iWeb created Web page in iWe

  • Cant export using quicktime in mp4

    hi, i tried to export using "share" using quicktime to get an mp4 file , then the process start, and within a couple of seconds its just stop ! and the temporary file disapear.  I tried to change some setting to see if it change something but no. it