Closed GoogleCodeExporter closed 8 years ago
Hi Priyanka,
If I understand your problem, your first table is well generated and not the
second?
If you remove the first table, is the second table is well generated?
It's difficult for me to help you because I have not your model and not your
data. Please attach your Java Main + POJO which causes the problem.
Regards Angelo
Original comment by angelo.z...@gmail.com
on 22 May 2013 at 12:55
Hello Angelo,
Yes what you understand is right.The problem occurs when we have list in
tables which comes from different model then only one table comes properly.
It is difficult for me to attach all code because it has dependencies on
other classes too.
I am attaching both pojo classes and java main code.
Original comment by davepriy...@gmail.com
on 23 May 2013 at 10:35
Ok,
I'm waiting for your project.
Have you tried removing the first table? In this case is the second table is
well generated? If no I think it's a problem with your fields name.
Original comment by angelo.z...@gmail.com
on 23 May 2013 at 11:11
Hello Angelo,
Yes If I have single table with list fields then it works fine.But If it
has two table both have list fields coming from different models then its
not working.
Original comment by davepriy...@gmail.com
on 23 May 2013 at 11:19
wow, that's very strange? I'm waiting for your project. Please clean up it in
order to it's simply for me to start your main to avoid I must understand and
adjust your code.
Thank's
Original comment by angelo.z...@gmail.com
on 23 May 2013 at 11:26
Hello Angelo,
My Application is too big and I cant send everything over here.Is it
possible for you to test for two table having list fields coming from two
different models?
Original comment by davepriy...@gmail.com
on 23 May 2013 at 11:54
No I cannot. We have several samples which works with several tables (but with
same model). But I don't think your problem comes from 2 models.
Perhaps your model is complex? I have no time to create samples and guess your
model. So I suggest you to create a basic Pojo and basic Java main (hard code
your data) which causes the problem. Without that I cannot help you more.
Original comment by angelo.z...@gmail.com
on 23 May 2013 at 12:07
OK I will send you samll application by tomorrow.
Original comment by davepriy...@gmail.com
on 23 May 2013 at 12:10
We are waiting your small application. It's perhaps a bug with Fieldsmetadata
load.
Have you tried to comment the first load of metadata :
//fieldsMetadata.load("clientInStateAddress", ClientAddressMasterDTO.class,
true);
Original comment by angelo.z...@gmail.com
on 28 May 2013 at 7:17
Yes If I comment it it works..
I feel there is some problem in model so I am trying to fix it.
Thanks for your time and developing such a great Report tool.
Original comment by davepriy...@gmail.com
on 28 May 2013 at 7:40
Ok thank's for your test. So it's a bug with XDocReport FieldsMetadata.load.
It should be very cool if you add your java code in this issue in order to fix
it.
We need not your docx, just your POJO (which compiles). And the test will be
simple.
Call the two fieldsMetadata.load and after fieldsMetadata.save and check
clientInStateAddress* fields are available in the XML stream of fields metadata.
Original comment by angelo.z...@gmail.com
on 28 May 2013 at 7:45
I feel like there is some problem with my model structure which is causing
error.
No problem with xdocReport.
I need to test everything again.
Original comment by davepriy...@gmail.com
on 28 May 2013 at 8:30
Original comment by angelo.z...@gmail.com
on 18 Feb 2014 at 2:29
Original issue reported on code.google.com by
davepriy...@gmail.com
on 22 May 2013 at 12:10Attachments: