+1 You could create a taglib and use Xkins templates to generate HTML this tag and add skinning capabilities to this generic component.
-----Original Message----- From: Frédéric Dreier [mailto:[EMAIL PROTECTED] Sent: Miércoles, 04 de Febrero de 2004 12:51 p.m. To: Struts Users Mailing List Subject: Re: generic component +1 For complex components (-> lot of html) I use tiles otherwise I do my own taglib. If you want to make interactive components, you can pass the base url to the tile (the tile could append some parameters to the url to save it's state). Andrew Hill wrote: >Simple things you could just write a taglib for. Many of the more >complex widgets are possible using Tiles, though Im not familiar with >the details of Tiles myself so cant provide much info beyond pointing >you at it... > >-----Original Message----- >From: Michael Wiles [mailto:[EMAIL PROTECTED] >Sent: Wednesday, 4 February 2004 23:13 >To: Struts Users Mailing List >Subject: generic component > > > >How do I create a generic component to do a particular job and enable >it to be called from anywhere? > >Take for example a colour chooser... > >A Colour chooser is something I'd want to use often and from anywhere >on my web site. I would like it to be decoupled from the rest of the >system and be able to invoke it from anywhere. > >It needs its own action class/jsp framework. > >Any ideas? > >-- >Michael Wiles <[EMAIL PROTECTED]> >Pick 'n Pay IS - 1665 > > >Read our disclaimer at: http://www.picknpay.co.za/email-disclaimer.htm >If you don't have web access, the disclaimer can be mailed to you on >request. Disclaimer requests to be sent to [EMAIL PROTECTED] > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] NOTA DE CONFIDENCIALIDAD Este mensaje (y sus anexos) es confidencial, esta dirigido exclusivamente a las personas direccionadas en el mail y puede contener informacion (i)de propiedad exclusiva de Interbanking S.A. o (ii) amparada por el secreto profesional. Cualquier opinion en el contenido, es exclusiva de su autor y no representa necesariamente la opinion de Interbanking S.A. El acceso no autorizado, uso, reproduccion, o divulgacion esta prohibido. Interbanking S.A no asumira responsabilidad ni obligacion legal alguna por cualquier informacion incorrecta o alterada contenida en este mensaje. Si usted ha recibido este mensaje por error, le rogamos tenga la amabilidad de destruirlo inmediatamente junto con todas las copias del mismo, notificando al remitente. No debera utilizar, revelar, distribuir, imprimir o copiar este mensaje ni ninguna de sus partes si usted no es el destinatario. Muchas gracias. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]