Default selected product in product list

I have a list of products in a region from a dataset. I have
a detailregion that shows the data from the selected item in that
region.
In the product list, I have the spry:select set to a CSS
rule. When the region and detailregion are first displayed, the
first item is selected and displayed by default. But, it's not
using the spry:selected CSS rule until I actually make a selection.
How can I make the default selected item initially show using
the spry:selected rule?

Ok, I'm using a spry:repeat to fill in table rows as a list
of products. So, I used a spry:choose in the table, then in the
<tr> tag used a spry:when ds_row == 0
spry:selected="selected". Then a second <tr> with
spry:default="default, without the selected part.

Similar Messages

  • Flashplayer not listed in "Select Product" dropdown?

    Flashplayer not listed in "Select Product" dropdown?
    HH

    http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html
    That'll work UNLESS you're talking about Flash Player for IE in Windows 8. That's embedded by Microsoft, and those instructions don't work for it.

  • Dynamic category list link to product list page not working

    I have a dynamic catagory list that is populated from a mySQL db
    <?php do { ?>
              <li><a href="product-list.php?CatID=<?php echo $row_Recordset1['CatID']; ?>"><?php echo $row_Recordset1['CatName']; ?></a></li>
              <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
    im not sure if the aboive is correct?
    i need to link it to the product page and just dispaly all the products in that catagory
    the product-list php code is
    $var1_Recordset1 = "-1";
    if (isset($_GET['CatID'])) {
      $var1_Recordset1 = $_GET['CatID'];
    mysql_select_db($database_lotties, $lotties);
    $query_Recordset1 = sprintf("SELECT * FROM lottieProducts, lottieCat WHERE lottieCat.CatID = lottieProducts.CatID AND lottieCat.CatID = %s", GetSQLValueString($var1_Recordset1, "int"));
    $Recordset1 = mysql_query($query_Recordset1, $lotties) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    thanks in advance

    done it
    $varCat_rsProductData = "0";
    if (isset($_GET["cat"])) {
      $varCat_rsProductData = $_GET["cat"];
    mysql_select_db($database_lotties, $lotties);
    $query_rsProductData = sprintf("SELECT * FROM lottieProducts WHERE lottieProducts.CatID = %s", GetSQLValueString($varCat_rsProductData, "int"));
    $rsProductData = mysql_query($query_rsProductData, $lotties) or die(mysql_error());
    $row_rsProductData = mysql_fetch_assoc($rsProductData);
    $totalRows_rsProductData = mysql_num_rows($rsProductData);
    link from cat list
    <a href="product-list.php?cat=<?php echo $row_Recordset1['CatID']; ?>"><?php echo $row_Recordset1['CatName']; ?></a>

  • Google product listing ad campaigns are not opening with Firefox

    I have a Google Adwords account with Product Listing Ads. Everything was working fine on 10/31, however today, 11/3, the Product Listing ad campaigns are no longer openings and the cursor just spins.
    I have contacted Google regarding this problem and they are able to fully access the account. I have also tried my account on another browser with no problems. Can you please tell me what update was made in the past couple of days, or what I need to do so that I can fix this?
    Thank you.

    This issue can be caused by corrupted cookies or cookies that are blocked.
    *check the permissions on the about:permissions page and in "Tools > Page Info > Permissions"
    *https://support.mozilla.org/kb/fix-login-issues-on-websites-require-passwords
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How can I display favorites products list as table?

    When I insert favorites list module on a page,
    {module_favorites,i,27,0}
    it renders them as <li> (one per row).  I want them to render as the product list. (Several products per row).
    {tag_productlist,3,,6,alphabetical,true,false}
    How can I do this?
    Also, if I want to insert all products with a certain tag in a page (that is not the Catalog page), It renders as list, not as table.  This is the module I called: {module_productfeaturelist,store,4,Default,,true}

    No - I still can't make it work. Tried a lot of different things but it's like theres only one LI in the list, containing all the items added to the fauvorite list.
    I tried to remove the classes, and this is how it looked in Firebug:
    <div id="favourites">
    <ul>
    <li id="catProdTd_5244310">
    <link type="text/css" rel="stylesheet" href="/css/style.css">
    <div class="hproduct">
    <link type="text/css" rel="stylesheet" href="/css/style.css">
    <div class="hproduct"> <link type="text/css" rel="stylesheet" href="/css/style.css">
    <div class="hproduct">
      <link type="text/css" rel="stylesheet" href="/css/style.css">
    <div class="hproduct">
    </li>
    </ul>
    </div>
    I don't know how to target the LI's inside the module?

  • Am trying to download Acrobat XI on free trial on PC. I start up Adobe Download Assistant but can do nothing with it. I can't select products and no products show up. What can I do?

    Am trying to download Acrobat XI on free trial on PC. I start up Adobe Download Assistant and sign in but can then do nothing with it. I can't select products and no products show up. Why isn't Download Assistant doing anything?
       All help welcome,
    Michael

    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • CRM Marketing product listing interface

    HI All,
    We have a requirment to propose products for customer by default, for that we have created a condition type in Marketing product listing. Some custom table /CN/*CUS90003 is created while creating the conition type.
    Now our requirment is to perform some initial loads for product listing, are there any fucntional modules or classes to do initial loads?? we need to upload data from an xls sheet to SAP.
    Thanks in Advance
    Suman
    Edited by: Suman Gandhe on Nov 15, 2010 9:04 AM

    There are two functional modules 'CRM_PRP_MAINTAIN' and 'BAPI_PPR_MAINTAIN_40'. we have implemented  'CRM_PRP_MAINTAIN' but BAPI can also be used in this case.
    -Suman Gandhe

  • Trying to change product list css

    I know this is a little off-topic, i.e. hacking BC with jQuery... but if you can help... I am trying to change the product list css for items displayed in the catalogue. I'm implementing jQuery masonry script to effect a responsive layout for small products with a script removing and adding two classes. The script works fine and I have it all working perfectly (for example here: http://silverster-***-race.dotsilo.com/air-filters), except where the small product list is displayed from a sub-catalogue list ../parentCatagory/childCategory. Here's an example where the list is displayed vertically rather than the intended masonry style: http://silverster-***-race.dotsilo.com/Gauges/srp-gauges
    This is the default HTML that BC creates (wrapped with with my own DIV and  ID) :
    <div id="items">
    <ul class="productList productSmall">
    <li id="catProdTd_6742743" class="productItem">
    <!-- Some product content here -->
    </li>
    <li id="catProdTd_6742744" class="productItem">
    <!-- Some product content here -->
    </li>
    </ul>
    </div>
    I have been able to change the classes (from .productItem to .item .masonry-brick) with jQuery elsewhere on the site (like air filters example and the home page: Home - Japanese Race Supplies).
    The jQuery I used to change the classes successfully was this:
    $('div#items ul li').removeClass('productItem').addClass('item masonry-brick'); // this script replaces the class .productItem with .item .masonry-brick
    My problem seems to be that the sub-catalogue (sub-directory) is ignoring the script. Is there something I'm missing when working with a sub-directory like this? I did look at a pure CSS work around, but it's complicated with Masonry generating its own classes too. Any help or suggestions appreciated.
    Thanks. - Simon

    Hey Simon, how are things?
    Your running Javascript Simon, that runs after server side scripting, BC wont be overriding those things.
    You also do not have to change ANY classes when using things like masonary, You just specify your targets to match the classes that you have in your projects. Document guides for things like plugins are just guides and will have their own classes based on what the author is doing.
    One of the key things to javascript is fixing and avoiding errors:
    On the second page you linked you have the following errors -
    "NetworkError: 404 ERROR: The file requested could not be found. - http://silverster-***-race.dotsilo.com/Gauges/twitter/jquery.tweet.js" 
    jquery.tweet.js
    "NetworkError: 404 ERROR: The file requested could not be found. - http://silverster-***-race.dotsilo.com/Gauges/js/tinynav.min.js" 
    2
    tinynav.min.js
    TypeError: $(...).tweet is not a function
    Things stop working when you have errors.
    On the first page you have this error:
    TypeError: $(...).replaceText is not a function $(".cartSummaryItem").replaceText( "Shopping cart is empty.", " " );
    In terms of the Masonry stuff. You do not need that to make your cart responsive But if you do want to target elements:
    var container = document.querySelector('#container');
    var msnry = new Masonry( container, {
      columnWidth: 200,
      itemSelector: '.productItem'
    This of course wont count for the productItemLast but >  ".productList.productSmall > li" will also work.
    There would be no need to add a class in terms of the CSS as well.
    Its hard to follow your code a bit to see anything else, I can not see Masonry actually running on either page you linked and the last page also has no products.
    Sorry if I am missing what your trying to achieve.

  • Why do I see products I don't own in the My Products List?

    I logged into my Apple account and was in the process of verifying the list of products I own when I noticed that there are 3 iPhone 4S serial numbers on the list.  I've only owned 1 iPhone 4S and the other two aren't mine.  I've never bought other iPhone 4S phones other than the one I previously owned which I've since sold. 
    So I have two questions:
    1 - Since I sold one of the phones, I didn't know there was a My Products List which had the S/N of the phone I sold.  I sold this phone well over a year ago and the woman who bought the phone in another state, has been using it without problems.  I know since she emailed me to confirm that she had no problems with the activation.  So if she's the owner, is it best to leave this phone on My Products List or should I remove it?
    2 - Regarding the other two phones I've never owned, how did these get onto My Products List?  And, if they're registered to me on this site, what does that mean?
    Thanks in advance.  This is really concerning.

    1. No device gets removed unless you remove it. So, since you sold the phone and the person has no problem using it, remove it.
    2. No idea why there would be anything listed you do not own. I'd simply remove the items, but if it concerns you, I'd suggest stopping by your nearest Genius Bar and show them the items listed and ask them if someone can figure out how they got there.

  • How can i request just the navigation or just the product list when i query the dgraph?

    Is there a way to make a request for navigation only or record list only?

    That's actually the only way to query using the conversation service in Oracle Endeca Information Discovery.
    In your request, you specify a State (i.e. what is the Navigation State) and a series of configuration elements indicating "what you care about" coming back.
    If this is related to the older dgraph stack that is embedded into the Commerce Product (guessing since you mention a "product list"), you should ask the question over yonder:
    Technical Questions
    Regards,
    Patrick Rafferty
    Branchbird

  • How to add new fields to CRM contract Product List tab?

    Hi all!
    I would like to add a new custom field for CRM contract (CRMD_BUS2000121) item level, on the Product List tab.
    Here I found CRMT_0100A_ORDPRP_I_EXT_UI structure, therefore I enhanced this with new append structure and new fields.
    I also added the new fields to ORDPRP_I append structure and mapped the new fields in CRMC_MAP.
    For some reason the new fields are on the screen but they are grey, not changeable. What did I do wrong?
    Thanks,
    Tamas Pentek

    Actually for the new IC webclient UI you have need to take a look at your options:
    1.  New Installation:
    Use the EEWB and add the fields.  As part of the EEWB work, you will have a couple of post-processing steps where you will add your generated fields to the new screens.  However this doesn't require any programming.
    2.  Upgrade from CRM 4.0/50
    - New fields to add as part of upgrade
    See the directions for new installation
    - Existing fields to add as part of upgrade
    --See the blog on the 40/52 CUSTOMER_H migration for transaction fields
    --Business Partner fields part of BUT000 available via UI configuration tool, no extra work needed
    --Business Partner fields part of tabular extension, manual work required, I am still "perfecting" this method and plan on writing a blog once I have the technique finished.
    --Product Attributes - use the transaction CRMM_UI_PROD_GEN and CRMM_UIU_PROD_CONFIG
    I know CRM 2007 is based on the same tech foundation as 2006s, with some differences in how the UI tool works and the fact there are some screen layout changes(editable overviews).  The extension procedures are generally the same.  I can answer some of you extension questions based on my work with CRM 52 so far.  It will generally apply to your situation.
    BTW:  The PCUI is no longer supported in CRM 2006s and above.  Even the old SAP GUI transactions such as BP, COMM_PRODUCT are removed from the standard CRM menu.   The SAP CRM web client should be used instead now.
    Take care,
    Stephen

  • Hello! I had Photoshop Elements (and some other products) installed on my Laptob, but lost them because of a system breakdown. Trying to install these programms again, I logged in to my account "my adobe" and immediately found my products listed there plu

    Hello! I had Photoshop Elements (and some other products) installed on my Laptob, but lost them because of a system breakdown. Trying to install these programms again, I logged in to my account "my adobe" and immediately found my products listed there plus a link "download here". But clicking the link didn´t start anything. Nothing happened. How can I get my prgramms installed again?

    Try using a different browser if the link did not work.
    You can also try downloading thru the following page if you can find the version(s) you need...
    Download and Installation Help -
    https://helpx.adobe.com/download-install.html

  • Select Product based on date

    Hai,
    Product Date
    pd0 2012-08-11 18:45:55.780
    Pd1 2012-08-11 18:55:17.020
    pd2 2012-08-11 19:06:58.623
    pd3 2012-08-18 12:00:01.193
    pd4 2012-08-25 12:13:04.077
    pd5 2012-08-25 17:28:30.347
    pd6 2012-08-25 18:23:16.473
    pd7 2012-09-18 18:29:58.360
    I want select the product based on from date and to date.
    For Example
    I want the select the product date in between 2012-08-11 to 2012-08-18
    Note:dont check the time.
    I want the query for select product based on only date not depend upon time

    >
    Product Date
    pd0 2012-08-11 18:45:55.780
    Pd1 2012-08-11 18:55:17.020
    pd2 2012-08-11 19:06:58.623
    pd3 2012-08-18 12:00:01.193
    pd4 2012-08-25 12:13:04.077
    pd5 2012-08-25 17:28:30.347
    pd6 2012-08-25 18:23:16.473
    pd7 2012-09-18 18:29:58.360
    I want select the product based on from date and to date.
    For Example
    I want the select the product date in between 2012-08-11 to 2012-08-18
    >
    Hopefully what you are calling 'Date', which is actually a timestamp value, is really being stored in a column of datatype TIMESTAMP and not being stored in a VARCHAR2.
    NEVER store date or datetime values in a character datatype. And the word BETWEEN, when used as an operator means that BOTH endpoints will be included.
    1. Data is stored in a TIMESTAMP column the way it should be stored
    WITH Q AS (SELECT 'pd0' PRODUCT, TO_TIMESTAMP('2012-08-11 18:45:55.780', 'YYYY-MM-DD HH24:MI:SS.FF3') myBadDateFormat from dual
    UNION ALL SELECT 'Pd1',TO_TIMESTAMP('2012-08-11 18:55:17.020', 'YYYY-MM-DD HH24:MI:SS.FF3') from dual
    UNION ALL SELECT 'pd2',TO_TIMESTAMP('2012-08-11 19:06:58.623', 'YYYY-MM-DD HH24:MI:SS.FF3') from dual
    UNION ALL SELECT 'pd3',TO_TIMESTAMP('2012-08-18 12:00:01.193', 'YYYY-MM-DD HH24:MI:SS.FF3') from dual
    UNION ALL SELECT 'pd4',TO_TIMESTAMP('2012-08-25 12:13:04.077', 'YYYY-MM-DD HH24:MI:SS.FF3') from dual
    UNION ALL SELECT 'pd5',TO_TIMESTAMP('2012-08-25 17:28:30.347', 'YYYY-MM-DD HH24:MI:SS.FF3') from dual
    UNION ALL SELECT 'pd6',TO_TIMESTAMP('2012-08-25 18:23:16.473', 'YYYY-MM-DD HH24:MI:SS.FF3') from dual
    UNION ALL SELECT 'pd7',TO_TIMESTAMP('2012-09-18 18:29:58.360', 'YYYY-MM-DD HH24:MI:SS.FF3') from dual)
    SELECT PRODUCT FROM Q
      WHERE myBadDateFormat BETWEEN TO_TIMESTAMP('2012-08-11', 'YYYY-MM-DD')
                                AND TO_TIMESTAMP('2012-08-18', 'YYYY-MM-DD')
    PRODUCT
    pd0
    Pd1
    pd2If you don't want the second endpoint included you need to use > and <= operators instead of BETWEEN.
    2. Data is stored in a VARCHAR2 column the way it should NEVER be stored
    WITH Q AS (SELECT 'pd0' PRODUCT, '2012-08-11 18:45:55.780' myBadDateFormat from dual
    UNION ALL SELECT 'Pd1','2012-08-11 18:55:17.020' from dual
    UNION ALL SELECT 'pd2','2012-08-11 19:06:58.623' from dual
    UNION ALL SELECT 'pd3','2012-08-18 12:00:01.193' from dual
    UNION ALL SELECT 'pd4','2012-08-25 12:13:04.077' from dual
    UNION ALL SELECT 'pd5','2012-08-25 17:28:30.347' from dual
    UNION ALL SELECT 'pd6','2012-08-25 18:23:16.473' from dual
    UNION ALL SELECT 'pd7','2012-09-18 18:29:58.360' from dual)
    SELECT PRODUCT FROM Q
      WHERE myBadDateFormat BETWEEN '2012-08-11' AND '2012-08-18'
    PRODUCT
    pd0
    Pd1
    pd2Neither of the solutions posted by others so far will work unless your data is stored in a TIMESTAMP column and even then Oracle will rewrite the filter to use TIMESTAMP values
    SQL> select product from test_timestamp
      2    WHERE myBadDateFormat < DATE '2012-08-18'
      3      AND myBadDateFormat >= DATE '2012-08-11'
      4  /
    Execution Plan
    Plan hash value: 3988574921
    | Id  | Operation         | Name           | Rows  | Bytes | Cost (%CPU)| Time   |
    |   0 | SELECT STATEMENT  |                |     3 |    54 |     3   (0)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| TEST_TIMESTAMP |     3 |    54 |     3   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("MYBADDATEFORMAT"<TIMESTAMP'2012-08-18 00:00:00' AND
                  "MYBADDATEFORMAT">=TIMESTAMP'2012-08-11 00:00:00')
    Note
       - dynamic sampling used for this statement

  • Production List Report /sapapo/ppl1

    Hi All
    I want to understand in Production List Report there is a column called Valuation Mode.The values are 0,1,2,3.
    I want to understand how these values get assigned against orders.
    Thanx in advance.

    Hi Roshan,
                     Valuation Mode is Effectivity Mode which is coming from Capacity Requirement.The meanings for 0,1,2,3 are as below.
    0-Activity must lie within effectivity period
    1-Activity end must lie within effectivity time
    2-Activity start must lie within effectivity time
    3-Do Not Take Validity Period Into Account
    I hope this will help you.
    Regards,
    Saurabh

  • Selective Product Category Replication

    Hello everybody,
    I am in SRM5 classic mode. I would like to replicate only selective material groups (product categories) to SRM from the R3 backend system. Is there any way this can be done?
    Thanks
    Venkat

    Hello Venkat,
    Yes , it is possible to replicate the selected product categories form R/3.
    This can be achieved as follows. when you are defining the middleware settings for the customizing objects using the trasaction R3AC3. Here you will set the filter(3rd tab) based on the material group and activate the object adapter.
    Hope this information will be helpful to you.
    Regards,
    Mani

Maybe you are looking for