H:message and method result

Hi all,
I've got an input text and a button which send an email to the adress entered by the user...
<h:inputText id="email" size="20" required="true" binding="#{MyBean.email}">
<t:validateEmail />
</h:inputText>
<h:message for="email" styleClass="error" />
<h:commandButton value="Send" action="#{MyBean.sendMail}"/>I'd like to display a simple message (almost as a green validation message) beside the button which says "The mail has been sent" when the binded method finished successfully.
Is it possible to associate an "h:message" element with the result of a method?

Assuming "email" is an correctly bound UIComponent/UIOutput/UIInput/HtmlInputText element, do the following to add a message to the appropriate h:message:FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, "This is a success message.", null);
FacesContext context = FacesContext.getCurrentInstance();
context.addMessage(email.getClientId(context), message);And change the JSF to:<h:message for="email" errorClass="error" infoClass="success" />Where .success should be a css style for the green message.

Similar Messages

  • I am trying to re-install Creative Suite 5.5 Design Standard on my Widows 7 Professional computer after I had to replace the hard drive. I keep getting error message and I get "Exit Code 15: Media DB Sync failed". I have run C Cleaner with same results. H

    I am trying to re-install Creative Suite 5.5 Design Standard on my Widows 7 Professional computer after I had to replace the hard drive. I keep getting error message and I get "Exit Code 15: Media DB Sync failed". I have run C Cleaner with same results. Have Disabled UAC and Startup items and Services with no success. Please help - frustrated to no end. Can someone help me?

    make sure you're using the adobe cleaner, not crap cleaner, Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    copy the installation files to a desktop folder and install from there.

  • How long should I let Safe Mode startup run? I keep getting the "disk0s2 i/o error" message and I'm just not sure when to give up and try a different method. I already ran disk utility in Recovery Mode and it said there were no repairs needed.

    How long should I let Safe Mode startup run? I keep getting the "disk0s2 i/o error" message and I'm just not sure when to give up and try a different method. I already ran disk utility in Recovery Mode and it said there were no repairs needed but it still kept getting stuck on the apple loading screen.

    You have limited opportunity to attempt to create a backup of your created files.
    That is what the SafeBoot or safemode appears to allow you -- at the moment.
    Since the hard disk drive exhibits signs of failure or other major issues, plan
    on a replacement in the near future. You may be able to get the computer to
    start up in a regular full OS X (not safe mode) but consider its hours are limited.
    An externally enclosed hard disk drive (with own power supply, not relying on
    Mac ports to run it) is a good basic means of which to use a disk utility to make
    a copy or a Clone of the current OS X. This may help retrieve an archive that
    could be used along with a Time Machine backup, to restore your Mac once you
    get a new hard drive installed inside.
    Good luck & happy computing!

  • I keep getting an error message ''dbghelp.dll is missing.  please reinstall itunes''  did that 3 times and same results.  can't sync my iphone or even open itunes

    i keep getting an error message ''dbghelp.dll is missing. please reinstall itunes''  did that 3 times and same results.
    i can't sync my iphone and i can't open itunes
    how do i resolve this issue?

    Taken at face value, you're having trouble with a Windows OS dll.
    Perhaps try an sfc /scannow. For instructions, see the following Microsoft document:
    How to use the System File Checker tool to troubleshoot missing or corrupted system files on Windows Vista or on Windows 7

  • Messages in search results won't open and can't be found

    I run a local search in the search box on the top right of the email screen. Three messages are found. I click on any of the three messages, and the message list screen appears, but the message is not listed.
    Is there any way to determine where these three messages are stored? They apparently still exist somewhere, but I can't find them.
    I can search for other keywords, and the search function works just fine. Somehow, these three messages are being stored somewhere obscure.
    Thanks for any guidance you can provide.
    Additional Information: The left side bar of the search results indicates that the messages are in a folder I created within Local Folders, but that folder just isn't there.

    There's good news and bad news. With your guidance, I was able to rebuild the Global Database. It took just a few minutes to re-index. Unfortunately, those three messages are gone completely now -- no shadow of them remaining when I rerun the search. I suspect that, while the messages were seemingly invisible, the folder they were in got deleted under the assumption that the folder was now empty. Oops. Oh well. Whatchagonna do! It makes me wonder, though, what other emails might be gone now that I'm not even aware of.
    It sounds like rebuilding the Global Database might be a regular maintenance item for me moving forward.
    Thanks so much for your help! I really do appreciate it.

  • I keep getting this message and PSCC will not open:Unable to start your subscription for Adobe Photoshop CC.  I keep trying again with no results.  I am on automatic pay system.  This should not happen.

    I keep getting this message and PSCC will not open:Unable to start your subscription for Adobe Photoshop CC.  I keep trying again with no results.  I am on automatic pay system.  This should not happen.
    I had it open a few minutes ago.  Closed it and went to reopen to no avail. How can I open and continue to work?

    Does your Cloud subscription properly show on your account page?
    If you have more than one email, are you sure you are using the correct Adobe ID?
    https://www.adobe.com/account.html for subscriptions on your Adobe page
    If yes
    Some general information for a Cloud subscription
    Cloud programs do not use serial numbers... you log in to your paid Cloud account to download & install & activate... you MAY need to log out of the Cloud and restart your computer and log back in to the Cloud for things to work
    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
    -ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp
    If no
    This is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • Dears iTunes gives me the Payment method declined message   and i bought Gift card 25$ and not work because i am in kuwait store and can not change store to USA. i try Master and visa and gift card what i can try else also i can not update free applicati

    Dears
    iTunes gives me the Payment method declined message   and i bought Gift card 25$ and not work because i am in kuwait store and can not change store to USA. i try Master and visa and gift card what i can try else also i can not update free application. my iPhone now useless.
    please help me ASAPi have to buy some application urgently.

    Whether you are trying to use a Credit Card or Redeem a Gift Card... My understanding is that you have to be within the US to use the US Store and have a valid US Billing Address.

  • Interface Message acknowledge() method acknowledges this and all previous messages received.

    Hi,
              I use a JDBC datastore to hold messages in a queue. When I receive a message
              off the queue, there is a flag that says True or False. If True, I want to
              put the message back onto the queue without acknowledge. If False, I want
              to acknowledge. My session instantiation looks like this:
              qsession = qcon.createQueueSession(false,Session.CLIENT_ACKNOWLEDGE);
              Currently, I receive messages by correlation ID in order to filter messages
              based on the flag. First, I receive all messages with False. Those messages
              I will acknowledge. Then, I receive messages with True. This group of
              messages will not be acknowldeged. Instead, I use qsession.recover. The
              messages are put back on the same queue after forwarding them to another
              process. The process will return success or failure. If failure, the
              process will call again, and I'll resend the group of messages I just
              recovered.
              What I would like to have happen is to do this procedure in one loop, not
              two. Instead, I would rather get all messages, and check if True or False.
              If True, I would want to skip acknowledgement. If False, I would want to
              acknowledge. The problem is, the JMS Message.acknowledge method will
              acknowledge all the messages it received before.
              In BEA WebLogic, is there an ability to acknowledge a particular message,
              rather than all previous messages? If it is not possible, is the reason
              because the acknowledge underneath is actually like a database commit? Is
              there any other way to process these two types of messages given that I may
              need to keep one type around in case resending is necessary?
              Regards,
              Scott Lynch
              

              Scott Lynch wrote:
              > Hi,
              >
              > I use a JDBC datastore to hold messages in a queue. When I receive a message
              > off the queue, there is a flag that says True or False. If True, I want to
              > put the message back onto the queue without acknowledge. If False, I want
              > to acknowledge. My session instantiation looks like this:
              >
              >
              >
              > qsession = qcon.createQueueSession(false,Session.CLIENT_ACKNOWLEDGE);
              >
              >
              >
              > Currently, I receive messages by correlation ID in order to filter messages
              > based on the flag. First, I receive all messages with False. Those messages
              > I will acknowledge. Then, I receive messages with True. This group of
              > messages will not be acknowldeged. Instead, I use qsession.recover. The
              > messages are put back on the same queue after forwarding them to another
              > process. The process will return success or failure. If failure, the
              > process will call again, and I'll resend the group of messages I just
              > recovered.
              >
              > What I would like to have happen is to do this procedure in one loop, not
              > two. Instead, I would rather get all messages, and check if True or False.
              > If True, I would want to skip acknowledgement. If False, I would want to
              > acknowledge. The problem is, the JMS Message.acknowledge method will
              > acknowledge all the messages it received before.
              >
              >
              >
              > In BEA WebLogic, is there an ability to acknowledge a particular message,
              > rather than all previous messages?
              The is a FAQ. And no, BEA does not provide an "acknowledge-one"
              extension. It does provide an "acknowledge-previous" extension, via a
              connection factory configurable, but this won't help in your case.
              One common solution is to use a pool of multiple sessions (one per
              current message).
              > If it is not possible, is the reason
              > because the acknowledge underneath is actually like a database commit?
              No. BEA JMS is just following the JMS spec here.
              > Is
              > there any other way to process these two types of messages given that I may
              > need to keep one type around in case resending is necessary?
              Use multiple sessions.
              >
              >
              >
              > Regards,
              >
              > Scott Lynch
              >
              >
              >
              >
              

  • Missing messages and other recent Mail.app quirks

    HI,
    Although I've read through many post on this issue, I haven't found one that seems to apply to my situation. And, the process seems really confusing... so I thought I'd ask you guy's.
    I rebuilt my inbox's last night, and:
    1. 1 of my 2 POP inbox's is now empty (except for a couple new mails today). There were about 150 messages.
    2. My .mac inbox is receiving mails, but first the little spinner thing wouldn't stop spinning, and has switched to a blue clock looking thing that's stuck at about 10:30 (may have moved to 11:00 now?).
    3. Drafts don't seem to be saving.
    4. Seems that the audio feedback is gone or was gone (the sound is up and the speakers to work).
    5. I was getting a strange error message when sending that I didn't write down (something to do with the Trash and 0 space or something).
    I've been on this new machine (OS 10.4.5) since November with no Mail.app (2.0.7) trouble at all (I moved from a TiBook that had once had Panther on it). And, I didn't let this last Security update install. I had been trying to resolve some POP SMTP server issues, but went with .mac with the "reply to" option (I'm stuck in a hotel in southern China), and I did lose one email that I had just sent... which prompted the rebuild of the mailbox's. Still can't find that missing email- but I did get a reply from the person I sent it to.
    There weren't many messages in that now empty inbox, but they were the important ones (which I think I located in Library > Mail folder thanks to you folks).
    I can survive with issues 2 - 5 above if necessary, but I'd really like to deal with the missing message problem.
    Should I just "import mailbox's" back in and hope it all works? Will I lose those new mails from today? Can you offer me any advice?
    Sorry if I rambled on too much (too much spare time on a Sunday morning in China), and thank you in advance for any thoughts,
    Guy

    Guy,
    Different answers for each file. The CachedData1 is a leftover file from an IMAP or .mac account -- Mail no longer uses that method of caching, so delete.
    The two MessageUidsAlreadyDownloaded are used with each POP account, and are still valid file types -- however, one of them should be modified each time you access your POP server -- check the dates modified again.
    The two files named to begin with Incoming are leftovers, and probably must simply be deleted. They resulted in the mailbox where you found them when a message had been received (even if by transfer) and that mailbox was not opened prior to the conversion. In Panther, and earlier, these files would disappear when the mailbox was opened to view. It probably is only one or two messages -- the Incoming_Mail file can be read with TextEdit to confirm.
    I think the Envelope Index Journal results during an incomplete indexing attempt Mail has made at some point, was meant to be temporary -- I am not entirely sure about this, but I do not have one.
    The time out on port zero is one I need to research -- although I have seen a few reports, and think there is some explanation, I cannot remember as I write this.
    There is an ongoing issue with .mac and continuation of the indicator for activity -- I see this on my iBook G4, but not on my G5. Useless needed for Offline use, set Mail Preferences/Accounts/Advanced to Don't save all message and attachment for Offline viewing, which may help. I hope this one get addressed in some future update.
    Ernie

  • Problem with store ResultSet and show result in table

    Hi, I'm kind of new in ADF, I need to store ResultSet and show result in table-component. I have two problems:
    1) I get my ResultSet by calling callStoredProcedure(...) and this returns actually ref_cursor as ResultSet.
    When I try to println() contains of this result set in this method - it works OK (commented part),
    but when I want to println() somewhere else (eg. in retrieveRefCursor() method) it doesn't work.
    The problem is that the scrollability of the ResultSet is lost - it becomes a TYPE_FORWARD_ONLY ResultSet.
    Is there any way to store data from ref_cursor for a long time?
    2) My second problem is "store any result set and show this data in table". I have tried use method storeNewResultSet() but
    without result (table contains only "No rows yet" and everything seems to be OK - no exception, no warning, no error...).
    I have tried to call this method with ResultSet from select on dbs (without resultSet as ref_cursor ) - no result with createRowFromResultSet(),
    storeNewResultSet(), setUserDataForCollection()...
    I've tried a lot of ways to do this, but it doesn't work. I really don't know how to make it so it can work.
    Thanks for your help.
    ADF BC, JDev 11.1.1.0
    This is my code from ViewObjectImpl
    package tp.model ;
    import com.sun.jmx.mbeanserver.MetaData ;
    import java.sql.CallableStatement ;
    import java.sql.Connection ;
    import java.sql.PreparedStatement ;
    import java.sql.ResultSet ;
    import java.sql.ResultSetMetaData ;
    import java.sql.SQLException ;
    import java.sql.Statement ;
    import java.sql.Types ;
    import oracle.jbo.JboException ;
    import oracle.jbo.server.SQLBuilder ;
    import oracle.jbo.server.ViewObjectImpl ;
    import oracle.jbo.server.ViewRowImpl ;
    import oracle.jbo.server.ViewRowSetImpl ;
    import oracle.jdbc.OracleCallableStatement ;
    import oracle.jdbc.OracleConnection ;
    import oracle.jdbc.OracleTypes ;
    public class Profiles1ViewImpl extends ViewObjectImpl {
        private static final String SQL_STM = "begin Pkg_profile.get_profile_list(?,?,?,?);end;" ;
        public Profiles1ViewImpl () {
        /* 0. */
        protected void create () {
            getViewDef ().setQuery ( null ) ;
            getViewDef ().setSelectClause ( null ) ;
            setQuery ( null ) ;
        public Connection getCurrentConnection () throws SQLException {
            // Note that we never execute this statement, so no commit really happens
            Connection conn = null ;
            PreparedStatement st = getDBTransaction ().createPreparedStatement ( "commit" , 1 ) ;
            conn = st.getConnection () ;
            st.close () ;
            return conn ;
        /* 1. */
        protected void executeQueryForCollection ( Object qc , Object[] params , int numUserParams ) {
            storeNewResultSet ( qc , retrieveRefCursor ( qc , params ) ) ;
            // callStoredProcedure ( qc , SQL_STM ) ;
            super.executeQueryForCollection ( qc , params , numUserParams ) ;
        /* 2. */
        private ResultSet retrieveRefCursor ( Object qc , Object[] params ) {
            ResultSet rs = null ;
            rs = callStoredProcedure ( qc , SQL_STM ) ;
            return rs ;
        /* 3. */
        public ResultSet callStoredProcedure ( Object qc , String stmt ) {
            CallableStatement st = null ;
            ResultSet refCurResultSet = null ;
            try {
                st = getDBTransaction ().createCallableStatement ( stmt , 0 ) ; // call 
                st.setObject ( 1 , 571 ) ; //set id of my record to 571
                st.registerOutParameter ( 2 , OracleTypes.CURSOR ) ; // my ref_cursor
                st.registerOutParameter ( 3 , Types.NUMERIC ) ;
                st.registerOutParameter ( 4 , Types.VARCHAR ) ;
                st.execute () ; //executeUpdate
                System.out.println ( "Numeric " + st.getObject ( 3 ) ) ;
                System.out.println ( "Varchar " + st.getObject ( 4 ) ) ;
                refCurResultSet = ( ResultSet ) st.getObject ( 2 ) ; //set Cursoru to ResultSet
                //   setUserDataForCollection(qc, refCurResultSet); //don't work
                //   createRowFromResultSet ( qc , refCurResultSet ) ; //don't work
                /* this works but only one-time call - so my resultSet(cursor) really have a data
                while ( refCurResultSet.next () ) {
                    String nameProfile = refCurResultSet.getString ( 2 ) ;
                    System.out.println ( "Name profile: " + nameProfile ) ;
                return refCurResultSet ;
            } catch ( SQLException e ) {
                System.out.println ( "sql ex " + e ) ;
                throw new JboException ( e ) ;
            } finally {
                if ( st != null ) {
                    try {
                        st.close () ; // 7. Close the statement
                    } catch ( SQLException e ) {
                        System.out.println ( "sql exx2 " + e ) ;
        /* 4. Store a new result set in the query-collection-private user-data context */
        private void storeNewResultSet ( Object qc , ResultSet rs ) {
            ResultSet existingRs = getResultSet ( qc ) ;
            // If this query collection is getting reused, close out any previous rowset
            if ( existingRs != null ) {
                try {
                   existingRs.close () ;
                } catch ( SQLException s ) {
                    System.out.println ( "sql err " + s ) ;
            setUserDataForCollection ( qc , rs ) ; //should store my result set
            hasNextForCollection ( qc ) ; // Prime the pump with the first row.
        /*  5. Retrieve the result set wrapper from the query-collection user-data      */
        private ResultSet getResultSet ( Object qc ) {
            return ( ResultSet ) getUserDataForCollection ( qc ) ;
        // createRowFromResultSet - overridden for custom java data source support - also doesn't work
       protected ViewRowImpl createRowFromResultSet ( Object qc , ResultSet resultSet ) {
            ViewRowImpl value = super.createRowFromResultSet ( qc , resultSet ) ;
            return value ;
    }

    Hi I have the same problem like you ...
    My SQL Definition:
    CREATE OR REPLACE TYPE RMSPRD.NB_TAB_STOREDATA is table of NB_STOREDATA_REC
    CREATE OR REPLACE TYPE RMSPRD.NB_STOREDATA_REC AS OBJECT (
       v_title            VARCHAR2(100),
       v_store            VARCHAR2(50),
       v_sales            NUMBER(20,4),
       v_cost             NUMBER(20,4),
       v_units            NUMBER(12,4),
       v_margin           NUMBER(6,2),
       v_ly_sales         NUMBER(20,4),
       v_ly_cost          NUMBER(20,4),
       v_ly_units         NUMBER(12,4),
       v_ly_margin        NUMBER(6,2),
       v_sales_variance   NUMBER(6,2)
    CREATE OR REPLACE PACKAGE RMSPRD.NB_SALES_DATA
    AS
    v_sales_format_tab   nb_tab_storedata;
    FUNCTION sales_data_by_format_gen (
          key_value         IN       VARCHAR2,
          l_to_date         IN       DATE DEFAULT SYSDATE-1,
          l_from_date       IN       DATE DEFAULT TRUNC (SYSDATE, 'YYYY')
          RETURN nb_tab_storedata;
    I have a PLSQL function .. that will return table ..
    when i use this in sql developer it is working fine....
    select * from table (NB_SALES_DATA.sales_data_by_format_gen('TSC',
                                        '05-Aug-2012',
                                        '01-Aug-2012') )
    it returning table format record.
    I am not able to call from VO object. ...
    Hope you can help me .. please tell me step by step process...
    protected Object callStoredFunction(int sqlReturnType, String stmt,
    Object[] bindVars) {
    System.out.println("--> 1");
    CallableStatement st = null;
    try {
    st = getDBTransaction().createCallableStatement("begin ? := " +"NB_SALES_DATA.sales_data_by_format_gen('TSC','05-Aug-2012','01-Aug-2012') ; end;", 0);
    System.out.println("--> 2");
    st.executeUpdate();
    System.out.println("--> 3");
    return st.getObject(1);
    catch (SQLException e) {
    e.printStackTrace();
    throw new JboException(e);

  • When uploading my formatted resume to my Apple Jobs profile, I am always presented with a c:\fakepath message and the resume does not upload. How can I rectify this?

    When uploading my formatted resume to my Apple Jobs profile, I am always presented with a c:\fakepath message and the resume does not upload. How can I rectify this?

    Add this one to the list of thinks that don't work on the Apple Job Board. It looks like Apple is using ADP's VE (Virtual Edge) technology to run this system, and I've been stupified by the number of features that are just broken, or so poorly thought out by ADP as to be unusable, (certainly for webkit and mozilla browsers at least: I didn't bother checking IE.)
    Here are a few highlights:
    "My Job List", list of jobs applied for, seems to max out at three. You can apply for more than that, but you can only see the first three.
    "Search Using Your Resume" feature yields few or no results, even when the pasted text contains only common, exactly matched words like 'Design' or 'Engineer'.
    The missing resume upload, described in this thread.
    "My Job Agent" seems to never flag anything, at least it hasn't ever for me despite pretty loose criteria.
    Agent's created using "My Job Agent" eventually just disappear, which is fine because they don't seem to work.
    When updating a profile, acknowledging the 'Terms' happens twice in a row. 
    Job seekers can only supply one cover letter despite being able apply for several jobs.
    Pagination for search results only appears at the top of the page, so it's necessary to scroll down through each page, then up to the top again to proceed to the next page.
    Well, I'm sure there are others, but you get the idea. I hope the Apple folks can fix this, (or twist ADP's arm to fix it,) so it better represents the quality of experience that Apple is so respected for consistently delivering.

  • How do I block messages and calls on the iPhone 5?

    Hey people, how do I block irritating message and calls on the iPhone?

    I'm having the same issue. It had the feature before and worked beautifully, and now when I try I do the same pinching/stretching method and nothing happens. I don't have an option to zoom anywhere in photo or video.

  • App Store, Messages and FaceTime Won't Open

    I own a Macbook Pro (15-inch mid 2010), OS X Mountain Lion (10.9.5)
    I was using my Messages App just this morning and all of a sudden it stopped working.
    I have tried opening it from the Applications Folder as well as directly from my Dock.
    What happens is the icon for the Messages App bounces several times (usually three after I press it the first time) and the screen will not appear.
    The icon shows currently that I have three unread messages and even when I hold and click and try to open a "new message" or an "unread message" the screen won't open.
    I tried several other apps just to see if this was an isolated incident, but I found that FaceTime, App Store and iPreview will not open either. They all bounce a few times, but they will not open a screen. My App Store even shows that there is one new update, but it won't open.
    I have tried so many things from a lot of older threads but I am completely clueless on what to do.
    Can anyone help me?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen. Click the Clear Display icon in the toolbar. Then take one of the actions that you're having trouble with. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • With Reports 10G can you customize you message and stop formatting?

    Oracle, states to come here for answer. they said, OTN should be able to help.
    If any one knows how this can be done can you please help me out?
    thanks,
    We were told this was fixed with 10G so we upgraded to 10G. We have a
    report and we want it to execute if it's less than 10 records if not we want a
    message to come up that the report needs to be scheduled.
    Well we run the report and it displays exceeded record count but the format
    still runs so no time saved on the web.
    If the record count was exceeded we want to HALT the system and not go any
    farther.
    Now if we could modify the system message 1825 we would be o.k. But we don't
    know if that is going to work. If we could change the message we would be
    o.k. with that. that would mean changing the system codes though.
    ### How is the Report being called (Command line, URL or via Oracle Forms): ###
    If false comes back in the beginning then we don't want any report formatting
    to be done. Right now the format is done it seems but no data is displayed
    because criteria isn't met.
    So we dont wnat the formatting to be run when criteria isn't met. But for
    some
    reason it still runs and takes time.
    See we have some reports on the web that can only be ran by date range right
    now the clients can only run the reports for a 6 months range.. Well some
    clients have a lot smaller record count. So we want to change the way the
    reports are ran to a records count. If the count is large than said amount
    then a message comes up that states the report has to be scheduled. If the
    amount is under said amount then the report runs.
    So at this time in the report we do a count then we move onto will the report
    run or not if over the amount we want to abort the process but we don't want
    the client to see the abort. We definately don't want the client to sit and
    wait for the format to run when NO Data is to be returned.
    ### Error messages and error scenario: ###
    So what we want is too see a message "Schedule the report count exceeded" and
    NO formatting done. If under amount we want the report to run.
    ### Provide a detailed step-by-step description of your problem or question: ###
    Or is there a way to customize the messages the client / users will see. And
    no formatting time for no records returned.
    Contact me via : E-mail -> [email protected]
    Text continued in next action...
    20-SEP-04 18:39:53 GMT
    Text continued from previous action...
    20-SEP-04 19:18:51 GMT
    New info : Is there a way if the error messages have to come up that we can
    hide the message or have another screen cover that error message something to
    cover the message so that the user doesn't see the error message.
    20-SEP-04 19:30:23 GMT
    Hi Darlene,
    Thank you for using MetaLink. Iam currently working on a very critical issue.I shall review/research your issue at the earliest opportunity and w
    ill update the SR / call you as soon as we have relevant information. Thank you
    for your patience.
    Best Regards,
    Seema,
    Oracle Support Services
    STATUS
    =======
    @WIP -- Work In Progress
    20-SEP-04 19:30:30 GMT
    Email Update button has been pressed: Sending email to [email protected]
    21-SEP-04 00:32:18 GMT
    Hi Darlene!
    If you are calling the report from a form, try using the EXIT_FORM line in your code.
    Thanks and Regards,
    Seema
    21-SEP-04 00:33:01 GMT
    Email Update button has been pressed: Sending email to [email protected]
    21-SEP-04 14:09:20 GMT
    New info : We will try it and let you know.
    21-SEP-04 14:19:04 GMT
    New info : We are not calling the report from a form so this won't work. Any
    other way. We are needing to do this badly.
    21-SEP-04 14:39:06 GMT
    New info : Can I get detailed steps about how to customize the system message
    or hide the message when we abort the report?
    21-SEP-04 15:38:39 GMT
    Hi Darlene!!
    As talked to you on phone, here are the steps for you to try.
    The below has been run as a test case using emp table in scott schema of a database
    1) create a summary coloumn say cs_1 in the data model.
    2) point the function to count.
    3) Point the source to what ever's count you want it to be pointed to(say empno of emp table of
    scott schema)
    4) create a user parameter say NO_ROWS
    5) in its property palette make its data type number and initial value as 1
    6) I had teh following query for my report:
    select empno, ename from emp
    where rownum <= :no_rows
    This means that the report that will be generated will consist of a total no of NO_ROWS(that we
    shall be specifying at run time). The before report trigger(mentioned in 7 below) shall assure
    that whenever we specify NO_ROWS greater than 5 then the report will display a customized pop up
    message.
    7) create a before report trigger as:
    function BeforeReport return boolean is
    user_excp EXCEPTION;
    begin
    if :cs_1 >5 then
    raise user_excp;
    return (false);
    else
    return true;
    end if;
    EXCEPTION
    WHEN user_excp then
    SRW.MESSAGE(30, 'Data is more please schedule this report:');
    raise SRW.PROGRAM_ABORT;
    return (false);
    end;
    This way when u run a report, an argument is asked whether how many rows do you want to be
    displayed as in the parameter NO_ROWS. then you specify the number. If that number is greater
    than 5(in this case, due to if :cs_1 > 5 then....) then it will pop up a message saying "Data is
    more please schedule this report:"
    In case you do not want to specify NO_ROWS..then you need not put that and modify the report
    query as "select empno, empname from emp;" i.e. without where clause.
    21-SEP-04 16:49:30 GMT
    New info : we will try this then update the TAR.
    21-SEP-04 16:58:09 GMT
    ok you update the tar when you try the above steps.
    STATUS:
    @CUS
    23-SEP-04 02:16:00 GMT
    New info : Information from the person that did this suggestion step by step.
    I tried this step by step, but unfortunately, it doesn't work the way we want.
    First with this suggestion, the user needs to choose how many records they
    want
    to get, or we default a number of records, in order to run the report. The most
    important thing is, whenever you specify the statement return false or raise
    SRW.PROGRAM_ABORT in the before report trigger, the system message will pop up.
    I really hope that people from Oracle would let us know how to customize the
    system message or hide it.
    23-SEP-04 14:23:04 GMT
    New info : I just thought that we have some sort of message, which I guess is
    from the database, when we do claim search on client inquiry. I am just
    wondering if we could try the same thing to the report.
    The some sort of message looks like this on dev box:
    Your search exceeded 5000 records and will surpass the capabilities of this
    connection. Please narrow the search criteria and resubmit.
    It's just a thought, not sure if it's going to work.
    When could we have the DBA Make this change. The servlet.properties???
    23-SEP-04 17:30:55 GMT
    REQUESTED INFORMATION PROVIDED
    ===============================
    Hi Darlene,
    Thank you for providing the requested information. I am currently reviewing/resea
    rching the situation and will update the TAR / call you as soon as I have additi
    onal information. Thank you for your patience.
    Best regards,
    Ajit
    STATUS
    =======
    @WIP -- Work In Progress
    23-SEP-04 18:04:31 GMT
    UPDATE
    =======
    Hi Darlene,
    We cannot modify the system messages nor do I think there is a method to hide the system message. The message that was coming is
    due to the raise srw.program_abort command, which is the element through which
    we can abort the program.
    Thanks
    Best Regards
    Ajit
    @CUS
    23-SEP-04 18:29:26 GMT
    New info : Can you please look into a way that we can get something to work?
    23-SEP-04 18:49:28 GMT
    Hi Darlene,
    I am sorry to say that but I don't think there is any any workaround to this because the system message is what is generated by the oracle reports i
    nternally. Still if you wish you may refer to the otn discussion forum which is
    maintained by teh product management group and post a new thread on it. the link
    to the forum is Reports
    Also since nothing can be done on our side I don't see any reason to keep this TAR open an
    d if you wish we can soft close this.
    Thanks
    Regards
    Ajit.
    New info : Shouldn't there always be a way to do something? I don't understand
    why we were told in 10G that this could be done and now we are told it can't.

    K T wrote:
    Yep - not nice...unless you do a TE 'Get Info' in the Finder and √ the 'Open in 32-bit mode' box and try again...then, all seems well in snow leopard land.
    Really? I figure since I have a Core Duo chip, everything always opens in 32-bit mode. In any case, I did file a bug report and will give your suggestion a try later today.

  • How do I change the phone number associated with my messages and facetime?  It's tied to my husband's number, and needs to be switched to mine.

    I'm trying to change the number associated with our ipad's facetime and messages to my number, not my husbands.  When I look under settings, it shows his number, but I don't see the opportunity to change or edit the number. 

    It will not send notifications for that number to that devcie if turnmed off but the number is still active if selected on other devices.
    Messages is lionked through the use of your Apple ID and any numbers or email associated to that ID can be set as notifications.
    The Phone numbers seem to be registered before email in messages and the easiest method for setup that I have found is to turn messages off on asll devices that you have under that Apple ID.
    Then start with your iphone first, turn messagaes on, wait a few minutes for it to completly register.
    Then go to the next device and do the same until complete, with each new device A prompt should come up asking if you want to associate the previous contact metyhod with this device.
    Here is a help topic from apple on messges as well.
    http://support.apple.com/kb/HT3529

Maybe you are looking for

  • Comments in cells not good in Numbers 3.0

    I have spreadsheets. Obviously with figures in different cells. Prior to this upgrade, I have several cells that have comments entered into them. Specifically the cell would contain a total dollar figure. The comment would contain the invoices that m

  • Is there anyway to get new themes for iphone 4

    I was wondering if there was anyway to get to new themes for the iphone 4, I have been reading about jailbreaking and I dont want to do that. I just thought maybe the Apple site had a place to get new themes? Thanks Debbie

  • Display language change

    I try to use  T-Code : RSRT1 to test query and use abap web to display , I want to display in traditional Chinese not simple Chinese ,how can I do to change it,tks

  • MS Word can see these fonts, so why can't InDesign CS4?

    I produce an annual brochure and have just opened last year's INDD file in InDesign CS4 on my Windows XP PC, intending to use this as the basis for this year's brochure. The document was created using InDesign CS2 and had no font issues when last use

  • Change vendor in freight condition after GR

    Dear All, Is it possible to change vendor in freight condtion aftr making GR. Please confirm Rgd Madhavan