<br>Actually, if you use struts2 actions purely for the dynamic part and forward results always to an opencms url, you could achieve caching along with workflow and any other good things that struts provides. no? <br><br><div class="gmail_quote">
On Wed, Feb 17, 2010 at 5:08 AM, Edwin Chiu <span dir="ltr"><<a href="mailto:edwin.chiu@gmail.com">edwin.chiu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Hi Achim,<br>
<br>
I can see your point. Especially you said "The more custom modification are<br>
<div class="im">done to a product the harder it will become to get support or for other<br>
</div>developers that join the team later to understand what is going on.", it let<br>
me thinking of mapping the forward path to OpenCms's vfs is such an ugly<br>
manner.<br>
<br>
Anyway, thanks for your reference and sharing. You always give me some<br>
useful directions in this forum.<br>
<br>
Let me waiting for other suggestions on Struts 2.<br>
<div><div></div><div class="h5"><br>
Thanks<br>
Edwin<br>
<br>
<br>
Achim Westermann wrote:<br>
><br>
> Hi Edwin,<br>
><br>
> Sorry, that was a typo. I ment to writ: "I have seen.." and not "If seen".<br>
><br>
> I did never integrate struts with OpenCms myself. I just saw that you can<br>
> do some mistakes and expect that the system will become more<br>
> complex. The more custom modification are done to a product the harder it<br>
> will become to get support or for other developers that join the<br>
> team later to understand what is going on. So personally I would avoid<br>
> integration of struts unless the number of dialog flows is big enough<br>
> to save a lot of code.<br>
><br>
> This sounds good:<br>
> <a href="http://opencms-forum.de/opencms-forum/viewthread?thread=684#2323" target="_blank">http://opencms-forum.de/opencms-forum/viewthread?thread=684#2323</a><br>
><br>
><br>
> HTH,<br>
><br>
> Achim<br>
><br>
><br>
> Edwin Chiu wrote:<br>
>> Hi Achim,<br>
>><br>
>> Thanks for your quick reply.<br>
>><br>
>> I don't really get what you saying of "If seen an OpenCms installation<br>
>> based<br>
>> completely on struts with a lot of redirects. This was not cacheable and<br>
>> related in bad / critical performance issues.". Can you give me some<br>
>> examples?<br>
>><br>
>> Using native JavaBean was one of my decisions to handle the one-step<br>
>> registration forms. But the forms may consist n-step to complete a<br>
>> registration flow. So I decide to make use of some facilities (i.e.<br>
>> validationWorkflowStack) in Struts 2 to achieve the goal.<br>
>><br>
>> What do you think? Which approach you would use in such case, Native<br>
>> JavaBean or Struts 2?<br>
>><br>
>> Thanks,<br>
>> Edwin<br>
>><br>
>><br>
>> Achim Westermann wrote:<br>
>>> Hi Edwin,<br>
>>> a simple question: What about coding a simple JSP without struts? Maybe<br>
>>> a<br>
>>> Bean that collects the data, some manual validation, the submit<br>
>>> action and you are through. If seen an OpenCms installation based<br>
>>> completely on struts with a lot of redirects. This was not cacheable and<br>
>>> related in bad / critical performance issues.<br>
>>><br>
>>> cheers,<br>
>>><br>
>>> Achim<br>
>>><br>
>>> Edwin Chiu wrote:<br>
>>>> Hi All,<br>
>>>><br>
>>>> Recently, I've a project that decide to use OpenCms 7.5.2 with some<br>
>>>> registration form integration. For those registration forms, I decide<br>
>>>> to<br>
>>>> use<br>
>>>> Struts 2. Do you guys have any experiences on integrating Struts 2 with<br>
>>>> OpenCms? Is there any important/tricky things I should aware?<br>
>>>><br>
>>>> The first thing I would raise up is multilingual. I am using sibling to<br>
>>>> handle multilingual in OpenCms. Then how would you guys handle language<br>
>>>> switch for Struts Action Path?<br>
>>>><br>
>>>> Feel Free to explore your points.<br>
>>>><br>
>>>> Many Thanks,<br>
>>>> Edwin<br>
>>><br>
>>> _______________________________________________<br>
>>> This mail is sent to you from the opencms-dev mailing list<br>
>>> To change your list options, or to unsubscribe from the list, please<br>
>>> visit<br>
>>> <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
>>><br>
>>><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the list, please visit<br>
> <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
><br>
><br>
<br>
</div></div><font color="#888888">--<br>
View this message in context: <a href="http://old.nabble.com/Struts-2-with-OpenCms-7.5.2-tp27620348p27622141.html" target="_blank">http://old.nabble.com/Struts-2-with-OpenCms-7.5.2-tp27620348p27622141.html</a><br>
</font><div class="im">Sent from the OpenCMS - Dev mailing list archive at Nabble.com.<br>
<br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</div></div></blockquote></div><br>