Hi all, This is a a bit long question,... :-\ We are going to start a new project with Struts, and we HAVE TO use frames. So we have different approaches. Tha navigation is quite complex: same action can go to different frames, and different actions can go to the same frame, depending the place (the screen) we choose the action or the action itself. The main one is the next:
1) We think about one special action called "frames.do" which knows all the stuff with the frames composition. It would need two parameters: the position where it holds the frame, and the action is being executed. This action is setted in the original action in the session object. We are thinking to configure this action from an XML file, which would have the relacion between the action, the frame holder and the view returned (which can be another frameset calling frames.do for each frame). Would it be possible to validate this file with struts-config.xml, with the indicated forwards in the frames.do action? For example: This is the top frame, which can be loaded by several actions, so the sub-frames can be different on each call. <frameset rows="68,*" border="0" framespacing="0" frameborder="NO"> <frame src="/prototipo01/frames.do?position=frameUp&action=<session:attribute name="next"/>" name="menuPrincipal"/> <frame src="/prototipo01/frames.do?position=frameBottom&action=<session:attribute name="next"/>" name="bottom"/> </frameset> The session attibute "next" would have been setted by the action with the name of the action. Plase, what do you think? Are we making a mess? Regards Jose Ramon Diaz, E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Editorial Aranzadi: www.aranzadi.es <http://www.aranzadi.es/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]