Save output files
Hello the list, I'm using simple pipeline (cocoon 2.0.2): and i want to save the output (the html file) instead of simply viewing it with my browser. Can you please give me some clues. Thanks in advance, Thomas Balthazar [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
SUMMARY: dynamic src for
-- -- the question -- -- what can i do if i want to have a source that is dynamicly generated for the "" tag in the sitemap.xmap file? i want the "src" attribute to be defined depending on the link the user click on. (e.g. : href="http://localhost:8080/cocoon/preview.html?page=/content/xml01.xml"; ) -- -- the solution -- -- adding this tag "" and this tag "" makes it possible to get the "page" request attribute. then, you can define the "src" by using the "page" attribute like this "". it works fine for me. thank the list and christian haul for the quick answer. thomas balthazar [EMAIL PROTECTED] > -Original Message- > From: Christian Haul [mailto:[EMAIL PROTECTED]] > Sent: mardi 9 juillet 2002 18:36 > To: [EMAIL PROTECTED] > Subject: Re: dynamic src for > > > Two solutions (depending on your version): > > a) RequestParamAction (2.0.x + 2.1) > > > > > > > > > > > > b) InputModules (2.1) > > > > > > > > You might want to use ResourceExistsAction to check whether > the provided page exists. > > Chris. > > Please follow up summarizing your problem and which > suggested solution / information worked for you when you > consider your problem solved. Add "SUMMARY: " to the subject > line. This will make FAQ generation and searching the list > easier. In addition, it makes helping you more fun. Thank you. > > -- > C h r i s t i a n H a u l > [EMAIL PROTECTED] > fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 > > > - > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > - Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
dynamic src for
hello everybody, i'm a newbie with cocoon, and i would like to quickly test some feature to eventually use it on a real project. here is the situation : 1. the end user click on an hyperlink (href="http://localhost:8080/cocoon/tba/preview.html";) 2. in the sitemap.xmap, the '' "catches the click". 3. then the "" file is processed by "" then serialized with "" ok, this is "easy", the page is displayed and it works fine for me. now, what i would like to do is to select the "" dynamicly, depending on the link the user clicked on. what i want to have is : i generate links for the end user that looks like this : href="http://localhost:8080/cocoon/tba/preview.html?page=/content/_MY_XM L_PAGE_1.xml" href="http://localhost:8080/cocoon/tba/preview.html?page=/content/_MY_XM L_PAGE_2.xml" ... if the user clicks on the first link, i would like to have something like that if the user clicks on the second link, i would like to have something like that and so on ... what i have done is : 1. i generate a link for the end user that looks like this : href="http://localhost:8080/cocoon/tba/preview.html?page=/content/_MY_XM L_PAGE_1.xml" 2. in the sitemap.xmap, the '' "catches the click". 3. with "" i can get the "page" parameter with the " tag. 4. i can display this parameter for debug with "" and "" so what can/must i do with this parameter? do i have to do something like a "redirect" in the pipeline? do i have to do it with an "action"? i hope i was clear ;o) can you please help me? thanks in advance. -- Thomas Balthazar [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>