You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by Terry Zhou <xz...@bea.com> on 2006/03/14 11:00:38 UTC

Problem with generated struts-config*.xml files.

Hello, everyone,
   Has any guy seen this problem? The generated page flow files names
struts-config*.xml have wrong format, controller element was on the top
of the form-beans elements. Like this:

<struts-config>
   <controller
className="org.apache.beehive.netui.pageflow.config.PageFlowControllerCo
nfig" inputForward="true" processorClass="com.bea.console.
internal.ConsolePageFlowRequestProcessor">
    <set-property property="isReturnToPageDisabled" value="true"/>
    <set-property property="isReturnToActionDisabled" value="true"/>
    <set-property property="nocache" value="true"/>
    <set-property property="contentType"
value="text/html;charset=UTF-8"/>
    <set-property property="sharedFlows" value=""/>
    <set-property property="controllerClass" value="com.bea.console.
actions.core.server.manageconnector.ManageConnectorFlow"/>
  </controller>
  <form-beans>
    <form-bean
className="org.apache.beehive.netui.pageflow.config.PageFlowActionFormBe
an" name="nonDynaGenericDeleteForm"
type="org.apache.beehive.netui.pageflow.internal.AnyBeanActionForm">
      <set-property property="actualType" value="com.bea.console.
actionforms.NonDynaGenericDeleteForm"/>
    </form-bean>
  </form-beans>
  ......

This happened in beehive1.0, but didn't in 1.0.1, is the any issue about
this?
Thanks a lot!

Terry


_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

Re: Problem with generated struts-config*.xml files.

Posted by Rich Feit <ri...@gmail.com>.
This used to happen when using the Struts Merge feature -- is that 
what's going on here?  I'm pretty sure the bug has been fixed, though.  
For whatever reason, I can't seem to find the thread/bug, but I remember 
that the workaround is to use a Struts merge file that contains *all* 
root-level elements (even ones that are empty), in the right order.

Hope this helps,
Rich

Carlin Rogers wrote:
> Hi Terry,
>
> I'm unaware of any issue like this from 1.0. I just tried the V1 final
> release and did not see any of the struts-config files for my test page
> flows generated this way. Does this happen for all your generated Struts
> module config files or do you just have a certain one that is written out in
> the wrong order?
>
> Kind regards,
> Carlin
>
> On 3/14/06, Terry Zhou <xz...@bea.com> wrote:
>   
>> Hello, everyone,
>>    Has any guy seen this problem? The generated page flow files names
>> struts-config*.xml have wrong format, controller element was on the top
>> of the form-beans elements. Like this:
>>
>> <struts-config>
>>    <controller
>> className="org.apache.beehive.netui.pageflow.config.PageFlowControllerCo
>> nfig" inputForward="true" processorClass="com.bea.console.
>> internal.ConsolePageFlowRequestProcessor">
>>     <set-property property="isReturnToPageDisabled" value="true"/>
>>     <set-property property="isReturnToActionDisabled" value="true"/>
>>     <set-property property="nocache" value="true"/>
>>     <set-property property="contentType"
>> value="text/html;charset=UTF-8"/>
>>     <set-property property="sharedFlows" value=""/>
>>     <set-property property="controllerClass" value="com.bea.console.
>> actions.core.server.manageconnector.ManageConnectorFlow"/>
>>   </controller>
>>   <form-beans>
>>     <form-bean
>> className="org.apache.beehive.netui.pageflow.config.PageFlowActionFormBe
>> an" name="nonDynaGenericDeleteForm"
>> type="org.apache.beehive.netui.pageflow.internal.AnyBeanActionForm">
>>       <set-property property="actualType" value="com.bea.console.
>> actionforms.NonDynaGenericDeleteForm"/>
>>     </form-bean>
>>   </form-beans>
>>   ......
>>
>> This happened in beehive1.0, but didn't in 1.0.1, is the any issue about
>> this?
>> Thanks a lot!
>>
>> Terry
>>
>>
>> _______________________________________________________________________
>> Notice:  This email message, together with any attachments, may contain
>> information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
>> entities,  that may be confidential,  proprietary,  copyrighted  and/or
>> legally privileged, and is intended solely for the use of the individual
>> or entity named in this message. If you are not the intended recipient,
>> and have received this message in error, please immediately return this
>> by email and then delete it.
>>
>>     
>
>   

Re: Problem with generated struts-config*.xml files.

Posted by Carlin Rogers <ca...@gmail.com>.
Hi Terry,

I'm unaware of any issue like this from 1.0. I just tried the V1 final
release and did not see any of the struts-config files for my test page
flows generated this way. Does this happen for all your generated Struts
module config files or do you just have a certain one that is written out in
the wrong order?

Kind regards,
Carlin

On 3/14/06, Terry Zhou <xz...@bea.com> wrote:
>
> Hello, everyone,
>    Has any guy seen this problem? The generated page flow files names
> struts-config*.xml have wrong format, controller element was on the top
> of the form-beans elements. Like this:
>
> <struts-config>
>    <controller
> className="org.apache.beehive.netui.pageflow.config.PageFlowControllerCo
> nfig" inputForward="true" processorClass="com.bea.console.
> internal.ConsolePageFlowRequestProcessor">
>     <set-property property="isReturnToPageDisabled" value="true"/>
>     <set-property property="isReturnToActionDisabled" value="true"/>
>     <set-property property="nocache" value="true"/>
>     <set-property property="contentType"
> value="text/html;charset=UTF-8"/>
>     <set-property property="sharedFlows" value=""/>
>     <set-property property="controllerClass" value="com.bea.console.
> actions.core.server.manageconnector.ManageConnectorFlow"/>
>   </controller>
>   <form-beans>
>     <form-bean
> className="org.apache.beehive.netui.pageflow.config.PageFlowActionFormBe
> an" name="nonDynaGenericDeleteForm"
> type="org.apache.beehive.netui.pageflow.internal.AnyBeanActionForm">
>       <set-property property="actualType" value="com.bea.console.
> actionforms.NonDynaGenericDeleteForm"/>
>     </form-bean>
>   </form-beans>
>   ......
>
> This happened in beehive1.0, but didn't in 1.0.1, is the any issue about
> this?
> Thanks a lot!
>
> Terry
>
>
> _______________________________________________________________________
> Notice:  This email message, together with any attachments, may contain
> information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
> entities,  that may be confidential,  proprietary,  copyrighted  and/or
> legally privileged, and is intended solely for the use of the individual
> or entity named in this message. If you are not the intended recipient,
> and have received this message in error, please immediately return this
> by email and then delete it.
>