Get generated rows by Spry with jQuery

i have a spry region like this
<table class="widget-elenco">
<tr spry:repeat="pv" spry:even="even" spry:odd="odd">
   <td>{soggetto_id}</td>
   <td>{codice_fiscale}</td>
   <td>{partita_iva}</td>
</tr>
</table>
the problem: i cant' get the generated rows by spry:repeat with jquery
i try with an observer, something like this
var myObserver = function(nType, notifier, data){
  if (nType == 'onPostLoad') {
    $(function(){
      $('table.widget-elenco tr').each(function() {
        doSomething()
ds.addObserver(myObserver);
but this not woks :-/
i can to change "onPostLoad" to "onPreLoad" or "onDataChanged"
without solutions :-/
any idea?
many thanks!
Rob

hi gramps :-)
thanks for your reply!
here:
http://qubica.in/manager/soggetti/index.cfm
simple: i would "remove" the anti-estetic "onmouseover/onmouser" function added on a single <tr> for replace with a jquery function:
$(function(){
    $('table.widget-elenco tbody tr').mouseover(function() {
        $(this).addClass('ui-state-highlight');
     }).mouseout(function() {
        $(this).removeClass('ui-state-highlight');
yes, this is not a so important problem... :-) but, in general, the *REAL* question is "how do i get generated rows... using jQuery selector?"
something lijke this:
$(function(){
$('ELEMENTS-IN-SPRY-REGION').each(function() {
    doSomethings();
thanks!
Rob

Similar Messages

  • How do I get Front Row to work with Lion?

    Hello fellow Mac users,
    How do I get Front Row to work with Lion? I have an iMac 27 inch computer and is the sole entertainment provider for my bedroom. I refuse to put a TV in my room and wanted to know how to get Front Row to work again on my mac? It seems that the upgrade to Lion erased the app.
    I have quite a few movies and series that I bought off iTunes and is a shame that I can't use a media center app like Front Row on Lion.

    I kind of have the opposite problem. I need to know how to turn off my remote on the computer. I am using the remote for my Apple TV and it keeps making the volume on my Computer go up and down (with annoying sounds).
    There used to be a way to un-sync the remote with the comp but I cannot remember how and the Apple help is not much help! I have Lion.
    Thanks!
    Best,
    Tony

  • Having trouble with jQuery toggle row to work right

    The results appear in a table and each row when clicked on shows detailed information.  I'm trying to use the jQuery toggle so it can open the detail information under the persons name.
    The jQuery code I have is this...
    <script>
    $(document).ready(function() {
         $("#title").click(function() {
         $("#detail").toggle();
    </script>
    Then my cfoutput table is this...
    <table>
    <thead>
    <tr><th>First Name</th></tr>
    </thead>
    <tbody>
    <cfoutput query="getRecords">
    <tr>
    <td id="title">#getRecords.firstN#</td>
    </tr>
    <tr>
    <td id="detail"><cfdiv bind="url:details.cfm?firstN=#firstN#" /></td>
    </tr>
    </cfoutput>
    </tbody>
    </table>
    Now what happens with that is all the detail records show up with the name and only the first row can toggle.  Everything else doesn't do anything.  Also is there a way to have the toggle show as closed first?  Thank you so much for any help with this.

    This is because you are referencing an ID with jQuery. An ID has to be unique, only one can exist, and after you create multiple cells with the same ID, jQuery just takes the first one.
    You will be better off using a class instead. So you can change you jQuery to look like this:
    $(document).ready(function() {
         $(".title").click(function() {
              $(this).parent().next().find('td').toggle();
    This will get the current clicked cells parent row, then go to the next row and look for the cell, then it will toggle.
    You then need to change your HTML to be something like this:
    <cfoutput query="getRecords">
        <tr>
            <td class="title">#getRecords.firstN#</td>
        </tr>
        <tr>
            <td class="detail"><cfdiv bind="url:details.cfm?firstN=#firstN#" /></td>
        </tr>
    </cfoutput>
    If you want to hide the detail cell first you can add some CSS to the detail class like so:
    .detail {
         display:none;
    Here is an example of it all - JSFiddle

  • Getting Chained Rows with SQL-Loader

    Hi, I'm getting chained rows when loading data into an empty table. I always thought this could only happen when updating rows in a table. I'm loading into a datawarehouse, so I set the pctfree and pctused to use as much of the data blocks as possible. Here's the specs:
    pctfree 5, pctused 90 (blocksize 8k).
    The average rowsize is 1481 bytes.
    There will never be updates or deletes on this table. The table is always created new or truncated. How come does Oracle chain about 30 percent of the rows with the above values? I had to go down to pctfree 50 in order to get chained rows = 0.
    tia,
    Danny Smith

    - check if your table has check constraints (like column not null)
    if you trust the data in the file you have to load you can disable this constrainst and after the loader enable this constrainst.
    - Check if you can modify the table and place it in nologging mode (generate less redo but ONLY is SOME Conditions)
    Hope it helps
    Rui Madaleno

  • I have multiple email accounts.  One is a google email and another aol.  I have the aol going into my google.  I Now Go Lead Generate! Am using outlook on my pc.  How can I get my outlook to share with my ipad?

    I have multiple email accounts.  One is a google email and another aol.  I have the aol going into my google.  I Now Go Lead Generate! Am using outlook on my pc.  How can I get my outlook to share with my ipad?

    In Mail Preferences/Accounts/each GMail account, set up the SMTP Outgoing Server for each account separately, going into SMTP name/edit/Advanced and specify the Username of each account.  The Outgoing servers must be two different servers, authenticated by the Username and Password of each.
    Otherwise, the GMail SMTP server will change the from address to that of the account where the SMTP server was setup.
    Ernie

  • Wrong query is getting generated in WHERE NOT EXISTS  with group by clause

    Query is getting generated wrongly in where not exists section when i use group by function.Please prvoide me any clue to over come the problem.
    /* DETECTION_STRATEGY = NOT_EXISTS */
    INSERT /*+ APPEND */ INTO STG_ETL.I$_DCMT_TIMEZONE_LOOKUP
         TZ_OFFSET,
         ADT_CRT_DT,
         ADT_UPDT_DT,
         IND_UPDATE
    SELECT * FROM (
    SELECT      
         to_number(KOFAX.RECEIVED_TZ)     TZ_OFFSET,
         min(sysdate)     ADT_CRT_DT,
         min(sysdate)     ADT_UPDT_DT,
         'I' IND_UPDATE
    FROM     ESTG.FLAT_FIL_DMS_KOFAX KOFAX
    WHERE     (1=1)
    And (KOFAX.LD_DT = ( select MAX(LD_DT) from ESTG.FLAT_FIL_DMS_KOFAX INNER
    where INNER.ENGAGEMENT=KOFAX.ENGAGEMENT
                   and INNER.KOFAX_FILE_NM = KOFAX.KOFAX_FILE_NM
                   AND INNER.IM_CUST_ID = KOFAX.IM_CUST_ID
              and INNER.BATCH_ID=KOFAX.BATCH_ID)
    AND
    (TO_DATE(KOFAX.LD_DT)>=TO_DATE(SUBSTR('#WAREHOUSE.P_EDW_LAST_RUN',1,10),'YYYY-MM-DD'))
    And (substr(KOFAX.RECEIVED_TZ,1,1) <> '+')
    Group By to_number(KOFAX.RECEIVED_TZ)
    ) S
    WHERE NOT EXISTS (
         SELECT     'X'
         FROM     EDW.DCMT_TIMEZONE_LOOKUP T
         WHERE     T.TZ_OFFSET     = S.TZ_OFFSET AND
         )

    Easiest fix for you would be to change the detection_strategy on the IKM from NOT_EXISTS to either :
    MINUS
    -- Try this out, it should work, it will give the same data through the equiverlant steps.
    NONE
    -- This will load all incoming data into your I$ table, there will be more rows to crunch in the following 'Flag Rows for Update' step, it might give incorrect results potentially - you will have to test it.
    So try MINUS first, failing that, see if NONE gives you what you want in your target.
    Are you inserting only new data or updating existing data?

  • No req is getting generated with VB

    Dear  PP gurus,
    I have a finished Production FG01  for which SF01 and SF02  are the assemblies required . In SF01  there is  a raw material RM01
    and in SF02  there is another raw material RM02.
    In the  MRP views of
    RM01 ,:  i have mentioned MRP type VB (consumption based planning)  , lot size (EX)  and  a reorder point  is defined 10 and a safety stock is 5 . At present there isno stock .
    when i run MRP  for FG01 ,
    there is no requirement  is getting generated for  RM01
    whereease if i change the MRP type  to PD  , THE SYSTEM  is giving the requirment
    i think i have missed some configuration setting for consumption based planning .
    could you please help me ?
    Thanks And regards

    Hi,
    The following method is adopted by the system to caluculate the Net Requirements while MRP run
    1) The system then calculates the net requirements. The system compares the available stock at plant level (including safety stock) plus the firmed receipts that have already been planned (purchase orders, production orders, firmed purchase requisitions and so on) with the reorder point. If the sum of the stock plus receipts is less than the reorder point, a
    material shortage exists.
    2) The system then calculates the procurement quantity according to the lot-sizing procedure defined in the material master.
    For reorder point planning, the system supports the Fixed lot size and Replenish up to maximum stock level lot-sizing procedures. You can also use period or optimum lot-sizing procedures for reorder point materials. In this case, you must calculate future requirements using the forecasting functions. The forecast values are then interpreted as requirements.
    3) The system then schedules the procurement proposal, that is, the system calculates the dates on which the purchase order has to be sent, or when production has to begin and the date on which the vendor has to deliver the goods or by which  roduction has to have the goods ready.
    Pavan

  • Use Spry Validation with jQuery Form to Form Wizard (v1.1)

    I am trying to use spry validation widgets with jQuery Form to Form Wizard script found here http://www.dynamicdrive.com/dynamicindex16/formwizard.htm
    This is a script that makes a long form into a multi part wizard/form with next and back buttons.
    for the most part it works with the spry widgets on blur and onsubmit, but to make it work properly the next buttons of the script should be disabled until the user corrects what has caused spry error messages.  The script creator has made onpagechangestart event handler to allow for this.  Description here http://www.dynamicdrive.com/dynamicindex16/formwizard_suppliment.htm. By returning false from this event handler, you disable the user's ability to go on to the next page until a value of true is returned.
    How can I script for Spry validation to return false if it has errors from this event handler?
    Thanks in advance for any help,

    did you check this example:
    http://labs.adobe.com/technologies/spry/samples/form_submission/Submit_and_Validate_Form.p hp.html

  • .css and .swf files are getting generated with Ibot email

    Hi Team,
    I have an Ibot which use to run on daily basis which contains graph and normal table views, .css and .swf files are getting generated and attached with Ibot email to the users. I'm facing this issue from last two days. Earlier there was no such attachments sent to the users.
    Could anybody let me know what might be the reason for that?

    any inputs?

  • To get selected rows from alv output which is prepared with funciton module

    Hi ,
    I have a program which is prepared ALV with funciton modules.
    Now i have to get selected rows(more than one).
    Can i use method CL_GUI_ALV_GRID -> get_selected_rows.
    or any other way to get selected rows.
    thanks,
    shyla

    Under the callback subroutine ( u have passed them in I_CALLBACK_USER_COMMAND of ur function module) - u do like this -
    DATA : ref1 TYPE REF TO cl_gui_alv_grid,
               t_selcted_rows type LVC_T_ROID.
    CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
    IMPORTING e_grid = ref1.
    call method ref1->get_selected_rows
    importing ET_ROW_NO = t_selected_rows.
    Hope this solves ur problem.

  • Unable to generate Pdf report for crystal 9/10  in Windows 2012 (Standard) server with Times New Roman font. With same font, report getting generated in excel, text, csv format in Windows 2012.

    For Times New Roman font in Windows server 2012 R2 (Standard), crystal 9/10 report in pdf format is not getting generated. When we change the font for specific report like Arial, Calibri , Cambria then pdf report getting created.
    In Windows 2008 R2, same application worked fine to generate pdf report for TimesNewRoman font and there is no change done in the application which is being used in Windows 2012 R2 server.

    Ok, thanks for the reply. You need to contact support or a forum for the Crystal software. Third party products don't usually include Adobe technology, they have their own software. When you contact them, you may want to expand "unable to generate" to give any specific symptoms including any error messages.

  • Problem with jquery slide show conflict with vertical navigation menu in Firefox & Chrome

    Problem with jquery slide show conflict with vertical navigation menu in Firefox & Chrome. Works in IE. This is my first time trying to post a question - so please be kind. I am also not good with code and am finding css a real challenge after learning to design based on tables. I'm using CS5.
    The "test" page with the slide show is: http://www.reardanwa.com/index-slides.html   The same page without the slide show is http://www.reardanwa.com/
    I realize the images are not ideally sized - I'll fix those once I get the pages to function.  Maybe I need a different slide show? I would prefer a widget that I can modify to required size & postition. Again - I'm not good at building with code from scratch.
    The problem is the naviagation links that are directly next to the slide show do not work in Firefox of Chrome. They do work in IE.
    I've read about using jQuery.noConflict(); code but can't figure out the correct way to use it in my case or whether that's even part of the solution. I know my code is not well organized as I have cobbled together from various sources in an attempt to format the page the way the client wants it. Also, FYI, I will eventually try to make the page work in Surreal CMS.
    I've spent sevaral days over the last several weeks trying to solve sth slide show/navigation conflict - so any specific light you can shed will be much appreciated.
    Thanks in advance.
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Reardan Area Chamber of Commerce</title>
    <meta name="description" content="home page for Reardan Area Chamber of Commerce" />
    <meta name="keywords" content="Reardan WA, chamber of commerce" </>
    <script src="scripts/jquery-1.6.min.js" type="text/javascript"></script>
    <script src="scripts/jquery.cycle.all.js" type="text/javascript">  </script>
    <script type="text/xml">
    </script>
    <style type="text/css">
                                  #slideshow { 
                                      padding: 10px;
                                            margin:0; 
                                  #slideshow-caption{
                                            padding:0;
                                            margin:0;
                                  #slideshow img, #slideshow div { 
                                      padding: 10px;
                                      background-color: #EEE;
                                      margin: 0;
    body {
              font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
              background: #004B8D;
              margin: 0;
              padding: 0;
              color: #000;
    /* ~~ Element/tag selectors ~~ */
    ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
              padding: 0;
              margin: 0;
    h1, h2, h3, h4, h5, h6, p {
              margin-top: 0;           /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
               /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
    .left
    position:absolute;
    left:0px;
    .center
    margin:auto;
    width:95%;
    .box
              position:relative;
              left:-90px;
              width:950px;
              height:350px;
              border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
              z-index:1000;
    .slide{
        position:absolute;
    a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
              border: none;
    /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
    a:link {
              color: #42413C;
              text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
    a:visited {
              color: #6E6C64;
              text-decoration: underline;
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
              text-decoration: none;
    /* ~~this fixed width container surrounds the other divs~~ */
    .container {
              width: 960px;
              min-height:900px;
              padding:5px 0px 0px 0px;
              background: #E8F8FF;
              margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
    /* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
    .header {
              background: #E8F8FF;
              padding:10px 5px 0px 5px;
    .sidebar1 {
              float: left;
              width: 225px;
              margin: 60px;
              color: #FFFF0D;
              background: #595FFF;
              border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
              padding: 5px 5px 0px 5px;
        border: 3px solid #F7F723;
        z-index:-1;
    .sidebar2 {
              float: left;
              width: 275px;
              color: #FFFF0D;
              text-align: left;
              background: #595FFF;
              padding-bottom: 10px;
              border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
        border: 3px solid #F7F723;
        z-index:2;
    .sidebar3 {
              float: left;
              width: 275px;
              color: #FFFF0D;
              text-align: left;
              background: #595FFF;
              padding-bottom: 10px;
              border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
        border: 3px solid #F7F723;
        z-index:3;
    .content {
              padding: 0px 0px 0px 0px;
              width: 780px;
              float: left;
              background: #E8F8FF;
    /* ~~ This grouped selector gives the lists in the .content area space ~~ */
    .content ul, .content ol {
              padding: 0px 15px 5px 10px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
    /* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
    ul.nav {
              list-style: none; /* this removes the list marker */
              border-top: 0px solid #FFFF66; /* this creates the top border for the links - all others are placed using a bottom border on the LI */
              margin-bottom: 50px; /* this creates the space between the navigation on the content below */
              font: Arial Black, Verdana, , Helvetica, sans-serif;
              font-size:1.3em;
              font-weight:bold;
              z-index:2;
    ul.nav li {
              border-bottom: 0px solid #FFFF66; /* this creates the button separation */
              font: 120%/1.4 Arial Black, Verdana, , Helvetica, sans-serif;
    ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
              padding: 3px 0px 5px 0px;
              display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
              width: 185px;  /*this width makes the entire button clickable for IE6. If you don't need to support IE6, it can be removed. Calculate the proper width by subtracting the padding on this link from the width of your sidebar container. */
              text-decoration: none;
              color: #FFFF0D;
              background: #595FFF;
    ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
              background: #595FFF;
              font: 120%/1.4 Arial Black, Verdana, , Helvetica, sans-serif;
              color: #FFFFFF;
    /* ~~ The footer ~~ */
    .footer {
              padding: 10px 0;
              background:  #595FFF;
              color: #FFFF0D;
              position: relative;/* this gives IE6 hasLayout to properly clear */
              clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
    /* ~~ miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
              float: right;
              margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
              float: left;
              margin-right: 8px;
    .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
              clear:both;
              height:0;
              font-size: 1px;
              line-height: 0px;
    -->
    </style>
    </head>
    <body>
    <div class="container">
      <div class="header"><!-- end .header -->
      <a href="#"><img src="images/Chamber-Logo-2.gif" alt="Reardan Chamber Logo" width="187" height="163" hspace="10" vspace="5" align="top" /></a><img src="images/Reardan-Chamber-Title.gif" width="476" height="204" alt="Reardan Area Chamber of Commerce, Dedicated to Preserving and Enhancing Area Businesses" /><p></p>
      <p style="color: #F00">This Site is under construction! Please pardon our dust as we create!</p>
      </div>
      <div class="sidebar1">
        <ul class="nav">
          <li><a href="about.html">About Us</a></li>
          <li><a href="history.html">Reardan History</a></li>
          <li><a href="activities.html">Activities</a></li>
          <li><a href="business.html">Business<br />
            Directory</a></li>
          <li><a href="about.html">Join the<br />
            Chamber</a></li>
           <li><a href="links.html">Links<br />
      <span style="font-size: 85%">Tourism</span><br />
          </a></li>
        </ul>
         <!-- end .sidebar1 --></div>
    <br />
    <br />
    <br />
    <br />
    <div class="box" +"slide">
      <script type="text/javascript">
    // BeginOAWidget_Instance_2559022: #slideshow
                               slideshowAddCaption=true;
    $(window).load(function() {
      $('#slideshow').cycle({
                        after:                              slideshowOnCycleAfter, //the function that is triggered after each transition
                        autostop:                              false,     // true to end slideshow after X transitions (where X == slide count)
                        fx:                                        'blindX',// name of transition effect
                        pause:                              false,     // true to enable pause on hover
                        randomizeEffects:          true,  // valid when multiple effects are used; true to make the effect sequence random
                        speed:                              100,  // speed of the transition (any valid fx speed value)
                        sync:                              true,     // true if in/out transitions should occur simultaneously
                        timeout:                    5000,  // milliseconds between slide transitions (0 to disable auto advance)
                        fit:                              true,
                        height:                       '300px',
                        width:         '525px'   // container width (if the 'fit' option is true, the slides will be set to this width as well)
    function slideshowOnCycleAfter() {
              if (slideshowAddCaption==true){
                                  $('#slideshow-caption').html(this.title);
    // EndOAWidget_Instance_2559022
      </script>
      <div id="slideshow">
        <!--All elements inside this will become slides-->
        <img src="images/100_1537.jpeg" width="600" height="450" title="caption for image1" /> <img src="images/Parade-2011-2.jpg" width="300" height="225" title="caption for image2" /> <img src="images/100_1495.jpeg" width="600" height="450" title="caption for image3" />
        <div title="sample title"> Images for slide show will need to be re-sized to fit box to avoid distortion</div>
        <img src="images/beach4.jpg" width="200" height="200" title="caption for image4" /> <img src="images/beach5.jpg" width="200" height="200" title="caption for image5" /> </div>
      <!--It is safe to delete this if captions are disabled-->
      <div id="slideshow-caption"></div></div>
    <div class="sidebar2" "anotherClass editable"><p align="center"><strong>Chamber News</strong><br />
    Local News item
    <br />
    Another New item</p>
      <p align="center">lots of news this week<br />
        <br />
        <br />
        <br />
      </p>
    </div>
    <div class="sidebar3" "anotherClass editable"><p align="center"><strong>Upcoming Events</strong></p>
      <div align="center">    <a href="activities.html" style="color: #FFFF0D">Community wide yard sales</a><br />
        <br />
        <br />
        <br />
        <br />
      </div>
    </div>
    <div class="content"><br />
    <br />
    </div>
    <div class="footer">
            <p align="center"><span style="font-size: small">Reardan Area Chamber of Commerce</span><br />
              <span style="font-size: x-small">[email protected]  - 509.796.2102</span><br />
            </p>
            <!-- end .footer -->
    </div></body>
    </html>

    If you DO want the slideshow overlaping the navigation try the below css:
    .sidebar1 {
        float: left;
        width: 225px;
        margin: 60px 0px 60px 60px;
        color: #FFFF0D;
        background: #595FFF;
        border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
        padding: 5px 5px 0px 5px;
        border: 3px solid #F7F723;
    .box {
    float: left;
    margin-left:-60px;
    width:700px;
    height:350px;
    border-radius: 13px;
    -moz-border-radius: 13px;
    -webkit-border-radius: 13px;

  • Unpivot task is generating rows for null inputs

    So I have a C# application (VS 2012 with .NET4.5) that builds SSIS (SQL2012) packages programatically.  the packages can be opened in the designer and they run fine.  However, there is one case that is giving me a problem.  I have an
    OleDb source connected to a table in SQL server.  I am using the unpivot task to convert columns in a sparse matrix to an Entity Attribute Value model.  So basically, the primary key value of the source table is a pass-through value in the unpivot
    task, each column is mapped to the destination column, and the attribute id is hard coded as the pivot key.  Like i said this works great EXCEPT i came across one column and a table that was null for all the rows in the table.  when I run the package,
    it fails with:
    OnError,SERVERNAME,DOMAIN\user,{94E83A3B-5386-4712-BEDC-11E35341675F},{94E83A3B-5386-4712-BEDC-11E35341675F},{3187347C-8D44-4D51-8FDB-B5C4159A58B0},9/14/2012 9:48:02 AM,9/14/2012 9:48:02 AM,-1071607780,0x,There was an error with OLE DB Destination.Inputs[OLE
    DB Destination Input].Columns[AttributeId] on OLE DB Destination.Inputs[OLE DB Destination Input]. The column status returned was: "The value violated the integrity constraints for the column."
    So I set up a data viewer on the data flow and found that the unpivot component was generating rows for every null value. not only that, but the values for the key column and the attribute id (which was hard coded) were also null for all the rows
    sent from the unpivot to the ole db destination.  I manually created a package with an unpivot for just the column in question and got the same result.  then I inserted a value for every row in the table and the same package runs fine.
    can someone offer any help or advice on what might be causing this?

    its just two columns of data that are concerned.  ten character numeric strings in the one and null in the other.  the pivot key is hard coded in the unpivot component configuration screen.  see the output of the data viewer below. How do
    I get Microsoft involved with this?
    2013399057 NULL
    2013399488 NULL
    2013399770 NULL
    2013402244 NULL
    2013402440 NULL
    2013404066 NULL
    2013404070 NULL
    2013404203 NULL
    2013404206 NULL
    2013404401 NULL
    2013404589 NULL
    2013404705 NULL
    2013404738 NULL
    2013404768 NULL
    2013404784 NULL
    2013404813 NULL

  • Using java to get table rows (jsp and html)?

    I was wondering if there is any way to count rows from a html-table?
    I want to know the number of rows created, just after it has been made. So that I can use this number 'for' creating my next table.
    Have got this to work by using javascript code:
              function test2()
                   if (!document.getElementsByTagName || !document.createTextNode) return;
              rows = document.getElementById('spesifikasjonsTabell').getElementsByTagName('tbody')[0].getElementsByTagName('tr');
              antallRader = rows.length;               
                   document.test.hoyde.value = antallRader;
                   return antallRader;
    , but this only generates on the clientside; which is not what I want.
    I got a webpage, that uses html and jsp. After the generation of a table - which has an unknown numbers of rows, because of several underlying tests - I'd like to retrive how many rows that was generated before I proceed with my next table.
    Is there a good workaround to this problem?
    P�l
    Message was edited by:
    paulOlsen

    Hey there, and thanks for fast response.
    Allready tried that code earlier. Works great on displaying the var 'row'-s inside, for instance, a <input type="text" or as a pup-up on a alert();
    The javascript works on the client-side, so I have no way of using that code for further testing in codes for my viewing; at least I can't think of any.
    The thing is that:
    1) I can't use an 'onClick', since the next table should be generated without any human interference.
    2) I used the same code to get the number of rows when I sat the table inside a form. But then, when calling the javascript function, I have no way to retrieve the linenumbers for use to test ON the next table.
    Since I'd have to use, say a field name <input type hidden="rows".., a method to call this very "rows" in jsp:
    <table>
    <!-- lots of rows -->
    </table>
    <%
    int numberOfRows = request.Parameter("rowcount") or what ever; here is where I need the 'number of rows'
    // let's just say int here though a String
    if(numberOfRows < 35)
    %>
    <table>
    <!-- Im including this table if the test above occurs -->
    </table>
    <%
    else
    %>
    <!-- if this occurs, then I'd like to do something else -->
    <%
    %>
    Any ideas?
    P�l
    Message was edited by:
    paulOlsen
    null

  • Get Front Row to play from HVDVD_TS folder

    How can I get Front Row to play content from a HVDVD_TS folder. It works great with standard VIDEO_TS folders (under Leopard/Snow Leopard) but it doesn't seem to recognise my DVD Studio Pro generated HVDVD_TS folder.
    Thx!
    Cojcolds

    I have the same problem with remote control device (infrared) and FrontRow as many other users, see links below.
    And yes, I have tried all the described "remedies", but the problem is still there.
    The problem is that after boot, FrontRow reacts to the remote ok (about 10-15 minutes), but then
    FrontRow stops responding to remote control commands. However, FrontRow can be controlled by keyboard
    commands all the time. If iMac is now booted, the problem is still there. The only way I have had FrontRow
    and remote work ok (for 10-15 mins) is shutting down iMac, waiting an hour or so, and then booting it. I'm just
    wondering is this hardware problem (related to e.g. temperature ?), problem with FrontRow itself, or problem with
    related daemons. Anyway, I hope that this is sw problem, and Apple could fix quite soon in next FrontRow or Mac OS X
    update. Otherwise, I'm 100% sure to replace my iMac because of this stupid little bug (that seemed to be the only
    working remedy).
    - Kari
    http://discussions.apple.com/thread.jspa?messageID=1264312&#1264312
    http://discussions.apple.com/thread.jspa?threadID=287078&tstart=15
    http://discussions.apple.com/thread.jspa?messageID=1438431&#1438431
    http://discussions.apple.com/thread.jspa?threadID=309333&tstart=15
    http://discussions.apple.com/thread.jspa?messageID=1439228&#1439228
    http://discussions.apple.com/thread.jspa?messageID=1003149&#1003149
    http://discussions.apple.com/thread.jspa?messageID=1004692&#1004692
    http://discussions.apple.com/thread.jspa?messageID=1317018&#1317018
    IMAC G5/2.1GHz, 20" iSight   Mac OS X (10.4.3)   512MB, 250GB

Maybe you are looking for

  • "itunes has stopped working" when closing itunes Windows Vista

    Since November 2007, when I close itunes, I get Windows Vista error "itunes has stopped working" This got worse when it corrupted the itunes library itl file. I deinstalled QT and itunes version 7.5, and went back to version 7.4.3.1 - but the problem

  • FBRA versus FB08

    Hi, I'm facing an issue related to the combinated use of transaction FB08 and FBRA. Actually I have to modify a custom program that is used for resetting and reversing payment document. The program asd been structured in a way in which it first uses

  • Urgent help in porting kvm with KNI and cygwin..

    I am using kvm with cldc 1.0.4 and midp 2.0. And for using KNI I need to recompile whole of the KVM again after including the native code. I am doing this right now at windows 2000 platform, I can rebuild KVM using make %KVM_ROOT%\build\win32\and get

  • Can i set site page as New/ Edit form of SharePoint list?

    Hello All, Can i set site page as New/ Edit form of SharePoint list. I know this can be done if i create Application page, but can i set site page as SharePoint list form. If yes, then how? Also in any case is it possible to set New/Edit form of alre

  • Capture One DB and Pro v3

    I'm considering the upgrade, but not confident about the compatiblity of the OS with Capture One. Does anyone have feedback as about the performance of the application on 10.6?