hey i have a xsl-based website with different frames. The top-frame is html, the navigation-frame xml with xsl and the mainframe also xml with xsl. i want to switch any moment from language. So when i click in the top on the language button i want to have information in the top of the mainframe: i want to know some information of my xml, so i can show the same information in that frame in an other language, and not at the startpage of the other language.
i want the attribute ID from the mainframe in the topframe. <CARD ID="TF030"> is there a way to capture an attribute from another frame by refreshing the page or while pressing a button? my english isn't very good, i hope it make's any sence. Can somebody give me some information or an example? thanks a lot. Tom thanks.. [ October 28, 2003: Message edited by: Tom db ] [ October 28, 2003: Message edited by: Tom db ] [ October 30, 2003: Message edited by: Tom Brown ]
Tom, Sorry to bother you but I'd like to ask you to change your display name -- it doesn't quite comply with our naming policy, which requires a two-part, real (or realistic sounding) display name. Thanks.
hey doco thanks for the reply, but i want to get the value from the mainframe in the topframe. so how make i a link(connection) to the other frame? thanks tom
Donald R. Cossitt
posted 16 years ago
So when i click in the top on the language button
Did you use servlet[s] to create the pages to begin with? If so, were the servlet[s] designed to be re-used based on some conditions? If so, why not have your 'submit/ion' reuse those servlet[s] to refresh those pages again - based on an updated condition?
Tony Yan<br /> <br />IBM Certified Developer XML and Related Technology<br />Sun Certified Web Component Developer For J2EE Platform<br />Sun Certified Programmer For Java 2 Platform
posted 16 years ago
thanks all for the reply, i'll give some more information. maybe that helps. I hope that i can explain my problem.
* I work with 2 index pages. index_nl and index_fr * navframe with xml/xsl stylesheet. * mainframe with xml/xsl stylesheet. in every xml file there is a <LANG>NL</LANG> or <LANG>FR</LANG>. * I show 2 different xml-files in the mainframe. One page with toc of products and when you pick one product you go to the product in the same frame. In that xml-file there is a reference to the productnumber. * when i am in the NL-language and push the FR-language button to go to the other language i want to give the same pages, but in the other language.
what can i do? when i push the button i have to trace which xml file is loaded in the mainframe. then i have to send it to the other indexpage to show the right page in the mainframe but in the other language. I have 2 sort of files to show in the mainframe. One toc-file wich is made by starting the page.. so thats an easy url-link. And in the other case i have to give a command to import the right xml product file.
is there an other solution? maybe an refresh button and a tool or something to catch some data from the mainframe?