Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / JavaBeans / June 2005

Tip: Looking for answers? Try searching our database.

SetProperty per oggetti Complessi

Thread view: 
matic74@libero.it - 08 Jun 2005 16:19 GMT
 Salve a tutti,

sto sviluppando un'applicazione web piuttosto complessa in java che utilizza il framework Bluprint della Sun.

 

In particolare, la mia problematica è legata alla gestione degli oggetti di business nell'interfaccia con l'utilizzo, nelle jsp, dei metodi setProperty e getProperty java.

 

Gli oggetti che utilizzo sono i seguenti:

 

‘public class Anagrafica  implements java.io.Serializable {

 

  ...

  private Vector indirizzi;

 

}

...

public class Indirizzo implements java.io.Serializable {

 

  protected String tipo;

  protected String particella;

  protected String address;

  protected String houseNumber;

  protected String zipCode;

...

}

 

Ciò che voglio realizzare è la visualizzazione nella jsp dell'interfaccia di tanti ‘frame' quanti sono gli oggetti Indirizzo contenuti nel Vector di Anagrafica. Scrivendo, però, ciò che segue:

<jsp:useBean id="..." class="..." scope="session">

 

<jsp:setProperty name="indirizzo" property="*"/>,

 

il metodo setProperty non setta le propriet&agrave; complesse dell' oggetto vector indirizzo.

 

 

 

Spero di esser stata chiara.

Attendo un vostro suggerimento...

 

 

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

Annalisa Cosmai

 
Andrew Thompson - 09 Jun 2005 09:19 GMT
>   Salve a tutti,
>
>  sto sviluppando un'applicazione web piuttosto complessa in java che utilizza il framework Bluprint della Sun.
>  In particolare, la mia problematica &egrave; legata alla gestione degli oggetti di business nell'interfaccia con l'utilizzo, nelle jsp, dei metodi setProperty e getProperty java.
>  Gli oggetti che utilizzo sono i seguenti:

This apparently translates as..
I am developing a rather complex application web in java that it uses
framework the Bluprint of the Sun.  In particular, my problematic one è
tied to the management of the objects of business in the interface with I
use it, in the jsp, of the methods setProperty and getProperty java.

To Annalisa:-

"Ha il significato inviare a questo gruppo usando la lingua che capite il
più bene, ma prego usa Google 'traduce'* gli attrezzi per dare una versione
inglese pure - questo senso la maggior parte dei lettori può capire!"

* <http://www.google.com/language_tools?hl=it>

Follow-Ups set to the only one of those groups to which I subscribe.

Signature

Andrew Thompson
http://www.PhySci.org/codes/  Web & IT Help
http://www.PhySci.org/  Open-source software suite
http://www.1point1C.org/  Science & Technology
http://www.LensEscapes.com/  Images that escape the mundane



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.