AF:foreach nested in panelGridLayout

12.1.3 Jdev

Hello.

I'm building a panelGridLayout with 2 labels of af: forEach as in the following code.  The first af:forEach is for a loop of 10 (will be replaced by the EL expression to get the number of the bean) number of rows.  The second af:forEach is to loop through and create 6 cells in each row.  For the first line being forEach would begin = '0' end '5' =, = "6" end = "11" be forEach would begin by the second row, third row would be forEach start = "12" end = "17", etc..  Thus, the formula would begin = "0 + (row * 6)" end = "5 + (row * 6)".  How can I define a formula like this in the begin and end in forEach?

< af:panelGridLayout id = "pgl8" >

< af:forEach var = "row".

start = end of the '0' = '9' step '1' = >

< af:gridRow marginTop = '5px' height = 'auto' marginBottom = "5px" id = "gr9" >

< af:forEach elements = "#{bindings." Var ItasObjectCategoriesVO3.rangeSet}"="item.

Start = '0' end stage '5' = '1' = >

< af:gridCell marginStart = "5px" width = "17%" id = "CG25" >

< af:link text = ' #{point.» DisplayName}"id ="l1"/ >

< / af:gridCell >

< / af:forEach >

< / af:gridRow >

< / af:forEach >

< / af:panelGridLayout >

Thank you

-Mina

Timo thanks for the tip. I found that the proper syntax is:

#{(vs.index*6)} and #{(vs.index*6) + 5}

-Mina

Tags: Java

Similar Questions

  • Include the attribute custom report using the disc

    I'm to customize a script provided by Alan Renouf in his PowerGUI Powerpack.  The script I'm customization in the Powerpack is named 'VM disk sizes.

    His screenplay does everything we need from a point of view of output except that we can also include a custom attribute (Custom Field) VM as well as the information of the disk space.  I have included the below custom script, please note that this is a script/PowerGUI PowerPack we customize but was initially written and provided by Alan Renouf and all credit for this original work must be given to Alan.

    I have included our custom below script and have "in bold Red" line in the script that does not work:

    $AllVMs = get-View - ViewType VirtualMachine. Where {-not $_.} Config.Template}
    $SortedVMs = $AllVMs | Select *, @{N = "NumDisks"; E={@($_. Guest.Disk.Length)}} | Sort-Object-down NumDisks
    {ForEach ($VM to $SortedVMs)
    $Details = new-object PSObject
    $Details | Add-Member-Name name-value $VM.name - Membertype NoteProperty
    $Details | Add-Member - MemberType NoteProperty-name CustomFields-value (($VM.)) CustomFields | %{"$($_. Key) = $($_.) (Value)'}) - join ',')
    $DiskNum = 0
    Foreach ($disk in $VM. Guest.Disk) {}
    $Details | Add-Member-name "drive$ ($DiskNum) path"-MemberType NoteProperty-value $Disk.DiskPath
    $Details | Add-Member-Name "Disk$ ($DiskNum) Capacity (MB)"-MemberType NoteProperty-value ([math]: round ($disk.) Capacity / 1 MB))
    $Details | Add-Member-Name "Disk$ ($DiskNum) FreeSpace (MB)"-MemberType NoteProperty-value ([math]: round ($disk.) FreeSpace / 1 MB))
    $DiskNum ++
    } # end foreach nested
    $Details.PSTypeNames.Clear)
    $Details.PSTypeNames.Add ('Virtu-al'.PowerPack.VMGuestDisks) '
    $Details.PSTypeNames.Add ('Virtu-al'.PowerPack.VM) '
    $Details
    } # end foreach

    When you use the Get view as seen on the first line of the script, it appears the CustomField information not available in the generated view.  How to develop the view to include CustomFields/CustomAttributes for each virtual computer in our environment and then report on their subject?

    Please let me know if I did a poor job explaining the scenario and what I'm after here.  Any help is greatly appreciated!

    Hello, jSun311-

    Yes, you are right - there is no such thing as the "CustomFields" property on a managed object VirtualMachine .  You can always get the names and the corresponding values of the custom fields, you just have a little.  For example, you could change the line to:

    ...## make a comma-separated string that holds the custom field key/value pairs, like "cust0 = myValue0,cust1 = myDateInfo"$Details | Add-Member -MemberType NoteProperty -Name CustomFields -Value (($VM.Value | %{$oCustFieldStrValue = $_; "{0} = {1}" -f ($VM.AvailableField | ?{$_.Key -eq $oCustFieldStrValue.Key}).Name, $oCustFieldStrValue.Value}) -join ",")...
    

    and you should be happy as a clam.

    BTW, this call Get-view on your first line could be optimized a little using the - Filter parameter, like:

    $AllVMs = Get-View -ViewType VirtualMachine -Filter @{"Config.Template" = "false"}
    

    Pretty minimal in this case, but can be very useful in other scenarios of Get-View.  And, you may want to retrieve only the properties of the managed VirtualMachine object that you plan to use, so that the memory usage is reduced to the minimum, speed is optimized, etc. (do you this by using the - Get-mode property param).

    Anyway, how does do for you?

  • PanelGridLayout, iterator, foreach

    Hello

    I want to display a different (from a ViewObject) line in each cell PanelGridLayout?

    do I have to use iterator and foreach component or only one?

    and which component is better (as you recommend)?

    Thank you

    I use jdeveloper 12 c (12.1.3)

    Windows 7 Professional 64 bit

    Action expect to get the name of a stream of navigation that is defined in your adfc - config.Xml.

    If what you have is a URL that you run to, then you must use the destination property and the property of the binding component action.

  • need help foreach loop

    looking to run a loop foreach with 2 variables here

    $vmwareluns = get-content c:\netappluns.txt

    $igroup = get-content c:\igroup.txt

    {foreach ($lun to $vmwareluns)

    Add-nalunmap $lun $igroup

    }

    but fails

    do I need a second loop here?

    each line in the Group must go with all lines in $lun

    You can use the nested ForEach loops

    $vmwareluns = get-content c:\netappluns.txt

    $igroups = get-content c:\igroup.txt

    {foreach ($group in $igroups)

    {foreach ($lun to $vmwareluns)

    Add-nalunmap $lun $igroup

    }

    }

  • Exclusion of a virtual machine foreach loop help

    I need to stop all the virtual machines in a particular vCenter due to work on the underlying storage.  I have a script that would normally do this, but in this case, the vCenter is virtual.  I need the foreach loop to ignore it.

    I thought I could do a nested loop, but my tests do not work...  Pointers or suggestions?

    Thanks in advance!

    ----------------------------------------

    SE connect-VIServer $server

    # Gets the list of all virtual machines in a specific folder

    $vms = get-data center-appoint "data CENTER" | Get - VM

    # Stop the virtual machines in the data center located in a State power.

    {Foreach ($vm to $vms)

    If ($vm. PowerState - eq 'Receptor') {}

    If {($vm.name-ne «vcenter01»)}

    $vmMOR = $vm | Get-View

    If {($vmMOR.Config.Tools.ToolsVersion-ne "0")}

    stop #gracefully

    Stop-VMGuest - VM $vm - confirm: $false

    sleep - 60 seconds

    }

    #forcefully VM stop

    Stop-VM - $vm VM - confirm: $false

    }

    }

    }

    sleep - 60 seconds

    Stop-VMGuest - VM vcenter01 - confirm: $false

    Try like this

    SE connect-VIServer $server

    # Gets the list of all virtual machines in a specific folder

    $vms = get-data center-appoint "data CENTER" | Get - VM |

    where {$_.} Name - not "vcenter01" - and $_. PowerState - eq "Receptor"}

    # Stop the virtual machines in the data center located in a State power.

    {Foreach ($vm to $vms)

    if($VM.) {ExtensionData.Config.Tools.ToolsVersion - only '0')}

    stop #gracefully

    Stop-VMGuest - VM $vm - confirm: $false

    sleep - 60 seconds

    }

    else {}

    #forcefully VM stop

    Stop-VM - $vm VM - confirm: $false

    }

    }

    sleep - 60 seconds

    Stop-VMGuest - VM vcenter01 - confirm: $false

  • script to add vmk1 for vmotion using foreach

    OK, so I am writing a script to add ecards to a host or multiple hosts.  The idea of the user will input one or several host names separated by a comma.  This part works fine, but the next variable I need filled is the ip address, which is also the registration of the user separated by a comma.  I can't find a way to get both of these channels in a single command.

    $servers = (Read-Host "enter host names that you want to configure... FULL domain name (separate them with comma) ").split(',') |" % {$_.trim ()}

    $lasttwooctets = (Read-host "which is the last two octets of your IP prod? (separate with comma) ").split(',') |" % {$_.trim ()}

    #Add VMK1, vmotion, nas, and backup

    foreach ($esxihost in $servers) {}

    New-VMHostNetworkAdapter - VMHost $esxihost - PortGroup 'dvPortGroup_999 (vmotion)' - 'dvSwitch_vcenter' VirtualSwitch - IP 172.24. $lasttwooctets - subnet mask 255.255.0.0 - VMotionEnabled: $true - mtu 9000

    }

    If anyone has an idea on how to make an extra foreach for the $lasttwooctets variable that would be greate

    Since you have 2 bays where the elements come together, it will be easier to do indexing yourself, instead of using the 2 nested ForEach loops.

    Something like this for example

    $servers = (Read-Host "enter host names that you want to configure... FULL domain name (separate them with comma) ").split(',') |" % {$_.trim ()}

    $lasttwooctets = (Read-host "which is the last two octets of your IP prod? (separate with comma) ").split(',') |" % {$_.trim ()}

    #Add VMK1, vmotion, nas, and backup

    0. ($servers. Count - 1) | %{

    "New-VMHostNetworkAdapter - VMHost $servers [$_] PortGroup-"dvPortGroup_999 (vmotion)"- VirtualSwitch 'dvSwitch_vcenter'"

    -"172.24.$($lasttwooctets[$_])" - subnet mask 255.255.0.0 - VMotionEnabled IP: $true - mtu 9000

    }

    You could test whether the $servers table and the $lasttwooctets table have the same number of elements, to ensure that user input is correct.

  • BI Publisher, model XSL - XML - nested loops

    Hello

    I've created a report of the XML editor in Oracle e-Business Suite with the model of type XML - XSL to display the result in EXCEL.

    Nested for loops do not work for me.

    I can't access the items in the G_COST_CENTER group.

    Please help me on how to access the items in the G_COST_CENTER and groups below it.

    Here is an example of xml data:

    < FAS440 >

    < LIST_G_SETUP >

    < G_SETUP >

    < CATEGORY_FLEX_STRUCTURE > 101 < / CATEGORY_FLEX_STRUCTURE >

    < LOCATION_FLEX_STRUCTURE > 101 < / LOCATION_FLEX_STRUCTURE >

    < ASSET_KEY_FLEX_STRUCTURE > 101 < / ASSET_KEY_FLEX_STRUCTURE >

    XXXXXXX < COMPANY_NAME > < / COMPANY_NAME >

    XXXXXXXXXXX PROPERTY < BOOK_TYPE_CODE > < / BOOK_TYPE_CODE >

    < BOOK_CLASS > COMPANY < / BOOK_CLASS >

    < ACCOUNTING_FLEX_STRUCTURE > 101 < / ACCOUNTING_FLEX_STRUCTURE >

    XXXXXXXXXXX PROPERTY < DISTRIBUTION_SOURCE_BOOK > < / DISTRIBUTION_SOURCE_BOOK >

    USD < CURRENCY_CODE > < / CURRENCY_CODE >

    < LIST_G_COMPANY >

    < G_COMPANY >

    < COMP_CODE > 01 < / COMP_CODE >

    < LIST_G_ASSET_TYPE >

    < G_ASSET_TYPE >

    capitalized < ASSET_TYPE > < / ASSET_TYPE >

    < LIST_G_ACCOUNT >

    < G_ACCOUNT >

    < ACCOUNT > 12210 < / ACCOUNT >

    < LIST_G_COST_CENTER >

    < G_COST_CENTER >

    < COST_CENTER > 21122 < / COST_CENTER >

    < LIST_G_RETIREMENTS >

    < G_RETIREMENTS >

    < > 8 stuff < / stuff >

    SALE of < RET_CODE > < / RET_CODE >

    PENSION COMPLETE < TRANSACTION_TYPE_CODE > < / TRANSACTION_TYPE_CODE >

    < > 114011 ASSET_ID < / ASSET_ID >

    < ASSET_NUMBER > 114011 < / ASSET_NUMBER >

    < ASSET_NUM_DESC > 114011 - 3.26 ACRE < / ASSET_NUM_DESC >

    < DATE_PLACED_IN_SERVICE > 25 May 94 < / DATE_PLACED_IN_SERVICE >

    < DATE_RETIRED > 3 May 12 < / DATE_RETIRED >

    < COST > 32600 < / COST >

    < PNT > 32600 < / NBV >

    < PRODUCT > 27716.93 < / PRODUCT >

    < COLLECTION > 0 < / REMOVAL >

    < REVAL_RSV_RET > 0 < / REVAL_RSV_RET >

    < TRANSACTION_HEADER_ID > 608774 < / TRANSACTION_HEADER_ID >

    < CODE > < / CODE >

    < CF_CATEGORY_NAME > XXXX. XXXX. Z.00 < / CF_CATEGORY_NAME >

    < D_COST > 32,600.00 < / D_COST >

    < D_NBV > 32,600.00 < / D_NBV >

    < D_PROCEEDS > 27,716.93 < / D_PROCEEDS >

    < D_REMOVAL > 0.00 < / D_REMOVAL >

    < GAIN_LOSS > - 4883.07 < / GAIN_LOSS >

    < D_GAIN_LOSS > (4,883.07) < / D_GAIN_LOSS >

    < / G_RETIREMENTS >

    < / LIST_G_RETIREMENTS >

    < D_COST_CENTER > 21122 < / D_COST_CENTER >

    < CC_COST > 32600 < / CC_COST >

    < D_CC_COST > 32,600.00 < / D_CC_COST >

    < CC_NBV > 32600 < / CC_NBV >

    < D_CC_NBV > 32,600.00 < / D_CC_NBV >

    < CC_PROCEEDS > 27716.93 < / CC_PROCEEDS >

    < D_CC_PROCEEDS > 27,716.93 < / D_CC_PROCEEDS >

    < CC_REMOVAL > 0 < / CC_REMOVAL >

    < D_CC_REMOVAL > 0.00 < / D_CC_REMOVAL >

    < CC_GAIN_LOSS > - 4883.07 < / CC_GAIN_LOSS >

    < D_CC_GAIN_LOSS > (4,883.07) < / D_CC_GAIN_LOSS >

    < / G_COST_CENTER >

    < / LIST_G_COST_CENTER >

    < AC_COST > 32600 < / AC_COST >

    < D_AC_COST > 32,600.00 < / D_AC_COST >

    < AC_NBV > 32600 < / AC_NBV >

    < D_AC_NBV > 32,600.00 < / D_AC_NBV >

    < AC_PROCEEDS > 27716.93 < / AC_PROCEEDS >

    < D_AC_PROCEEDS > 27,716.93 < / D_AC_PROCEEDS >

    < AC_REMOVAL > 0 < / AC_REMOVAL >

    < D_AC_REMOVAL > 0.00 < / D_AC_REMOVAL >

    < AC_GAIN_LOSS > - 4883.07 < / AC_GAIN_LOSS >

    < D_AC_GAIN_LOSS > (4,883.07) < / D_AC_GAIN_LOSS >

    < / G_ACCOUNT >

    < / LIST_G_ACCOUNT >

    < / G_ASSET_TYPE >

    < / LIST_G_ASSET_TYPE >

    < / G_COMPANY >

    < / LIST_G_COMPANY >

    < / G_SETUP >

    < / LIST_G_SETUP >

    < / FAS440 >

    -------------------------------------------------------------------------------------------------

    This is the XSL - XML template:

    ------------------------------------------------------------------------------------------------

    <? XML version = "1.0"? >

    " < xsl: stylesheet version ="1.0"xmlns: xsl = ' http://www.w3.org/1999/XSL/transform ">

    < xsl: template match = "/" >

    <? ProgID = "Excel.Sheet mso application"? >

    < workbook xmlns = "" urn: schemas-microsoft - com:office:spreadsheet ""

    xmlns:o = "" urn: schemas-microsoft-com ' "

    xmlns: x = "" urn: schemas-microsoft-com: excel ""

    xmlns:ss = "" urn: schemas-microsoft - com:office:spreadsheet ""

    ' xmlns:html = ' http://www.w3.org/TR/REC-html40 ">

    < DocumentProperties xmlns = "urn: schemas-microsoft-com" >

    Stephanie < author >, Vishnu < / author >

    Windows user < LastAuthor > < / LastAuthor >

    < set > 2013-07-19T 19: 05:05Z < / created >

    < LastSaved > 2013-07-23T 23: 54:58Z < / LastSaved >

    < version > 12.00 < / Version >

    < / DocumentProperties >

    < ExcelWorkbook xmlns = "urn: schemas-microsoft-com: excel" >

    < WindowHeight > 6255 < / WindowHeight >

    < WindowWidth > 15135 < / WindowWidth >

    < WindowTopX > 90 < / WindowTopX >

    < WindowTopY > 120 < / WindowTopY >

    < ProtectStructure > false < / ProtectStructure >

    < ProtectWindows > false < / ProtectWindows >

    < / ExcelWorkbook >

    < styles >

    < style ss:ID = 'Default' ss:Name = 'Normal' >

    < ss:Vertical alignment = 'Bottom' / >

    < borders / >

    < ss:FontName font = "Tahoma" / >

    < Interior / >

    < NumberFormat / >

    < protection / >

    < / style >

    < style ss:ID = "s62" >

    < ss:Vertical alignment = 'Top' / >

    < borders / >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < Interior / >

    < / style >

    < style ss:ID = "s63" >

    < ss: Horizontal alignment = 'Right' ss:Vertical = 'Top' / >

    < borders >

    < ss:Position border = 'Bottom' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Left' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Right' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Top' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < / borders >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < internal ss:Color = "#C0C0C0" ss:Pattern = "Solid" / >

    < / style >

    < style ss:ID = "s64" >

    < ss: Horizontal alignment = 'Left' ss:Vertical = 'Top' / >

    < borders >

    < ss:Position border = 'Bottom' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Left' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Right' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Top' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < / borders >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < internal ss:Color = "#C0C0C0" ss:Pattern = "Solid" / >

    < / style >

    < style ss:ID = 's65' >

    < ss: Horizontal alignment = 'Right' ss:Vertical = 'Top' / >

    < borders / >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < Interior / >

    < ss:Format NumberFormat = "0" / >

    < / style >

    < style ss:ID = "s66" >

    < ss: Horizontal alignment = 'Left' ss:Vertical = 'Top' / >

    < borders / >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < Interior / >

    < / style >

    < style ss:ID = 's67' >

    < ss: Horizontal alignment = 'Right' ss:Vertical = 'Top' / >

    < borders / >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < Interior / >

    < NumberFormat = 'Fixed' ss:Format / >

    < / style >

    < style ss:ID = "s68" >

    < ss:FontName font = "Tahoma" family: x = "Swiss" / >

    < / style >

    < style ss:ID = "s69" >

    < ss:Vertical alignment = 'Top' / >

    < borders / >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < Interior / >

    NumberFormat (< ss:Format="#,##0.00_);\(#,##0.00\)" / >

    < / style >

    < style ss:ID = "s70" >

    < ss: Horizontal alignment = 'Right' ss:Vertical = 'Top' / >

    < borders >

    < ss:Position border = 'Bottom' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Left' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Right' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Top' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < / borders >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < internal ss:Color = "#C0C0C0" ss:Pattern = "Solid" / >

    NumberFormat (< ss:Format="#,##0.00_);\(#,##0.00\)" / >

    < / style >

    < style ss:ID = "s71" >

    < ss: Horizontal alignment = 'Right' ss:Vertical = 'Top' / >

    < borders / >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < Interior / >

    NumberFormat (< ss:Format="#,##0.00_);\(#,##0.00\)" / >

    < / style >

    < style ss:ID = "s72" >

    < ss: Horizontal alignment = 'Left' ss:Vertical = 'Top' / >

    < borders >

    < ss:Position border = 'Bottom' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Left' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Right' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Top' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < / borders >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < internal ss:Color = "#FFFF00" ss:Pattern = "Solid" / >

    < / style >

    < style ss:ID = "s73" >

    < ss: Horizontal alignment = 'Left' ss:Vertical = 'Top' / >

    < borders >

    < ss:Position border = 'Bottom' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Left' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Right' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < ss:Position border = 'Top' ss:LineStyle = "Continuous" ss:Weight = "1".

    SS:color = "#969696" / >

    < / borders >

    < ss:FontName font = "Tahoma" family: x = 'Switzerland' ss:Color = "#000000" / >

    < internal ss:Color = "# 92 050" ss:Pattern = "Solid" / >

    < / style >

    < / style >

    < name >

    < ss:Name NamedRange = "Untitled" ss:RefersTo = "" AssetRetirement =!" R1C1:R90C14 "/ >"

    < / name >

    < worksheet ss:Name = "AssetRetirement" >

    < name >

    < ss:Name NamedRange = "Print_Area" ss:RefersTo = "" AssetRetirement =!" R1C1:R90C14 "/ >"

    < ss:Name NamedRange = "Print_Titles" ss:RefersTo = "" AssetRetirement =!" R1 "/ >"

    < / name >

    < table ss:ExpandedColumnCount = ss:ExpandedRowCount "14" = "90" x: FullColumns = "1".

    x: FullRows = "1" >

    < ss:StyleID column = "s62" ss:AutoFitWidth = "0" ss:Width = "66" / >

    < ss:StyleID column = "s62" ss:AutoFitWidth = "0" ss:Width = "84" / >

    < ss:StyleID column = "s62" ss:AutoFitWidth = '0' ss:Width = "70.5" / >

    < ss:StyleID column = "s62" ss:AutoFitWidth = "0" ss:Width = "165" / >

    < ss:StyleID column = "s62" ss:AutoFitWidth = '0' ss:Width = "136,5" / >

    < ss:StyleID column = "s62" ss:Width = "126" / >

    < ss:StyleID column = "s62" ss:AutoFitWidth = '0' ss:Width = "74.25" / >

    < ss:StyleID column = "s62" ss:AutoFitWidth = "0" ss:Width = "61.5" / >

    < ss:StyleID column = "s62" ss:AutoFitWidth = "0" ss:Width = "72" / >

    < ss:StyleID column = 's71' ss:AutoFitWidth = '0' ss:Width = "72" / >

    < ss:StyleID column = "s69' ss:AutoFitWidth = '0' ss:Width = '93' / >

    < ss:StyleID column = "s69' ss:AutoFitWidth = '0' ss:Width ="87.75"/ >

    < ss:StyleID column = "s62" ss:AutoFitWidth = "0" ss:Width = "72" / >

    < ss:StyleID column = "s62" ss:AutoFitWidth = '0' ss:Width = "13.5" / >

    < line ss:AutoFitHeight = '0' ss:Height = "13.6875" >

    < ss:StyleID of cells = "s63" > < data ss:Type = "String" > ACCT < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s63" > < data ss:Type = "String" > CSCTR < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s64" > < data ss:Type = "String" > ASSET TYPE < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s64" > < data ss:Type = "String" > No ASSET / Description < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s72" > < data ss:Type = "String" > CLASS < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s64" > < data ss:Type = "String" > Date < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s64" > < data ss:Type = "String" > Ret Date < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s63" > < data ss:Type = "String" > retirement cost < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s63" > < data ss:Type = "String" > proceeds of sale < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < cells ss:StyleID = "s70" > < data ss:Type = "String" > disposal costs < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < cells ss:StyleID = "s70" > < data ss:Type = "String" > Gain/loss < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < cells ss:StyleID = "s70" > < data ss:Type = "String" > NBV ret'd < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s73" > < data ss:Type = "String" > retirement TP < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < ss:StyleID of cells = "s73" > < data ss:Type = "String" > T < / data > < NamedCell

    SS:name = "Print_Titles" / > < NamedCell ss:Name = "Untitled" / > < NamedCell

    SS:name = "Print_Area" / > < / cell >

    < / row >

    "< xsl: for each select=".//G_ASSET_TYPE ">

    "< xsl: for each select=".//G_ACCOUNT ">

    < line ss:AutoFitHeight = '0' ss:Height = "13.6875" >

    < cell ss:StyleID = 's65' > < data ss:Type = "String" > < xsl: value-of select = "ACCOUNT" / > < / data > < NamedCell

    SS:name = "no title" / > < NamedCell ss:Name = "Print_Area" / > < / cell >

    < cell ss:StyleID = 's65' > < data ss:Type = "String" > < xsl: value-of select = "ancestor::G_ASSET_TYPE/ASSET_TYPE" / > < / data > < NamedCell

    SS:name = "no title" / > < NamedCell ss:Name = "Print_Area" / > < / cell >

    < / row >

    "< xsl: for each select="./G_ACCOUNT/G_COST_CENTER ">

    < line ss:AutoFitHeight = '0' ss:Height = "13.6875" >

    < ss:StyleID of cells = 's65' > < data ss:Type = "String" > < xsl: value-of select = "COST_CENTER" / > < / data > < NamedCell

    SS:name = "no title" / > < NamedCell ss:Name = "Print_Area" / > < / cell >

    < / row >

    < / xsl: foreach >

    < / xsl: foreach >

    < / xsl: foreach >

    < /table >

    < WorksheetOptions xmlns = "urn: schemas-microsoft-com: excel" >

    < PAGESETUP >

    < x: Orientation presentation = "Landscape" / >

    < PageMargins x: low = "0.5" x: left = x: Right "0.5" = "0.5" x: Top = "0.5" / >

    < / PageSetup >

    < print >

    < ValidPrinterInfo / >

    < > 600 HorizontalResolution < / HorizontalResolution >

    < > 600 VerticalResolution < / VerticalResolution >

    < grid / >

    < / print >

    < selected / >

    < LeftColumnVisible > 4 < / LeftColumnVisible >

    < FreezePanes / >

    < FrozenNoSplit / >

    < SplitHorizontal > 1 < / SplitHorizontal >

    < TopRowBottomPane > 1 < / TopRowBottomPane >

    < ActivePane > 2 < / ActivePane >

    < part >

    part of <>

    < number > 3 < / NB >

    < / component >

    part of <>

    < number > 2 < / NB >

    < ActiveRow > 39 < / ActiveRow >

    < ActiveCol > 4 < / ActiveCol >

    < / component >

    < / components >

    < ProtectObjects > False < / ProtectObjects >

    < ProtectScenarios > False < / ProtectScenarios >

    < / WorksheetOptions >

    < / worksheet >

    < / workbook >

    < / xsl: template >

    < / xsl: stylesheet >

    Thank you

    Yogi

    Thank you very much for your answers.

    I made the following changes in my xsl and it started working.

    -------------------------------------------------------------------------------------------------------------------------------------------------------

    Before the change:

    x: FullRows = "1" >

    AfterModification:

    -------------------------------------------------------------------------------------------------------------------------------------------------------

    Header:


    ----------------------------------------------------------------------------------------------------------------------------------------------------------


    "" http://www.w3.org/1999/XSL/Transform"xmlns: msxsl =" "urn: schemas-microsoft-com: XSLT" xmlns: user = "urn: my-scripts" xmlns:o = "" urn: schemas-microsoft-com "xmlns: x =" urn: schemas-microsoft-com: excel "xmlns:ss =" "urn: schemas-microsoft - com:office:spreadsheet" > "

    http://www.w3.org/TR/REC-html40">

    --------------------------------------------------------------------------------------------------------------------------------------------------------------

    Nested for loops:


    --------------------------------------------------------------------------------------------------------------------------------------------------------------

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Thank you

    Yogi

  • Error using nested for each activity group transform Oracle SOA 11 g

    I posted this problem in XML general forum section. I don't know if it was in the right place because the error occurs in a BPEL.

    Thank you for taking the time to post this thread.
    I created a XSLT transformation that runs on oxygen, but does not work in a SOA transformation activity.

    Given this XML-

    < country >
    < info enum = "CTRY" name = 'United States' States-total = "50" / >
    < enum = 'ST' index info = '0' sname = "New York" population = "8 244 910" / >
    < enum = 'ST' index info = '0' sname = "Chicago" population = "2 707 120" / >
    < info enum = "CTRY" name = 'Germany' States-total = "16" / >
    < enum = 'ST' index info = '1' sname = population "Berlin" = "3 469 910" / >
    < enum = 'ST' index info = '1' sname = population "Brandenburg" = "2 500 000" / >
    < / country >

    Work of XSLT in the oxygen-

    < xsl: template match = "/" >
    < country >
    [< xsl: for each group-select = "" countries / * ' group-starting-with="info[@enum='CTRY"] ">"
    < CountryInfo >
    < xsl: Call-template name = "ctry" / >
    < / CountryInfo >
    < / xsl: for each group->
    < / country >
    < / xsl: template >

    < xsl: template name = "ctry" >
    < name > country: < xsl: value-of select="@name"/ > < / name >
    districts of <>< xsl: value-of select="@total-states"/ > < / districts >
    < xsl: for each group-select = "current - group ()" group-by="@index" >
    < xsl: Call-template name = "States" / >
    < / xsl: for each group->
    < / xsl: template >

    < xsl: template name = "States" >
    < name of xsl: variable = "index" select="@index"/ >
    States <>
    < xsl: for each select = "current - group ()" >
    < name >
    < xsl: value-of select="@sname"/ >
    < / name >
    < / xsl: foreach >
    < / states >
    < / xsl: template >

    I get the desired oxygen - result

    < country >
    < CountryInfo >
    < name > country: United States of America < / name >
    < > 50 districts < / districts >
    States <>
    < name > New York < / name >
    < name > Chicago < / name >
    < / states >
    < / CountryInfo >
    < CountryInfo >
    < name > country: Germany < / name >
    < > 16 districts < / districts >
    States <>
    < name > Berlin < / name >
    Brandenburg < name > < / name >
    < / states >
    < / CountryInfo >
    < / country >

    In a transformation of Oracle, I get an error "cannot perform XPath expression. I have narrowed down the cause of the error. The error is caused by
    the nested for each group - using 'current - group ()' and 'group-by=@index '.

    < xsl: for each group-select = "current - group ()" group-by="@index" >
    < xsl: Call-template name = "States" / >
    < / xsl: for each group->

    Oracle does not throw an error if I use ' Country/info' instead of ' current - group () or group-starting-with, but this does not produce the desired result.
    because he needs to be grouped by "@index."

    Does anyone know why the Oracle processing activity is not able to use the nested < xsl: for each group-select = "current - group ()" group-by="@index" >?

    This error has been fixed by modifying .

    It seems that the XSLT for Oracle parser does not correctly XSLT 2.0. This is understandable since in 11g does not have full support for XSLT 2.0.

  • Error using nested for each group - in Oracle XSLT

    Hello everyone. Thank you for taking the time to post this thread.
    I created a XSLT transformation that runs on oxygen, but does not work in Oracle.

    Given this XML-

    < country >
    < info enum = "CTRY" name = 'United States' States-total = "50" / >
    < enum = 'ST' index info = '0' sname = "New York" population = "8 244 910" / >
    < enum = 'ST' index info = '0' sname = "Chicago" population = "2 707 120" / >
    < info enum = "CTRY" name = 'Germany' States-total = "16" / >
    < enum = 'ST' index info = '1' sname = population "Berlin" = "3 469 910" / >
    < enum = 'ST' index info = '1' sname = population "Brandenburg" = "2 500 000" / >
    < / country >

    Work of XSLT in the oxygen-

    < xsl: template match = "/" >
    < country >
    [< xsl: for each group-select = "" countries / * ' group-starting-with="info[@enum='CTRY"] ">"
    < CountryInfo >
    < xsl: Call-template name = "ctry" / >
    < / CountryInfo >
    < / xsl: for each group->
    < / country >
    < / xsl: template >

    < xsl: template name = "ctry" >
    < name > country: < xsl: value-of select="@name"/ > < / name >
    districts of <>< xsl: value-of select="@total-states"/ > < / districts >
    < xsl: for each group-select = "current - group ()" group-by="@index" >
    < xsl: Call-template name = "States" / >
    < / xsl: for each group->
    < / xsl: template >

    < xsl: template name = "States" >
    < name of xsl: variable = "index" select="@index"/ >
    States <>
    < xsl: for each select = "current - group ()" >
    < name >
    < xsl: value-of select="@sname"/ >
    < / name >
    < / xsl: foreach >
    < / states >
    < / xsl: template >

    I get the desired oxygen - result

    < country >
    < CountryInfo >
    < name > country: United States of America < / name >
    < > 50 districts < / districts >
    States <>
    < name > New York < / name >
    < name > Chicago < / name >
    < / states >
    < / CountryInfo >
    < CountryInfo >
    < name > country: Germany < / name >
    < > 16 districts < / districts >
    States <>
    < name > Berlin < / name >
    Brandenburg < name > < / name >
    < / states >
    < / CountryInfo >
    < / country >

    In a transformation of Oracle, I get an error "cannot perform XPath expression. I have narrowed down the cause of the error. The error is caused by
    the nested for each group - using 'current - group ().'

    < xsl: for each group-select = "current - group ()" group-by="@index" >
    < xsl: Call-template name = "States" / >
    < / xsl: for each group->

    Oracle does not throw an error if I use ' Country/info' instead of 'current - group ()', but this does not produce the desired result
    because he needs to be grouped by "@index."

    Does anyone know why my XSLT does not work in a transformation from Oracle?

    oracleistheway wrote:
    Does anyone know why my XSLT does not work in a transformation from Oracle?

    What do you mean by "transform Oracle?

    If you are referring to the integrated database XSLT processor available through XMLTransform or DBMS_XSLProcessor API, it does not support XSLT 2.0, 1.0 only.

    If you use the XDK Java (oracle.xml.parser.v2) Please give the exact version.

  • Cam nest excluded Homekit?

    I can only assume, because of the competitive relationship between Apple and Google, but I'm really disappointed to see that the family of nest products is excluded from Homekit.

    Stupid decision, because I do not know that I am not alone to already incorporate the nest in my house and using the app to nest on my phone.  I guess they wanted to be sure that homekit was completely irrelevant for me...

    Google and nest products are in direct competition with Apple and their proprietary Home Kit.  Google paid $3 .2b for nest laboratories and has used to launch Google home.  Completely secure communication protocols different use of two technologies, so are not inherently compatible and nest will be redesigned specifically to be. Google doesn't want you to use the nest with home kit - they want to you use the nest with their system.  Time will tell which competitor wins in the end.

  • Can I create nested address lists?

    I want to create a game of skill nested lists so that I can manage a group large enough contacts in an organization of volunteers with a hierarchy, much like how I manage contacts work with MS Outlook (sorry for mentioing the competition!). I tried to add an existing list (let's call it List1) on a new list (let's call List2) which must also conduct additional individual contacts. When I do this, "List2" shows the individual contacts and "List1" when I select for the ' to: ' line in a new email, "List2" seems OK, but when I send the mail it is sent only to individuals and does not go to the members of "List1".
    I do something wrong or Thunderbird does not support this?

    There is a bug, ask the nested lists, but he's 15, ranked when he still was Netscape. https://Bugzilla.Mozilla.org/show_bug.cgi?id=40301

    More importantly, it is in the list of features for all. https://Bugzilla.Mozilla.org/show_bug.cgi?id=841598
    And important blog posts to explain it. http://mikeconley.ca/blog/tag/ensemble/

  • Firefox starting with window nested after update to v.25.0

    When I start Windows Firefox start with nested window interface. If I close and run firefox again starts just fine.

    http://easycaptures.com/FS/uploaded/809/5563680305.PNG

    I found the reason of this problem.
    Tab Mix more-> Enable crash recovery.
    Problem has been resolved by disabling this option.

  • an easy way to bookmark, choose a nested folder structure

    When you choose bookmarks to a nested folder, it becomes a bit of a chore because you need to click on in the same way in the folder for each selected bookmark.

    Internet Explore has the ability to retain the folder chosen last bookmark of and offer this same folder again when you click the bookmarks for 2nd time button and the following.

    Firefox to be able to open all the bookmarks (in the form of hyperlinks) in a html window. It is no longer possible.

    I know that you can open all the bookmarks in a folder in tabs separated with a single command, but this isn't really what I want.

    You have 2 options:

    1. Use the bookmarks - CTRL + B to toggle the bookmarks open or closed bar. So the path to the nested folder remains open in the sidebar until you close the path by using the "-" to the left of the nested folders.
    2. To display the list of bookmarks HTML in a tab, type chrome://browser/content/bookmarks/bookmarksPanel.xul in the address bar in an empty tab. You can also set a bookmark or your home page to do this for you.
  • Firefox 8 displays the source at insead nested HTML IFRAME

    I got IFRAME nested for a few years, Firefox and other browsers display them without problems, but today with Firefox 8, I see the HTML source of the embedded iframe. My test scenario had a graph of Google in it, but because it is only the display of the HTML, I guess that the content makes no sense. I was about to create a test scenario, but I found that my editor (tinymce) is a failure also probably for the same reason.

    Looks like I answered my own question. The nested iframe did not have a header. Once I added my standard header, it worked. Firefox should get selector on the headers in the iframes.

  • iCloud photoalbums nested library.

    I suspect that I see the same thing as everyone else, but thought I would check.

    I don't see any albums nested in the new feature from iCloud photo library. They are not quote without their enveloping folder, but they aren't there at all.

    I see the same thing. Only my level "Home" albums are visible.

Maybe you are looking for