[ANN] - Get the latest JDeveloper News Directly in the IDE

Get the RSS News Feed Reader Extension for Oracle JDeveloper 10g from here:
http://otn.oracle.com/products/jdev/htdocs/partners/addins/exchange/RSS/index.html
And you'll get the latest news about JDeveloper first.
Updates on new tips, papers, demos, downloads, extensions and more.
You can also add new channels that you want to monitor.
If you are using another RSS reader add the JDeveloper RSS news feed from:
http://otn.oracle.com/products/jdev/jdeveloper_news.xml

Usually it is a good habit for the serial port to keep all the data that is sent to it. That is "buffered serial port". If you only want some bytes and recent, then you have to take the responsibility of reading every 5 seconds and throwing away the bytes you read and don't want, and keeping only the last. You can have an independent while loop that reads continually and keeps the last n bytes in a shift register. You can also refresh a timestamp every time you read some new bytes to keep a record of how recent the data is.

Similar Messages

  • I would like to know how to draw up a list in a cell (like a pull-down menu) to ease data capture, but I don't know how to do that  ! Do you get the idea ? Thanks !

    I would like to know how to draw up a list in a cell (like a pull-down menu) to ease data capture, but I don't know how to do that  !
    Do you get the idea ?
    Thanks ever so much !

    the numbers manual can be downlaoded from this website under the Apple support area...
    http://support.apple.com/manuals/#numbers
    What your looking for is written out step by step for drop downs and all other special types of user input starting around page 96 in the '09 manual.
    Jason

  • Hard to get the idea

    to write an applet to compute the Grade Point Average (GPA) for a list of subject taken with in the semister
    the grade is obtained based on the following table
    LETTER GRADE NUMERIC GRADE
    A 4
    B 3
    C 2
    D 1
    F 0
    for example a student take 3 subjects in a semister
    SUBJECT LETTER GRADE NUMERIC GRADE CREDIT UNIT
    subject 1 A 4 5
    subject 2 D 1 3
    subject 3 c 2 4
    then GPA = (4*5+1*3+2*4)/(5+3+4) = 2.58
    The number of credit unit is equivalent to the number of contact hours in a week. to compute the GPA of the semister:
    GPA = (numGrade1*creditUnit1+numGrade2*creditunit2+numGrade3*dreditunit3)/(total credits )
    where ,numGrade1,numGrade2 and numGrade3 are the numeric grades of subject1 ,Subject2 and Subject3 respectively.
    total credit is the total number of credit units taken in teh semister.
    i have to use layout manager , graphical components and two methods convGrade() and calcGPA() to convert the letter grade input to its numeric grade equivalence and compute the GPA respectively.
    i have to add three text fields to enter letter grades of 3 subjects
    and 3textfields to enter credit unit of 3 subject and their respective label (Enter grade of subject 1,Enter credit unit of Subject1...) and to add a button to compute GPA , at last label "your GPA for the semister is ----"
    please reply me urgently

    try this simple programm (due to time it is without error handling and
    comfort - but it will do) - just copy it to a file named GradeView:
    import java.awt.BorderLayout;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    public class GradeView extends JFrame {
         // change these texts to you favourites
         public static final String TX_SUBJECT1 = "Subject1:";
         public static final String TX_SUBJECT2 = "Subject2:";
         public static final String TX_SUBJECT3 = "Subject3:";
         public static final String TX_HEADER1 = "Subject";
         public static final String TX_HEADER2 = "Grade";
         public static final String TX_HEADER3 = "Credit Unit";
         public static final String TX_GPA = "Your GPA for the semister is ";
         // the textFields for grades
         private JTextField txGradeSubject1;
         private JTextField txGradeSubject2;
         private JTextField txGradeSubject3;          
         // the text fields for CREDIT UNIT
         private JTextField txCuSubject1;
         private JTextField txCuSubject2;
         private JTextField txCuSubject3;          
         // the button
         private JButton btCompute = new JButton("Compute GPA");
         private JLabel computedLabel = new JLabel("");
         public GradeView(){
              super("Grade Point Average");
              initView();
         private void initView(){
              // add labels and fields
              JPanel entryPane = new JPanel();
              // we add a table structure
              entryPane.setLayout(new GridLayout(0,3));
              // add headers
              entryPane.add(new JLabel(TX_HEADER1));
              entryPane.add(new JLabel(TX_HEADER2));
              entryPane.add(new JLabel(TX_HEADER3));
              // and fields
              entryPane.add(new JLabel(TX_SUBJECT1));
              entryPane.add(getTxGradeSubject1());
              entryPane.add(getTxCuSubject1());
              entryPane.add(new JLabel(TX_SUBJECT2));
              entryPane.add(getTxGradeSubject2());
              entryPane.add(getTxCuSubject2());
              entryPane.add(new JLabel(TX_SUBJECT3));
              entryPane.add(getTxGradeSubject3());
              entryPane.add(getTxCuSubject3());
              // now add all to the frame
              getContentPane().setLayout(new BorderLayout());
              getContentPane().add(entryPane, BorderLayout.CENTER);
              getContentPane().add(btCompute, BorderLayout.SOUTH);
              getContentPane().add(computedLabel, BorderLayout.NORTH);
              // add a Listener to the button
              btCompute.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent arg0) {
                        calcGPA() ;
         public static void main(String[] args) {
              GradeView view = new GradeView();
              view.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              view.setResizable(false);
              view.setSize(250, 150);
              view.setVisible(true);
         // here the gpa is calcutaed from the values entered
         private void calcGPA(){
              // read the values from the textFields
              int grade1 = convertGrade(getTxGradeSubject1().getText());
              int grade2 = convertGrade(getTxGradeSubject2().getText());
              int grade3 = convertGrade(getTxGradeSubject3().getText());
              int cu1 = getIntText(getTxCuSubject1());
              int cu2 = getIntText(getTxCuSubject2());          
              int cu3 = getIntText(getTxCuSubject3());
              // compute the gpa - we need a double
              double gpa = ((double)grade1*cu1 + grade2*cu2 + grade3*cu3)/(cu1+cu2+cu3);
              // update our label
              computedLabel.setText(TX_GPA + gpa);          
         private int getIntText(JTextField field){
              int ret = 0;
              if(field != null){
                   try{
                        ret = Integer.parseInt(field.getText());
                   catch(NumberFormatException exc){
                        // may add error handling here
              return ret;
         private int convertGrade(String value){
              // anything not entered
              if(value==null || value.trim().length()!=1){
                   // may add error handling here
                   return 0;
              char chValue = value.charAt(0);
              if(chValue<'A' || chValue>'F'){
                   // may add error handling here
                   return 0;
    // this will return 0 for 'F', 1 for 'E' and so on
              return (int)(-chValue+'F');
         // the fields use lazy initialisation
         * @return
         private JTextField getTxGradeSubject1() {
              if(txGradeSubject1 == null){
                   txGradeSubject1 = new JTextField(1);
              return txGradeSubject1;
         * @return
         private JTextField getTxGradeSubject2() {
              if(txGradeSubject2 == null){
                   txGradeSubject2 = new JTextField(1);
              return txGradeSubject2;
         * @return
         private JTextField getTxGradeSubject3() {
              if(txGradeSubject3 == null){
                   txGradeSubject3 = new JTextField(1);
              return txGradeSubject3;
         * @return
         private JTextField getTxCuSubject1() {
              if(txCuSubject1 == null){
                   txCuSubject1 = new JTextField(1);
              return txCuSubject1;
         * @return
         private JTextField getTxCuSubject2() {
              if(txCuSubject2 == null){
                   txCuSubject2 = new JTextField(1);
              return txCuSubject2;
         * @return
         private JTextField getTxCuSubject3() {
              if(txCuSubject3 == null){
                   txCuSubject3 = new JTextField(1);
              return txCuSubject3;

  • Error message trying to reproduce the demo songs on the pack. A message appears: The disk is too slow o there is an overloaded. My system is in Spanish so maybe the message is not exactly like this in English but I am sure you will get the idea. Thanks!

    When I try to reproduce the demo songs that comes with the Logic Studio pack a message pop out : The disk is too slow or there is an overload.
    Any help, please?

    spheric, thanks a lot!!!
    You are right, as soon I copied the songs to the HD all of them works perfect!
    Thanks a lot!!!

  • Even after resets get "The backup disk image "/Volumes/FreeAgent GoFlex Drive/MacBeth (2) 1.sparsebundle" could not be created (error 22)."

    HELP!  "The backup disk image “/Volumes/FreeAgent GoFlex Drive/MacBeth (2) 1.sparsebundle” could not be created (error 22)."
    TC estimates over 750GB for full backup.
    Late 2010 MBA is connected wirelessly to
    802.11n (1st gen) TC that is connected via ethernet hub built into house to motorola router using charter.com for internet.
    I have had same problem for over 150 days and multiple reboots, restarts in proper order, firmware updates, unplugs with 5min plus gaps, bypassing the tc and using external 500gb WD mybook via usb to time capsule, replacement of the WD mybook to new 2TB Free Agent GoFlex drive, etc, etc, etc!  Note: I originally named my MBA hard drive MacBeth, but at some point months ago, it said backup already existed and system automatically created MacBeth (2), worked for a while, then stopped again, despite trying nearly daily.
    I gave up and started using Carbon Copy Clone daily for just the 128gb on internal SSD of my late 2011 11" MacBook Air, but need to get past these time capsule errors to back up the external disk!  Due to lack of space in MBA, I had long ago transferred both itunes and iphoto and all imovie/fcpx files to a 1tb external disk (WD Passport) that I keep in my bag with MBA.  It is partitioned with 150gb for cloning the MBA, and over 750gb for media/itunes/iphoto/etc.
    Also, I have endured months of "your hard drive is full" messages and system lockups, applying the solution given to me by genious bar (deleting all aol.com outboxes/recovered messages/spam/trash under library/mail/V2/Mailboxes folders, empty trash, restart....watch recovered hard drive space mysteriously shrink next couple days to zero.....repeat)
    Due to lack of space, I had not been able to do javascript and other system updates.  Yesterday, I noticed even safari bookmark bar had mysteriously emptied (not disappeared, I can hide and show the space where the bar used to be - it is just blank area with no data except for eyelass-book-topsites icons), so I transferred a few large quicktime movie files recorded with isight camera to the external disk, and freed up 20 gbs for the first time!
    This got my hopes up yesterday because after I completed all system/software updates, suddenly the bookmark bar showed up and I was able to start the time capsule backup! It took overnight preparing for backup, but finally started and progressed to 12gb of the 100gb+ needed (i guess the update where it left off months ago for the estimated 750gb for the full backup?), then I put system to sleep and took it with me (thus leaving the wireless time capsule network as I do daily fully expecting it to continue when I returned home in the evening.)  But alas, upon return, back to the "Time Machine could not complete backup, The backup disk image ".....sparsebundle" could not be created (error 22)"  Ugh!  More reboots, unplugs, 5min gaps....still Ugh!
    So the problem continues...please help!  Here are my settings:
    About this mac:
    Mac OS X V. 10.7.5
    processor 1.6 ghz intel core 2 duo, memory 4 4g 1067 MHz DDR3
    software up to date!
    Airport Utility:
    V 6.2 (620.33)
    both internet globe and TC show green dots in graphic, however internet occasionally shows yellow then goes to green, but still gets error 22.  Suddenly TC showed explanation mark and says lost connection and asked if I wanted to 'forget', gave same errors, then mysteriously went back to green, but still got error 22!.
    Internet:
    connection: connected, displays router address, 2 dns server, and domain name: charter.com
    Time Capsule:
    shows network, ip address, serial number, version 7.6.3, status: (green dot) Setup over WAN,
    wireless clients: phones, macbooks (including this MBA), printers, wii
    If you need other settings to help me, just ask!  I have read a few of the other solutions in forums, but trying not to erase disks, especially since it worked for a minute yesterday!

    To step sideways.. why not just use CCC to backup the 750GB of the hard disk to the TC.
    You need to understand this is going to be a super slow process and each time you stop it.. it is going to give issues. CCC will at least do a more reliable job of it than TM.
    I would also say.. this is going to be tough without ethernet. You need to understand the backup speed over wireless can be 10GB per hour.. that makes 75hrs to backup the disk. The air needs to run non-stop doing that.. without you touching it.
    I would get another external drive.. plug that into the MBA and if you really want to use TM.. make a backup one to the other.. but CCC will again do a better job and work faster. It will be much faster than over wireless.
    I am trying to think of ways around the issue of just speed.. but plainly you have lots of other issues.. being the simple unreliablity of the TM to identify the TC.
    If you want to make this work.. give yourself a weekend.
    Load 5.6 utility into the MBA..
    http://support.apple.com/kb/DL1482
    Take the TC back to 7.5.2 firmware. It is a really old version and latest firmware does it no good at all.
    Wipe its hard disk using erase and start over.. give it new names for everything.
    So call it TC
    Set the wireless to 5ghz and name it TC5ghz
    Use WPA2 Personal security. Use a 10 character passkey non dictionary.
    At 5ghz you should get 2x the speed as at 2.4ghz but the air will need to be right next to the TC..
    (alternatively buy the USB to ethernet cord apple have available.. it is $30 in the apple store and do it over pseudoethernet. http://store.apple.com/au/product/MC704ZM/A/apple-usb-ethernet-adapter That is the wrong store but you get the idea. )
    WIth a fully clean system.. now do a full reset of TM.
    See A4 http://pondini.org/TM/Troubleshooting.html
    Direct the TM to back to the TC.. and make sure the external hard disk is not excluded.
    Of course the TC has to be 1TB version to fit that much data.. goes without saying right.
    Even over pseudo - ethernet this will take many hours.. and you basically have to leave it to work.. do not touch it.. make sure the MBA cannot sleep though.. turn off sleep.. beforehand.

  • How to get the value of an outputLabel (part of a header in a table col)?

    Hello,
    i am trying to write some code in a method in a bean that is called when a button is pressed in a page (actually is an ActionListener method), which is part of a Table. I want to get the value of the outputLabel of the column. The jspx part of the page to get the idea follows:
    <af:column id="TrsTransactionsTradeDateColumn" sortable="true" noWrap="true" sortProperty="TradeDate" >
    <f:facet name="header">
    <af:outputLabel value="#{nls['TRSTRANSACTIONS_TABLE_TRADEDATE']}" styleClass="af_column_header-text"/>
    </f:facet>
    <af:selectInputDate id="TrsTransactionsTradeDate" value="#{row.TradeDate}"
    required="#{bindings.TrsTransactionsTradeDate.mandatory}" readOnly="true" >
    <af:convertDateTime pattern="dd/MM/yyyy HH:mm:ss"/>
    </af:selectInputDate>
    </af:column>
    As you see, the header part which is actually an outputLabel, is not actually part of the column object but in a separate facet, and the header property of the column is not used. Also, i can't change that, as this code is produced by generator. Actually i can access the every column of the Table with CoreColumn class, as these are children of the Table, but it does not give me access to the corresponding outputLabel of the column, because it is neither child or property of the column! An extract of the code to show my situation and give an idea follows:
    DCIteratorBinding dcib;
    RowSetIterator rsi;
    HttpServletRequest hq;
    String iterName;
    PrintWriter out = null;
    Row currentRow = null;
    CoreTable tTable;
    String [] attNames, realNames;
    Boolean[] isNum;
    int isFirst = 1;
    List childList, childList2;
    CoreColumn csi;
    // Find the Component-Table and the Real names of the Columns
    tTable = (CoreTable) actionEvent.getComponent().getParent().getParent();
    System.out.println("CoreTableSelectOne:"+tTable.toString());
    System.out.println("CoreTableSelectOne Parent:"+tTable.getParent().toString());
    childList = tTable.getChildren();
    attNames = rsi.getRowAtRangeIndex(0).getAttributeNames();
    realNames = new String[attNames.length];
    isNum = new Boolean[attNames.length];
    System.out.println("attrNames:"+attNames.length);
    System.out.println("childList:"+childList.toString());
    System.out.println("childList size:"+childList.size());
    // The next loop puts in the realNames for each row set column the component column name
    // if the column is rendered otherwise null.
    for (int i = 0; i < attNames.length; i++) {
    System.out.println("attrName:"+attNames);
    realNames[i] = null;
    for (int k = 0; k < childList.size(); k++) {
    if (childList.get(k) instanceof CoreColumn){
    csi = (CoreColumn) childList.get(k);
    System.out.println("csi:"+csi.getSortProperty());
    if (csi.getSortProperty() == attNames[i]){
    childList2 = csi.getChildren();
    System.out.println("csi.childrencount:"+csi.getChildCount());
    System.out.println("csi.getshortdesc:"+csi.getShortDesc());
    System.out.println("csi.getFacetCount():"+csi.getFacetCount());
    csi.getFacet()
    for(int m=0; m<childList2.size(); m++) {
    //System.out.println("childList2.get(m).toString():"+childList2.get(m));
    if(childList2.get(m) instanceof CoreSelectInputDate)
    CoreSelectInputDate csid = null;
    csid = (CoreSelectInputDate)childList2.get(m);
    System.out.println("Label:'"+csid.getLabel());
    System.out.println("csi.getHeaderText()"+csi.getHeaderText());
    realNames[i] = new String(csi.getHeaderText());
    if (csi.isRendered() == false)
    realNames[i] = null;
    System.out.println(csi.getFormatType());
    if (csi.getFormatType() == "number")
    isNum[i] = true;
    else
    isNum[i] = false;
    System.out.println("After loop In attName: "+i);
    // Print the titles
    if (realNames[i] != null) {
    if (isFirst == 1)
    isFirst = 0;
    else
    out.print(";");
    out.print(realNames[i]);
    Part of the output produced follows:
    2008-07-18 18:49:13,699 INFO [STDOUT] iteratorNameTrsTransactionsIterator
    2008-07-18 18:49:13,699 INFO [STDOUT] 1
    2008-07-18 18:49:13,699 DEBUG [com.sun.faces.el.ValueBindingImpl] getValue(ref=bindings)
    2008-07-18 18:49:13,699 DEBUG [com.sun.faces.el.VariableResolverImpl] resolveVariable: Resolved variable:TrsTransactionsPageDef
    2008-07-18 18:49:13,699 DEBUG [com.sun.faces.el.ValueBindingImpl] getValue Result:TrsTransactionsPageDef
    2008-07-18 18:49:13,699 INFO [STDOUT] 2
    2008-07-18 18:49:13,699 INFO [STDOUT] 3
    2008-07-18 18:49:13,699 INFO [STDOUT] 4
    2008-07-18 18:49:13,699 INFO [STDOUT] CoreTableSelectOne:CoreTable[UIXFacesBeanImpl, id=TrsTransactionsTable]
    2008-07-18 18:49:13,699 INFO [STDOUT] CoreTableSelectOne Parent:CorePanelGroup[UIXFacesBeanImpl, id=TrsTransactionsTableGroup]
    2008-07-18 18:49:13,699 INFO [STDOUT] attrNames:56
    2008-07-18 18:49:13,699 INFO [STDOUT] childList:[CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsTradeDateColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLkpBiccodeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLkpBicnameColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLkpInstrumentIsincodeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLkpInstrumentNameColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsBuySellColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsTradeCapacityColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsQuantityColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsUnitPriceTypeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsUnitPriceColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLkpCurrencyIsoSymbolColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsVenuetypeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLkpVenueMicCodeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLkpVenueBicCodeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsCtypeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLkpCounterpartyMicCodeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLkpCounterpartyBiccodeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsCcodeccColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsClienttypeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLpkClientBicCodeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsClientinternalColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsTradeStatusColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLastUpdateDateColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsCancelDateColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsOrigTrnColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsSourceColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsSourceNumberColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsTransTypeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsTradeDateOnlyColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsExchangeReasonColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsTransTrnColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsCancSourceNumberColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsCauniqueidColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsRoutingColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsHubSentDateColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsOtherRcaColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsOutOfDateFlagColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsMultipleFlagColumn], CoreColumn[UIXFacesBeanImpl, id=_id89]]
    2008-07-18 18:49:13,699 INFO [STDOUT] childList size:39
    2008-07-18 18:49:13,699 INFO [STDOUT] 5
    2008-07-18 18:49:13,699 INFO [STDOUT] 6
    2008-07-18 18:49:13,699 INFO [STDOUT] 7
    2008-07-18 18:49:13,699 INFO [STDOUT] 8
    2008-07-18 18:49:13,699 INFO [STDOUT] 9
    2008-07-18 18:49:13,699 INFO [STDOUT] 10
    2008-07-18 18:49:13,699 INFO [STDOUT] attrName:BicId
    2008-07-18 18:49:13,699 INFO [STDOUT] csi:TradeDate
    2008-07-18 18:49:13,699 INFO [STDOUT] csi:LkpBiccode
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LkpBicname
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LkpInstrumentIsincode
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LkpInstrumentName
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:BuySell
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:TradeCapacity
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:Quantity
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:UnitPriceType
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:UnitPrice
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LkpCurrencyIsoSymbol
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:Venuetype
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LkpVenueMicCode
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LkpVenueBicCode
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:Ctype
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LkpCounterpartyMicCode
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LkpCounterpartyBiccode
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:Ccodecc
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:Clienttype
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LpkClientBicCode
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:Clientinternal
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:TradeStatus
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LastUpdateDate
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:CancelDate
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:OrigTrn
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:Source
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:SourceNumber
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:TransType
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:TradeDateOnly
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:ExchangeReason
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:TransTrn
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:CancSourceNumber
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:Cauniqueid
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:Routing
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:HubSentDate
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:OtherRca
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:OutOfDateFlag
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:MultipleFlag
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:null
    2008-07-18 18:49:13,714 INFO [STDOUT] After loop In attName: 0
    2008-07-18 18:49:13,714 INFO [STDOUT] attrName:TradeDate
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:TradeDate
    2008-07-18 18:49:13,714 INFO [STDOUT] csi.childrencount:1
    2008-07-18 18:49:13,714 INFO [STDOUT] csi.getshortdesc:null
    2008-07-18 18:49:13,714 INFO [STDOUT] csi.getFacetCount():1
    2008-07-18 18:49:13,714 INFO [STDOUT] Label:'null
    2008-07-18 18:49:13,714 INFO [STDOUT] csi.getHeaderText()null
    2008-07-18 18:49:13,714 ERROR (irrelevant)
    Any idea how to achieve to get the value of the corresponding outputLabel ?
    TIA

    Hi,
    the fastes option is to create a JSF binding from the output text to a managed bean and directly access the component. So unless you like parsing the table for this information, it seems unnecessary if you frequently use the information stored in the header
    Frank

  • Moved To BT & Got Infinity2 & Not Getting The Spe...

    Hi mi new I hope you don't mind me jumping in here, I switched from O2 to BT Infinity 2 and was quoted speeds from a 76Mb line that I would get 45.9Mb and 8Mb upload of which I'm getting 34Mb and 5Mb upload and speeds are seeming to get worse, I'm not happy as I don't see why I'm paying for something I'm not receiving I've logged about 10 or so phone calls to BT who keep on sending Openreach engineers to my house it's nearly been a week since it was fitted.
    Ive had Openreach turn up three days running I swear people are starting to think my house is an Openreach Central hub,
    Engineers of which I've had two in visit the property 3 time a third engineer went straight to the exchange and numerous calls to BT I'm getting peeved now.
    A 4th engineer is booked to come to my house to sort it they say, I get the idea that BT don't think I work as all the time I take off to get it sorted I'm not getting paid for!
    If their is anyone that represents BT that could give me some incite here could my speed be down to my line coming from the farthest Fibre cab about 700 metres?
    Their is a fibre cab about 200 metres or so from my house why am I not connected to that Fibre cab as its the shortest distance?
    Why can you not perform a Shift & Lift? The lines in are area are Aerial, The Fibre cab nearest to my house has a tell pole next to it that pole line runs up an ally and supply's the other half of my street the person directly in front of my house is connected to that pole so its not as though a line can't be run to my house!
    I would say this is the most hassle I've had with broadband from someone that is supposedly the founder of the new method of Fibre/cable. The service is shocking it's like someone inherited future tech but doesn't know how it works in order to fix it when there are problems or it goes wrong.
    To any BT people out their looking at the post if the 4th engineer cant sort out the speed problem then you can come and get your tech as I'm not paying premium price for something that I'm not getting!
    Peeved Customer,
    Darren

    The speeds bt quoted are only estimates. You are 700m from the cab which is quite far in terms of VDSL. The route your cable takes cannot usually be changed. If a pole near your home is served by a closer cab and a cable can be run from your home to said pole then its possible to change cabs. You just need to hope that an engineer takes sympathy and carries out the work required.

  • JTable: How do you get the sort indicator shown in the design guidelines ?

    http://java.sun.com/products/jlf/at/book/Idioms4.html#996747
    As opposed to Volume 1, they don't provide any code :-(
    (http://java.sun.com/products/jlf/)

    You need to put your own TableCellRenderer into the table header. You implement the same interface as an ordinary cell renderer, but you install it differently. Here's a snippet of my code that does this:
         private void setupHeaderRenderers()
              for (int i = 0; i < model_.getColumnCount(); i++)
                   TableColumn tc = t_.getColumnModel().getColumn(i);
                   tc.setHeaderRenderer(new SortHeaderRenderer(/* my ctor args */));
         }and the renderer itself is as below. Apologies for dependencies on other stuff of mine, but you get the idea.
    private class SortHeaderRenderer extends    DefaultTableCellRenderer
      RenderInfo r_;
      SortHeaderRenderer(RenderInfo r)
        r_ = r;
      public Component getTableCellRendererComponent(javax.swing.JTable table,
                                                    Object  value,
                                    boolean isSelected,
                                                    boolean hasFocus,
                                                    int     row,
                                                    int     column)
          if (table != null)
            JTableHeader header = table.getTableHeader();
            if (header != null)
              setForeground(header.getForeground());
              setBackground(header.getBackground());
              setFont(header.getFont());
          setText((value == null) ? "" : value.toString());
          setBorder(UIManager.getBorder("TableHeader.cellBorder"));
          setHorizontalAlignment(SwingConstants.CENTER);
          setHorizontalTextPosition(SwingConstants.LEFT);
          // Check if we are the primary sort column and if so, which
          // direction the sort is in
          if ((orderItems_ != null) && (orderItems_.contains(r_)))
            if (sortDescending_)
              setIcon(sortDescending__.getIcon());
            else
              setIcon(sortAscending__.getIcon());
          else
            setIcon(null);
          return this;

  • Query to get the hierarchical results

    Hi,
    Please help me in writing a Query to get the hierarchical results. I want a result like follows...
    course-----groupname---TotalMembers---NotStarted---INProgress---Completed
    Course1---country1--------12---------------6----------3-------------3
    Course1-----state11-------12---------------6----------3-------------3
    Course1------District111--10---------------5----------0-------------0
    Course1--------City1111----0---------------0----------0-------------0
    Course1--------City1112----1---------------0----------0-------------1
    Course1--------City1113----6---------------3----------2-------------1
    Course1---country2--------12---------------6----------3-------------3
    Course1----state21--------12---------------6----------3-------------3
    Course1------District211--10---------------5----------0-------------0
    Course1--------City2111----0---------------0----------0-------------0
    Course1--------City2112----1---------------0----------0-------------1
    Course1--------City2113----6---------------3----------2-------------1
    Course2---country1--------12---------------6----------2-------------3
    Course2----state11--------12---------------6----------2-------------3
    Course2------District111--10---------------5----------0-------------0
    Course2--------City1111----0---------------0----------0-------------0
    Course2--------City1112----1---------------0----------0-------------1
    Course2--------City1113----6---------------3----------1-------------2
    Course2---country2--------12---------------6----------3-------------3
    Course2-----state21-------12---------------6----------3-------------3
    Course2------District211--10---------------5----------0-------------0
    Course2--------City2111----0---------------0----------0-------------0
    Course2--------City2112----1---------------0----------0-------------1
    Course2--------City2113----6---------------3----------2-------------1
    These are the Tables available to me.
    (I have just given some examle data in tables, to get the idea)
    "Groups" Table (This table gives the information of the group)
    GROUPID-----NAME-------PARENTID
    1---------Universe--------1
    2---------country1--------1
    3---------state11---------2
    4---------District111-----3
    5---------City1111--------4
    6---------City1112--------4
    7---------City1113--------4
    8---------country2--------1
    9---------state21---------8
    10--------District211-----9
    11--------City2111--------10
    12--------City2112--------10
    13--------City2113--------10
    "Users" Table (This table provides the user information)
    userID----FIRSTNAME---LASTNAME
    user1-----------Jim-------Carry
    user2-----------Tom-------lee
    user3-----------sunny-----boo
    user4-----------mary------mall
    "User-Group" Tables (This table provides the relation between the groups
    and the members)
    GROUPID---userID
    3-------------user1
    3-------------user2
    3-------------user4
    4-------------user5
    5-------------user6
    5-------------user7
    user_score (This table provides the user scores of different courses)
    USERID----course-----STATUS
    user1------course1-----complete
    user1------course2-----NotStarted
    user2------course1-----NotStarted
    user2------course2-----complete
    user3------course1-----complete
    user3------course2-----InProgress
    user4------course2-----complete
    user4------course1-----NotStarted
    I will explain the first four lines of the above result.
    Course1---country1--------12---------------6----------4-------------2
    Course1-----state11-------12---------------6----------4-------------2
    Course1------District111--10---------------5----------3-------------2
    Course1--------City1111----0---------------0----------0-------------0
    Course1--------City1112----1---------------0----------0-------------1
    Course1--------City1113----6---------------3----------2-------------1
    # "city1111" group has 0 members
    # "city1112" group has 1 member (1 member completed the course1)
    # "city1113" group has 6 members(3 members notStarted,2 members
    InProgress,1 member completed the course1)
    # "District111" is the parent group of above three groups, and has 3
    members.(2 members NotStarted,1 member InProgress the course1). But this
    group has child groups, so the scores of this group has to rollup the
    child groups scores also. Thats why it has 2+3+0+0=6 members Not
    Started,1+2+0+0=3 members InProgress,0+0+1+1=2 members completed.
    # "state11" group also same as the above group.
    I am able to get the group hierarchy by using "Connect By" like follows
    "select name,groupid,parentid from groups_info start with groupid=1 connect by parentid = prior groupid;"
    But i want to get the result as i have mentioned in the begining of this discussion.
    I am using oracle 8i (oracle8.1.7).
    Thank you for any help
    Srinivas M

    This may not be exactly what you want,
    but it should be fairly close:
    SET      LINESIZE 100
    SET      PAGESIZE 24
    COLUMN   groupname FORMAT A20
    SELECT   INITCAP (user_score.course) "course",
             groupnames.name "groupname",
             COUNT (*) "TotalMembers",
             SUM (NVL (DECODE (UPPER (user_score.status), 'NOTSTARTED', 1), 0)) "NotStarted",
             SUM (NVL (DECODE (UPPER (user_score.status), 'INPROGRESS', 1), 0)) "InProgress",
             SUM (NVL (DECODE (UPPER (user_score.status), 'COMPLETE', 1), 0)) "Completed"
    FROM     user_score,
             user_group,
             (SELECT ROWNUM rn,
                     name,
                     groupid
              FROM   (SELECT     LPAD (' ', 2 * LEVEL - 2) || name AS name,
                                 groupid
                      FROM       groups
                      START WITH groupid = 1
                      CONNECT BY PRIOR groupid = parentid)) groupnames
    WHERE    user_score.userid = user_group.userid
    AND      user_group.groupid IN
             (SELECT     groupid
              FROM       groups
              START WITH groupid = groupnames.groupid
              CONNECT BY PRIOR groupid = parentid)
    GROUP BY user_score.course, groupnames.name, groupnames.rn
    ORDER BY user_score.course, groupnames.rn
    I entered the minimal test data that you
    provided and a bit more and got this result
    (It was formatted as you requested,
    but I don't know if it will display properly
    on this post, or wrap around):
    course  groupname            TotalMembers NotStarted InProgress  Completed
    Course1 Universe                        6          2          0          4
    Course1   country1                      5          2          0          3
    Course1     state11                     5          2          0          3
    Course1       District111               2          0          0          2
    Course1         City1112                1          0          0          1
    Course1         City1113                1          0          0          1
    Course1   country2                      1          0          0          1
    Course1     state21                     1          0          0          1
    Course1       District211               1          0          0          1
    Course1         City2113                1          0          0          1
    Course2 Universe                        5          1          1          3
    Course2   country1                      4          1          1          2
    Course2     state11                     4          1          1          2
    Course2       District111               1          0          1          0
    Course2         City1113                1          0          1          0
    Course2   country2                      1          0          0          1
    Course2     state21                     1          0          0          1
    Course2       District211               1          0          0          1
    Course2         City2113                1          0          0          1
    Here is the test data that I used, in case
    anyone else wants to play with it:
    create table groups
      (groupid  number,
       name     varchar2(15),
       parentid number)
    insert into groups
    values (1,'Universe',null)
    insert into groups
    values (2,'country1',1)
    insert into groups
    values (3,'state11',2)
    insert into groups
    values (4,'District111',3)
    insert into groups
    values (5,'City1111',4)
    insert into groups
    values (6,'City1112',4)
    insert into groups
    values (7,'City1113',4)
    insert into groups
    values (8,'country2',1)
    insert into groups
    values (9,'state21',8)
    insert into groups
    values (10,'District211',9)
    insert into groups
    values (11,'City2111',10)
    insert into groups
    values (12,'City2112',10)
    insert into groups
    values (13,'City2113',10)
    create table user_group
      (groupid number,
       userid  varchar2(5))
    insert into user_group
    values (3,'user1')
    insert into user_group
    values (3,'user2')
    insert into user_group
    values (3,'user4')
    insert into user_group
    values (4,'user5')
    insert into user_group
    values (5,'user6')
    insert into user_group
    values (5,'user7')
    insert into user_group
    values (7,'user8')
    insert into user_group
    values (13,'user9')
    insert into user_group
    values (11,'use11')
    insert into user_group
    values (6,'use6')
    create table user_score
      (userid varchar2(5),
       course varchar2(7),
       status varchar2(10))
    insert into user_score
    values ('use6','course1','complete')
    insert into user_score
    values ('user9','course1','complete')
    insert into user_score
    values ('user9','course2','complete')
    insert into user_score
    values ('user8','course1','complete')
    insert into user_score
    values ('user8','course2','InProgress')
    insert into user_score
    values ('user1','course1','complete')
    insert into user_score
    values ('user1','course2','NotStarted')
    insert into user_score
    values ('user2','course1','NotStarted')
    insert into user_score
    values ('user2','course2','complete')
    insert into user_score
    values ('user3','course1','complete')
    insert into user_score
    values ('user3','course2','InProgress')
    insert into user_score
    values ('user4','course2','complete')
    insert into user_score
    values ('user4','course1','NotStarted')

  • I can't get the file attachment in a web form to work

    I have a web form made in Business Catalyst that I'm having some problems with. I have added a file attachment option, but I can't get this to work properly.
    When a user chooses a file and sends the form, the message that is being sent includes the name of the file that was attached, but not the file itself! What am I doing wrong?
    This is the web form (in Norwegian, but you get the idea of where the file upload is) In this form, the file "produktark_plusstjenester.pdf" has been attached.
    The e-mail that is being sent now looks like this (I have removed the private information). But as you can see, it mentions the file produktark_plusstjenester.pdf (94,45 kb), but it is not attached in the e-mail itself.
    Hope someone can clarify this for me

    File on web forms is attached to the case. Go to the case in the admin and you can retrieve the file.

  • Can't get the aspect ratio right!

    Hi,
    I've shot HD footage using my Canon HF200 camcorder in MXP mode which is 1920x1080 24 Mbps.
    I'm trying to generate video for web and followed the instructions/settings in this thread:
    http://forums.adobe.com/thread/623549?tstart=0
    However, the footage comes out stretched vertically -- if I was bald, I'd look like a cone-head - slight exeggeration but you get the idea :-)
    I'm confused about that. 1920x1080 is a 16:9 ratio. So is 1280x720. Why is my footage getting distorted?
    Thanks
    Sam

    I'd like to revive this thread as I'm still struggling to find the right output setting for my videos. To recap:
    My camera is a Canon Vixia HF200. I'm shooting HD videos at the highest setting to keep the quality high i.e. MXP which is 24Mbps at 1920 x 1080.
    My frame rate is currently set to PF30. Looks like camera's default setting is 60i.
    I'm trying to produce crystal clear videos for the web that will play at sizes at 768x576.
    Currently, my problem is being able to find the correct setting
    In PrE 8, I start with AVCHD Full HD 1920 x 1080 30  5.1 channel setting for the project -- see screen shot above.
    My current issues are these:
    1. Takes too long to output videos in a format that's acceptable by my video provider i.e. QuickTime, MPEG, etc. With no editing whatsoever, my 14 min video takes 1hr 50 min to render as QuickTime at 1280 x 780, 100% quality.
    2. The final output file is too large. I realize that I'll always end up with large files because I'm shooting HD and want best quality videos. However, I feel that I can get the file size to be much smaller than it currently is.
    When I followed the QuickTime settings suggested at this thread http://forums.adobe.com/thread/623549?tstart=0 by John Cloudman, my audio went out of sync.
    I experimented with MPEG setting in PrE 8 which seems to give me the quickest results but a larger file size. So, I'm trying to find the best output setting for my videos.
    I'd appreciate your advice on this. Thanks.
    Sam

  • Select all no longer working getting the character å

    Good day guys.
    I think I may have hit a key combo that changed somethign on my comptuter.
    I am getting funny character when using the command key
    Example
    Select all shoulod be command + A  what i get is å
    Copy command +v i get ç
    Past command + v i get √
    and so on you get the idea.
    I have tried rebooting a few times it did not clear it up.
    Any one know why keycombo i might of hit...
    thanks

    Hmmm... Option+a, c or v should produce those characters... å, ç or √...
    Either try System Preferences / Keyboard / Keyboard Shortcuts / Restore Defaults...
    Or Keyboard / Modifier Keys... / Assign the Command Key to the Command drop-down...

  • Getting the Month value and Name from the Ranges of the Date given input.

    Hi Techies,
    I am developing Monthly wise report in FICO. My Inputs are Company Code, Fiscal Year and Date Range. From the Date Range I have to get the month and Generate the Report.
    For Ex:
    BUKRS : 1000
    GJAHR : 2009
    FKDAT : 01.04.2008 to 01.04.2009
    From the Above Date range how can I get the individual month names or periods. As per my Knowledge I can get the month value when the date is parameter but here the date is ranges.  Is any code available for this ?
    Thanks in Advance
    Regards,
    Muralikrishna Peravali.
    Edited by: muralipsharma on Aug 31, 2010 10:30 AM
    Edited by: muralipsharma on Aug 31, 2010 12:57 PM

    DATA: lv_dat          TYPE dats,
          lv_day          TYPE c LENGTH 2,
          lv_month        TYPE c LENGTH 2,
          lv_year         TYPE c LENGTH 4.
    DATA: lv_poper        TYPE t009b-poper.
    DATA: lt_poper        TYPE TABLE OF t009b-poper.
    SELECT-OPTIONS: so_dat        FOR sy-datum.
    break fis-kemmer.
    lv_dat = so_dat-low.
    DO.
      CLEAR: lv_poper.
      CALL FUNCTION 'FI_PERIOD_DETERMINE'
        EXPORTING
          i_budat        = lv_dat
        IMPORTING
          e_poper        = lv_poper
        EXCEPTIONS
          fiscal_year    = 1
          period         = 2
          period_version = 3
          posting_period = 4
          special_period = 5
          version        = 6
          posting_date   = 7
          OTHERS         = 8.
      APPEND lv_poper TO lt_poper.
      lv_day    = lv_dat+6(2).
      lv_month  = lv_dat+4(2).
      lv_year   = lv_dat(4).
      lv_month = lv_month + 1.
      IF lv_month LE 9.
        CONCATENATE '0' lv_month INTO lv_month.
      ENDIF.
      CONCATENATE lv_year lv_month lv_day INTO lv_dat.
      IF lv_dat GT so_dat-high.
        EXIT.
      ENDIF.
    ENDDO.
    after that you have a list of all the FI periods in internal table LT_POPER.
    get the idea?

  • Satellite Pro 4290: How to solve the IDE #1 error issue

    I have recently aquired a DVD-ROM drive to upgrade my Sat Pro 4290 optical drive from a CD-ROM to DVD-ROM. As suspected I am having the problem that the drive is not recognised and get the IDE #1 error.
    I can get windows XP to recognise the drive by deleting the Secondary IDE Channel in the Hardware and then searching for new new hardware. It then installs the IDE Channel and then finds and installs the DVD-ROM and works fine. I reboot the laptop and back to square one!
    I understand it is something to do with the settings on the motherboard and somebody has resolved this by soldering pins to different places on theh IDE connectors.
    I do not want to risk this and was wondering if anybody found an easier way of doing this?
    Many Thanks

    Hi
    > I understand it is something to do with the settings on the motherboard and somebody has resolved this by soldering pins to different places on the IDE connectors.
    Thats not 100% true. This is not a setting issue on the motherboard but the setting of the CD/DVD drive.
    The drive supports different master\slave\c-sel settings and if they are not compatible the BIOS will not recognize the drive correctly.
    On the external drives (for desktop PC) its possible to change such settings by switching the jumper but this is not possible to the slim notebooks drives.
    The notebook drives settings are stored in the firmware!!
    I found different not legal tools which can change the master/slave/c-sel settings but I would not recommend using it.
    The risks are too high that the drive will be damage.
    So try to replace the drive with a compatible one

  • Problem with iTunes. I have Windows 8 on a new laptop. Installed latest version of iTunes. Can play music in My Library but when I click on Itunes Store I get the message "iTunes has stopped working. A problem caused the program to stop working correctly.

    I have a new laptop with Windows 8 as operating system. Installed latest version of iTunes ontop computer. I can play music in My Library but when I click on iTunes, I get the message " iTunes has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify if a solution is available."
    Anyone know what is the cause and if there is a resolution? Have tried to re-installing iTunes and have also tried restoring laptop to an earlier date.

    iPad not appearing in iTunes
    http://www.apple.com/support/ipad/assistant/itunes/
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/TS1591
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    iTunes for Windows: Device Sync Tests
    http://support.apple.com/kb/HT4235
    IOS: Syncing with iTunes
    http://support.apple.com/kb/HT1386
    Apple - Support - iPad - Syncing
    http://www.apple.com/support/ipad/syncing/
    iTunes 10.5 and later: Troubleshooting iTunes Wi-Fi Syncing
    http://support.apple.com/kb/ts4062
    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    iTunes Store: Associating a device or computer to your Apple ID
    http://support.apple.com/kb/ht4627
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
    Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

Maybe you are looking for