• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
excelgeneration problem :(
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

excelgeneration problem :(


  • Subject: excelgeneration problem :(
  • From: Theodore Petrosky <email@hidden>
  • Date: Mon, 06 Feb 2017 15:08:00 -0500

I hope someone can help


This top WO html works! Specifically, the second repetition in with the list array that comes from the outer loop!

<table name="Sheet 1" border="1" >
<tr>
      <th cellType = "CELL_TYPE_STRING" height = "24" class="header" width = "25">First Name</th>
      <th cellType = "CELL_TYPE_STRING" class="header" width = "25">Last Name</th>
      <th cellType = "CELL_TYPE_STRING" class="header" width = "25">Date Created</th>
</tr>
<wo:WORepetition list="$thePersonArray" item="$aPerson">
<tr>
        <td cellType = "CELL_TYPE_STRING" height = "20" width = "25"><wo:WOString value = "$aPerson.firstName" /></td>
<td cellType = "CELL_TYPE_STRING" height = "20" width = "25"><wo:WOString value = "$aPerson.lastName" /></td>
<td cellType = "CELL_TYPE_STRING" height = "20" width = "25"><wo:WOString value = "$aPerson.creationDate" /></td>


<wo:loop list="$aPerson.personInstruments" item="$api">
     <td cellType = "CELL_TYPE_STRING" height = "20" width = "25"><wo:WOString value = "$api.instrument.instrumentName" /></td>
</wo:loop>
</tr>
</wo:WORepetition>
</table>




This does not! it claims that $anEvent.eventPersons is empty! It correctly creates the proper number of sheets, the header are there, but the inside repetition is blank! Maybe I am just doing it wrong:



<wo:WORepetition list="$theEvents" item="$anEvent">
<webobject name="SheetsForDate">
<tr>
      <th cellType = "CELL_TYPE_STRING" height = "24" class="header" width = "25">First Name</th>
      <th cellType = "CELL_TYPE_STRING" class="header" width = "25">Last Name</th>
      <th cellType = "CELL_TYPE_STRING" class="header" width = "25">Salary</th>
      <th cellType = "CELL_TYPE_STRING" class="header" width = "25"><wo:WOString value = "$anEvent.show.showName"/></th>
</tr>
<wo:WORepetition list="$anEvent.eventPersons" item="$ePerson">
<tr>
      <td cellType = "CELL_TYPE_STRING" height = "20" width = "25"><wo:WOString value = "$ePerson.person.firstName" /></td>
      <td cellType = "CELL_TYPE_STRING" height = "20" width = "25"><wo:WOString value = "$ePerson.person.lastName" /></td>
      <td cellType = "CELL_TYPE_STRING" height = "20" width = "25"><wo:WOString value = "$ePerson.person.salary" /></td>
</tr>
</wo:WORepetition>
</webobject>
</wo:WORepetition>


SheetsForDate: WOGenericContainer {
elementName = "table";
name = anEvent.theEventDate;
border = 1;
}
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: will this work??
  • Next by Date: Re: Alive ?
  • Previous by thread: Re: will this work??
  • Next by thread: Re: excelgeneration problem :(
  • Index(es):
    • Date
    • Thread