Accessibility-mode causes panelTabbed fail

Happens in my code, not sure if it is a general case:
I have a <panelTabbed> component in a popup dialog.
In the <panelTabbed> it has 2 <af:showDetailItem>. If I set <accessibility-mode> to screenReader in trinidad-config.xml, then the second tab will be lost.
<af:popup>
--<af:dialog>
----<af:panelTabbed>
------<af:showDetailItem>
------<af:showDetailItem>
Please take a look and see if it can reproduced on your side, and please provide a walk-around, if it really happens.
Thanks,
- Chen

Hi, Andreas:
My JDev version is 11.1.1.7, which is an internal version for the SKYROS skin.
Probably, I found out why the second tab was lost... because the text in the tabs was:
Attributes
Attribute Settings
and the width of the <af:panelTabbed> was about 300px, it works fine when turning off the accessibility-mode
When turning it on, the text in the tab bcomes:
Selected Item: Attribute ||
Item: Attribute Settings
OR
Item: Attributes
Selected Item: Attribute Settings
Because the width of the tab is based on the text inside, and because there is no space to hold these 2 tabs in one row (because the position settings for the tabs are "relative" based on the class xb7), the second tab was wrapped to the position under the first one...
So after I change the width of the <af:panelTabbed> the second tab shows up, and looks like it works fine.
Thanks.

Similar Messages

  • Accessibility mode FAIL

    I want to love BB 10 OS & my Z10.  I am proud to put my phone on the table with all the iPhone fanboys and let them know they are slavish drones!  But I stumbled into a major design flaw today and I want to nuke my Z10!
    Maybe I'm just nervous, but I must have pressed the Lock button 3 times. Like Dorothy in the Wizard of Oz clicking her heals.  The next thing I know the phone is talking to me.  Thus ensues 2 hrs of maximum frustration  There is ABSOLUTELY NO SCREEN SUPPORT that tells me I'm in Accessibilty mode.  A simple message: "Press Lock 3 Times to Exit Accissibility Mode" would have helped immensely.
    The operation of the phone becomes100% inscrutible.  I later learn that this mode is for the visually impaired.  I would like to know what testing was done with people who needed this 'feature?'  Close your eyes and tell me it helps!  It only stumbles, stammers, fails to respond!  I later learned with a call to the ever-helpful T-Mobile support people that a three finger swipe at precise angles, velocity and incredible accuracy has a PRAYER or reversing this mode.  OMG!  I was going to drive to a T-Mobile store or the hospital emergency room after the hara-kiri I was sure would be more humane than this devil spawn of a BETA FEATURE!!
    PLEASE: make the triple lock press a DEFAULT OFF function for accessibility.  If you are visually impared it would be a purposeful selection that would require assistance anyway.  DON'T MAKE IT THE DEFAULT!  And for heaven's sake make disabling/reversing it obvious.  Who could possibly imagine that three finger swipes or triple clicks (seriously??) would be natural UI features?
    I want to love BB, but this really crashes my party
    Kim
    Indianapolis

    Pressing the power button three times enables Screen Reader Beta in Accessibility Mode, you must have also confirmed Confirmation Message (default On) to accidentally have gone into that mode.

  • "24427 Access to Active Directory failed" error in ACS 5.1

    Hello,
    I'm working on implementing a RADIUS authentication for wireless access with the following :
    - PCs running Windows 7, protocol used is PEAP (without validating the server certificate to make it simple at first),
    - AP 1252  configured to use a RADIUS server to authenticate (it's working good with an ACS server 4.2),
    - ACS Server 5.1.0.44.5 running as VM connected to an AD domain and working good with VPN connections,
    - AD domain running on Windows 2003 Server.
    My ACS VM is working good since a couple of months for VPN (RADIUS) and administration (TACACS) remote access, both using Active Directory. Now, I'd like to use it to authenticate people connecting to a 1252 Cisco access point but I'm getting this error "24427 Access to Active Directory failed". I switched from PEAP to LEAP but this is the same.
    All I can get running the expert troubleshoot
    Investigating failure code: 24427 Access to Active Directory failed
    Checking if Active Directory is configured
    Active Directory is configured
    Attempting connection to Active Directory
    Connection to Active Directory was successful.
    Troubleshooting completed.
    Click on Show Results Summary to view results.
    I followed this guide, at least for the ACS certificate section :
    http://www.cisco.com/en/US/products/ps10315/products_configuration_example09186a0080b4cdb9.shtml
    Anyone has an idea where the problem may come from?
    Thanks in advance,
    Vincent

    hey there, I ran into the same issue with 5.3 and it turned out being this bug. i came across your post looking for instructions on retrieving the logs. thanks mate.
    link
    Problem: Error "24495 Active Directory servers are not available"
    Authentication starts failing with this error: 24495 Active Directory servers are not available. in the ACS 5.3 logs.
    Solution
    Check the ACSADAgent.log file through the CLI of the ACS 5.x for messages such as:Mar 11 00:06:06 xlpacs01 adclient[30401]: INFO base.bind.healing Lost connection to xxxxxxxx. Running in disconnected mode: unlatch. If you see the Running in disconnected mode: unlatch error message, this means the ACS 5.3 cannot maintain a stable connection with Active Directory. The workaround is to either switch to LDAP or downgrade the ACS to 5.2 version. Refer to Cisco bug ID CSCtx71254 (registered customers only) for more information.

  • My external hard drive goes in to constant access mode and really slows down my computer

    I'm using an external hard drive for time machine.  After working for an hour or so the drive goes into a constant access mode and realy slows down my IMac.  I look at activity monitor and everything looks good, no high CPU usage or memory issues.  The only fix is to use the power button to shut down my IMac.  After restart it works fine for a while.
    If I turn off time machine the problem seems to not happen.  I tried disk utility on the external hard drive and it says the dirve is fine.  I change out external drives and the problem still occures.  Any thoughts?

    I didn't realize my profile stated otherwise.
    Please check near the bottom of your original post above to see OS X (10.7.2).  You might want to update that to avoid confusion and save some time in the future.
    OK, please take a deep breath.
    Apple does not officially support Time Machine backups to a drive at the USB port of the AirPort Extreme....likely because it is not reliable. You might want to review this Apple Support document to confirm:
    http://support.apple.com/kb/HT2038
    So, we are not going to be able to provide you with much assistance on that issue.
    Some users seem to be able to make this work....some have some problems....and some (like me) who have tried this have nothing but problems.
    Sorry, I can't help on this one, but maybe another user who has had better luck will post to provide his secrets.
    The iTunes and iPhoto libraries and files are my only copies now.  I moved everything from my Macbook to the external then deleted the originals.
    Not sure if you have thought about this.
    If you deleted the "originals", then your only copy of your data is on one hard drive. You have no backups if the drive has a problem.
    A minimum backup plan would be to have a copy of important data on two different drives. When....not if...one drive fails, you have the data on the "other" drive.
    You have no "other" drive according to the information that you have provided.
    Further.....Time Machine backs up the changes on your Mac. At some point....you cannot know when.....Time Machine will pick up the change on your Mac and delete the iTunes and iPhoto data from your Time Machine backups.
    The files might stay there a few months, or even longer. But, I have seen instances where the files were deleted within a week or two.
    So my advice would be to only delete data from your Mac that you can afford to lose.

  • Accessibility-mode set to inaccessible and 508 compliance

    Hi,
    I'm using JDEV 10.1.3.3.0.
    I've set accessibility-mode to inaccessible in adf-faces-config.xml in order to set the InitialFocusID on some of my pages. Does this setting mean that my application is not/cannot be 508 compliant?
    Is there a way to use the InitialFocusID (or other way to position the cursor) and use ADF Faces automatic 508 compliance code?
    TIA,
    Dave

    Hi,
    ensure you use the correct version of JAWS. In the past I've seen things like this caused by the JAWS reader. If the problem still shows and you have a support contract, provide a test case and file a bug
    My problem is when i use tab key from keyboard to navigate on the page the component highlights(dotted line around the component ) but it does not open the required popup.
    This is because there is no setting in your page code that says that the popup should show when the component is in focus.
    +<af:showPopupBehaviour popupId="alertPopup" triggerType="mouseOver" align="startbefore"/>+
    +<af:showPopupBehaviour popupId="alertPopup" triggerType="contextMenu" align="startbefore"/>+
    Frank

  • Kerberos Configuration Manager for SQL Server: Access of system information failed!

    I'm trying to use the new Kerberos Configuration Manager for SQL Server tool that was released recently to verify SPN on several SQL Servers, but any time I attempt to connect to a server I get the following error in the log:
    6/24/2013 3:48:22 PM Info: Connect to WMI, \\<HOSTNAME>\root\cimv2
    6/24/2013 3:48:25 PM Error: Access of system information failed System.DirectoryServices.AccountManagement.PrincipalOperationException: An error (1332) occurred while enumerating the group membership.  The member's SID could not be resolved.
       at System.DirectoryServices.AccountManagement.SAMMembersSet.IsLocalMember(Byte[] sid)
       at System.DirectoryServices.AccountManagement.SAMMembersSet.MoveNextLocal()
       at System.DirectoryServices.AccountManagement.SAMMembersSet.MoveNext()
       at System.DirectoryServices.AccountManagement.FindResultEnumerator`1.MoveNext()
       at System.Linq.Enumerable.Contains[TSource](IEnumerable`1 source, TSource value, IEqualityComparer`1 comparer)
       at KerberosCM.WMIHelper.isUserLocalAdmin(SystemInfo si, UserPrincipal user)
       at KerberosCM.WMIHelper.getUserInfo(SystemInfo mi)
    6/24/2013 3:48:25 PM Error: Error System.Exception: Access of system information failed!
       at KerberosCM.WMIHelper.getUserInfo(SystemInfo mi)
       at KerberosCM.SystemInfo.GetInfo()
       at KerberosConfigMgr.Utility.Login(String serverName, String login, String password, Boolean isCmdLine, Form uiForm)
    Things I have tried to resolve this:
    1. Verified that my account is a Domain Admin.
    2. Attempt to connect locally without inputting any information for server/user/pw
    3. Attempt to connect remotely using server/user/pw
    I always receive the same error message and log: Access of system information failed!
    Has anyone else run into this issue?

    Update to this:
    There were some invalid user accounts added to the Local Administrators group only showing up as a GUID. This caused the enumeration of the group to fail and generate the error in my original post. Removing those user accounts from the Administrators group
    got past the enumeration error.
    However, now when attempting to connect to the servers (locally or remotely) I get this error:
    6/27/2013 10:24:24 AM Info: Connect to WMI, \root\cimv2
    6/27/2013 10:24:38 AM Error: Access of system information failed System.Runtime.InteropServices.COMException (0x80070035): The network path was not found.
       at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       at System.DirectoryServices.DirectoryEntry.Bind()
       at System.DirectoryServices.DirectoryEntry.get_AdsObject()
       at System.DirectoryServices.PropertyValueCollection.PopulateList()
       at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
       at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
       at System.DirectoryServices.AccountManagement.SAMStoreCtx.ResolveCrossStoreRefToPrincipal(Object o)
       at System.DirectoryServices.AccountManagement.SAMMembersSet.MoveNextForeign()
       at System.DirectoryServices.AccountManagement.SAMMembersSet.MoveNext()
       at System.DirectoryServices.AccountManagement.FindResultEnumerator`1.MoveNext()
       at System.Linq.Enumerable.Contains[TSource](IEnumerable`1 source, TSource value, IEqualityComparer`1 comparer)
       at KerberosCM.WMIHelper.isUserLocalAdmin(SystemInfo si, UserPrincipal user)
       at KerberosCM.WMIHelper.getUserInfo(SystemInfo mi)
    6/27/2013 10:24:38 AM Error: Error System.Exception: Access of system information failed!
       at KerberosCM.WMIHelper.getUserInfo(SystemInfo mi)
       at KerberosCM.SystemInfo.GetInfo()
       at KerberosConfigMgr.Utility.Login(String serverName, String login, String password, Boolean isCmdLine, Form uiForm)

  • Problem with Restructuring of the cube + IO access mode is Direct IO

    Hi All,
    There is a problem faced with the restructuring of the cube.
    Application Name: Sample
    IO Access Mode: Direct I/O
    Operation peformed: Copying of Outline from one server (Development) to other server (QA). Performed verification of the outline & saved. And while closing the outline window, it was asking for the restructure and started restructuring of outline.
    In this case, some exceptional files are created at the log directory & ABNORMAL SHUTDOWN of application is happening.
    Below are the entries in the application log file:
    *Restructuring Database [AtLaunch]*+
    Essbase Internal Logic Error [7333]+
    *Exception error log [E:\Hyperion\logs\essbase\app\Sample\log00011.xcp] is being created...*+
    Exception error log completed E:\Hyperion\logs\essbase\app\Sample\log00011.xcp please contact technical support and provide them with this file+
    RECEIVED ABNORMAL SHUTDOWN COMMAND - APPLICATION TERMINATING+
    Please let me know the below information:
    1.What will be happened to the Outline?
    2.What is the reason of this kind of error and how to resolve this?
    3.During the restructuring process, what will be happening if the access mode of application is in Direct I/O?

    Exception error log [E:\Hyperion\logs\essbase\app\Sample\log00011.xcp] is being created...^^^You're on your eleventh crash? Not Good. Get that .xcp file to Oracle Support forthwith.
    FWIW, some people swear by Direct I/O for its performance -- I was burnt, badly, by it in the past and never use it.
    Copying of Outline from one server (Development) to other server (QA). Performed verification of the outline & saved. And while closing the outline window, it was asking for the restructure and started restructuring of outline.^^^You used the Migration Wizard? Did a Save As? Changed the density (my guess if BSO)? You did something that caused Essbase to do a restructure. A simple Save without changes shouldn't require that, I think.
    Regards,
    Cameron Lackpour
    P.S. I have seen saves that do things like change BSO density (depends on whatever bugs your version has) and resulted in massive blocks. When Essbase tried to save -- KABOOM!
    Edited by: CL on Apr 2, 2012 7:51 AM
    Duh, if you're using Direct I/O, it is BSO.

  • I am stuck on the Subway Surfers app in guided access mode the info its giving me to fix it is a liar! none of the buttons will work all I can do is lock it unlock it and play subway surfers. I cannot turn it off and refuse to let it die. HELP ME PLEASE!!

    Ok I dont understand this SOS!!!! Please dont tell me to restart my Ipad Cause none of the buttons work except the lock button and that will not allow me to turn it off please help all suggestions are welcome.

    What you need to do is triple-press the HOME BUTTON three times. You will be prompted to enter your passcode. This will bring up the options for guided-access mode and you will then need to click "End" in the top corner.
    Guided-access mode must have accidentally been enabled by triple-clicking the home button.

  • My 6th gen ipod seems to be stuck in accessibility mode

    My 6th generation Ipod is stuck in accessibility mode and is "voicing" all the different options on the screen.  Also, a swiping action is not working.  I have not done a factory reset to original settings but it will likely be my next step.  A hard reset did not cure the problem.

    Plug it in to iTunes - go to the Summary tab when the iPod appears - go down to the 'Configure Accessibility' button (bottom of the page) - click it.  You may see VoiceOver checked.  Uncheck it, then click OK.
    Failing that: I have a 7G.  With my version, I get the voice when I hold both volume buttons down (I think).  Maybe your buttons do the same thing and maybe they are being held down by something?  Just a guess. 

  • Had to start Firefox in safe mode cause it kept crashing after i deleted the file. Now Fire fox Crashes every time I open it and I have to put it in safe mode j

    Had to start Firefox in safe mode cause it kept crashing after i deleted the file. Now Fire fox Crashes every time I open it and I have to put it in safe mode just to use it, also it's not syncing with my iPad.

    If you use Norton software, try disabling your Norton extensions. As of last week, there were severe compatibility issues with Firefox 24.

  • How to create a calendar activity in accessibility mode ?

    I didn't find any way to create a calendar activity in accessibility mode. Since it shows blank list of days in calendar component for a month.
    It seems to be a bug in ADF calendar component. Please suggest if there is any alternate way to support this.
    Thank you so much.

    Timo,
    From a  reference doc of previous version of jdev/adf, it said :
    http://www.oracle.com/technetwork/cn/java/calendar-091799.html
    Expand the Data Controls accordion and drag the collection that represents the view object for the activity created above (FodCalEventVO) and drop it as a Calendar.
    But in Jdev 12c.--cannot find the Create Calendar choice.
    In jdev 12c can drag and drop a calendar component from the component palette, but do not now how to bind it to view objects.
    Thanks.
    BAO

  • My iPod touch is permanently disabled and it says to connect my iPod to my iTunes yet when I do that, it tells me to type in pass code even though it's still disabled. i cant go to DFU mode cause my home button is broken PLEASE HELP ME GOD I MISS MY IPOD

    My iPod touch is permanently disabled and it says to connect my iPod to my iTunes yet when I do that, it tells me to type in pass code even though it's still disabled. i cant go to DFU mode cause my home button is broken PLEASE HELP ME GOD I MISS MY IPOD TOUCH PLEASE :'((

    i cant do that sir ,my ipod touch 4g keeps rebooting and rebooting all over again until the battery is empty HELP GUYS PLEASE

  • I am getting error (-1) while updating my iPhone 4 to iOS 5.1. The phone has gone into a recovery mode. Restore fails every time at "restoring the firmware" stage. Striped bar remains for a long time, then shows "error (-1)" and the restore fails. Help!

    I am getting error (-1) while updating my iPhone 4 to iOS 5.1. The phone has gone into a recovery mode. Restore fails every time at "restoring the firmware" stage. Striped bar remains for a long time, then shows "error (-1)" and the restore fails. I have been doing it for last 12 hours. Help!

    Thanks for your reply Michalo. I am in India and here Apple care does not work on Sundays. I have been without my phone for the entire day. Perhaps tomorrow will bring some respite. There is not solution to "error (-1)" on any forum it seems. I found one forum which suggested use of Tiny Umbrella. Any idea about that?

  • Getting error in mailing program :Cause: FDPSTP failed due to ORA-29277

    in the following program i am submitting a request and sending concurrent program log file (.REQ file)as an attachment but getting
    following error,plese tell me where i am wrong
    ORACLE error 29277 in FDPSTP
    Cause: FDPSTP failed due to ORA-29277: invalid SMTP operation
    ORA-06512: at "SYS.UTL_SMTP", line 44
    ORA-06512: at "SYS.UTL_SMTP", line 150
    ORA-06512: at "SYS.UTL_SMTP", line 383
    ORA-06512: at "SYS.UTL_SMTP", line 399
    ORA-0651
    code:
    CREATE OR REPLACE PACKAGE BODY APPS.xx_create_acct
    AS
       PROCEDURE submit_request(
          errbuf             OUT   VARCHAR2,
          retcode            OUT   VARCHAR2,
          Source_Application     varchar2,
    Application     number,
    Dummy_Parameter_0    varchar2,
    Ledger    number,
    Process_Category     varchar2,
    End_Date     varchar2,
    Create_Accounting_Flag    varchar2,
    Dummy_Parameter_1    varchar2,
    Accounting_Mode    varchar2,
    Dummy_Parameter_2    varchar2,
    Errors_Only_Flag    varchar2,
    Report    varchar2,
    Transfer_to_GL_Flag    varchar2,
    Dummy_Parameter_3    varchar2,
    Post_to_GL_Flag    varchar2,
    GL_Batch_Name    varchar2,
    Mixed_Currency_Precision    Number,
    Include_Zero_Amt_Lines_Flag    varchar2,
    Request_ID    varchar2,
    Entity_ID    Number,
    Source_Application_Name    varchar2,
    Application_Name    varchar2,
    Ledger_Name    varchar2,
    Process_Category_Name    varchar2,
    Create_Accounting    varchar2,
    Accounting_Mode_Name    varchar2,
    Errors_Only    varchar2,
    Report_Level    varchar2,
    Transfer_to_GL    varchar2,
    Post_in_GL    varchar2,
    Include_Zero_Amount_Lines    varchar2,
    Valuation_Method    varchar2,
    Security_ID_Integer_1    varchar2,
    Security_ID_Integer_2    varchar2,
    Security_ID_Integer_3    varchar2,
    Security_ID_Char_1    varchar2,
    Security_ID_Char_2    varchar2,
    Security_ID_Char_3    varchar2,
    Concurrent_Request_ID    number,
    P_INCLUDE_USER_TRX_ID_FLAG    varchar2,
    P_INCLUDE_USER_TRX_IDENTIFIERS    varchar2,
    P_DEBUG_FLAG     varchar2
       IS
          l_senderemail     VARCHAR2 (2000) := '[email protected]';
          l_request_id      NUMBER;
          errmsg            VARCHAR2 (1000);
          req_id            NUMBER;
          phase             VARCHAR2 (200);
          status            VARCHAR2 (200);
          dphase            VARCHAR2 (200);
          dstatus           VARCHAR2 (200);
          MESSAGE           VARCHAR2 (200);
          wait_stat         BOOLEAN;
          l_file_name       VARCHAR2 (200);
          l_file_path       VARCHAR2 (2000);
          crlf              VARCHAR2 (4)    := CHR (13) || CHR (10);
          v_set_layout_option  BOOLEAN;
           dir_name         varchar2(100);
        /*  CURSOR req_status
          IS
                        SELECT SUBSTR (outfile_name, 55, 23) filename,
                    SUBSTR (outfile_name, 1, 64) outfilepath
               FROM applsys.fnd_concurrent_requests
              WHERE request_id = l_request_id
                AND phase_code = 'C'
                AND status_code = 'C';*/
          directory_path    VARCHAR2 (2000);
          lv_subject        VARCHAR2 (100);
          lv_msg            VARCHAR2 (700);
          lv_msghdr         VARCHAR2 (100);
          lv_pdf_filename   VARCHAR2 (200);
       BEGIN
        apps.fnd_global.apps_initialize
                                   (user_id           => apps.fnd_global.user_id,
                                     resp_id           =>apps.fnd_global.resp_id,
                                    resp_appl_id      => apps.fnd_global.resp_appl_id
                 l_request_id :=
                apps.fnd_request.submit_request
                                      ( 'BOM',
                                        'CSTCRACCRCV',
                                         NULL,
                                         NULL,
                                         FALSE,                             
                                        Source_Application,
                                        Application     ,
                                        Dummy_Parameter_0,
                                        Ledger    ,
                                        Process_Category,
                                        End_Date     ,
                                        Create_Accounting_Flag,   
                                        Dummy_Parameter_1    ,
                                        Accounting_Mode    ,
                                        Dummy_Parameter_2,
                                        Errors_Only_Flag,
                                        Report    ,
                                        Transfer_to_GL_Flag,
                                        Dummy_Parameter_3,
                                        Post_to_GL_Flag    ,
                                        GL_Batch_Name    ,
                                        Mixed_Currency_Precision,
                                        Include_Zero_Amt_Lines_Flag,   
                                        Request_ID    ,
                                        Entity_ID,
                                        Source_Application_Name,
                                        Application_Name,
                                        Ledger_Name    ,
                                        Process_Category_Name,   
                                        Create_Accounting    ,
                                        Accounting_Mode_Name,
                                        Errors_Only    ,
                                        Report_Level,
                                        Transfer_to_GL,   
                                        Post_in_GL    ,
                                        Include_Zero_Amount_Lines,
                                        Valuation_Method    ,
                                        Security_ID_Integer_1,   
                                        Security_ID_Integer_2,   
                                        Security_ID_Integer_3,   
                                        Security_ID_Char_1    ,
                                        Security_ID_Char_2    ,
                                        Security_ID_Char_3    ,
                                        Concurrent_Request_ID,
                                        P_INCLUDE_USER_TRX_ID_FLAG,   
                                        P_INCLUDE_USER_TRX_IDENTIFIERS,   
                                        P_DEBUG_FLAG    
             COMMIT;
             IF (l_request_id <= 0)
             THEN
                errmsg := apps.fnd_message.get ();
             ELSE
                wait_stat :=
                   apps.fnd_concurrent.wait_for_request (l_request_id,
                                                         10,
                                                         360,
                                                         phase,
                                                         status,
                                                         dphase,
                                                         dstatus,
                                                         MESSAGE
                IF dphase = 'COMPLETE'
                THEN
                   dir_name :='XX_CREATE_ACCT_LOG';
                   l_file_name := 'l' || l_request_id || '.REQ';
                   lv_subject := NULL;
                   lv_msg := NULL;
                   lv_msghdr := NULL;
                   lv_pdf_filename := NULL;
                   lv_subject := 'testing mail :Request for Create Accounting not completed';
                   lv_msg :=
                         'Please find attachement here with the Status Of Create Accounting Reciving from cost management'
                   ||  crlf;
                   lv_msghdr := 'Dear Sir' ;
                   lv_pdf_filename := l_file_name;
                   send_mail (l_senderemail,
                              '[email protected]',
                              lv_subject,
                              lv_msghdr,
                              lv_msg,
                              lv_pdf_filename,
                              'text/application',
                              dir_name
                END IF;  
             END IF;
       END submit_request;
       PROCEDURE send_mail (
          p_sender        IN   VARCHAR2,
          p_recipient     IN   VARCHAR2,
          p_subject       IN   VARCHAR2,
          p_mailbodyhdr   IN   VARCHAR2,
          p_mailbody      IN   VARCHAR2,
          p_filename      IN   VARCHAR2,
          p_filetype      IN   VARCHAR2,
          dir_name        in   VARCHAR2
       AS
          v_msg                          VARCHAR2 (32000);
          src_file                       BFILE;
          i                              INTEGER             := 1;
          v_raw                          RAW (500);
          v_length                       INTEGER             := 0;
          v_buffer_size                  INTEGER             := 57;
          v_mailconn                     UTL_SMTP.connection;
          gc_crlf                        VARCHAR2 (4)      := CHR (13)
                                                              || CHR (10);
          gc_lf                          VARCHAR2 (4)        := CHR (10);
          crlf                           VARCHAR2 (2)      := CHR (13)
                                                              || CHR (10);
          gc_mailhost                    VARCHAR2 (255)      := '172.16.11.2';
          -- gc_maildomain                  VARCHAR2 (255)      := 'pune.com';
          msg                            VARCHAR2 (32767);
          boundary              CONSTANT VARCHAR2 (256)
                                               := '-----7D81B75CCC90D2974F7A1CBD';
          first_boundary        CONSTANT VARCHAR2 (256)
                                              := '--' || boundary || UTL_TCP.crlf;
          last_boundary         CONSTANT VARCHAR2 (256)
                                      := '--' || boundary || '--' || UTL_TCP.crlf;
    -- A MIME type that denotes multi-part email (MIME) messages.
          multipart_mime_type   CONSTANT VARCHAR2 (256)
                              := 'multipart/mixed; boundary="' || boundary || '"';
       BEGIN
          DBMS_OUTPUT.ENABLE (100000);
          --fnd_file.put_line (fnd_file.output, '------------------------------------------------------' );
          v_mailconn := UTL_SMTP.open_connection (gc_mailhost, 26);
          UTL_SMTP.helo (v_mailconn, gc_mailhost);
          UTL_SMTP.mail (v_mailconn, p_sender);
          UTL_SMTP.rcpt (v_mailconn, p_recipient);
          UTL_SMTP.open_data (v_mailconn);
          msg :=
                'Date: '
             || TO_CHAR (SYSDATE, 'Dy, DD Mon YYYY hh24:mi:ss')
             || crlf
             || 'From:[email protected] '
          --   || p_sender
             || crlf
             || 'Subject: '
             || p_subject
             || crlf
             || 'To: [email protected]'
            -- || p_recipient
             || crlf
             || 'MIME-Version: 3.1'
             || crlf
             ||                                          -- Use MIME mail standard
                'Content-Type: multipart/mixed;'
             || crlf
             || ' boundary="-----SECBOUND"'
             || crlf
             || crlf
             || '-------SECBOUND'
             || crlf
             || 'Content-Type: text/plain;'
             || crlf
             || 'Content-Transfer_Encoding: 7bit'
             || crlf
             || crlf
             || p_mailbodyhdr
             || crlf
             || crlf
             || p_mailbody
             || crlf
             || crlf
             || crlf
             || crlf
             ||                                                    -- Message body
                'Regards'
             || crlf
             || 'HR and Payroll Team'
             || crlf
             || crlf
             || ' Note- Please ignore the leave status and number of days.'
             || crlf
             || crlf
             || '-------SECBOUND'
             || crlf
             || 'Content-Type'
             || ': '
             || p_filetype
             || crlf
             || 'Content-Disposition: attachment; filename="'
           --  || 'Create Accounting'
            -- || '.REQ'     
             ||p_filename                                         -- p_filename
             || '"'
             || crlf
             || 'Content-Transfer-Encoding: base64'
             || crlf
             || crlf;
          UTL_SMTP.write_data (v_mailconn, msg);
          src_file := BFILENAME (dir_name, p_filename);
          DBMS_LOB.fileopen (src_file, DBMS_LOB.file_readonly);
          v_length := DBMS_LOB.getlength (src_file);
          WHILE i < v_length
          LOOP
             DBMS_LOB.READ (src_file, v_buffer_size, i, v_raw);
             UTL_SMTP.write_raw_data (v_mailconn,
                                      UTL_ENCODE.base64_encode (v_raw)
             UTL_SMTP.write_data (v_mailconn, UTL_TCP.crlf);
             i := i + v_buffer_size;
          END LOOP while_loop;
          UTL_SMTP.write_data (v_mailconn, last_boundary);
          UTL_SMTP.write_data (v_mailconn, UTL_TCP.crlf);
          DBMS_LOB.fileclose (src_file);
          UTL_SMTP.close_data (v_mailconn);
          UTL_SMTP.quit (v_mailconn);
       EXCEPTION
          WHEN OTHERS
          THEN
             UTL_SMTP.quit (v_mailconn);
             DBMS_OUTPUT.put_line (SQLCODE || SQLERRM);
       --   FND_FILE.PUT_LINE (FND_FILE.LOG,'error while fetching values from CO_CODE'|| SQLERRM );
       END send_mail;
    END xx_create_acct;Edited by: BluShadow on 18-Apr-2011 09:49
    added {noformat}{noformat} tags.  Please see the [url=SQL and PL/SQL FAQ and PL/SQL FAQ[/url] for info on how to post on the forums                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     

    I didn't get the information, What I want. Anyway, in the BLOB writing portion you have to create a temporary LOB and load your file into that temporary LOB and the write it into chunks.
    Something like
    DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY); --Read the file
      DBMS_LOB.CREATETEMPORARY(l_blob, TRUE); --Create temporary LOB to store the file.
      v_amount := DBMS_LOB.GETLENGTH(v_src_loc); --Amount to store.
      DBMS_LOB.LOADFROMFILE(l_blob, v_src_loc, v_amount); -- Loading from file into temporary LOB
    /* Writing the BLOL in chunks */
      WHILE l_pos < l_blob_len LOOP
        DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
        UTL_SMTP.write_raw_data(v_connection_handle,
                                UTL_ENCODE.BASE64_ENCODE(l_buffer));
        UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
        l_buffer := NULL;
        l_pos    := l_pos + l_amount;
      END LOOP;For more example see these posts:
    Re: Sending UTL_SMTP mail with single jpg attachment issue
    Re: getting junk letters instead of photo in an email.

  • Using TImed Access mode on Airport Extreme with other routers in bridge mode. Not working as expected.

    I am trying to setup timed access mode on my airport extreme in order to limit the times devices can connect to my network, but I am having some trouble.
    My setup is as follows  Cable Modem ---> Airport Extreme ---> Netgear router
    The Airport is running DHCP and the Netgear is in bridge mode. The only purpose of the Netgear is to provide a wireless access point for older b/g wifi devices. The Netgear is connected to the Airport by an ethernet cable from one of its LAN ports. All ip addresses are supplied by the Airport.
    When I list a device mac number in the Airport extreme's timed access table it does seem to block the device if the device trys to connect to the airport's wireless service, but the device is still able to obtain service through the Netgear wireless service. I want the device to be blocked on both wireless networks. I thought this would work since all DHCP is on the airport. Why is the Airport allowing the device to connect when it comes in through the Netgear?
    In this example the device I am trying to block is 5c:59:48:ba:28:d2.
    Looking at the log on the airport I see the following entry when the device (when permitted) connects to the airport wireless
    Nov 30 22:43:12
    Severity:5
    Associated with station 5c:59:48:ba:28:d2
    If instead the device connects to the Netgear wireless I see the following log entry on the airport (this connection gets through even if the mac address above is listed as blocked on the airport)
    Dec 01 10:46:29
    Severity:5
    Connection accepted from [fe80::223:12ff:fe29:acfe%bridge0]:54774.
    It appears that the Netgear router (while bridging the network) is somehow modifying the mac address format in a way that the airport does not recognise it as the device to block.
    What can I do to fix this?
    Thanks.

    The Netgear wireless server has control over what what devices are allowed to connect.
    Unless you tell the Netgear what devices you want to allow to connect, it will allow any wireless device to connect as long as it knows the wireless network password.
    IF.... .you were using two AirPort Extremes, and not a Netgear, the two Extremes would communicate to each other....so you would only have to enter Timed Access settings on one router and other AirPort would automatically pick those settings up.
    But, even this was not the case until the last year or so when Apple updated firmware.  A few years ago, you might have had 2 Apple AirPort Extremes on the network, but you still had to manually set up Timed Access on both devices separately.
    Bottom line, you need to setup the equivalent of Timed Access on the Netgear router.

Maybe you are looking for