× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.






Sorry, can't be done.
If you want to get a list of things, your best bet is to use the Subfile
(Table) component.

Larry Schweyer
iSeries AD, IBM Toronto Lab
schweyer@xxxxxxxxxx
(905)413-4084 Tie-line: 969-4084




                                                                           
             Eric.Matthews@cor                                             
             .gov                                                          
             Sent by:                                                   To 
             wdsci-l-bounces@m         wdsci-l@xxxxxxxxxxxx                
             idrange.com                                                cc 
                                                                           
                                                                   Subject 
             06/17/2004 11:17          [WDSCI-L] Web Interaction wizard,   
             AM                        struts,     and data structure      
                                       arrays - WDSCi 5.0.1.3              
                                                                           
             Please respond to                                             
                 Websphere                                                 
                Development                                                
             Studio Client for                                             
                  iSeries                                                  
                                                                           
                                                                           




Can the web interaction wizard auto-generate a JSP that displays a data
structure array (retrieved from an RPG program call) as an HTML table?  In
my testing thus far, it appears to only output the first entry in the data
structure array as if it was a scalar variable - the rest of the data in
the DS array is not displayed.

With the recent update to 5.0.1.3, I saw this fix:

1.APAR - SE14472: The program call wizard generates incorrect code to
access the length of an array of structures.

I thought this might the problem, and while the code now doesn't cause
errors after being auto-generated from the wizard, the additional data in
the DS array is still not displayed.

Is there a setting I'm missing, or is there a plan to add this
functionality to the wizard?  I've done a bit of a workaround by grabbing
the page scoped bean with java code directly on the result page JSP and
then using the struts logic tag library to iterate through the data
structure to build my own table, but I was hoping for a more elegant way
(ok, I wanted the wizard to do my work for me!).

-Eric
_______________________________________________
This is the Websphere Development Studio Client for iSeries  (WDSCI-L)
mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.