RE: html:option html:select

2001-07-09 Thread Jorrin Ruiz de Arcaute, Jorge

Try:

select name=select size=7 class=textbox

logic:iterate id=modelo name=listado 

option
bean:write name=modelo
property=imagen/
/option

/logic:iterate

/select

Listado is a session Constant that's loaded at the Action.
Good Luck!

 -Mensaje original-
 De:   Stefan Faist [SMTP:[EMAIL PROTECTED]]
 Enviado el:   lunes 9 de julio de 2001 8:55
 Para: Struts
 Asunto:   html:option  html:select
 
 Hi,
 I have mySQL Database and the data-source I have defined in the
 struts-config.html.
 In a JSP-site I want to access to this database with an methode like
 ArrayList getAllNames() and this list I want to put in a dropdown menu
 with the html:option  html:select Tags, but how can I get this
 array-list for my jsp-site? How can I call this methode?
 
 Best regards,
 Stefan Faist
 --
 hmi-Informatik GmbH
 Zettachring 6 - D-70567 Stuttgart
 E-Mail: [EMAIL PROTECTED]
 http://www.hmi-informatik.de



Why I can't submit?

2001-07-09 Thread Jorrin Ruiz de Arcaute, Jorge

This is the code. 
I've tried to put the href in many positions but the combo keeps on being no
sensible. 
Any idea?
Thank-you anyway!


  select name=select size=7 class=textbox

logic:iterate id=modelo name=listado 
  a href=javascript:void(0)
onclick=document.forms[0].submit()
option
bean:write name=modelo property=imagen/

/option
  /a
/logic:iterate

/select



How do frames work with struts?

2001-07-05 Thread Jorrin Ruiz de Arcaute, Jorge

Hello, ...

I've got a frame that works perfectly on his own, but once inside the
frameset it gives a ServletException.
Any idea? (scope is already session).

Thanks everlybody!



Anyone knows how does a frame work with struts?

2001-07-05 Thread Jorrin Ruiz de Arcaute, Jorge

 I've got a frame that works perfectly on his own, but once inside the
 frameset it gives a ServletException.
 Any idea? (scope is already session).
 
 Thanks a lot everlybody!



Frame

2001-07-04 Thread Jorrin Ruiz de Arcaute, Jorge

There's a frame (frizq-admin_imgs.jsp) that works alone (as a page), but I
can't make it work =
as a frame. It produces a ServletException, I don't know why.

The frame-parent-pages are these:

html
head
titleAdministración de imágenes --- Generación Dinámica de Webs/title
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
/head
frameset rows=120,* frameborder=NO border=0 framespacing=0 
frame name=frsup src=frsup-admin_imgs.jsp scrolling=NO
frame name=bottomFrame scrolling=NO noresize
src=frinf-admin_imgs.jsp
/frameset
noframes
body bgcolor=#FF text=#00
/body
/noframes 
/html

frinf-admin_imgs.jsp:

html
head
titleAdministración de imágenes --- Generación Dinámica de Webs/title
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
/head

frameset cols=320,* frameborder=NO border=0 framespacing=0 
frame name=frizq src=frizq-admin_imgs.jsp marginwidth=0
marginheight=0 scrolling=NO
frame name=frder scrolling=NO noresize
src=frder-admin_imgs.jsp marginwidth=0 marginheight=0
/frameset
noframes
body bgcolor=#FF text=#00
/body
/noframes
/html

Must I put any struts-tag on them, or something so? Any idea? Any similar
example?
Thank-you everybody!