First, I would like to say: Great job.
I am still puzzling on how to build highly-interactive portlet. Here is a user case:
1) the default template is page1.vm rendering default data prepared by
buildNormalConent of Action1.java
2) on page1.vm, there are couple of links, each link will result an action, generate
different data and need diifferent templates to render. For example, there is a link
"link1" on page1.vm:
page1.vm ---link1--->method in action1---->page2.vm.
I think this is the sequence in JetSpeed
1) action1.buildNormalContent ---> page1.vm
2) --->link1--->method in action1
-->action1.buildNormalContent--->action1.setTempate(page2.vm)--->page2.vm.
I am looking for a solution like this.
1) action1.buildNormalContent ---> page1.vm
2) --->link1--->method in action2
-->action2.buildNormalContent--->action2.setTempate(page2.vm)--->page2.vm.
The reason I am looking for such solution is that for a highly-interactive portlet,
there are many links, actions and templates. Using one action class to handle this
might not be feasible.
I noticed that (Maybe I was wrong), Jetspeed lacks of flow control and state
management inside a portlet. Any tips, solutions, workaround are highly appreciated.
Thanks
Wei