Default set row + URL Utils?

This should be a simple one (I hope):
I'm trying to combine two different lines of code:
ds1.addObserver({ onDataChanged: function(ds, type) {
ds1.setCurrentRowNumber(0); } });
var params = Spry.Utils.getLocationParamsAsObject();
ds1.addObserver({ onPostLoad: function(ds, type) {
ds1.setCurrentRow(params.row); }
Naturally, I create a sort of "conflict"... Even though the
URL is asking for a specific row, the first line of code makes sure
the current row is 0. What I'm really trying to do (which is not as
stupid as it seems) is making sure a row is always set, even though
URLUtils are on. For instance:
example.com/gallery.html?row=0 (sets the row to 0, via
URLUtils);
example.com/gallery.html (doesn't set a row!)
Unfortunately, due to Google indexing and all, the latter
will be common, so I'm trying to make sure my visitors don't get an
empty page when they click on the link...
Thanks in advance.
Best regards,
Tomas

Hi Don,
The sample is excellent, and I used it to create the
"gallery.html" page, so every link inside the site is followed by
the "?row=X" (X being the row/art the user wants to see). But
outside users might be directed to the root "gallery.html" without
any row information, and they'll end up with a blank page...
What I want to do is: using URLUtils.js, like the sample
shows, is there a way to set a default row ONLY for users that
don't provide the "?row=X" information?
Thanks again,
Tomas

Similar Messages

  • Data Shell + Accordian + URL Utils ?

    Ok,
    I've got an accordion that's fed by multiple data sets. I've
    also got a detail region being fed by a data shell. How do I set up
    URL Utils to work in this scenario?
    Here's my code: URL is
    http://seemore.webfactional.com/products/index_xml_shell3.php
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=UTF-8" />
    <title>See More | Golf Putters</title>
    <link href="../stylesheet.css" rel="stylesheet"
    type="text/css" />
    <link href="../SpryAssets/SpryAccordion.css"
    rel="stylesheet" type="text/css" />
    <script src="../SpryAssets/xpath.js"
    type="text/javascript"></script>
    <script src="../SpryAssets/SpryData.js"
    type="text/javascript"></script>
    <script src="../SpryAssets/SpryAccordion.js"
    type="text/javascript"></script>
    <script src="../SpryAssets/SpryDataSetShell.js"
    type="text/javascript"></script>
    <script src="../SpryAssets/SpryNestedXMLDataSet.js"
    type="text/javascript"></script>
    <script type="text/javascript">
    var FGP = new Spry.Data.XMLDataSet("products_fgp.xml",
    "fgp/object");
    var mseries = new
    Spry.Data.XMLDataSet("products_mseries.xml", "mseries/object");
    var sb = new Spry.Data.XMLDataSet("products_sb.xml",
    "sb/object");
    var origfgp = new
    Spry.Data.XMLDataSet("products_origfgp.xml", "origfgp/object");
    var dsShell = new Spry.Data.DataSetShell(FGP);
    //Get the URL parameter for the row number
    var params = Spry.Utils.getLocationParamsAsObject();
    //Set an observer so that when the data is loaded, we update
    the current row to the url param value
    FGP.addObserver({ onPostLoad: function(ds, type) {
    FGP.setCurrentRow(params.row); }
    </script>
    </head>
    <body>
    <div class="main_wrapper">
    <!--Begin Header and Nav-->
    <!--End Header and Nav-->
    <!--Begin Main Content-->
    <!--Begin Right Column-->
    <div class="acc_right_col">
    <div id="example1Region" >
    <div id="Acc1" class="Accordion" tabindex="0" >
    <div class="AccordionPanel">
    <div class="AccordionPanelTab">FGP</div>
    <div class="AccordionPanelContent" spry:region="FGP
    sb"><ul>
    <li spry:repeat="FGP" spry:setrownumber="FGP"
    onclick="dsShell.setInternalDataSet(FGP, true);"
    spry:hover="product_hover"
    spry:select="product_hover">{product}</li>
    </ul></div>
    </div>
    <div class="AccordionPanel">
    <div class="AccordionPanelTab"
    spry:setrownumber="sb">SB Putters</div>
    <div class="AccordionPanelContent"
    spry:region="sb"><ul>
    <li spry:repeat="sb" spry:setrownumber="sb"
    onclick="dsShell.setInternalDataSet(sb, true);"
    spry:hover="product_hover">{product}</li>
    </ul></div>
    </div>
    <div class="AccordionPanel">
    <div class="AccordionPanelTab"
    spry:setrownumber="mseries">mSeries</div>
    <div class="AccordionPanelContent" spry:region="mseries
    sb"><ul>
    <li spry:repeat="mseries" spry:setrownumber="mseries"
    onclick="dsShell.setInternalDataSet(mseries, true);"
    spry:hover="product_hover">{product}</li>
    </ul></div>
    </div>
    <div class="AccordionPanel">
    <div class="AccordionPanelTab"
    spry:setrownumber="origfgp">Original FGP</div>
    <div class="AccordionPanelContent"
    spry:region="origfgp"><ul>
    <li spry:repeat="origfgp" spry:setrownumber="origfgp"
    onclick="dsShell.setInternalDataSet(origfgp, true);"
    spry:hover="product_hover">{product}</li>
    </ul></div>
    </div>
    </div>
    <script type="text/javascript">
    <!--
    var Accordion1 = new Spry.Widget.Accordion("Acc1");
    //-->
    </script>
    </div>
    <!--End Right Column--></div>
    <div class="left_column" spry:detailregion="dsShell FGP
    mseries origfgp sb">
    <img src="../images/products/{path}/{filename}.jpg"
    width="607px" height="467px" />
    <p class="txtMedium">{product}</p>
    <p><span class="style2">{desc}</p>
    </div>
    <?php include('../footer.php'); ?>
    <!--End Main Wrapper-->
    </div>
    </body>
    </html>

    Yeah we are almost there.
    Your url was wrong it should be : http://seemore.webfactional.com/products/index_url2.php?panel=1&dataset=mseries&row=2
    No & in the beginning and you had a typo in your dataset name.. so we need to do some fixing on that.
    better if statement that checks if the dataset actually exists, so we generate less errors
    if(params){
    if(params.dataset && window[params.dataset]){
    dsShell.setInternalDataSet(window[params.dataset]);
    if(params.row){
    dsShell.addObserver({ onPostLoad: function(ds, type) {
    dsShell.setCurrentRow(params.row); }
    That should fix some issues.
    and for your accordion:
    var Acc1 = new Spry.Widget.Accordion("Acc1", {defaultPanel: params.panel ? params.panel: 0}); );
    as you see you have an extra ); there.
    Delete it and it should work.

  • Disk Utility Erase - Default Setting?

    Hi everyone, what is the default setting when erasing the HD from Disk Utility? Is it 'Don't Erase Data' option? I didn't check the Security Options before erasing but after it did erase the first time, I went back and used the 7 pass option. Is it safe to assume that all my data is erased from the HD now after taking these steps?
    Thanks
    JF

    Unless you're a Russian/Chinese/No. Korean spy or go out with Bin Ladin's descendants, you're golden already. And if you do form part of the beforementioned groups, the NSA/CIA/ETC. have tools that can overcome anything you can do with DU.
    So don't worry about it.

  • Tagging in MMS and set the default search center url through power shell

    Hi,
     Would like to know below things are psosiblke through Power Shell.
    Check the checkbox from the term store management tool [ for Managed Metadata Serv.]'s navigation section and for the tagging feature.
    2) In the search setting section of site collection administration, i  need to enter the  default search center  url, [ i have created search center sub site in al of my site collections.] my site collectons in the farm is  more
    than 50. so i  cant enter the url of search center url [/sites/site1/sc/pages/results.aspx ] manually.

    can someone pls help...

  • Set row - permanent link possible?

    Hello,
    I need to find I way to link to a page with a spry data set displaying a specific content, I need this link to be permanent.
    This is the page URL:
    http://www.stefanoreboli.com/index.html
    I can call this URL displaying a specific Content A using set row (SpryURLUtils.js):
    http://www.stefanoreboli.com/index.html?row=2
    The problem is that I'm adding and deleting datas so that Content A tomorrow will be no more at row=2.
    Can I link to this content in a permanent way with set row or another method, ex. passing other XML parameters?
    Thanks
    This is the XML node:
    <item>
    <type>photo</type>
    <code>1002_in_kus</code>
    <projectcode>kumbh</projectcode>
    <cathegory>feature</cathegory>
    <year>2010</year>
    <link><![CDATA[naga sadhus <em>kumbh mela</em>]]></link>
    <title><![CDATA[<h1><strong>naga sadhus</strong> kumbh mela 2010 haridwar</h1>]]></title>
    <project><![CDATA[kumbh mela]]></project>
    <text><![CDATA[]]></text>
    <display><![CDATA[
    <embed src="works/photography/main.swf" FlashVars="xmlPath=works/photography/nagasadhus/settings.xml" width="540" height="540" type="application/x-shockwave-flash" bgcolor="#FFFFFF" allowscriptaccess="always">
    ]]></display>
    <thumbnail><![CDATA[<img src="works/photography/nagasadhus/thumb.jpg">]]></thumbnail>
    <info><![CDATA[]]></info>
    <client><![CDATA[]]></client>
    <background><![CDATA[]]></background>
    </item>

    What about using an onclick event that changes the Xpath as follwos
    /* select xpath when link is clicked */
    function newXPath(thepath){
        stefanoreboli.setXPath(thepath);
        stefanoreboli.loadData();
    the onlcick event calls newXPath(/items/item[type = 'photo' and code= '1002']) or similar. This will immediately change the data for the detail area without refreshing the page or having URL variables.
    I hope this helps.
    Ben

  • Setting row color in REUSE_ALV_GRID_DISPLAY_LVC

    Hi,
    I'm not sure if this function perhaps is not released or has bugs?  I didn't see any OSS notes.  I've read several sources on how to set the color for a given line and I'm not sure why I don't see it.  I see the values in my internal table in the ROWCOLOR column.
    We are on 4.6C and I wanted to use the LVC function to move toward the ECC versions of the structures ( LVCS_LAYO instead of SLIS_S_LAYOUT).  Perhaps this function module is not really supported???
    Could the ZEBRA parameter throw it off?
    Could it be a buffer issue?  I've tried it alternate ways and don't see a difference.
    Thanks for any suggestions,
    Ray
    Here is the code I'm using to set the layout and define the table.:
    gs_alv-callback_pf_status    = 'PF_STATUS_SET'.
      gs_alv-callback_user_command = 'USER_COMMAND'.
      gs_alv-callback_program      = sy-repid.
      gs_alv-structure_name        = 'ZHUS_ST_SP_REPORT'.
      gs_alv-itabname              = 'GT_DATA'.
      gs_alv-itabwaname            = 'GS_DATA'.
      gs_layo-zebra                = 'X'.
      gs_layo-cwidth_opt           = 'X'.
      gs_layo-box_fname            = 'SELECTED'.  " Checkbox
      gs_layo-info_fname           = 'ROWCOLOR'.
      gs_layo-sel_mode             = 'B'. "Default - multiple rows
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name             = gs_alv-structure_name
        CHANGING
          ct_fieldcat                  = gt_fcat.
    I set the color in my list table:
    ls_data-rowcolor = 'C600'.
          APPEND ls_data TO gt_data.
    This is how I call the grid:
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
        EXPORTING
          i_buffer_active                   = 'X'
          i_callback_program                = gs_alv-callback_program
          i_callback_pf_status_set          = gs_alv-callback_pf_status
          i_callback_user_command           = gs_alv-callback_user_command
          i_structure_name                  = gs_alv-structure_name
          i_grid_title                      = gs_alv-grid_title
          i_grid_settings                   = gs_glay
          is_layout_lvc                     = gs_layo
          it_fieldcat_lvc                   = gt_fcat
          it_excluding                      = gt_excluding
          i_default                         = gs_alv-default
          i_save                            = gs_alv-save
          is_variant                        = gs_disvariant
          it_events                         = gt_event
          it_event_exit                     = gt_event_exit
          is_print_lvc                      = gs_prnt
        TABLES
          t_outtab                          = <gfs_t>
    Edited by: Raymond Mannion on Jun 30, 2009 8:09 PM
    Edited by: Raymond Mannion on Jun 30, 2009 8:10 PM

    THis should help you:
    Re: 'Reuse_alv_grid_display' : making a specific row bold
    [ALV] Text in color and bold

  • Set row as header using applescript

    I am new to AppleScript and I am writing my first script to crunch some data in numbers. I am trying to figure out how to set row one as the header row in sheet 1 using the script. Can anyone help?

    Here is a script a bit more powerful that what you asked for but it's of more general use.
    --{code}
    --[SCRIPT set_count_of_Xers]
    Enregistrer le script en tant que Script : set_count_of_Xers.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    Aller au menu Scripts , choisir Numbers puis choisir “set_count_of_Xers”
    En fonction des paramètres passés, le script fixera le nombre de Rangs d’en-tête, Colonnes d’en-tête ou Rangs de bas de tableau dans le tableau table_name de la feuille sheet_name du document doc_name.
    --=====
    L’aide du Finder explique:
    L’Utilitaire AppleScript permet d’activer le Menu des scripts :
    Ouvrez l’Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case “Afficher le menu des scripts dans la barre de menus”.
    Sous 10.6.x,
    aller dans le panneau “Général” du dialogue Préférences de l’Éditeur Applescript
    puis cocher la case “Afficher le menu des scripts dans la barre des menus”.
    --=====
    Save the script as a Script: set_count_of_Xers.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Go to the Scripts Menu, choose Numbers, then choose “set_count_of_Xers”
    According to the defined parameters, the script will set the count of HEADer ROWs, HEADer COLUMNs or FOOTer ROWS in the table table_name of the sheet sheet_name in the document doc_name.
    --=====
    The Finder’s Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the “Show Script Menu in menu bar” checkbox.
    Under 10.6.x,
    go to the General panel of AppleScript Editor’s Preferences dialog box
    and check the “Show Script menu in menu bar” option.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2011/09/21
    --=====
    property forTests : false
    true may be useful for tests. It triggers the handler select_SubMenu which list the UI elements.
    false is the setting to apply when the script is finished because it runs faster.
    --=====
    on run
              my activateGUIscripting()
    This script is a general one allowing to treat the defined table
              set doc_name to 1
              set sheet_name to "Feuille 2"
              set table_name to "Tableau 1"
              set which_item to 10
              set nb_Xers to 1
              my setNbXers(doc_name, sheet_name, table_name, which_item, nb_Xers) (* to set 1 HEADer ROW *)
    end run
    --=====
    which = 10 --> set count of HEADer ROWs
              my setNbXers(1, "Feuille 2", "Tableau 1", 10, 1) (* to set 1 HEADer ROW *)
    which = 11 --> set count of HEADer COLUMNs
              my setNbXers("my doc.numbers", "Sheet 5", "Table aux", 11, 4) (* to set 4 HEADer COLUMNs *)
    which = 14 --> set count of FOOTer ROWs
              my setNbXers("ASCII.numbers", "Sheet of paper", "TableTop", 14, 3) (* to set 3 FOOTer ROWs *)
    on setNbXers(docName, sheetName, tableName, whichItem, nbXers)
              my selectTable(docName, sheetName, tableName)
              if forTests then
                        my select_SubMenu("Numbers", 6, whichItem, nbXers + 1)
              else
                        my selectSubMenu("Numbers", 6, whichItem, nbXers + 1)
              end if
    end setNbXers
    --=====
    set { dName, sName, tName,  rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    on get_SelParams()
              local d_name, s_name, t_name, row_num1, col_num1, row_num2, col_num2
              tell application "Numbers" to tell document 1
                        set d_name to its name
                        set s_name to ""
                        repeat with i from 1 to the count of sheets
                                  tell sheet i to set maybe to the count of (tables whose selection range is not missing value)
                                  if maybe is not 0 then
                                            set s_name to name of sheet i
                                            exit repeat
                                  end if -- maybe is not 0
                        end repeat
                        if s_name is "" then
                                  if my parleAnglais() then
                                            error "No sheet has a selected table embedding at least one selected cell !"
                                  else
                                            error "Aucune feuille ne contient une table ayant au moins une cellule sélectionnée !"
                                  end if
                        end if
                        tell sheet s_name to tell (first table where selection range is not missing value)
                                  tell selection range
                                            set {top_left, bottom_right} to {name of first cell, name of last cell}
                                  end tell
                                  set t_name to its name
                                  tell cell top_left to set {row_num1, col_num1} to {address of its row, address of its column}
                                  if top_left is bottom_right then
                                            set {row_num2, col_num2} to {row_num1, col_num1}
                                  else
                                            tell cell bottom_right to set {row_num2, col_num2} to {address of its row, address of its column}
                                  end if
                        end tell -- sheet…
                        return {d_name, s_name, t_name, row_num1, col_num1, row_num2, col_num2}
              end tell -- Numbers
    end get_SelParams
    --=====
    on parleAnglais()
              local z
              try
                        tell application "Numbers" to set z to localized string "Cancel"
              on error
                        set z to "Cancel"
              end try
              return (z is not "Annuler")
    end parleAnglais
    --=====
    on decoupe(t, d)
              local oTIDs, l
              set oTIDs to AppleScript's text item delimiters
              set AppleScript's text item delimiters to d
              set l to text items of t
              set AppleScript's text item delimiters to oTIDs
              return l
    end decoupe
    --=====
    on activateGUIscripting()
      (* to be sure than GUI scripting will be active *)
              tell application "System Events"
                        if not (UI elements enabled) then set (UI elements enabled) to true
              end tell
    end activateGUIscripting
    --=====
    ==== Uses GUIscripting ====
    on selectTable(theDoc, theSheet, theTable)
              local maybe, targetSheetRow, rowIndex, r
              try
                        tell application "Numbers"
      activate
                                  set theDoc to name of document theDoc (* useful if the passed value is a number. Checks also that we passed the name of an open doc *)
                        end tell -- Numbers
              on error
                        if my parleAnglais() then
                                  error "The spreadsheet “" & theDoc & "” is not open !"
                        else
                                  error "Le tableur « " & theDoc & " » n’est pas ouvert ! "
                        end if -- my parleAnglais
              end try
              try
                        tell application "Numbers" to tell document theDoc
                                  set theSheet to name of sheet theSheet (* useful if the passed value is a number and check the availability of theSheet if it’s a string *)
                        end tell -- Numbers
              on error
                        if my parleAnglais() then
                                  error "The sheet “" & theSheet & "” is unavailable in the spreadsheet “" & theDoc & "” !"
                        else
                                  error "La feuille « " & theSheet & " » n’existe pas dans le tableur « " & theDoc & " » ! "
                        end if -- my parleAnglais
              end try
              try
                        tell application "Numbers" to tell document theDoc to tell sheet theSheet
                                  set theTable to name of table theTable (* useful if the passed value is a number and check the availability of theSheet if it’s a string *)
                        end tell -- Numbers
              on error
                        if my parleAnglais() then
                                  error "The table “" & theTable & "” is unavailable in the sheet “" & theSheet & "”  of the spreadsheet “" & d & "” !"
                        else
                                  error "La table « " & theTable & " » n’existe pas dans la feuille « " & theSheet & " »  du tableur « " & d & " » ! "
                        end if -- my parleAnglais
              end try
              set maybe to 5 > (system attribute "sys2")
              tell application "System Events" to tell application process "Numbers"
                        tell outline 1 of scroll area 1 of splitter group 1 of splitter group 1 of window theDoc
                                  if maybe then (* macOS X 10.4.x
    '(value of attributes contains 0)': '(value of attribute "AXDisclosureLevel" is 0)' sometimes works in Tiger, sometimes not.
    The only possible instances of 0 amongst the attributes are the disclosure level of a sheet row and the index of the first row, which represents a sheet anyway.
    Another possibility is '(value of attribute -1 is 0)', which makes me uneasy. *)
                                            set targetSheetRow to first row where ((value of attributes contains 0) and (value of first static text is theSheet))
                                  else (* macOS X 10.5.x or higher *)
                                            set targetSheetRow to first row where ((value of attribute "AXDisclosureLevel" is 0) and ((groups is {}) and (value of first static text is theSheet)) or (value of first group's first static text is theSheet))
                                  end if -- maybe
                                  tell targetSheetRow to set {value of attribute "AXSelected", value of attribute "AXDisclosing"} to {true, true}
      -- Get the sheet row's 0-based index + 2 for the following row's 1-based index.
                                  set r to (value of attribute "AXIndex" of targetSheetRow) + 2
                                  repeat until (value of first static text of row r is theTable)
                                            set r to r + 1
                                  end repeat
                                  set value of attribute "AXSelected" of row r to true
                        end tell -- outline 1 …
              end tell -- System Events
    end selectTable
    --=====
    my selectSubMenu("Pages",6, 4, 26)
    ==== Uses GUIscripting ====
    on selectSubMenu(theApp, mt, mi, ms)
              tell application theApp
      activate
                        tell application "System Events" to tell process theApp to tell menu bar 1 to ¬
                                  tell menu bar item mt to tell menu 1 to tell menu item mi to tell menu 1 to click menu item ms
              end tell -- application theApp
    end selectSubMenu
    --=====
    useful to get the indexs of the triggered item
    my select_SubMenu("Numbers", 6, 10, 1+1) (* Table > Header rows > 1 *)
    on select_SubMenu(theApp, mt, mi, ms)
              tell application theApp
      activate
                        tell application "System Events" to tell process theApp to tell menu bar 1
                                  get name of menu bar items
    01 - "Apple",
    02 - "Numbers",
    03 - "Fichier",
    04 - "Édition",
    05 - "Insertion",
    06 - "Tableau",
    07 - "Format",
    08 - "Disposition",
    09 - "Présentation",
    10 - "Fenêtre",
    11 - "Partage",
    12 - "Aide"}
                                  get name of menu bar item mt
      -- {"Tableau"}
                                  tell menu bar item mt to tell menu 1
                                            get name of menu items
    01 - "Insérer un rang d’en-tête au-dessus"
    02 - "Insérer un rang d’en-tête en dessous"
    03 - missing value
    04 - "Insérer une colonne d’en-tête avant"
    05 - "Insérer une colonne d’en-tête après"
    06 - missing value
    07 - "Supprimer le rang"
    08 - "Supprimer la colonne"
    09 - missing value
    10 - "Rangs d’en-tête"
    11 - "Colonnes d’en-tête"
    12 - "Bloquer les rangs d’en-tête"
    13 - "Bloquer les colonnes d’en-tête"
    14 - "Rangs de bas de tableau"
    15 - missing value
    16 - "Ajuster les rangs au contenu"
    17 - "Ajuster les colonnes au contenu"
    18 - missing value
    19 - "Afficher tous les rangs"
    20 - "Afficher toutes les colonnes"
    21 - "Activer toutes les catégories"
    22 - missing value
    23 - "Fusionner les cellules"
    24 - "Diviser en rangs"
    25 - "Diviser en colonnes"
    26 - missing value
    27 - "Répartir les rangs uniformément"
    28 - "Répartir les colonnes uniformément"
    29 - missing value

  • Time Capsule isn't responding/factory default setting?

    I bought a Time Capsule few months ago. Thefirst time it all worked succesfully, it was connected with a iMac i borrowedon a school. Now I plugged it in at home, trying to back-up my Macbook Pro. I got serious problems finding the Time Capsule anywhere and TC flashing amber. I’ve tried to connect the TC with my MBP with usb, but it still don’t show up. I’ve also tried to plug the ethernet cord, but still nothing happens.
    Now I’m thinking that I have to reset the TC to factory default setting, but will it then delete all my  files that I've  transferred to the TC? I would be so sad if these files was deleted, because it’s the only place where I got them. Is there another way to do this?
    Hope for some help!

    First to answer the last part.. a reset will not wipe the files. So take it easy. But what you did is dangerous.. the TC is not a NAS, it is a backup device. you should always keep the files in another location.
    TC is missing fundamental aspects of a NAS.. like a mirrored drive and accessible and replaceable HDD.
    Now you say you plugged it in.. how?
    You should plug the laptop straight into the TC with no other connection.
    If the laptop does not get an IP address from the TC you might need to reset the TC or reset the ethernet on the laptop to auto.
    What does I’ve tried to connect the TC with my MBP with usb mean because the USB cannot be used on the TC to connect to the laptop.
    When you open the airport utility it may not find the TC if it is in bridge.. if that is the case plug it into your normal router and then plug the MBP into the TC. You should use WAN port for the router connection and LAN port for laptop to be on the safe side. See what happens.

  • I cannot get the STOP button to appear in the Navigation Toolbar, even after going through the suggestions; it will appear when the Restore Default Set window is open, but disappears as soon as DONE is clicked

    The X for STOP loading the page does not appear in the Navigation Toolbar. If I do the right click, select Customize, Restore Default Set, it appears; click Done and it disappears. I have disabled the theme; disabled all extensions; reset the toolbar & controls; unchecked the acceleration. No luck.

    Starting in Firefox 4, the Go, Stop and Reload buttons are combined in one button at the right end of the URL or Address bar. The button changes depending on the activity:
    *green Go arrow when typing in the address bar
    *red Stop ("X") button while page is loading
    *gray Reload (circular arrow) when page is finished loading.
    Separate buttons are possible:
    #Open Customize Toolbar window by clicking Firefox button > Option > Toolbar Layout '''''OR''''' clicking View > Toolbars > Customize if using the Menu Bar '''OR''' right-click in an empty space on a toolbar and choose Customize
    #Stop and Reload buttons will show separated between the address bar and the search bar
    #drag the buttons anywhere on the Navigation toolbar
    #*order Reload-Stop will combine into one button
    #*order Stop-Reload will remain separate buttons
    #*or drag a "Separator" from the Customize window between Reload-Stop and they will remain separate
    #click Done at bottom right of Customize window to finish
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    You have multiple old versions of Java Console installed that Java did not clean up when updating. Your old versions are: 6.0.16, 6.0.22<br />
    Follow these instructions to remove the old versions: http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions

  • Setting row count to JTable RunTime

    I am creating JTable at RuTime. I want to set the default 1 row for the Table
    df = new DefaultTableModel();
    jTable1.setModel(df);
    //add Columns to Table
    for(int i=0; i<chars.size(); i++)
    TableColumn col = new TableColumn();
    col.setHeaderValue(.....);
    col.setPreferredWidth(...);
    jTable1.addColumn(col);
    jTable1.updateUI();
    df.setRowCount(1); //Problematic code . if remove this line everithing works fine
    The above code does't work properly(the last line) Nothing displays on the screen and it's seems to doing processing in loop ...
    Plese provide the solution I reqires this urgently............

    what does "Problematic code" mean? Why can't people just post the error messag/exception? do you think we are prophets?

  • How set up URL Connection Factory/Resource?

    Hi,
    How to set up URL connection Factory, Exactly like JDBC connection Pool i.e. specifying
    Max. No. of Connection, Intial capacity etc.
    I'm able to find this much only.
    <WebServer URLResource="weblogic.httpd.url.myURL=http://localhost:7701/blah"
    />
    But If i want to set Max. Capacity/ Intial capacity for URL Connection Factory,
    Where to specify it?
    Will you please help me?
    Regards,
    Devendra

    Hi,
    The Simplest Way to Load a Property file (Which is outside of your Application) ..is.
    Just Place the Property file in the Server Classpath...or in the "C:\bea103\user_projects\domains\7001_Domain\lib" folder of your Domain. It means somehow the Property file should be available in the Server Classpath...
    Now Please write the following code in your Application to read the Property file:
    java.util.Properties prop = new java.util.Properties();
    java.io.InputStream stream=this.getClass().getClassLoader().getResourceAsStream(“my.properties”);
    prop.load(stream);
    String hostProperty = p.getProperty(“host.name”);
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com/generalweblogic/   (WebLogic Wonders Are Here)

  • Default setting for partial invoice indicator

    Hello Experts,
    We are on SRM 5.0 SP12 and ERP 6.0 SP13. When a split accounting purchase order is created in SRM and transfers over into SAP, partial invoices are automatically posting with the distribution of "Distribute to following row". In ME23N under account assignment, there are three options for partial invoice postings:
    1) Derive from account assignment category
    2) Distribute to following row
    3) Distribute proportionally
    We would like to default the third selection, "Distribute proportionally". Does anyone know where this setting can be changed or how to do this?
    I tried going into SPRO-> IMG-> MM-> Purchasing-> Account Assignment-> Maintain Account Assignment and changing the Partial Invoice selection on the account assignment from '2 u2013 Apportion IR quantities to GR quantities proportionately' to '1 u2013 Apportion IR quantities to GR quantities one after another'.  When I created a new split accounting purchase order in SRM and viewed the PO in ME23N, the partial invoice indicator still had a distribution of '1 Distribute to Following Row'.  Does anyone have any ideas about how to set up a default for the partial invoice indicator when a purchase order is coming from SRM?
    Thanks,
    Brett

    SAP was able to provide assistance on the issue.  Here are the details:
    The SRM always sends to ECC the "Distribute to Following Row" selected,
    and sometimes configuration changes in tcode OME9 have not effect,
    possibly due to the Support Package.
    To specify the correct option "Distribute Proportionally", it is necessary to use the Badi BBP_PO_INBOUND_BADI...
    The partial invoice indicator is set to '1' by default in SRM, it is
    standard behaviour, you can check it in the LBBP_BD_DRIVER_46AF15
    program. The functionality that allow has the value ´2´ to partial
    invoice indicator is exclusive to MM - R3 system.
    You have two possible solution to create from EBP to backend some PO
    documents with multiple account assignment and partial invoice
    indicator = 2 (Distribute Proportionally):
    a) To use the Badi BBP_ECS_PO_OUT_BADI to create the PO this way.
    ls_ct_bapi_poitem-PART_INV = '2'
    Effectively, this solution change the setting in the backend
    to 'Distribute Proportionally'.
    b) Partial invoice indicator can either be set in OME9 in the Backend
    for the posted account assignment category (e.g. K - cost center)
    or default using Backend Badi:
    BBP_PO_INBOUND_BADI
    BBP_POITEM-PART_INV
    -> Part_INV is a field of BBP_POITEM. In the backend BADI, if you
    look at the field of BBP_POITEM, you will find PART_INV. You
    have to use the BADI to set this field.
    OME9 was the tcode in MM to specify the partial invoice settings for each account assignment.  According to SAP, sometimes this works with SRM (since the default setting sent to ECC from SRM is "Distribute to following row") and sometimes it doesn't.  We ended up changing the partial invoice flag upon creation of the purchase order through the BADI mentioned above since the configuration changes did not remedy the issue.  Now the partial invoices are posting proportionally which has resolved all of our split accounting posting issues.
    Thanks,
    Brett

  • Restore default setting in macbookair

    I have a new macbookair, with no important data on it. My friend allredy enter his username and password and doing all the fresh install setting. I am new to OSx at all, Is there a way to restore the mac to default setting?
    I want it to be like immidiate after the installation...

    Depends on how complete you want to reset the MBA.
    You can do minimal cleanup by restarting and holding the Command and R keys, then from the Utilities selections choose Install Mac OS X.  That will reinstall Mac OS X but keep the settings you now have.
    You can restore the MBA to the way it came from Apple by doing the above restart using Command and R, but from the Utilities choose Disk Utility.  Select the internal storage, and then choose Erase.  That will completely erase the internal storage.  Then Quit Disk Utility and select Install Mac OS X.  That will reinstall Mac OS X but the machine will be as it came from Apple and you will have to do the entire setup again.  Install users, install mail, and so on.

  • Default setting for Budget Report S_ALR_87013558

    Dear All,
    In Budget Report S_ALR_87013558, when it is executed every time when we enter, 2 number formats are displayed, one in Lakhs (Factor 1,00,000) and one in units (Factor 1). When I change it to Factor 1 through "Number format", then it comes as per selection.
    This is only in prod server, dev server is ok.
    How can I make it default to normal for all users on client level, i.e. to Factor 1.
    Thanks
    Shubham

    Execute the report, now change the number format as per your requirement, now after changing, Press Ctrl+S, this will save the setting to this report. so if you execute the report system will take the number format which you saved as default setting.

  • How to change Default setting AutoCommit to 0 in Procedure or in Connecting

    [tttest@host1 ~]$ ttisql "dsn=ana_tt1122"
    Copyright (c) 1996-2011, Oracle. All rights reserved.
    Type ? or "help" for help, type "exit" to quit ttIsql.
    connect "dsn=ana_tt1122";
    Warning 20000: Use of a deprecated feature: Authenticate (ignored)
    Connection successful: DSN=ana_tt1122;UID=tttest;DataStore=/timesten/TimesTen/tt1122/info/ana/ana;DatabaseCharacterSet=ZHS16GBK;ConnectionCharacterSet=ZHS16GBK;DRIVER=/timesten/TimesTen/tt1122/lib/libtten.so;OracleId=ABCD;PermSize=1200;TempSize=500;TypeMode=0;OracleNetServiceName=ABCD;
    (Default setting AutoCommit=1)
    The "Default setting AutoCommit=1",I can modify it only later using :
    Command> autocommit 0;
    But, I want to know: Can I set the "Default setting AutoCommit=0"? When I connect the DSN? or Can I set "Default setting AutoCommit=0" in a procedure ? Because sometime I maybe want to change it in procedure.
    Thanks very.

    As you have pointed out, in ttisql session you can use AUTOCOMMIT 0 to disable the autocommit feature.
    Similarly in ODBC-based applications, execute SQLSetConnectOption function with SQL_AUTOCOMMIT_OFF.
    For JDBC applications, Connection.setAutoCommit(false) method to disable autocommit feature .

Maybe you are looking for

  • Preview and Acrobat Reader not opening pdf documents

    I downloaded and installed Adobe Acrobat Reader on my new iMac and since then old, new and every other pdf document won't open with a message stating it was damaged etc. Previous good pdf won't open and I fear it is down to installing Acrobat reader.

  • CD burn - problem (n.b: Q from novice)

    My Playlist shows 23 songs, 56.1 mins, 52.6 MB and yet when I hit 'burn disc' I get 'will not fit on 1 audio CD' even though I have a Verbatim 700 MB/80 min CD in the drive?

  • Maown - file system monitor for shared group directories

    Maown Info Page I needed a way to manage ownership and permissions of files in a shared directory. ACLs and "chmod g+s" alone were not enough so I wrote maown. Maown is a file system monitor written in C. It uses inotify to recursively watch a direct

  • ITunes won't Accept!!!

    for some strange reason iTunes won't accept file's whose format suffix is: .rmj, is there a decrypter for this format of file available for download??

  • Ad Hoc Distributed Queries

    Hello Experts I was trying to enable my 'ad hoc distributed queries' using sp_configure 'show advanced options', 1; RECONFIGURE; sp_configure 'Ad Hoc Distributed Queries', 1; RECONFIGURE; GO but I am getting the following error please advise, thank y