[xul-talk] printing
we've started to move a very large commercial application to use xul as the gui. at the moment the application is not delivered as a stand alone application - it is really a replacement for a web interface, interacting with a bcakend database that create the pages. all this works well, although we still a have a long way to go. my problem is this: the end point of many operations is an iframe with browser content (usually a report). our users needs to print that frame (they're using firefox under windows and linux btw), i just haven't worked out a simple way to do it. any help is appreciated. basically what we want is a ctrl+P type function that works from a frame. (and not from a registered application) thanks rick begin:vcard fn:Rick Marshall n:Marshall;Rick email;internet:[EMAIL PROTECTED] tel;cell:+61 411 287 530 x-mozilla-html:TRUE version:2.1 end:vcard
Re: [xul-talk] listbox elements
you might also want to put some 'flex=1' attributes around the place. often the browsers don't give a box any space unless it's been told how to fill the space - with width, height, rows, flex, etc rick Martin Kessler wrote: Hello, I´m rather new in XUL and I have a small question about the examples in the XUL-Tutorial. When I´m trying to run the examples for tabboxes and so on, everything runs fine. But the examples about the tags description and listbox (what is very important for me) don´t run at all. No output is shown. Even in my own applications with this tags no output is shown. I´ve also tried it on another pc with absolutely the same result. This is the source that doesn´t work: ?xml version=1.0? ?xml-stylesheet href=chrome://global/skin/ type=text/css? window id=example-window title=Example 2.5.1 xmlns:html=http://www.w3.org/1999/xhtml; xmlns=http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul; listbox listitem label=Butter Pecan/ listitem label=Chocolate Chip/ listitem label=Raspberry Ripple/ listitem label=Squash Swirl/ /listbox /window Maybe one of you can help me, that would be very nice. I´m looking forward for any answer. bye Martin Kessler --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ xul-talk mailing list xul-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xul-talk !DSPAM:423461e7256968695618695! begin:vcard fn:Rick Marshall n:Marshall;Rick email;internet:[EMAIL PROTECTED] tel;cell:+61 411 287 530 x-mozilla-html:TRUE version:2.1 end:vcard
Re: [xul-interop] Trying to understand the purpose of XUL
there is an http request function, but... we use xul extensively for our applications and i am finding it most useful as the layout engine rather than the everything engine. particularly where interactivity is required. i'd recommend that you use xul for the layout, buttons, trees - lists perhaps - depends, and then iframes with xforms or ajax style html to do the heavy lifting. you'll get the best of all worlds. rick Rashmi . wrote: I tried embedding html form tags, but when the form is submitted only the values stored in the html input tags get submitted, the values entered in XUL input does not get submitted. This is a big problem for me. I feel that XUL is better than AJAX but, why does XUL not submit form data to the back end just like how HTML does? */Tei [EMAIL PROTECTED]/* wrote: 1) AJAX, the good one. 2) embed html tags ,may work think in the application level. one abstraction layer up. On 2/19/06, Rashmi . wrote: Hello, I am trying to use XUL for my website's administration module. I was able to implement a simple example where I show a text box and a button. Then I tried to find out information on how to submit what is entered in the text box to the business layer and eventually to the database. I researched for 2 days on the internet regarding this, but it looks like there is no straight forward way to submit a forms data when the web page is built using XUL. Is this true? Clearly I don't completely understand the purpose of XUL. From what I have read so far, it seems like XUL is only suited for rendering content and not for saving user entered data. Please let me know what XUL can and cannot do. I am really looking forward to use XUL to build my website, but I need to know if I can use XUL to submit form data first. -Thank you Rashmi -- Oscar Vives Consultor de Software Libre www.servicios-dpi.com Telf 645 167 472 [EMAIL PROTECTED] !DSPAM:43f8d639163561775714401! begin:vcard fn:Rick Marshall n:Marshall;Rick email;internet:[EMAIL PROTECTED] tel;cell:+61 411 287 530 x-mozilla-html:TRUE version:2.1 end:vcard