Plugin loses some actions in progress

Please, help me!
I perform certain actions within its handler menu goМenuItem - delete some objects; do other invisible; run through certain actions by PlayActionEvent(), e.t.c. then export the file again through PlayActionEvent("adobe_exportDocument" ...) and see that after all my activities were canceled - a document recovered to the initial state, and after each export and save the need to repeat the entire sequence again. Moreover, on some computers to export certain actions randomly do not work. What am I doing wrong? Sorry for my bad English

Try to give an example. I wrote the following code:
void DoSaveAsEPS(char * path)
          AIErr result;
          AIActionParamValueRef  valueParameterBlock2 = NULL, 
          ActionDialogStatus dialogStatus1 = kDialogOff, dialogStatus2 = kDialogOff;
  result = sAIActionManager->AINewActionParamValue(&valueParameterBlock1);
  result = sAIActionManager->AINewActionParamValue(&valueParameterBlock2);
                    if (valueParameterBlock2) {
   result = sAIActionManager->AIActionSetString(valueParameterBlock2, 'name', path);
    result = sAIActionManager->AIActionSetString(valueParameterBlock2, 'frmt', "Adobe Illustrator EPSF");
    result = sAIActionManager->AIActionSetInteger(valueParameterBlock2, 'wfmt', 5);
result = sAIActionManager->AIActionSetInteger(valueParameterBlock2, 'crtr', 10);
                              result = sAIActionManager->AIActionSetInteger(valueParameterBlock2, 'ext.', 0);
                              result = sAIActionManager->AIActionSetBoolean(valueParameterBlock2, 'iplc', false);
                              result = sAIActionManager->AIActionSetBoolean(valueParameterBlock2, 'ithm', true);
  result = sAIActionManager->AIActionSetInteger(valueParameterBlock2, 'ifmt', 1);
                              result = sAIActionManager->AIActionSetBoolean(valueParameterBlock2, 'icjk', true);
                              result = sAIActionManager->AIActionSetInteger(valueParameterBlock2, 'pslv', 2);
  result = sAIActionManager->PlayActionEvent( "adobe_saveDocumentAs", dialogStatus2, valueParameterBlock2 );
extern AIErr goMenuItem( AIMenuMessage *message ) {
spec.type = kTextFrameArt;
spec.whichAttr = 0;
spec.attr = 0;
(void) sAIMatchingArt->GetMatchingArt( &spec, 1, &artStore, &numMatches );
// Here the value of numMatches is, for example 3
for( i = 0; i < numMatches; i++ )
          artHandle = (*artStore)[i];
          error = sAIArt->DisposeArt( artHandle);  
(void) sAIMatchingArt->GetMatchingArt( &spec, 1, &artStore, &numMatches );
// Here the value of numMatches is zero, because text objects are removed
DoSaveAsEPS("c:\1.eps");
(void) sAIMatchingArt->GetMatchingArt( &spec, 1, &artStore, &numMatches );
// Here the value of numMatches is 3 again, text objects spontaneously recovered.
How can this be?

Similar Messages

  • Adobe 9 standard loses some functions after upgrading to ie 10 or 11.  is there a fix?

    After upgrading ie 9 to 10 or 11, adobe 9 standard loses some of it's functions most noticeable is printing.  Is there a fix for this?

    Generally when compatibility is considered (not OS aspect), it refers to the ability to use PDF Maker. Also, PDF Maker is only available on a PC, not a MAC. Generally, if Acrobat works on the OS, then printing to PDF is always an option. However, you lose bookmarks and such when you use that process. There are a few cases that are different and provide more functions. My word processor for instance does not have PDF Maker compatibility. However, the creator of the package added apparently PDF Marks in the file so that when used with the Adobe PDF printer, bookmarks based on styles are created.
    I also just noted that I got messed up in the mix of updates. I was thinking Acrobat updates, not IE. With the newer IE versions, you will only be able to print to the Adobe PDF printer, nothing more. Acrobat 9 is no longer being updated except for critical security issues. You might try the MS plugin for IE (if one is available -- sorry, but I am not an IE user) to convert from HTML or other IE display to PDF. I know MS has the converters for WORD, but not sure about other products. When you do not have PDF Maker available, as in your case, then the MS plugin may meet your needs.

  • Why did form lose its actions?

    I had a two-page form I was creating, it contained actions for buttons and for showing/hiding some objects. In LiveCycle Designer I saved under a new name and in "Adobe XML Form" format, thinking I would keep the most functionality that way. I started adding pages and objects. At some point I noticed most of the actions I had created were gone, there were only 2 actions listed in Action Builder.
    I went back to the original form file (a PDF created in LiveCycle Design), and the actions are still there.
    Questions: Did I lose the actions by adding pages or objects? Was it because of saving in a different format than "Adobe Dynamic XML form" (which is a PDF file format, confusingly enough)? Or some other thing about actions I'm missing?
    I'm using Acrobat Pro X and Adobe LiveCycle Designer, on Windows XP.
    If I did lose the actions by adding or rearraging pages or renaming objects, can I somehow get them into the new doc by saving part of the old one as a "fragment"?

    Pull down View > Show Sidebar.

  • Some actions don't work in photoshop cc 2015

    I researched this subject but without success.
    I can't understand why the program (photoshop CC 2015) takes some actions as margin placement, but don't assume simple things such as color balance, contrast or levels.
    Someone can explain me this? I'm already disappointed with this version.
    Thanks,
    CA

    Upgrades exist to improve and that's what I expected, and your observation does not answer my question, by the way.
    I'm here just to learn more than what I already know.

  • Infinite loop - "Some actions taken while...offline could not be completed"

    I have 4 IMAP accounts (.Mac, Gmail and 2 at SpamArrest). Occasionally, I get in this infuriating state where I keep getting the following error:
    "Some actions taken while the account "ClickMarkets-SA" was offline could not be complete online.
    Mail has undone actions on some messages so that you can redo the actions while online. Mail has saved other message in mailbox "INBOX.Sent Messages" in "On My Mac" so that you can complete the
    actions while online.
    Additional information: The connection to the server "mail.spamarrest.com" on port 993 timed out."
    The only way I've found to resolve this infinite loop of messages (which subsequently backs up all other mail processing) is to quit mail, then cd to ~/Library/Mail/[email protected]/.OfflineCache and delete everything in there then relaunch mail.
    In each cases, I end up with a mailbox folder (Sent or Drafts) in the folder "On My Mac" which has one copy for each attempt at handling the message "online."
    I opened up the Connection Doctor and looked at the log details and saw that Mail is opening a socket to spamarrest and starting an APPEND operation on my INBOX.Drafts folder -- I have "store drafts on server" checked. It appears the APPEND operation is hanging and causing a timeout (see transcript below). This happens every 60 seconds. The error that I see after the timeout is:
    * BYE [ALERT] Fatal error: INTERNAL ERROR: Keyword hashtable memory corruption.: Input/output error
    Who's Fatal error is that?
    SpamArrest is trying to tell me the problem is with both of my computers and not their server. (Yes, this is hitting both my MacBook Pro and my iMac). Can anyone shed some more light on this? IMAP should be able to handle multiple computers so I don't see that as a problem. Is my Mail app not following protocol? Is it a filesystem issue (e.g. SpamArrest doesn't like the name of the folder)?
    Thanks.
    Chip
    Here is the log file segment:
    CONNECTED May 19 17:13:11.939 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1db74280
    READ May 19 17:13:12.266 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1db74280
    * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=CRAM-MD5 AUTH=PLAIN ACL ACL2=UNION] IMAP ready.
    WROTE May 19 17:13:12.301 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
    1.785 LOGIN clickmarkets *******
    READ May 19 17:13:12.365 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
    1.785 OK connected to proxy server.
    WROTE May 19 17:13:12.405 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
    2.785 CAPABILITY
    READ May 19 17:13:12.463 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
    * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=CRAM-MD5 ACL ACL2=UNION
    2.785 OK CAPABILITY completed
    WROTE May 19 17:13:12.501 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
    3.785 LIST "" ""
    READ May 19 17:13:12.561 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
    * LIST (\Noselect) "." ""
    3.785 OK LIST completed
    WROTE May 19 17:13:12.616 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
    4.785 APPEND "INBOX.Drafts (ClickMarkets-SA)" (\Seen \Draft $NotJunk NotJunk) "19-May-2009 17:07:30 -0700" {4525}
    READ May 19 17:13:13.627 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
    + OK
    WROTE May 19 17:13:13.663 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
    X-Uniform-Type-Identifier: com.apple.mail-draft
    From: Chip Roberson <[email protected]>
    To: "Charles S. Roberson" <[email protected]>
    X-Universally-Unique-Identifier: 155cc0fa-b377-4dd6-a5e6-d6563a23c711
    Subject: PM Test 1
    X-Apple-Auto-Saved: 1
    X-Apple-Mail-Remote-Attachments: YES
    X-Apple-Windows-Friendly: 1
    Message-Id: <[email protected]>
    Content-Type: text/html;
    charset=US-ASCII
    Content-Transfer-Encoding: quoted-printable
    Mime-Version: 1.0 (Apple Message framework v935.3)
    X-Apple-Base-Url: x-msg://85/
    Date: Tue, 19 May 2009 17:07:30 -0700
    X-Apple-Mail-Signature: 34D68E00-8E23-44FB-B72C-FFA86BB66FB3
    <html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
    -webkit-line-break: after-white-space; ">I'm starting to wonder if this =
    will ever fail when I need it to fail!<div><br><div =
    id=3D"AppleMailSignature"> <span class=3D"Apple-style-span" =
    style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
    Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
    font-weight: normal; letter-spacing: normal; line-height: normal; =
    orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; =
    white-space: normal; widows: 2; word-spacing: 0px; =
    -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
    0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
    auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: =
    break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
    after-white-space; "><span class=3D"Apple-style-span" =
    style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
    Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
    font-weight: normal; letter-spacing: normal; line-height: normal; =
    orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
    widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
    -webkit-border-vertical-spacing: 0px; =
    -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
    auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: =
    break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
    after-white-space; "><span class=3D"Apple-style-span" =
    style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
    Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
    font-weight: normal; letter-spacing: normal; line-height: normal; =
    orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
    widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
    -webkit-border-vertical-spacing: 0px; =
    -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
    auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: =
    break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
    after-white-space; "><span class=3D"Apple-style-span" =
    style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
    Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
    font-weight: normal; letter-spacing: normal; line-height: normal; =
    orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
    widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
    -webkit-border-vertical-spacing: 0px; =
    -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
    auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: =
    break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
    after-white-space; "><span class=3D"Apple-style-span" =
    style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
    Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
    font-weight: normal; letter-spacing: normal; line-height: normal; =
    orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
    widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
    -webkit-border-vertical-spacing: 0px; =
    -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
    auto; -webkit-tex
    WROTE May 19 17:13:13.697 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
    t-stroke-width: 0px; "><div style=3D"word-wrap: =
    break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
    after-white-space; ">--
    Chip =
    Roberson
    [email protected]
    http://www.linkedi=
    n.com/in/chiproberson
    =
    <br =
    class=3D"Apple-interchange-newline">
    </body></html>=
    READ May 19 17:14:13.626 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
    * BYE Disconnected for inactivity.
    * BYE [ALERT] Fatal error: INTERNAL ERROR: Keyword hashtable memory corruption.: Input/output error
    CONNECTED May 19 17:14:19.092 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x1db74280
    READ May 19 17:14:19.414 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x1db74280
    * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=CRAM-MD5 AUTH=PLAIN ACL ACL2=UNION] IMAP ready.
    WROTE May 19 17:14:19.449 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x19fed040
    1.786 LOGIN clickmarkets *******
    READ May 19 17:14:19.517 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x19fed040
    1.786 OK connected to proxy server.
    WROTE May 19 17:14:19.555 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x19fed040
    2.786 CAPABILITY
    READ May 19 17:14:19.622 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x19fed040
    * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=CRAM-MD5 ACL ACL2=UNION
    2.786 OK CAPABILITY completed
    WROTE May 19 17:14:19.659 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x19fed040
    3.786 LIST "" ""
    READ May 19 17:14:19.718 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x19fed040
    * LIST (\Noselect) "." ""
    3.786 OK LIST completed
    WROTE May 19 17:14:19.755 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x19fed040
    4.786 APPEND "INBOX.Drafts (ClickMarkets-SA)" (\Seen \Draft $NotJunk NotJunk) "19-May-2009 17:07:30 -0700" {4525}
    READ May 19 17:14:19.818 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x19fed040
    + OK
    WROTE May 19 17:14:19.855 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x19fed040

    Okay I did a little more digging and found another thread that answers this issue.
    http://discussions.apple.com/thread.jspa?threadID=1276506

  • How to initiate some action when user clicks a field in CRViewer?

    <p><span style="font-family: Courier"><font size="1">ReportObjects doesn't expose click event despite the fact that a field can get focus frame, you can even tab from field to field. </font></span><span style="font-family: Courier"><font size="1">Drill() event works only on group names.</font></span><span style="font-family: Courier"><font size="1">So, how to initiate some action (based on a clicked field value) when user clicks a field in CRViewer?</font></span><span style="font-family: Courier"><font size="1">After doing some googling, have found that something similar exists but it's FoxPro API</font></span></p><p><strong><span style="font-size: 12pt; font-family: Courier"><font size="1">From some PDF: </font></span></strong><strong><span style="font-size: 12pt; font-family: Courier"><font size="1"> </font></span></strong></p><p><strong><span style="font-size: 12pt; font-family: Courier"><font size="1">> Report objects events</font></span></strong> </p><p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>Report object events occur when you click or double-click a field, </font></span></p><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>heading, or label in a report.</font></span> <p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>Doing this creates the EventInfo object. This object contains </font></span></p><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>information about the event and</font></span> <p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><font size="1"><span style="font-size: 10pt; font-family: Courier"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>passes as a parameter to the event method. </span><strong><span style="font-size: 10pt; font-family: Courier">Table 3 </span></strong><span style="font-size: 10pt; font-family: Courier">lists the</span></font></p><p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><font size="1"><span style="font-size: 10pt; font-family: Courier"><strong><span style="font-size: 12pt; font-family: Courier"><font size="1">> </font></span></strong>EventInfo object properties.......</span></font></p>

    The article you found refers to the ActiveX viewer which is used with the COM-based tool called Report Designer Component. Since you have posted to the .NET forum, I'm assuming you're not using the RDC and therefore this article will not apply.
    Recently, Click events were added to the Windows Form Viewer to get similar functionality as the ActiveX viewer. Take a look at the following link for more information....
    [http://diamond.businessobjects.com/node/2109 | /node/2109]
    However, if you are using the CR Web Forms Viewer in an ASP.NET app, then this functionality is not available.

  • Problem with some actions of a page in the ie

    the page is built on Studio Creator 2.1 in Fedora 4, when i run in ff work's fine. But, in the ie, some actions doesn't work well: what happens is that all the actions are redirected to another page's application!
    i think that it could be javascript incopatibility, for example i have a table component in the page, and when i click on the button(header table) for order rowgroup, i'm redirected to another page.
    ie version - 6.0
    windows 2000 server
    i don't know what to do.

    JSP Code
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
            <ui:page binding="#{tarefa.page1}" id="page1">
                <ui:html binding="#{tarefa.html1}" id="html1">
                    <ui:head binding="#{tarefa.head1}" id="head1">
                        <ui:link binding="#{tarefa.link1}" id="link1" url="/resources/stylesheet.css"/>
                    </ui:head>
                    <ui:body binding="#{tarefa.body1}" id="body1" style="-rave-layout: grid">
                        <ui:form binding="#{tarefa.form1}" id="form1" target="_self">
                            <div style="height: 126px; left: 72px; top: 24px; position: absolute; width: 702px">
                                <jsp:directive.include file="cabecalho.jspf"/>
                            </div>
                            <div style="left: 72px; top: 558px; position: absolute">
                                <jsp:directive.include file="rodape.jspf"/>
                            </div>
                            <div style="height: 306px; left: 72px; top: 144px; position: absolute; width: 144px">
                                <jsp:directive.include file="menu1.jspf"/>
                            </div>
                            <ui:label binding="#{tarefa.label1}" id="label1" style="left: 220px; top: 150px; position: absolute" text="Cadastro/Manutencao de Tarefas"/>
                            <ui:staticText binding="#{tarefa.staticText1}" id="staticText1" style="left: 240px; top: 170px; position: absolute" text="Data:"/>
                            <ui:staticText binding="#{tarefa.staticText2}" id="staticText2" style="left: 240px; top: 210px; position: absolute" text="S�rie:"/>
                            <ui:staticText binding="#{tarefa.staticText3}" id="staticText3" style="left: 240px; top: 230px; position: absolute" text="Disciplina:"/>
                            <ui:staticText binding="#{tarefa.staticText4}" id="staticText4" style="left: 240px; top: 250px; position: absolute" text="Descricao:"/>
                            <ui:calendar binding="#{tarefa.dtTarefa}" dateFormatPattern="yyyy-MM-dd" id="dtTarefa" style="height: 18px; left: 300px; top: 170px; position: absolute; width: 108px"/>
                            <ui:dropDown binding="#{tarefa.cmbSerie}" converter="#{tarefa.integerConverter1}" id="cmbSerie"
                                items="#{tarefa.serieDataProvider.options['serie.id,serie.serie']}" style="height: 18px; left: 300px; top: 210px; position: absolute; width: 198px"/>
                            <ui:dropDown binding="#{tarefa.cmbDisciplina}" converter="#{tarefa.integerConverter2}" id="cmbDisciplina"
                                items="#{tarefa.disciplinaDataProvider.options['disciplina.id,disciplina.disciplina']}" style="height: 18px; left: 300px; top: 230px; position: absolute; width: 198px"/>
                            <ui:textArea binding="#{tarefa.txtDesc}" id="txtDesc" style="height: 36px; left: 300px; top: 250px; position: absolute; width: 200px"/>
                            <ui:button action="#{tarefa.btnNovo_action}" binding="#{tarefa.btnNovo}" id="btnNovo"
                                style="left: 239px; top: 290px; position: absolute" text="Novo"/>
                            <ui:button action="#{tarefa.btnEditar_action}" binding="#{tarefa.btnEditar}" id="btnEditar"
                                style="left: 299px; top: 290px; position: absolute" text="Editar"/>
                            <ui:button action="#{tarefa.btnAtualizar_action}" binding="#{tarefa.btnAtualizar}" id="btnAtualizar"
                                style="left: 359px; top: 290px; position: absolute" text="Atualizar"/>
                            <ui:button action="#{tarefa.btnCancelar_action}" binding="#{tarefa.btnCancelar}" id="btnCancelar"
                                style="left: 439px; top: 290px; position: absolute" text="Cancelar"/>
                            <ui:messageGroup binding="#{tarefa.messageGroup1}" id="messageGroup1" style="height: 88px; left: 522px; top: 180px; position: absolute; width: 250px"/>
                            <ui:hiddenField binding="#{tarefa.op}" id="op"/>
                            <ui:hiddenField binding="#{tarefa.id}" id="id"/>
                            <ui:table augmentTitle="false" binding="#{tarefa.table1}" id="table1" lite="true" paginationControls="true"
                                style="height: 126px; left: 234px; top: 324px; position: absolute" width="540">
                                <script language="javascript1.2" type="text/javascript"><![CDATA[
    /* ----- Functions for Table Preferences Panel ----- */
    * Toggle the table preferences panel open or closed
    function togglePreferencesPanel() {
      var table = document.getElementById("form1:table1");
      table.toggleTblePreferencesPanel();
    /* ----- Functions for Filter Panel ----- */
    * Return true if the filter menu has actually changed,
    * so the corresponding event should be allowed to continue.
    function filterMenuChanged() {
      var table = document.getElementById("form1:table1");
      return table.filterMenuChanged();
    * Toggle the custom filter panel (if any) open or closed.
    function toggleFilterPanel() {
      var table = document.getElementById("form1:table1");
      return table.toggleTableFilterPanel();
    /* ----- Functions for Table Actions ----- */
    * Initialize all rows of the table when the state
    * of selected rows changes.
    function initAllRows() {
      var table = document.getElementById("form1:table1");
      table.initAllRows();
    * Set the selected state for the given row groups
    * displayed in the table.  This functionality requires
    * the 'selectId' of the tableColumn to be set.
    * @param rowGroupId HTML element id of the tableRowGroup component
    * @param selected Flag indicating whether components should be selected
    function selectGroupRows(rowGroupId, selected) {
      var table = document.getElementById("form1:table1");
      table.selectGroupRows(rowGroupId, selected);
    * Disable all table actions if no rows have been selected.
    function disableActions() {
      // Determine whether any rows are currently selected
      var table = document.getElementById("form1:table1");
      var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
      // Set disabled state for top actions
      document.getElementById("form1:table1:tableActionsTop:deleteTop").setDisabled(disabled);
      // Set disabled state for bottom actions
      document.getElementById("form1:table1:tableActionsBottom:deleteBottom").setDisabled(disabled);
    }]]></script>
                                <ui:tableRowGroup binding="#{tarefa.tableRowGroup1}" id="tableRowGroup1" rows="3" sourceData="#{tarefa.tarefaDataProvider1}" sourceVar="currentRow">
                                    <ui:tableColumn binding="#{tarefa.tableColumn1}" id="tableColumn1" width="53">
                                        <ui:button action="#{tarefa.button1_action}" binding="#{tarefa.button1}" id="button1" text="#{currentRow.value['tarefa.id']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{tarefa.tableColumn2}" headerText="Data" id="tableColumn2" sort="tarefa.data" width="177">
                                        <ui:staticText binding="#{tarefa.staticText6}" id="staticText6" text="#{currentRow.value['tarefa.data']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{tarefa.tableColumn5}" headerText="Descricao" id="tableColumn5" sort="tarefa.descricao" width="189">
                                        <ui:staticText binding="#{tarefa.staticText9}" id="staticText9" text="#{currentRow.value['tarefa.descricao']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{tarefa.tableColumn6}" headerText="Serie" id="tableColumn6" sort="serie.serie">
                                        <ui:staticText binding="#{tarefa.staticText10}" id="staticText10" text="#{currentRow.value['serie.serie']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{tarefa.tableColumn7}" headerText="Disciplina" id="tableColumn7" sort="disciplina.disciplina">
                                        <ui:staticText binding="#{tarefa.staticText11}" id="staticText11" text="#{currentRow.value['disciplina.disciplina']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{tarefa.tableColumn8}" id="tableColumn8">
                                        <ui:button action="#{tarefa.button2_action}" binding="#{tarefa.button2}" id="button2" text="Delete"/>
                                    </ui:tableColumn>
                                </ui:tableRowGroup>
                            </ui:table>
                        </ui:form>
                    </ui:body>
                </ui:html>
            </ui:page>
        </f:view>
    </jsp:root>java code
    package cmsgeracao;
    import com.sun.data.provider.RowKey;
    import com.sun.rave.web.ui.appbase.AbstractPageBean;
    import com.sun.rave.web.ui.component.Body;
    import com.sun.rave.web.ui.component.Form;
    import com.sun.rave.web.ui.component.Head;
    import com.sun.rave.web.ui.component.Html;
    import com.sun.rave.web.ui.component.Link;
    import com.sun.rave.web.ui.component.Page;
    import javax.faces.FacesException;
    import com.sun.rave.web.ui.component.Label;
    import com.sun.rave.web.ui.component.StaticText;
    import com.sun.rave.web.ui.component.Calendar;
    import com.sun.rave.web.ui.component.DropDown;
    import com.sun.rave.web.ui.component.TextArea;
    import com.sun.rave.web.ui.component.Button;
    import com.sun.rave.web.ui.component.Table;
    import com.sun.rave.web.ui.component.TableRowGroup;
    import com.sun.rave.web.ui.component.TableColumn;
    import com.sun.data.provider.impl.CachedRowSetDataProvider;
    import javax.faces.convert.IntegerConverter;
    import com.sun.rave.web.ui.component.MessageGroup;
    import com.sun.rave.web.ui.component.HiddenField;
    import java.util.Date;
    import java.util.GregorianCalendar;
    import com.sun.rave.web.ui.model.DefaultTableDataProvider;
    * <p>Page bean that corresponds to a similarly named JSP page.  This
    * class contains component definitions (and initialization code) for
    * all components that you have defined on this page, as well as
    * lifecycle methods and event handlers where you may add behavior
    * to respond to incoming events.</p>
    public class tarefa extends AbstractPageBean {
        // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Definition">
        private int __placeholder;
         * <p>Automatically managed component initialization.  <strong>WARNING:</strong>
         * This method is automatically generated, so any user-specified code inserted
         * here is subject to being replaced.</p>
        private void _init() throws Exception {
            disciplinaDataProvider.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{SessionBean1.disciplinaRowSet}"));
            serieDataProvider.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{SessionBean1.serieRowSet}"));
            tarefaDataProvider.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{SessionBean1.tarefaRowSet}"));
            tarefaDataProvider1.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{SessionBean1.tarefaRowSet}"));
        private Page page1 = new Page();
        public Page getPage1() {
            return page1;
        public void setPage1(Page p) {
            this.page1 = p;
        private Html html1 = new Html();
        public Html getHtml1() {
            return html1;
        public void setHtml1(Html h) {
            this.html1 = h;
        private Head head1 = new Head();
        public Head getHead1() {
            return head1;
        public void setHead1(Head h) {
            this.head1 = h;
        private Link link1 = new Link();
        public Link getLink1() {
            return link1;
        public void setLink1(Link l) {
            this.link1 = l;
        private Body body1 = new Body();
        public Body getBody1() {
            return body1;
        public void setBody1(Body b) {
            this.body1 = b;
        private Form form1 = new Form();
        public Form getForm1() {
            return form1;
        public void setForm1(Form f) {
            this.form1 = f;
        private Label label1 = new Label();
        public Label getLabel1() {
            return label1;
        public void setLabel1(Label l) {
            this.label1 = l;
        private StaticText staticText1 = new StaticText();
        public StaticText getStaticText1() {
            return staticText1;
        public void setStaticText1(StaticText st) {
            this.staticText1 = st;
        private StaticText staticText2 = new StaticText();
        public StaticText getStaticText2() {
            return staticText2;
        public void setStaticText2(StaticText st) {
            this.staticText2 = st;
        private StaticText staticText3 = new StaticText();
        public StaticText getStaticText3() {
            return staticText3;
        public void setStaticText3(StaticText st) {
            this.staticText3 = st;
        private StaticText staticText4 = new StaticText();
        public StaticText getStaticText4() {
            return staticText4;
        public void setStaticText4(StaticText st) {
            this.staticText4 = st;
        private Calendar dtTarefa = new Calendar();
        public Calendar getDtTarefa() {
            return dtTarefa;
        public void setDtTarefa(Calendar c) {
            this.dtTarefa = c;
        private DropDown cmbSerie = new DropDown();
        public DropDown getCmbSerie() {
            return cmbSerie;
        public void setCmbSerie(DropDown dd) {
            this.cmbSerie = dd;
        private DropDown cmbDisciplina = new DropDown();
        public DropDown getCmbDisciplina() {
            return cmbDisciplina;
        public void setCmbDisciplina(DropDown dd) {
            this.cmbDisciplina = dd;
        private TextArea txtDesc = new TextArea();
        public TextArea getTxtDesc() {
            return txtDesc;
        public void setTxtDesc(TextArea ta) {
            this.txtDesc = ta;
        private Button btnNovo = new Button();
        public Button getBtnNovo() {
            return btnNovo;
        public void setBtnNovo(Button b) {
            this.btnNovo = b;
        private Button btnEditar = new Button();
        public Button getBtnEditar() {
            return btnEditar;
        public void setBtnEditar(Button b) {
            this.btnEditar = b;
        private Button btnAtualizar = new Button();
        public Button getBtnAtualizar() {
            return btnAtualizar;
        public void setBtnAtualizar(Button b) {
            this.btnAtualizar = b;
        private Button btnCancelar = new Button();
        public Button getBtnCancelar() {
            return btnCancelar;
        public void setBtnCancelar(Button b) {
            this.btnCancelar = b;
        private CachedRowSetDataProvider disciplinaDataProvider = new CachedRowSetDataProvider();
        public CachedRowSetDataProvider getDisciplinaDataProvider() {
            return disciplinaDataProvider;
        public void setDisciplinaDataProvider(CachedRowSetDataProvider crsdp) {
            this.disciplinaDataProvider = crsdp;
        private IntegerConverter cmbDisciplinaConverter = new IntegerConverter();
        public IntegerConverter getCmbDisciplinaConverter() {
            return cmbDisciplinaConverter;
        public void setCmbDisciplinaConverter(IntegerConverter ic) {
            this.cmbDisciplinaConverter = ic;
        private CachedRowSetDataProvider serieDataProvider = new CachedRowSetDataProvider();
        public CachedRowSetDataProvider getSerieDataProvider() {
            return serieDataProvider;
        public void setSerieDataProvider(CachedRowSetDataProvider crsdp) {
            this.serieDataProvider = crsdp;
        private IntegerConverter cmbSerieConverter = new IntegerConverter();
        public IntegerConverter getCmbSerieConverter() {
            return cmbSerieConverter;
        public void setCmbSerieConverter(IntegerConverter ic) {
            this.cmbSerieConverter = ic;
        private IntegerConverter integerConverter2 = new IntegerConverter();
        public IntegerConverter getIntegerConverter2() {
            return integerConverter2;
        public void setIntegerConverter2(IntegerConverter ic) {
            this.integerConverter2 = ic;
        private CachedRowSetDataProvider tarefaDataProvider = new CachedRowSetDataProvider();
        public CachedRowSetDataProvider getTarefaDataProvider() {
            return tarefaDataProvider;
        public void setTarefaDataProvider(CachedRowSetDataProvider crsdp) {
            this.tarefaDataProvider = crsdp;
        private MessageGroup messageGroup1 = new MessageGroup();
        public MessageGroup getMessageGroup1() {
            return messageGroup1;
        public void setMessageGroup1(MessageGroup mg) {
            this.messageGroup1 = mg;
        private IntegerConverter integerConverter1 = new IntegerConverter();
        public IntegerConverter getIntegerConverter1() {
            return integerConverter1;
        public void setIntegerConverter1(IntegerConverter ic) {
            this.integerConverter1 = ic;
        private HiddenField op = new HiddenField();
        public HiddenField getOp() {
            return op;
        public void setOp(HiddenField hf) {
            this.op = hf;
        private HiddenField id = new HiddenField();
        public HiddenField getId() {
            return id;
        public void setId(HiddenField hf) {
            this.id = hf;
        private Table table1 = new Table();
        public Table getTable1() {
            return table1;
        public void setTable1(Table t) {
            this.table1 = t;
        private TableRowGroup tableRowGroup1 = new TableRowGroup();
        public TableRowGroup getTableRowGroup1() {
            return tableRowGroup1;
        public void setTableRowGroup1(TableRowGroup trg) {
            this.tableRowGroup1 = trg;
        private CachedRowSetDataProvider tarefaDataProvider1 = new CachedRowSetDataProvider();
        public CachedRowSetDataProvider getTarefaDataProvider1() {
            return tarefaDataProvider1;
        public void setTarefaDataProvider1(CachedRowSetDataProvider crsdp) {
            this.tarefaDataProvider1 = crsdp;
        private TableColumn tableColumn1 = new TableColumn();
        public TableColumn getTableColumn1() {
            return tableColumn1;
        public void setTableColumn1(TableColumn tc) {
            this.tableColumn1 = tc;
        private TableColumn tableColumn2 = new TableColumn();
        public TableColumn getTableColumn2() {
            return tableColumn2;
        public void setTableColumn2(TableColumn tc) {
            this.tableColumn2 = tc;
        private StaticText staticText6 = new StaticText();
        public StaticText getStaticText6() {
            return staticText6;
        public void setStaticText6(StaticText st) {
            this.staticText6 = st;
        private TableColumn tableColumn5 = new TableColumn();
        public TableColumn getTableColumn5() {
            return tableColumn5;
        public void setTableColumn5(TableColumn tc) {
            this.tableColumn5 = tc;
        private StaticText staticText9 = new StaticText();
        public StaticText getStaticText9() {
            return staticText9;
        public void setStaticText9(StaticText st) {
            this.staticText9 = st;
        private TableColumn tableColumn6 = new TableColumn();
        public TableColumn getTableColumn6() {
            return tableColumn6;
        public void setTableColumn6(TableColumn tc) {
            this.tableColumn6 = tc;
        private StaticText staticText10 = new StaticText();
        public StaticText getStaticText10() {
            return staticText10;
        public void setStaticText10(StaticText st) {
            this.staticText10 = st;
        private TableColumn tableColumn7 = new TableColumn();
        public TableColumn getTableColumn7() {
            return tableColumn7;
        public void setTableColumn7(TableColumn tc) {
            this.tableColumn7 = tc;
        private StaticText staticText11 = new StaticText();
        public StaticText getStaticText11() {
            return staticText11;
        public void setStaticText11(StaticText st) {
            this.staticText11 = st;
        private Button button1 = new Button();
        public Button getButton1() {
            return button1;
        public void setButton1(Button b) {
            this.button1 = b;
        private TableColumn tableColumn8 = new TableColumn();
        public TableColumn getTableColumn8() {
            return tableColumn8;
        public void setTableColumn8(TableColumn tc) {
            this.tableColumn8 = tc;
        private Button button2 = new Button();
        public Button getButton2() {
            return button2;
        public void setButton2(Button b) {
            this.button2 = b;
        // </editor-fold>
         * <p>Construct a new Page bean instance.</p>
        public tarefa() {
         * <p>Return a reference to the scoped data bean.</p>
        protected SessionBean1 getSessionBean1() {
            return (SessionBean1)getBean("SessionBean1");
         * <p>Return a reference to the scoped data bean.</p>
        protected ApplicationBean1 getApplicationBean1() {
            return (ApplicationBean1)getBean("ApplicationBean1");
         * <p>Return a reference to the scoped data bean.</p>
        protected RequestBean1 getRequestBean1() {
            return (RequestBean1)getBean("RequestBean1");
         * <p>Callback method that is called whenever a page is navigated to,
         * either directly via a URL, or indirectly via page navigation.
         * Customize this method to acquire resources that will be needed
         * for event handlers and lifecycle methods, whether or not this
         * page is performing post back processing.</p>
         * <p>Note that, if the current request is a postback, the property
         * values of the components do <strong>not</strong> represent any
         * values submitted with this request.  Instead, they represent the
         * property values that were saved for this view when it was rendered.</p>
        public void init() {
            // Perform initializations inherited from our superclass
            super.init();
            // Perform application initialization that must complete
            // *before* managed components are initialized
            // TODO - add your own initialiation code here
            // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Initialization">
            // Initialize automatically managed components
            // *Note* - this logic should NOT be modified
            try {
                _init();
            } catch (Exception e) {
                log("tarefa Initialization Failure", e);
                throw e instanceof FacesException ? (FacesException) e: new FacesException(e);
            // </editor-fold>
            // Perform application initialization that must complete
            // *after* managed components are initialized
            // TODO - add your own initialization code here
            initialForm();
         * <p>Callback method that is called after the component tree has been
         * restored, but before any event processing takes place.  This method
         * will <strong>only</strong> be called on a postback request that
         * is processing a form submit.  Customize this method to allocate
         * resources that will be required in your event handlers.</p>
        public void preprocess() {
         * <p>Callback method that is called just before rendering takes place.
         * This method will <strong>only</strong> be called for the page that
         * will actually be rendered (and not, for example, on a page that
         * handled a postback and then navigated to a different page).  Customize
         * this method to allocate resources that will be required for rendering
         * this page.</p>
        public void prerender() {
         * <p>Callback method that is called after rendering is completed for
         * this request, if <code>init()</code> was called (regardless of whether
         * or not this was the page that was actually rendered).  Customize this
         * method to release resources acquired in the <code>init()</code>,
         * <code>preprocess()</code>, or <code>prerender()</code> methods (or
         * acquired during execution of an event handler).</p>
        public void destroy() {
            tarefaDataProvider1.close();
            tarefaDataProvider.close();
            serieDataProvider.close();
            disciplinaDataProvider.close();
         public void lockForm(){
            dtTarefa.setDisabled(true);
            cmbSerie.setDisabled(true);
            cmbDisciplina.setDisabled(true);
            txtDesc.setDisabled(true);       
        public void unlockForm(){
            dtTarefa.setDisabled(false);
            cmbSerie.setDisabled(false);
            cmbDisciplina.setDisabled(false);
            txtDesc.setDisabled(false);    
        public void initialForm(){
            lockForm();
            java.util.Calendar cal = new GregorianCalendar(2006,1,1);
            Date dt = new Date();
            dt.setTime(cal.getTimeInMillis());
            dtTarefa.setMinDate(dt);
            btnNovo.setDisabled(false);
            btnEditar.setDisabled(true);
            btnAtualizar.setDisabled(true);
            btnCancelar.setDisabled(true);     
        public void novoTarefa(){
            unlockForm();
            btnAtualizar.setDisabled(false);
            btnNovo.setDisabled(true);
            btnEditar.setDisabled(true);
            btnCancelar.setDisabled(false);               
        public String button1_action() {
            try{
                RowKey rk = tableRowGroup1.getRowKey();
                if(rk!=null){
                    tarefaDataProvider.removeRow(rk);
                    tarefaDataProvider.commitChanges();
                    tarefaDataProvider.refresh();
            }catch(Exception e){
                log("Erro ao deletar", e);
                error(e.getMessage());
            try{
            this.getExternalContext().redirect("tarefa.jsp");
            }catch(Exception e){
                log("Erro ao deletar");
            return null;
        public String btnNovo_action() {
            op.setText("1");  
            novaTarefa();
            try{
            this.getExternalContext().redirect("tarefa.jsp");
            }catch(Exception e){
                log("Erro ao clicar em NOVO");
            return null;
         public void novaTarefa(){
            unlockForm();
            btnAtualizar.setDisabled(false);
            btnNovo.setDisabled(true);
            btnEditar.setDisabled(true);
            btnCancelar.setDisabled(false);       
        public String btnEditar_action() {
            unlockForm();
            op.setText("2");
            btnEditar.setDisabled(true);
            btnAtualizar.setDisabled(false);
            try{
            this.getExternalContext().redirect("tarefa.jsp");
            }catch(Exception e){
                log("Erro ao clicar em NOVO");
            return null;
        public String button2_action() {
            try{
                RowKey rk = tableRowGroup1.getRowKey();
                if(rk!=null){
                    tarefaDataProvider.setCursorRow(rk);
                    id.setText(tarefaDataProvider.getValue("tarefa.id"));
                    dtTarefa.setValue(tarefaDataProvider.getValue("tarefa.data"));
                    cmbSerie.setSelected(tarefaDataProvider.getValue("tarefa.idserie"));
                    cmbDisciplina.setSelected(tarefaDataProvider.getValue("tarefa.iddisciplina"));
                    txtDesc.setText(tarefaDataProvider.getValue("tarefa.descricao"));
                    lockForm();
                    btnEditar.setDisabled(false);
                    btnNovo.setDisabled(true);
                    btnAtualizar.setDisabled(true);
            }catch(Exception e){
                log("Erro ao deletar", e);
                error(e.getMessage());
            try{
            this.getExternalContext().redirect("tarefa.jsp");
            }catch(Exception e){
                log("Erro ao setar FORM");
            return null;
        public void novoRegistro(){
            Integer id=new Integer(0);
            try {
                RowKey rk = tarefaDataProvider.appendRow();
                tarefaDataProvider.setCursorRow(rk);
                tarefaDataProvider.setValue("tarefa.data",dtTarefa.getSelectedDate());
                tarefaDataProvider.setValue("tarefa.idserie",cmbSerie.getSelected());
                tarefaDataProvider.setValue("tarefa.iddisciplina",cmbDisciplina.getSelected());
                tarefaDataProvider.setValue("tarefa.descricao",txtDesc.getText());
                tarefaDataProvider.commitChanges();
                tarefaDataProvider.refresh();
            } catch (Exception ex) {
                log("Error Description", ex);
                error(ex.getMessage());
        public void atualizaRegistro(){
            try{
                RowKey rk = tarefaDataProvider.findFirst("tarefa.id",id.getText());
                tarefaDataProvider.setCursorRow(rk);
                tarefaDataProvider.setValue("tarefa.data",dtTarefa.getSelectedDate());
                tarefaDataProvider.setValue("tarefa.idserie",cmbSerie.getSelected());
                tarefaDataProvider.setValue("tarefa.iddisciplina",cmbDisciplina.getSelected());
                tarefaDataProvider.setValue("tarefa.descricao",txtDesc.getText());
                tarefaDataProvider.commitChanges();
                tarefaDataProvider.refresh();
            }catch(Exception ex){
                log("Error ao atualizar Noticia",ex);
                error(ex.getMessage());
        public String btnAtualizar_action() {
            if(op.get                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

  • Some actions taken while the account was offline Part 2

    Some of us were getting this message with IMAP accounts: "Some actions taken while the account was offline could not be completed." with Leopard. Along with this, an email, usually too large to send, would keep saving itself in the drafts folder. The fix for this was to delete the OfflineCache folder in the IMAP folder. Well, we upgraded to Snow Leopard and now I am having the same thing happen. Except now, I dont get the message and the messages save to Recovered Messages. So I tried the old trick and that folder doesn't exist anymore. What do you guys suggest we do?

    Did you solve this? Do you still see it in 10.6.2? I have
    had this issue as well and am looking for an answer.
    s

  • Some actions taken while account was offline in Lion

    "Some actions taken while the account ... was offline could not be completed online."  I have seen this message mentioned in Leopard and Snow Leopard.  I never got it in that.  I am getting it since Lion 10.7.4.  About accounts that appeared to be online at the time.  Moreover, there are messages that were sent, in that they show up in Sent mailbox, and in at least one case today I got a reply back, but here they are in the Recovered mailbox.  So were they sent or not?  Can I believe my Sent box or not?  And what "actions" were "undone ... on some messages"?  There is no list of that anywhere that I can see.

    Did you solve this? Do you still see it in 10.6.2? I have
    had this issue as well and am looking for an answer.
    s

  • Some actions taken while the account "MobileMe" was offline could not be completed online.

    Any help I keep getting this message when I start mail?

    Some actions taken while the account “MobileMe” was offline could not be completed online.
    Mail has undone actions on some messages so that you can redo the actions when online. Mail has saved other messages in mailbox “Recovered Messages (MobileMe)” in “On My Mac” so that you can complete the actions when online.

  • Auto Launch Application and perform some action

    Hello Friends,
    I am working on Autoback, want to launch application and perform some action to take backup.
    Can any one please update me what all the J2ME phone supports this kind of feature and basic needs to implement Autobackup, any sample code available please let me know
    Thanks,
    Kumar.M.R

    Something sketchy.
    I had the same message appear. It resized my window to the smallest possible size (not minimize!) and when I resized it larger, it had opened a new tab with that message. It was on "c510a1.minersaver1.com" which sounds like a related site. It tried to download "avmast_2004-4_mst5.exe"and I was going to try and refind this site on my Linux box, but forgot to save the exact URL (oops!).
    Running Firefox 4.0b11 on 64-bit Windows 7 Home Premium.
    EDIT: Found a LIVE link
    http://c510a1.minersaver1.com/defender/?44a=pccfjf&8d1ad=glslkkqpgl&eb45=gpqmpkkcmc&03f67=3

  • Find a window in XMonad and apply some actions to it

    Hi everyone, I think this should be really easy for someone who's good at Haskell but I just couldn't figure it out as I'm bad at it.
    Basically I want to search through the list of windows in the current workspace, find one matching some condition and apply some action to it; if not found then create this window.
    I had a skeleton code like this
    import qualified XMonad.StackSet as W
    import XMonad.Actions.WindowGo
    findWindow condition actionIfFound actionIfNotFound =
    ifWindow (condition <&&> member W.current) windowFound actionIfNotFound
    where windowFound = ask >>= w -> do actionIfFound w

    Hi guymatsuda,
    If you are having an issue locating a previously purchased song, you may find the following articles useful:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    Apple Support: Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/HT2519
    Cheers,
    - Brenden

  • How to refresh the table control on some action

    Hi All,
         In a web Dynpro application, I am filling data to the Table control through Supply function. When  I do some action (like save new record )  i want to refresh the table control means add the newly added record.
       How to refresh the Table control.
    Thanks
    Hemalatha

    hi hema........
        if you are using a select query inside the supply function...
        then...
        you can just use node->invalidate(). method..
        it just invalidates the node that is bound to the table.
       so the supply function will be called again, which again uses the select query to fetch the values.. so that your table gets refreshed.
    ---regards,
       alex b justin

  • Import loses (some) track info on eject

    When I import from a CD and use get track info, iTunes does the right thing. However, upon ejecting the CD, I often lose some, although usually not all, of the track info. Usually it just loses the first track info (maybe it's the one I played?) Sometimes it loses all the track info (but I haven't played all of them!) I can restore the info by re-doing the get track info from the library listing, but this is really weird and almost certainly a bug. (I'm on 1.1.1.11 -- weirdly :-)

    ps. This is definately a bug. I just tested it several times under various conditions and it at least consistently loses the first track info (defaulting it back to "Track 1"), and sometimes more than just that one.

  • HT4623 After I downloaded iOS7 and my iPhone turned off I keep getting this message "iTunes has detected an iPhone in recovery mode. You must restore this iPhone before it can be used with iTunes." I dont wanna lose some stuff from my iPhone.

    After I downloaded iOS7 and my iPhone turned off I keep getting this message "iTunes has detected an iPhone in recovery mode. You must restore this iPhone before it can be used with iTunes." I dont wanna lose some stuff from my iPhone.

    During a normal install of iOS 7.0.6 this does not happen but something clearly went wrong in your installation.
    To fix this, connect to iTunes and restore to Factory. Hopefully your iPad will be working again and you can restore your iCloud backup during Setup.

Maybe you are looking for

  • Field optional in Content Conversion

    Hi, This is my data structure Field1 Field2 Field3. I have two source systems which is sending the data. One of the source system sends only Field1 and Field 3, while another source system sends Field1,Field2 and Field3. Should i make the field2 as o

  • Fullscreen 2nd Display on OSX (NBA League Pass streaming)

    When using NBA's League Pass service you can stream live and pre-recorded games. It uses Flash to do this and has a full screen option. Howver, when I full screen it on my 2nd display, and then click on something else on the main display, the video g

  • Is there a way to make the letter i change to a capital letter

    Is it possible to automatically change the letter i to a capitol when followed by a spce. At least the option to do it would be nice!

  • SQL Developer 3.0 against Oracle 10g

    Hi, I have used SQL Developer in previous employments and prefer use it now (ie SQL Developer 3.0), but unsure if the mix will work. I am on a Windows Server 2003 Std 64bit Edition and with Service Pack 2. and have Oracle client 10g home with basic t

  • Custom Email/noti​fication Profile

    I know this has been mentioned in another post.. but PLEASE PLEASE PLEASE blackberry get this back in there... never in a million years would I have thought you would strip that service away... We all have several email accounts, facebook, bbm etc et