Nested for-each not working

Hello all. I am studying XSLT in school and need some help.
Display the following: Software titles for each operating system sorted by category. Sorting is not the problem. I am having an issue with displaying software titles for each operating system. Here is the XML and the XSLT.
<?xml version="1.0"?>
<!-- Note: For many of the wonders, the experts do not agree on precise dates or construction dimensions. In these cases, I chose a year or dimension in the middle of the range so all attributes could be numeric. -->
<software_inventory>
<software xmlns:xsi="Software.xsd">
<title>Adobe Photoshop</title>
<vendor>Adobe</vendor>
<category>Graphics</category>
<support_platforms>
<Platform>Windows 7</Platform>
<Platform>Windows 8</Platform>
<Platform>Windows 8.1</Platform>
</support_platforms>
<Approved_Versions>
<Version Hardware_Requirements="4GB Ram 2GB Hard Drive" Software_Requiremnts="32/64 bit" Price="399">CS 5.5</Version>
</Approved_Versions>
</software>
<software>
<title>Winzip</title>
<vendor>Winzip International</vendor>
<category>Utility</category>
<support_platforms>
<platform>Windows Vista</platform>
<platform>Windows 7</platform>
<platform>Windows 8</platform>
<platform>Windows 8.1</platform>
</support_platforms>
<Approved_Versions>
<Version Hardware_Requirements="2GB Ram 250MB Hard Drive" Software_Requiremnts="32/64 bit" Price="29.99">19</Version>
</Approved_Versions>
</software>
There are more titles in the XML, but I didn't include them.
Here is the XSLT
<h1>Software Titles for each operating system, sorted by category</h1>
<table border="1">
<tr>
<th>Software Title</th>
<th>Operating System</th>
<th>Category</th>
</tr>
<xsl:for-each select="software_inventory/software">
<xsl:sort select="support_platforms/platform"/>
<xsl:sort select="category"/>
<tr>
<td>
<xsl:value-of select="title"/>
</td>
<td>
<xsl:for-each select="support_platforms/platform">
<xsl:value-of select="platform"/>
<xsl:text>&#13;</xsl:text>
</xsl:for-each>
</td>
<td>
<xsl:value-of select="category"/>
</td>
</tr>
</xsl:for-each>
</table>
Here is a screen shot of the output. What I would like is for each Platform / operating system to show in the same cell, so the adjacent cells will grow taller to accommodate. 
What am I doing wrong?

You cannot ask for "platform" when your pointer is already pointing at "platform".
Also your input XML is inconsistent concerning capitalized and not capitalized "platform/Platform".
Under the assumption that platform should always be "platform", try replacing:
<td>
<xsl:for-each select="support_platforms/platform">
<xsl:value-of select="platform"/>
<xsl:text>&#13;</xsl:text>
</xsl:for-each>
</td>
With:
<td>
<xsl:for-each select="support_platforms/platform">
<xsl:value-of select="."/>
<xsl:text>&#13;</xsl:text>
</xsl:for-each>
</td>
Morten la Cour

Similar Messages

  • Why does for-each not work with Enumeration?

    I'm sure there's some reason for this but I don't know what it would be.
    I am calling an existing method [http://java.sun.com/javase/6/docs/api/java/util/zip/ZipFile.html#entries()] And it returns Enumeration<? extends ZipEntry>
    What I would like to do is
    Enumeration<? extends ZipEntry> entries = myzipfile.entries();
    for(ZipEntry ze : entries)but this won't compile because Enumeration is not an Iterator. Which kinda sucks.
    Obviously (I think) Enumeration can't be retrofit to be an Iterator without problems and the APIs that return Enumeration can't change without problems so it seems the only way that for-each would work with an Enumeration is if for-each was allowed to work with Iterator and Enumeration.
    So my question is, why isn't it? (To be clear I know how to enumerate an Enumeration, I'd just like to know if anybody has a clue why for-each was not designed to support Enumeration)

    Still it does'nt fully answer the why question. Why does the Collections class not implement a static iterable(Enumeration) method that does not impose the overhead of an addiditional ArrayList, as in the following class:
    import java.util.Collections;
    import java.util.Enumeration;
    import java.util.Iterator;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipFile;
    public class EnumerationToIterable {
        public static <T> Iterable<T> iterable(final Enumeration<T> enumeration) {
         return new Iterable<T>() {
             @Override
             public Iterator<T> iterator() {
              return new Iterator<T>() {
                  @Override
                  public boolean hasNext() {
                   return enumeration.hasMoreElements();
                  @Override
                  public T next() {
                   return enumeration.nextElement();
                  @Override
                  public void remove() {
                   throw new UnsupportedOperationException();
        public void iterateOne(ZipFile myzipfile) {
         Enumeration<? extends ZipEntry> entries = myzipfile.entries();
         for (ZipEntry ze : Collections.list(entries)) {
             // process ze
        public void iterateTwo(ZipFile myzipfile) {
         Enumeration<? extends ZipEntry> entries = myzipfile.entries();
         for (ZipEntry ze : iterable(entries)) {
             // process ze
    }Could it be more simple?
    (Thanks for the Dukes)
    Piet

  • XSLT construct "for each" not working in transformation

    Hi everyone I am using for each inside a transformation it was working fine until added parameters.After included parameters "for each" is not happening the db is invoked only once even if there are muliple nodes.
    can anyone help me on this issue. How to perform for each if paramaters are included

    This is the transform I am using the element used for for each is of unbounded type (typens:getRoutingAndFrameJumpersResponse/typens:oServFrmJmprInfo/typens:oFrmJmpr/typens:item)
    <?xml version="1.0" encoding="UTF-8" ?>
    <?oracle-xsl-mapper
    <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
    <mapSources>
    <source type="WSDL">
    <schema location="x.wsdl"/>
    <rootElement name="getRoutingAndFrameJumpersResponse" namespace="x.NetworkInstallations"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="XSD">
    <schema location="IROBO_PR_UPDATE_INSERT_JUMPER_INFO.xsd"/>
    <rootElement name="InputParameters" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/IROBO/PR_UPDATE_INSERT_JUMPER_INFO/"/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 10.1.3.3.0(build 070615.0525) AT [TUE MAY 19 09:16:31 GMT+05:30 2009]. -->
    ?>
    <xsl:stylesheet version="1.0"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:typens="x.NetworkInstallations"
    xmlns:ns0="http://www.w3.org/2001/XMLSchema"
    xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/IROBO/PR_UPDATE_INSERT_JUMPER_INFO/"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:wsdlns="http://y.com/WSAI/STAA/"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    exclude-result-prefixes="xsl wsdl typens ns0 soap wsdlns db bpws ehdr hwf xp20 xref ora ids orcl">
    <xsl:param name="MigrationId"/>
    <xsl:param name="LineNumber"/>
    <xsl:param name="DN"/>
    <xsl:template match="/">
    <xsl:for-each select=*"/typens:getRoutingAndFrameJumpersResponse/typens:oServFrmJmprInfo/typens:oFrmJmpr/typens:item"*>
    <db:InputParameters>
    <db:P_MIGRATION_ID>
    <xsl:value-of select="$MigrationId"/>
    </db:P_MIGRATION_ID>
    <db:CCT_ID>
    <xsl:value-of select="$DN"/>
    </db:CCT_ID>
    <db:FROM__FRAME_TERM_ID>
    <xsl:value-of select="typens:frameTermID1"/>
    </db:FROM__FRAME_TERM_ID>
    <db:FROM_EXTRA>
    <xsl:value-of select="typens:reformattedTermID1"/>
    </db:FROM_EXTRA>
    <db:FROM_MAP>
    <xsl:value-of select="typens:locationIn"/>
    </db:FROM_MAP>
    <db:TO_FRAME_TERM_ID>
    <xsl:value-of select="typens:frameTermID2"/>
    </db:TO_FRAME_TERM_ID>
    <db:TO_EXTRA>
    <xsl:value-of select="typens:reformattedTermID2"/>
    </db:TO_EXTRA>
    <db:TO_MAP>
    <xsl:value-of select="typens:locationOut"/>
    </db:TO_MAP>
    <db:TRANSACTION_ID>
    <xsl:value-of select='substring-after(../../../typens:e2EData,"q=")'/>
    </db:TRANSACTION_ID>
    <db:SEQ_NO>
    <xsl:value-of select="position()"/>
    </db:SEQ_NO>
    <db:LINE_NO>
    <xsl:value-of select="$LineNumber"/>
    </db:LINE_NO>
    </db:InputParameters>
    </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>

  • Xsl for-each  not working in BPEL

    Hi,
    My input xml would contain the attribute @SourceModified at many places. In a xsl, for each occurence of that attribute I need to assign a set of values and then invoke a partnerlink.
    My code is
    <xsl:template match="/">
    <xsl:for-each select="//@SourceModified">
    <db:InputParameters>
    <db:before_text>
    <xsl:value-of select="normalize-space(.)"/>
    </db:before_text>
    <db:after_text>
    <xsl:value-of select="normalize-space(..)"/>
    </db:after_text>
    </db:InputParameters>
    </xsl:for-each>
    </xsl:template>
    Say if my input xml has the @SourceModified at 3 places, 3 different sets of values should get assigned to
    <db:InputParameters>.
    When I test the xsl in jdeveloper, i can see <db:InputParameters> coming 3 times. But when I deploy and test the BPEL process, only for the first occurence of @SourceModified, <db:InputParameters> is getting assigned in the transform.
    Please let me know how to fix this.

    hi,
    I am sending multiple @SourceModified elements. Also, i could not see any <list><db:InputParameters></list>.
    Only 1 set of value for <db:InputParameters> is getting assigned.
    I achieved the requirement in another way.
    1. counted the occurence of @SourceModified using ora:countNodes & assigned a variable count = 0
    Inside a while loop, while count<ora:countNodes(@SourceModified)
    1. i tempCountVar = count + 1
    2. pass the tempCount variable to my xsl using passing parameters to xsd.
    3. Inside the xsl, add a if condition
    <xsl:template match="/">
    <xsl:for-each select="//@SourceModified">
    *<xsl:if test select="position() = tempCountVar>*
    <db:InputParameters>
    <db:before_text>
    <xsl:value-of select="normalize-space(.)"/>
    </db:before_text>
    <db:after_text>
    <xsl:value-of select="normalize-space(..)"/>
    </db:after_text>
    </db:InputParameters>
    </xsl:if>
    </xsl:for-each>
    </xsl:template>
    4. increment the count
    This worked for me. I am able to get different values of <db:InputParameters>

  • Nested for-each issue [Solved]

    Hi.
    First of all, just started looking into xsl, so please explain things carefully.
    I need to make a master-detail form, but the xml is a bit tricky.
    I've made a demo here:
    <DATASET>
    <ROWSET1>
    <ROW>
    <ID>1</ID>
    <NAME>Harry Potter</NAME>
    </ROW>
    <ROW>
    <ID>2</ID>
    <NAME>Draco Malfoy</NAME>
    </ROW>
    </ROWSET1>
    <ROWSET2>
    <ROW_R2>
    <OWNER_ID>1</OWNER_ID>
    <PC>HP</PC>
    </ROW_R2>
    <ROW_R2>
    <OWNER_ID>1</OWNER_ID>
    <PC>Dell</PC>
    </ROW_R2>
    <ROW_R2>
    <OWNER_ID>2</OWNER_ID>
    <PC>Compaq</PC>
    </ROW_R2>
    </ROWSET2>
    </DATASET>
    Here's what I want printed:
    Harry Potter
    -HP
    -Dell
    Draco Malfoy
    -Compaq
    Here's how I've tried making my xsl and if's for joining.
    <xsl:for-each select="DATASET/ROWSET1/ROW">
    <xsl:value-of select="NAME"/>
    <xsl:for-each select="../../ROWSET2/ROW_R2">
    <xsl:if test=" ../../ROWSET1/ROW/ID = OWNER_ID">
    <xsl:text>ID: </xsl:text><xsl:value-of select="../../ROWSET1/ROW/ID"/>
    <xsl:text>OWNER_ID: </xsl:text><xsl:value-of select="OWNER_ID"/>
    <xsl:text>PC: </xsl:text><xsl:value-of select="PC"/>
    </xsl:if>
    </xsl:for-each>
    </xsl:for-each>
    This only outputs
    Harry Potter
    Draco Malfoy
    If I remove the if/end if, it outputs
    Harry Potter
    ID:1 Owner_ID:1 PC:HP
    ID:1 Owner_ID:1 PC:Dell
    ID:1 Owner_ID:2 PC:Compaq
    Draco Malfoy
    ID:1 Owner_ID:1 PC:HP
    ID:1 Owner_ID:1 PC:Dell
    ID:1 Owner_ID:2 PC:Compaq
    Obviously there's a couple of things wrong, so if anyone could help out I'd be greatful.
    I know it's a bit tacky looping through twice to find matching id vs owner_id, but with this kind of xml I don't know any other way, and I can't change the xml. Fortunately it's not that much data so it shouldn't be too slow.
    Cheers,
    Vidar
    Message was edited by:
    Vidar
    :added solved to subject

    A solution that works is to great a for-each loop table using ROWSET1 and setting a variable to the ID value. Then put a nested for-each loop inside the first using ROWSET2 and using a filter on the for-each to filter for OWNER_ID like this:
    <?for-each:/DATASET/ROWSET2/ROW_R2[xdoxslt:get_variable($_XDOCTX, 'x')=OWNER_ID]?>
    for template then looks like the following:
    inialize variable 'x'
    for-each ROWSET1
    NAME
    ID set 'x'
    for-each ROWSET2[filter]
    OWNER ID PC
    end for-each
    end for-each

  • Save for web not working in Photoshop element 6

    Save for web not working in Photoshop element 6. I am using Mac os x version 10.5.8   Anyone know how to fix that please tell me. Thanks

    I just copy the preferences from my computer for you to see what are shown about adobe
    file:///Users/raymondsmith/Library/Preferences/Adobe/
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Illustrator%20CS2%20Settings/
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Photoshop%20CS2%20Paths
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Photoshop%20CS2%20Settings/
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Photoshop%20Elements%206%20Paths
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Photoshop%20Elements%206%20Settings /
    file:///Users/raymondsmith/Library/Preferences/AdobeUM/
    file:///Users/raymondsmith/Library/Preferences/AppleWorks/
    file:///Users/raymondsmith/Library/Preferences/ByHost/
    file:///Users/raymondsmith/Library/Preferences/CD%20Info.cidb
    file:///Users/raymondsmith/Library/Preferences/CDDB%20Preferences
    file:///Users/raymondsmith/Library/Preferences/cfx%23FBSxPfw
    file:///Users/raymondsmith/Library/Preferences/com.adobe.acrobat.90.sh.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Acrobat.Pro7.0.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.acrobat.sh.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Acrobat.Uninstaller.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Adobe%20Help%20Viewer.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.ami.installer.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.bridge2.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.mediabrowser.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.PhotoshopElements.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Reader_ppc_9.0.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Reader.plist
    file:///Users/raymondsmith/Library/Preferences/com.aol.aim.plist

  • [svn:fx-trunk] 13257: Fix for @inheritDoc not working on a setter, but works on a getter

    Revision: 13257
    Revision: 13257
    Author:   [email protected]
    Date:     2010-01-04 10:49:13 -0800 (Mon, 04 Jan 2010)
    Log Message:
    Fix for @inheritDoc not working on a setter, but works on a getter
    QE notes: None.
    Doc notes: None
    Bugs: SDK-24727
    Reviewed By: Paul
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24727
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java

    steabert wrote:
    Hi,
    I had a similar problem with my Dell Latitude E4310, and apparently also the E6410, E6510.
    The solution for me was to add the following line to /etc/modprobe.d/modprobe.conf:
    options snd-hda-intel model=dell-s14
    I tried that, unfortunately it does not work with this chipset. I do get a different set of channels though but it still cannot record anything. Maybe this chipset is too "new" for alsa. The latest release dates back from the end of January. Support for it is explicitly stated in the changelog to 1.0.24 but perhaps the recording part of it slipped through the cracks. ALSA bug tracking system seems quite closed.

  • Logging for AS not working

    Hi,
    In sm21, I cannot see any logs from the AS. I can only see the ones from CI.
    Any ideas how to solve this issue ?
    Anything is welcomed,
    Thanks.

    Hello
    This thread was locked for the following reasons:
    1) the topic does not relate to PI. This forum is for PI technical issues only.
    2) it is against forum rules to post the same issue on multiple forums - Re: Logging for AS not working
    Regards
    Moderator

  • ICloud for pc not working tried everything

    iCloud for pc not working tried everything ( uninstall - reinstall - delete files - old versions ) nothing helps it just downloads a couple of photos and off again my iPhone uploads perfectly as all the pics goes to the iPad seamlessly, Please Help i'm on windows 8.1 x64, Thanks

    I think that the card reader may in fact be defective, but it just doesn't make sense if I have already used it fine before. I've tried everything on this Apple support page, thank you though.
    Does anyone have any suggestions?

  • Skype 6.3 upgrade for Mac not working

    [Topic title updated by moderator to be more descriptive. Original topic title was: "Skype upgrade for Mac not working"]
    BE WARNED - just because you are being asked to upgrade your Skype, it does not mean it will work on your machine. I am a fairly regular user of Skype and this morning was unable to log-in, being told that I needed to upgrade. I did so to 6.3.0.602 but I was unable to log-in once the software had downloaded. After some research on the forums and finally a text chat with Support, I was told that Skype 6.3.0.602 requires a Mac OSX of 10.9 or above - I have 10.5.8
    "So what can I do", I asked the tech support. The answer is nothing (unless I get new OS X software) - there is no Skype software programme that supports my operating system and no timeframe for when it might be available.
    Huh? That's right. It's just not available. So for now, users with less than OS X 10.9 will be unable to use Skype when they are instructed to upgrade. It really doesn't make sense. But just so you know....

    jessicaed wrote:
    BE WARNED - just because you are being asked to upgrade your Skype, it does not mean it will work on your machine. I am a fairly regular user of Skype and this morning was unable to log-in, being told that I needed to upgrade. I did so to 6.3.0.602 but I was unable to log-in once the software had downloaded. After some research on the forums and finally a text chat with Support, I was told that Skype 6.3.0.602 requires a Mac OSX of 10.9 or above - I have 10.5.8
    "So what can I do", I asked the tech support. The answer is nothing (unless I get new OS X software) - there is no Skype software programme that supports my operating system and no timeframe for when it might be available.
    Huh? That's right. It's just not available. So for now, users with less than OS X 10.9 will be unable to use Skype when they are instructed to upgrade. It really doesn't make sense. But just so you know....
    Please look at the top of the community page, and you will find a box "Search:". Write your problem here "Upgrade not working" and see what crops up. Most likely you will be taken somewher like here: http://community.skype.com/t5/Mac/quot-We-ve-signed-you-out-because-your-using-an-outdated-version/m...  
    Here you will read that the latest versions of Skype will not work on some of the versions of MacOS, and that PPC requires one version, Leopard another, Snow leopard another, Mountain Lion another. They are indoctrinated with a stamp in their forehead to enforce their congregation of true believers to install the latest with all "security fixes" or death is looming. They are not used to software that is 2 years old. 
    So, with Mac, we have different operating systems and different sets of libraries - and things may go belly up if you upgrade - a OS feature is done differently, a libary has been placed inside the OS, and is no longer needed - and if you try to use it, you will be trapped.
    Install the latest version that works for your Mac, and make sure to freeze this. Update the "info.plist" file and tell Skype that you use their latest should they pry. As long as it works, do not change anything!
    And make the change to stop Skype from checking every time you start.

  • Default them for Mac not working firefox 4 beta 1

    Default them for Mac not working Firefox 4 beta 1
    == This happened ==
    Every time Firefox opened
    == I first opend FF4 beta 1 for the first time

    '''Ritrup''':
    Create a new profile as a test to check if your current profile is causing the problems
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting&#58; Make a new profile]]
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Nested JSP tags not working in Weblogic 8.1/6.1

    Hi,
              I have a custom JSP tag which are used to display buttons (like Submit, Cancel, Revert, Previous etc) on a web page.
              This custom tag has a structure like
              <gui:toolBar>
              <gui:toolTemplate>...</gui:toolTemplate>
              <gui:button>
              <gui:buttonImg>...</gui:buttonImg>
              <gui:buttonAlt>...</gui:buttonAlt>
              </gui:button>
              </gui:toolBar>
              The <gui:button> tag can be repeated depending on the number of buttons needed to be displayed. The body content of the <gui:button> nested tags are used to populate the values in the <gui:toolTemplate/>.
              The issue is that if I have repetitive <gui:button> tags(meaning if I want to have 2 or more buttons), the page does not get compiled in Weblogic (both 6.1 and 8.1).
              But the same works fine in Websphere 4.x and 5.1.
              There are no exceptions being thrown and hence no clue as to what is the issue.
              If I have only one <gui:button> then it works fine even in Weblogic.
              Note: A link on a similar problem(but no soluton mentioned) is
              http://forums.bea.com/bea/thread.jspa?forumID=2025&threadID=200074523&messageID=202373683&start=-1#202373683
              Please advice.
              Sriram.C.S

    You're right, your situation is very similar to the situation the other poster describes. However, the main similarity is that neither of you have given us any information about what is going wrong. We can't read minds or read what's on your screen. We need to see specific error messages, stack traces, and specific code that shows what you are trying to do.
              However, it's likely that you're running into problems with the issues with "tag reuse" and "tag pooling". You should first read the JSP specification in the areas that talk about this issue, although this will probably leave you with more questions than you started with.
              I'm guessing that your "<gui:button>" element doesn't have any attributes. It's possible that WebLogic is reusing a single "<gui:button>" tag instance for each occurrence in your page. You may have to figure out how to turn off tag pooling in the JSP compiler, but I'm not sure how to do that.
              It's possible that Websphere doesn't give you an issue with this because perhaps they didn't bother with the tag pooling optimization (it is a good thing to have it available).

  • Work around for iTunes not working with shuttle

    Well, I have found a work around for the iTunes not working the the Shuttle. It is not pretty, and many of you may not choose to follow my lead. This procedure has a lot of dumb steps in it, but in the end, one can copy data/songs to a Shuttle.
    It involves removing the current iTunes and replacing it with a version that also had a bug in it.( I told you it ain't pretty).
    Procedure:
    1. Go to this url: http://www.apple.com/downloads/macosx/apple/ipod_itunes/itunes802forwindows.html
    2. Download the old 8.0 version of iTunes for Windows.
    3. Remove the current iTunes from your computer. Note after you run the remove utility in Windows, you need to delete the iTune library that isn't removed.
    4. Install iTunes 8.0
    Here is where it gets dumb.
    This version of iTunes has a bug with the USB interface, but there is an easy work around.
    5. Make sure the Shuttle is not connected when you launch iTunes.
    6. After iTunes comeup, attach the Shuttle.
    7. iTunes should see your Shuttle.
    8. Select the music you want to upload, and drag it to the Shuttle.
    9. iTunes will just sit there, so you need to get its attention. To get its attention you must disconnect and reconnect one of your USB devices, just not the Shuttle. Some folks do their mouse, one used a USB drive, and another on used is GPS because he was working from a laptop and did not have a mouse.
    10. In a few moments, iTunes will do its thing and copy your data to the Shuttle. You must do this routine for each copy, so if you develop a Play List, you only have to do step 9 once.
    The getting the old copy of iTunes was my idea, but a gentleman from a year ago figured out the mouse step.
    I am now a happy camper, my Shuttle is full of music again.
    However, I hope Apple finds a fix for the 8.2 problem soon.
    Take care all.

    I stand corrected on the name. By the time I figured out how to copy the songs I had a few other names in mind.
    One of the first things I tried was the Reset utility. After the iTunes restore did not work, I went looking for something else. After using the utility, I connected the iPod and resynced. I had left the Autofill box checked. iTunes autofilled the iPod. I deleted those songs and tried to put a different play list in. It would not copy the songs, iTunes said there was no room even though the play list for the shuffle was empty. I looked at the settings screen and it said the iPod was full. I synced the iPod to my Mac, and that got rid of the "full" indication. That is when I started looking for an older version of iTunes, unfortunately all I could find is a version with the USB bug.

  • Javascript For loop not working within a function

    Hi all,
    I'm a beginner to LiveCycle and I cant seem to get a loop working within a function.  The function is being called successfully because when I manually create the code it works but I am trying to clean things up.
    So here is my working example:
    function hideContent() {
            MainFlowedSub.LevelsSub.Table1.presence = "hidden";
            MainFlowedSub.LevelsSub.Table2.presence = "hidden";
           ... and so on....
             MainFlowedSub.LevelsSub.Table8.Row1.presence = "hidden";
            MainFlowedSub.LevelsSub.Table8.Row2.presence = "hidden";
           ... and so on....
    However when I try and creat a loop instead of listing every sing table/row nothing happens. this is important to my project as there will be alot of different rows depending on radio button selections earlier in the form.  Below is the current state of my code:
    function hideContent() {
        var i=0;
         for (i=1;i<=5;i++)
             MainFlowedSub.LevelsSub.Table[i].presence = "hidden";
        var j=0;
         for (j=1;j<=23;j++)
             MainFlowedSub.LevelsSub.Table8.Row[j].presence = "hidden";
        var k=0;
         for (k=24;k<=88;k++)
             MainFlowedSub.LevelsSub.Table8.Row[k].presence = "hidden";
    this will then continue as there will be hundreds of rows.
    Any help will be greatly appreciated and I am sure I am making a basic error  so thanks in advance.
    j

    thanks for your help paul.  Again, really appreciated as I know very little about all this.
    Unfortunately its still not working... One thing I am sure of is that I am doing something very basic wrong. So here is my code, I have applied your suggestion above which will cover all my data:
    To give an understanding, I have 5 tables of content, each has i amount of rows. and I am running this script to clear/remove all items being displayed.
    function hideContent() {
        for (var i=1;i<=5;i++)
            xfa.resolveNode("MainFlowedSub.LevelsSub.Table[" + i + "]").presence = "hidden";
        for (var i=1;i<=71;i++)
            xfa.resolveNode("MainFlowedSub.LevelsSub.Table8.Row[" + i + "]").presence = "hidden";
        for (var i=1;i<=93;i++)
            xfa.resolveNode("MainFlowedSub.LevelsSub.Table9.Row[" + i + "]").presence = "hidden";
        for (var i=1;i<=99;i++)
            xfa.resolveNode("MainFlowedSub.LevelsSub.Table10.Row[" + i + "]").presence = "hidden";
        for (var i=1;i<=101;i++)
            xfa.resolveNode("MainFlowedSub.LevelsSub.Table11.Row[" + i + "]").presence = "hidden";
        for (var i=1;i<=87;i++)
            xfa.resolveNode("MainFlowedSub.LevelsSub.Table12.Row[" + i + "]").presence = "hidden";
    It has to be something to do with my For loops because if I manually insert each line it works perfectly.
    Thanks again,
    johnny

  • Offset for variable not working !

    Experts,
    I have to show sales for last 5 months ( in 5 diff. Columns )
    So, i have written CMOD code, where i am converting System date in to Fiscal Year / Period using FM DATE_TO_PERIOD_CONVERT.
    every thing works good, i do get result. but the problem is the Offset for Variable function doesnt support that.
    I was hoping that, Now i can do Offset -1, -2 , -3...till -5 and i will have all 5 Periods.
    But looks like its not working out.
    What other logic i can use.
    !!!!!!!!!!My Variable is Not ready for Input !!!!!!!!!!! So the only way i found is to convert system date to current Period and then off setting it till last 5 months. And i do need to so last 5 months starting current Period -1, -2, -3, -4 and -5
    is there any other way to get current Period ( i guess only from system date ).
    I think in my logic, when i do offset, its not offsetting the Period, but its off setting system date.
    Please help

    Hi Honar,
    I am pretty sure offset should work, in your customer exit, calculate the current period as using the system date, once you get that, create a variable with the same name as you defined in the customer exit and use that variable in five different restricted key figures with each with (Variable, Variable -1, Variable -2, Variable - 3 and Variable - 4). If you have done so and not working, what are you getting in each of the variables, there might be some notes which could address that issue.
    thanks.
    Wond

Maybe you are looking for

  • Unable to print to file in adobe acrobat 9 pro, windows 7 OS

    ok, so i've been having this problem since 16/1/2012. I download a pdf file from online, open it and attempted to combine multiple slides into 1 slide like below: my printer cannot print duplex so i have to combine multiple slides to 1 in order to pr

  • CF10 Enterprise, multi-instance w/different user accounts

    Running CF10-Enterprise, 10,0,9,284568 with Update 9.  This is running under JDK 1.7.0_21, and is fronted by Apache 2.2.x and all runs under RHEL6.x.  It seems to work fine In short - is it possible to create a new instance, and have that new instanc

  • Hidden files

    In Windows Explorer I can see a TIF file. The file properties are set to show the file. It is not a hidden file. However, the file does not appear in Bridge CS4. In Bridge "View | Show Hidden Files" is selected. The cache has been purged and then reb

  • Unrecognized option : jrockit

    Hi All, After the upgrade of jdk 1.6.20 to 1.6.35 version, getting unrecognized option jrockit error while starting the admin server. Please help me on this. Thanks, Varaprasad

  • Adobe Audition 3 Errors

    Hi When I started Adobe audition 3 today I encountered an error and on searching forums my problem is the same as described by others. The cut and paste below is from 2008, but same problems If you have advice Thankyou I don't know what caused this,