× 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.



JSP has no client side functionality, it is server side technology.

cheers
Colin.W
 
Extension   5800
Direct dial   0870 429 5800


-----Original Message-----
From: Pete Helgren [mailto:Pete@xxxxxxxxxx] 
Sent: 19 April 2005 16:22
To: Java Programming on and around the iSeries / AS400
Subject: Re: In significant need of help.


I'll have to think about that a bit.  Since Javascript is generally a 
client side thing, I am not sure how you could create an object on the 
server and make it accessible to the client.  I vaguely remember doing 
something like this in .asp a while back but it was ugly.  JSP's kind of 
muddy the waters between client side and server side so perhaps there is 
a way with JSP's to do this.

I am by no means an experienced .jsp programmer.  We moved to FreeMarker 
so we could avoid JSP's.  Freemarker, being a server side engine has 
gotten us a close to MVC as possible....but I am digressing here.

There are a couple of guys here that are much smarter than me (ain't 
hard...) with JSP and Java scripting.  I'll see what they say.

Pete


RPower@xxxxxxxxxx wrote:

>It's a combination Java and JSP.
>
>I'd like to access the vector in my javascript so that I can load the
>values like a record selector.  Forgive me, I'm new to java and I'm 
>feeling lost lol.  If this were RPG I'd be done already.  Mind you I love 
>what you can do in here though.
>
>Ron Power
>Programmer
>Information Services
>City Of St. John's, NL
>P.O. Box 908
>St. John's, NL
>A1C 5M2
>Tel: 709-576-8132
>Email: rpower@xxxxxxxxxx
>Website: http://www.stjohns.ca/ 
>_______________________________________________________________________
>____
>Success is going from failure to failure without a loss of enthusiasm. - 
>Sir Winston Churchill
>
>
>
>
>Pete Helgren <Pete@xxxxxxxxxx>
>Sent by: java400-l-bounces+rpower=stjohns.ca@xxxxxxxxxxxx
>19/04/2005 12:15 PM
>Please respond to
>Java Programming on and around the iSeries / AS400 
><java400-l@xxxxxxxxxxxx>
>
>
>To
>Java Programming on and around the iSeries / AS400
><java400-l@xxxxxxxxxxxx>
>cc
>
>Subject
>Re: In significant need of help.
>
>
>
>
>
>
>Ron,
>
>I have done this but we use FreeMarker as a template engine and it
>actually renders the Hash into an item list. 
>
>Are you creating the HTML from within a Java program?  Are you using
>JSP's?  Do you want to use the vector object directly in your HTML form?
>
>I am just trying to get a sense of how you want to render the vector
>into a list with HTML (again, we let FreeMarker do that in the servlet)
>
>Pete Helgren
>
>
>RPower@xxxxxxxxxx wrote:
>
>  
>
>>I'm completely lost at this point.  I wish I could send a screenshot 
>>to
>>the list to explain what I want to accomplish, but I'll try to with 
>>    
>>
>words.
>  
>
>>Here goes:
>>
>>I have a browser window that displays a customer's information.  Below
>>    
>>
>the
>  
>
>>customer's information I have a form that shows the bulk garbage 
>>details
>>for that customer.  We want the user to be able to use a drop down box 
>>that shows the bulk garbage received date in it, and use that to navigate 
>>    
>>
>
>  
>
>>thru my record.
>>
>>I've created and loaded a bulk garbage object that I've loaded into a
>>vector that I'm using on the page. However, I don't know if this is right 
>>    
>>
>
>  
>
>>or wrong, and I can only access the very first index of the vector to
>>    
>>
>show
>  
>
>>the  record.  I need to know what should I use here to make this easy 
>>to
>>accomplish?  Hashtable, vector?  And once I have it loaded, how will I 
>>    
>>
>use
>  
>
>>the drop down box selection as my navigation?  TIA,
>>
>>Ron Power
>>Programmer
>>Information Services
>>City Of St. John's, NL
>>P.O. Box 908
>>St. John's, NL
>>A1C 5M2
>>Tel: 709-576-8132
>>Email: rpower@xxxxxxxxxx
>>Website: http://www.stjohns.ca/ 
>>______________________________________________________________________
>>_____
>>Success is going from failure to failure without a loss of enthusiasm. - 
>>Sir Winston Churchill
>>
>>
>>    
>>
-- 
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.

This e-mail has been sent by a company of Bertram Group Ltd, whose registered 
office is 1 Broadland Business Park, Norwich, NR7 0WF. 
This message, and any attachments, are intended solely for the addressee and 
may contain privileged or confidential information.  If you are not the 
intended recipient, any disclosure, copying, distribution or any action taken 
or omitted to be taken in reliance on it, is prohibited and may be unlawful.  
If you believe that you have received this email in error, please contact the 
sender immediately. Opinions, conclusions and statements of intent in this 
e-mail are those of the sender and will not bind a Bertram Group Ltd company 
unless confirmed in writing by a director independently of this message. 
Although we have taken steps to ensure that this email and any attachments are 
free from any virus, we advise that in keeping with good computing practice the 
recipient should ensure they are actually virus free.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.