jsf and action problem
hi
i would like to realize this one:
i have two links. If i click one link the application loads one special site, clicking other link other site will be loaded. How can I do that. Here is what i have:
....
menu.jsp (with my links)
....
<h:commandLink id="german" title="#{myMsg.link_german}" action="?" value ="#{myMsg.link_german}" onmousedown="?"></h:commandLink>
<h:commandLink id="english" title="#{myMsg.link_english}" action="?" value ="#{myMsg.link_english}" onmousedown="?"></h:commandLink>
.....
data.jsp (with my sites included)
.....
<h:panelGrid>
<f:facet name="header">
<f:subview id="header">
<jsp:include flush="true" page="header.jsp"></jsp:include>
</f:subview>
</f:facet>
<f:verbatim>
<jsp:include flush="true" page="html/data1.html"></jsp:include>
</f:verbatim>
(this page i would like to change in dependance of clicking the links->data1)
<f:facet name="footer">
<f:subview id="footer">
<jsp:include flush="true" page="footer.jsp"></jsp:include>
</f:subview>
</f:facet>
</h:panelGrid>
how can i do that?With javascript or serverside code?How can i say my program: now you should include other page?
Thanks in advance

