Click on the link inside the non-Focus field

Hi all

I use an ActiveRichTextField non-focusable because the field is part of a larger container making screenshots click on itself - not the children. This was done to make it easier for the user to scroll up and down on a list of text fields (do not have to move the focus to a line-of-text database).

Question:

My customer wants to activate by clicking on hyperlink. This is done natively by the ActiveRichTextField, but it cannot be activated because the emphasis is disabled.

Question:

Someone has any idea how to reconcile the conflicting requirements?

(a) the ActiveRichTextField should not be focusable on a baseline of text (if it is wrapped, of course)

(b) by clicking on the hyperlink should open the browser, etc.

Thank you.

You can get the x / y position of the textfield, but translate the active regions in x / there would be rather difficult (if possible at all).
I just looked at the API, but I don't see how you can extract the links (or information about them) as the analysis is done in the background.

You can analyze the text yourself with regular expressions to detect hyperlinks and offer them in a context menu.
(e.g. http://www.regexguru.com/2008/11/detecting-urls-in-a-block-of-text/ )

I usually change my paradigma UI if it turns out that a usecase I need is not taken in charge, but it is sometimes easier to patch something on.

Basically, your decision: change the user interface in order to support this usecase, or something (like the context menu) on this patch.

I would say to list the options see, then speak to the customer what he likes.

Tags: BlackBerry Developers

Similar Questions

  • When we change the non-mandatory field in the form, it is not updated

    Hello... I have a question here...

    If I required fields in a custom form, and when I ask the form and change the value in the non-mandatory field and click on save, then it does not save. It is said ' no changes to save "." But it is not the same for the non-compulsory fields.

    Can you please suggest me?

    -vrdida

    If you have an element with an assigned LoV it much difference if you change the value of points (assuming that you have either the property 'Validate list', the value yes or you have a WHEN-VALIDATE-POINT-trigger who performs the search ID fk of the given text) or if you visit the 'empty' field, or NULL. In this case, you must create a WHEN-VALIDATE-trigger POINT on the element, which "cleans" the Fk - id as

    IF :BLOCK.LOKUP_ITEM IS NULL THEN
      :BLOCK.FK_ID:=NULL;
    eNd IF;
    
  • validation working is not to count the non-null fields

    I have six fields on the screen, I want to check that at least 3 of them are filled (3)...
    I created a validation as follows to count the non-null fields... but it's not working...
    Please help solve this problem or recommend a better way to do this...


    declare
    number of question_count;
    Start
    question_count: = 0;
    If: p1_t_question_1 is null then
    null;
    on the other
    question_count: =: question_count + 1;
    end if;
    If: p1_t_question_2 is null then
    null;
    on the other
    question_count: =: question_count + 1;
    end if;
    If: p1_t_question_3 is null then
    null;
    on the other
    question_count: =: question_count + 1;
    end if;
    If: p1_t_question_4 is null then
    null;
    on the other
    question_count: =: question_count + 1;
    end if;
    If: p1_t_question_6 is null then
    null;
    on the other
    question_count: =: question_count + 1;
    end if;
    If: p1_t_question_6 is null then
    null;
    on the other
    question_count: =: question_count + 1;
    end if;

    If: question_count > 2 then return false;
    otherwise returns true;
    end if;
    end;

    I'll take a look a bit.
    In the meantime, check if the code as

    If the trim (both '%' from: p1_question_with_nul') = 'null '.

    help

    Ok. Take a look now. I used the function TRIM as shown above and also changed the comparison for questions 3 text based on ' if: p1_question_with_text is null'

    Seems to work now

    CITY

    Published by: city has 23 October 2009 05:26

  • tabular form - update the non-visible fields

    Hi gurus!
    I built a tabular form over a table composed of 6 fields and I use the MRU to allow the user to edit the record; Two field in that table are not visible and editable by the user; I want to use the two fields to track which change the record (both fields are Modify_USER, Modify_date).
    I want to insert in the two fields the values the user variable and the sysdate.
    Is it possible, is there a way to do this with MRU or do I have to manually write the PL/SQL for this?
    I'm on APEX 3.2
    Any suggestion will be appreciated.
    Thanks in advance,
    DDF

    Instead of doing it this way, why not watch a trigger in the database, which will fill these columns when you perform an update on the table? The user will be & user_id. and the sysdate you already...

    CREATE OR REPLACE TRIGGER Update_Table_X
    BEFORE UPDATE
    of Table_X
    ON R_RECORDS
    FOR EACH ROW
    BEGIN
    
    :new.Modify_date := sysdate;
    :new.Modify_USER := app_user;
    END;
    

    Thank you

    Tony Miller
    Webster, TX

    A lady came up to me on the street, pointed at my suede jacket and said: "do you not know that a cow was murdered for that jacket?
    ' I didn't know there are witnesses ', I replied: "now, I'll have to kill you too. '

  • How to put the non-repetitive field in an extensible framework?

    I have a formula field that creates the header of a list in an extensible framework. I seem to be in an embarrassing situation if - if I include the field inside the expandable frame header is repeated. If I put it outside, I get an error "field reference column to a frequency lower than his group. If I move the column of formulas at the request of parents it works except in the case where the child query returns no rows then I get the header with no data.

    So, I need to be a way to display the header within the extensible frame, but only once or I need a way to remove the header when the child query will return no rows.

    So, I need to be a way to display the header within the extensible frame, but only once or I need a way to remove the header when the child query will return no rows.

    You can try an idea. Keep the formula column in the option group, and create a more summary column as serial number for retail stores so repeating rather than setting this field (column of formulas) by repeating the image and use the PL/SQL code for this field as below...

    IF :serial_no = 1 THEN
      RETURN TRUE;
    ELSE
      RETURN FALSE;
    END IF;
    

    Then, it should display the first record only.

    -Clément

  • How promt user to save the changes when you change the non-base fields?

    Hello
    I have a form with two tabs. The datablock Block_1 on tab_2 is based on a view of database. But all the displayed items of the Block_1 are non-base of data elements. Whenever a user changes some elements of Block_1 and press the button Save, the values of non_db elements copied from the db_items (based on the view), and commit_form is called. It works very well.
    But the problem here is: after the change of some elements of block_1, if the user navigates to another form/option in the menu, the shape is not promt the user to 'save changes' and all changes are lost. How can I fix it?
    I have a form level key-release trigger, (which does not fire) with the following code: -.
    Declare
      X  Number;
      alert_is             alert;
    Begin
          
    If :System.Mode = 'ENTER-QUERY' Then
         
            Exit_Form;
           
    Else
      If :System.Form_Status In ('NEW','QUERY') Then
           alert_is := FIND_ALERT('TMPL_EXIT'); -- "Are you sure you want to exit?"
        X := Show_Alert('TMPL_EXIT');
        
        If X = Alert_Button1 Then
           Exit_Form(no_validate);
        End If;
        Else
           Exit_Form;
      End If;
    End If;
    End;

    When button preesed trigger that fills your block:

    --somewhere in loop after NEXT-RECORD and assigning values:
    set_record_property (:system.cursor_record, :system.cursor_block, STATUS, QUERY_STATUS );
    

    Now you can copy the values of the elements not db to db items in when-validate-item.

    Of course, it is a quick fix and dirty. Good way would be to solidarity block using EXECUTE QUERY, delete everything in mirror and do you calculations in a trigger post-requete

    Published by: Slava Natapov on December 9, 2009 14:18

  • How to display the "Add a contact" dialog box with the non-empty fields?

    On the BlackBerry, I want to display a dialog box 'Add a contact' with some fields filled.

    I assumed would work the following code:

    Contact BlackBerryContact = mContactList.createContact ((BlackBerryContact));

    populateSomeFields (contact);

    AddressBookArguments args = new AddressBookArguments (AddressBookArguments.ARG_NEW, contact);

    Invoke.invokeApplication (Invoke.APP_TYPE_ADDRESSBOOK, args);

    but no way. If I invoke with ARG_NEW a completely EMPTY fields are displayed.

    If I invoke with ARG_COMPOSE an IllegalArgumentException is thrown. Is it possible that I can show 'Add a contact' with some informed fields?

    just as an idea: maybe you have to make contact before the opening of the new message notice?
    otherwise it is not possible, you will need to write your own GUI to change the fields in contacts.

  • Replace an abbreviation in the non-consecutive fields and keep the rest of the text

    I need to replace an abbreviation that is no longer used in the office with a new text. I need to keep the rest of the information in the field. Length fields vary, and the new text is longer than the former. I use Oracle 8i. This is what I have for now but does not work.

    UPDATE OF ICA
    the value of LIC. DETAL = substr ('ALPHA BET' |) DETAL, 4, length (detal)-3);
    where UPPER (substr (DETAL, 1, 3)) = 'AB-';

    Hello

    Whenever you have a problem, please post a small example of data (CREATE TABLE and INSERT statements) and also publish outcomes from these data.

    user8647598 wrote:
    I tried this:

    update of ICA
    the value of LIC. DETAL = replace (lic.detal, '- HO', ' HOME OCC' |) Trim (detal));

    but I got an error saying that it was too big.

    ERROR on line 1:
    ORA-01401: inserted value too large for column

    Published by: user8647598 on January 13, 2011 07:32

    It is one of thopse error messages that acually means what he says. After replacing the text, the chain grew more time, and it will fit is no longer in the column.

    Are you sure you are doing what you want?

    REPLACE ( lic.detail
         , 'HO-'
         , 'HOME OCC' || TRIM (lic.detal)
         )
    

    Means "where detal contains the 3 - character substring"HO -"replace it with the 8 'HOME OCC" string * followed by the original text of the detal.»
    So if detal
    {code}
    HO-1 XYZ
    {code}
    then REPLACE them back:
    {code}
    XYZ OCCXYZ HO-1 HOUSE
    {code}

    That is what you want, or do you want something like that?
    {code}
    REPLACE (lic.detail
    "HO -"
    , 'HOME OCC-' or maybe 'HOME OCC", with a space at the end
    )
    {code}
    You can use the expression above as an argument for the TOPPING.

    When you want to write an UPDATE statement, you can test it in the first place, like this:
    {code}
    SELECT detal
    TRIM (REPLACE (detal
    "HO -"
    , 'HOME OCC '.
    )
    )
    ICA
    WHERE detal LIKE ('% HO %')
    AND ROWNUM<=>
    ;
    {code}

  • How can I keep a wrong user name to come up with a click on the box?

    I typed an incorrect username. Now, when I click on the user name box to display my username, it displays the wrong name as a choice, but I don't want to show. Is it possible to remove this name?

    Follow these steps to delete the recorded data (form) in a drop-down list:

    1. Click on the (empty) input field on the web page to open the drop-down list
    2. Select an entry in the drop-down list
    3. Press the DELETE key (on a Mac: shift + delete) to remove it.
  • cannot type in the form entry fields

    On some websites, I am unable to click into the form input fields. (The alternative is to right-click on them or tab their).

    However, it's only a fault on Firefox. I am able to do this on other browsers.

    In particular, it is the form of e-mail on the right side of the given site.

    Can you give an example of a site that is hit, so we can take a look?

  • How to make Non editable fields in Web ADI

    Hi all

    Can you please let me know how we can make the Non editable fields in Web ADI?

    Thank you
    Anil

    Dear Anil

    You define fields don't read that in the page layout.

    Concerning
    Giuseppe

  • My Menu "Right click" on the links of text contains EACH Option of the Menu popup (or absent) and does not...

    When I right click on a text link (for example to "save the link under ' or 'Copy link location' etc.) the right click Menu that includes options for either:

    (a) EACH context menu (including images and videos and more... similar to this http://prntscr.com/z0k15 )
    (b) some of the relevant options, but not all (e.g. Save link as)

    ... in both cases, none of these options work, making it pretty useless right click Menu.

    This happens when a right click on the video or good Images. They work as usual. It is just text links.

    I tried:
    -Refreshing Firefox
    -Restart in Mode safe
    -Disabling the Extensions one by one

    None of this has worked.

    Any help would be massively apppreciated!

    Thanks in advance!

    Hi Toniy, please try to reinstall firefox with the full installer available through https://www.mozilla.org/firefox/all/

  • Given that I put to update to the latest version of firefox, whenever I click on a link or in a box a google play window opens

    Since I have updated to the latest version of Firefox a few days every time I click on a link, or in a dialog (like this one) or try to pin something to Pinterest, a reading of google window opens. I have no new pluggi-ns and no Add-ons. I also scanned my cpu for viruses and none were found. What is originally this issue that drives me crazy, and how can it be solved?

    To eliminate if it is a corrupt add on or plugin, please check if it happens in a new profile with just the pintrist on. This will tell you if it's a combination. Use the Profile Manager to create and delete profiles Firefox

    Also sometimes an antivirus does not detect a virus that would be another. Sometimes a problem with Firefox can be a result of malware installed on your computer, you may not be aware of.

    You can try these free programs to search for malicious software that work with your existing anti-virus software:

    Microsoft Security Essentials is a good permanent antivirus for Windows 7/Vista/XP, if you do not already have one.

    More information can be found in the article troubleshooting Firefox problems caused by malware .

    This solve your problems? Please report to us!

  • When I click on the + sign, I don't get another tab even if an extra tab open if, for example, I click on a link in an e-mail or on a website.

    Before the last update, I could open a new tab by clicking on the + sign to the right of any open tabs. None. Nothing happens. If I click on a link in an e-mail or on a Web site, however, a new tab opens. For example, if I get an email from Facebook that says that someone has posted, and I click on the link, I'll get a new tab open, and Facebook will be there. Then I have two tabs open and can navigate on either without problem. If I click on the + sign, all nothing happens. I am perfectly able to open Safari with Firefox running and I get several tabs to get there without effect on Firefox. In other words, I can come and go.

    I'm grateful for any help! Thank you.

    Get rid of this extension.
    Produtools Manual 2.1 Community Toolbar 3.21.0.1

    Community toolbar extensions are known to cause that in Firefox 30.

  • By clicking on the e-mail link opens Internet Explorer...

    It is a new show, starting today. I have not changed my default e-mail settings.

    By clicking on the link address on Craigslist, a window opens, giving options. I always choose anonymization. Today, when I clicked it, Internet Explorer opens. When I right click on IE to close the window, he quickly opened many tabs, each one had the message "Navigation cancelled". I have been unable to click "Close all tabs" for more than 30 seconds, date at which had opened more than 50 tablets. It took several attempts to close all tabs.

    Now, until you tell me to check the settings of Internet Explorer, keep in mind that: 1) I NEVER use IE and 2) I've never had this problem in the past and 3) I have not changed any default e-mail settings. In addition, 4) I had no problem to my task on Chrome.

    Something is messed up in Firefox 27.0.1 and I am at a loss as to what it could be or how to fix. None of the pages of online help was of no use, up to this point. I restarted Firefox, and I restarted my computer.

    Any ideas would be welcome

    After receiving this recommendation, I'm away from him. I didn't have time to go through all these steps. It was easier to use but not Firefox when you connect on Craigslist.

    Here we are, two weeks later. I haven't done anything, but the problem is now gone. Apparently Mozilla fixed everything that was the problem, or maybe it was a problem of window that has been resolved with a recent update.

    Whatever happens, the mystery was never solved, but it no longer exists.

Maybe you are looking for