Re: How to assign the POPUP window to hyperlink i.e

2005-02-11 Thread alu, artifex
it *should* work without the onClick event but with the javascript: keyword before the link: ','previewwin','width=700,height=460, scrollbars=yes,resizable=yes,location=no');"> ... just look at the quotes: ' opposed to " -- i think that's the reason why it didnt work art senthil Kumar wrote: He

taglibs: how can i rewrite an action uri without rendering a html link tag?

2004-07-30 Thread alu, artifex
i need to rewrite an action uri for use in a javascript function, something like this: -- function foo() { document.location.href=; } -- however the renders html code which i can't use in my javascript function. the tag doesnt provide support for the "action" attribute (whic

Re: advice needed: view+form needs data from an action

2004-07-28 Thread alu, artifex
member the values for your dropdowns between requests if you don't want to keep asking the database. There are two places you could store this - in session or in application scope. You need to decide which is more appropriate. HTH, Paul -Original Message----- From: alu, artifex [mailto:[

Re: advice needed: view+form needs data from an action

2004-07-28 Thread alu, artifex
Kataria, Satish wrote: I am not very clear what is the issue ur facing. For populating the dropdowns , u cld hit DB in the action and polulate apropriate DTO and put it in request. U cld then use the values from the DTO for populating the dropdowns. Next on form submission u cld persist the new val

advice needed: view+form needs data from an action

2004-07-28 Thread alu, artifex
i've ran into an problem using struts or, maybe, it's me not understanding the mvc concept correctly: the user has to fill out a form which contains several drop-down-boxes filled with possible values from a database. so i need an preceding action to gather the data from the database. if the fo

Re: advice needed: use taglib to render dynamic links to embeded objects

2004-07-28 Thread alu, artifex
it works just perfectly! using the tag and having all images use a relative path. i haven't figured out any disadvantages yet. thanks, great solution! art alu, artifex wrote: mhm, sounds very promising - if i use pure html for all stylset-based links they would use the adress base fro

Re: advice needed: use taglib to render dynamic links to embeded objects

2004-07-27 Thread alu, artifex
s art ron1 wrote: thought of using the html:base element? you can then make all references to images and stylesheets static, changing only the base to the current layout base... I don't know if using or will overrides this, so you may have to use pure html for those... Cheers, Ron alu, art

advice needed: use taglib to render dynamic links to embeded objects

2004-07-27 Thread alu, artifex
hi list, i'm working on a struts web application which should give the users the possibility to choose the graphical layout of the application (images, sounds or general media objects) from a predefined collection of "stylesets". if the user logs in his chosen styleset is read from a database an