Message Boards

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
New more complex Example
Answer
11/27/11 9:37 PM
Hello community,

We just posted a new advanced usage example, for all of you that were asking for it. Hope it clears up many of your doubts and helps in your ongoing and new projects.

We proposed a simple example of project and developed all of it see it here:

http://www.xmlportletfactory.org/school-courses-example-complex

Example contains the xml definitions file and the generated war. Find diagram attached.


Hope it helpsemoticon. Saludos, Jack.
Attachment

Attachments: Students_class_diagram_v3 (Custom).png (43.6k)

RE: New more complex Example
Answer
11/28/11 8:57 AM as a reply to Jack A. Rider.
Wow, Jack:
awesome example. I'm really amazed of the complexity XMLPF achieves emoticon
Anyway, I won't say anything about Pancho Villa as a Roman Literature teacher... Juas! emoticon
Un saludo,
Juan Fernández

RE: New more complex Example
Answer
11/28/11 3:02 PM as a reply to Juan Fernández.
Fantastic.


That example will work if the <application> nodes were in different XML files?.


Saludos,

David.

RE: New more complex Example
Answer
11/28/11 8:58 PM as a reply to David Navarro.
Hola David,

Thanks, I am not shure I did underestand you, can you explain with an example?

Saludos, Jack.

RE: New more complex Example
Answer
11/29/11 10:51 AM as a reply to Jack A. Rider.
Sure Jack.

I would like to:

Step 1: Create a XMLPF portlet for Teachers: teachers.xml


Step 2: Create a XMLPF portlet for CourseSubjects: courseSubjects.xml
In this "courseSubjects.xml" we link courseSubjects.teachersId with teachers.teachersId as
<validation>
<className>Teachers</className>
<fieldName>teacherId</fieldName>
<orderByField>teacherName</orderByField>
</validation>




Is it possible?.

RE: New more complex Example
Answer
12/1/11 9:53 PM as a reply to David Navarro.
Hola David,


I tried with you example, and didnt work, (package names, namespace in service builder, etc, etc,) but I like the posibility, because in earlier versions of XMLPF, each aplication generated a diferent .war and it did give you some more flexibility in some cases.

I will keep trying.

Thanks, Jack.