You might try casting your String array to an Object array.

Matt

On Thu, Aug 14, 2008 at 8:25 PM, Mohammad Irfan <[EMAIL PROTECTED]> wrote:
> the html source just display:
> <tr class="even" id="informal_0">
>        <td class="job.nameColumnValue" id="informal_1">&nbsp;</td>
>        </tr>
>
> On tapestry, it is a convenient if the list is a List of Object. I can
> use 'object.itsproperty'. How to do it with just a string array?
>
>
> On 8/14/08, Matt Raible <[EMAIL PROTECTED]> wrote:
>> If you view-source, does it show anything?
>>
>>  Matt
>>
>>
>>  On Thu, Aug 14, 2008 at 5:50 AM, Mohammad Irfan <[EMAIL PROTECTED]> wrote:
>>  > Hi, I'd like to display an array of string on tapestry.
>>  >
>>  >  on the java class (JobList.java) i have this get method:
>>  >
>>  >
>>  >        public abstract void setKonter(int kont);
>>  >
>>  >        public abstract int getKonter();
>>  >
>>  >        public String[] getJobGroups() {
>>  >                try {
>>  >                        this.jobGroupList =
>>  > getQuartzScheduler().getJobGroupNames();
>>  >                } catch (SchedulerException e) {
>>  >                        log.error("Kegagalan Scheduler", e);
>>  >                }
>>  >                return this.jobGroupList;
>>  >        }
>>  >
>>  > ----------------------------------------
>>  >
>>  >  Then on my JobList.html:
>>  >
>>  >  <table jwcid="[EMAIL PROTECTED]:Table" class="table contribTable jobList"
>>  >  id="jobList"
>>  >  rowsClass="ognl:beans.rowsClass.next" row="ognl:row" 
>> source="ognl:jobGroups"
>>  >  columns="job.name" arrowUpAsset="asset:upArrow"
>>  > arrowDownAsset="asset:downArrow"
>>  >  index="ognl:konter">
>>  >  <tr jwcid="[EMAIL PROTECTED]">
>>  >  <a jwcid="@DirectLink" listener="listener:edit"
>>  >  parameters="ognl:jobGroups[konter]">
>>  >  <span jwcid="@Insert" value="ognl:jobGroups[konter]"/>
>>  >  </a>
>>  >  </tr>
>>  >  </table>
>>  >  ------------------------
>>  >  Am I wrong? But the page seems doesn't show the list.
>>  >
>>
>> > ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>>  > For additional commands, e-mail: [EMAIL PROTECTED]
>>  >
>>  >
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>>  For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> Wassalamu'alaikum wr. wb.
> Mohammad Irfan
>
> ---
> www.doktermaya.com
> www.L-Ads.com (classifieds ads, iklan baris)
> www.komplain.org (complain about product)
> www.akarprima.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to