Jump to content
JasperReports Library 7.0 is now available ×

Addressbook Example


2005 IR Help

Recommended Posts

By: Slobodan Kasterovic - kaster

Addressbook Example

2005-04-15 05:28

Hi all,

 

i tryed the Addressbook-Example from http://ireport.sourceforge.net/cap7.html#7.4.

 

I see in other threads ( http://sourceforge.net/forum/message.php?msg_id=2827678 ) that are some errors in original example occured and have adopted this example.

 

Connection-SelectExpression: /addressbook/category/person

Field CATEGORY field description: @name

Field EMAIL_ADDRESSES field description: /addressbook/category/person*email

Field HOBBIES field description: /addressbook/category/person+hobbies*hobby

Field FIRSTNAME field description:

/addressbook/category/person/FIRSTNAME

Field LASTNAME field description: /addressbook/category/person/LASTNAME

Field PERSON_ID field description: /addressbook/category/person/@id

 

But,

 

1. result in iReport (preview) is 3 page document with right count of details (persons) but all in one category (home)

2. in webApplication, with same compiled report i become just ONE (first) detail and one category (home)

 

What wrong hier ?

 

PS, Please update Addressbook-Example on Homepage !!!

 

Thanks

 

 

 

 

By: Slobodan Kasterovic - kaster

RE: Addressbook Example

2005-04-15 08:42

With folowing changes i have list of categories and persons:

 

Field CATEGORY field description: ../@name

Field FIRSTNAME field description: ./FIRSTNAME

Field LASTNAME field description: ./LASTNAME

Field PERSON_ID field description: ./@id

 

 

What is with EMAIL_ADDRESSES and HOBBIES field description ?

 

Is someone hier live ?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...