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
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
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:[
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
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
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
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
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
8 matches
Mail list logo