Skip to Content
New more complex Example - Message Board Discussions, Suggestions and news
Sign In
Navigation
Welcome
Downloads
Help and Support
Examples
Follow @xmlpf
Breadcrumbs
xmlportletfactory.org
Help and Support
Forums
2.- Usage ( From Xml file to CRUD Portlet)
New more complex Example
Navigation
Welcome
Downloads
Help and Support
Forums
Wiki
Contact
Video Tutorials
Examples
Message Boards
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to 2.- Usage ( From Xml file to CRUD Portlet)
New more complex Example
Threads [
Previous
|
Next
]
New more complex Example
Jack A. Rider
11/27/11 9:37 PM
RE: New more complex Example
Juan Fernández
11/28/11 8:57 AM
RE: New more complex Example
David Navarro
11/28/11 3:02 PM
RE: New more complex Example
Jack A. Rider
11/28/11 8:58 PM
RE: New more complex Example
David Navarro
11/29/11 10:51 AM
RE: New more complex Example
Jack A. Rider
12/1/11 9:53 PM
Jack A. Rider
Rank:
Jedi Knight
Posts:
134
Join Date:
7/16/11
Recent Posts
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 helps
. Saludos, Jack.
Attachments:
Students_class_diagram_v3 (Custom).png
(43.6k)
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Juan Fernández
Rank:
Youngling
Posts:
6
Join Date:
8/23/11
Recent Posts
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
Anyway, I won't say anything about Pancho Villa as a Roman Literature teacher... Juas!
Un saludo,
Juan Fernández
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
David Navarro
Rank:
Youngling
Posts:
14
Join Date:
11/10/11
Recent Posts
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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Jack A. Rider
Rank:
Jedi Knight
Posts:
134
Join Date:
7/16/11
Recent Posts
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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
David Navarro
Rank:
Youngling
Posts:
14
Join Date:
11/10/11
Recent Posts
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?.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Jack A. Rider
Rank:
Jedi Knight
Posts:
134
Join Date:
7/16/11
Recent Posts
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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top