RE: N by N multiboxes !!!

2004-02-19 Thread Lawrence Williams
To: Struts Users Mailing List Subject: Re: N by N multiboxes !!! Study the tutorials at www.keyboardmonkey.com for using the nested Struts tags. --- Lawrence Williams [EMAIL PROTECTED] wrote: Hi, I am trying to generate a form allowing attributes in a catalog to be set on or off for particular

N by N multiboxes !!!

2004-02-18 Thread Lawrence Williams
Hi, I am trying to generate a form allowing attributes in a catalog to be set on or off for particular products. So depending on the state of the Database there will be N Attributes each with M slectable values (as attributes are added and new styles become available N and M will vary: E.g.

RE: Convert JSP to static HTML...

2004-01-26 Thread Lawrence Williams
how about a shell script that calls wget? ( http://www.gnu.org/software/wget/wget.html ) Ive used that a couple of times with good results. Cheers Lawrence -Original Message- From: Manfred Wolff [mailto:[EMAIL PROTECTED] Sent: Mon 26/01/2004 14:26

RE: sql statements

2004-01-16 Thread Lawrence Williams
give your class a properties member: private Properties p; then have a method like this (parameter props is name of properties file): protected boolean loadSQL(String props){ log.debug(Loading properties (+props+)); java.io.InputStream i = null; try{

RE: Use of html:base/

2003-12-11 Thread Lawrence Williams
If its printing only html:base/ in your browser source then chances are you have not referenced the html taglib. %@ taglib uri=/tags/struts-html prefix=html % Regards Lawrence -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: 11 December 2003 14:28 To: struts

'Module scoped' variables

2003-12-10 Thread Lawrence Williams
Hi, Hope this isn't too naïve a question Is there anyway of setting parameters in a module-level struts-config file and referencing those variables within an action? Effectively giving me a module scope. Regards Lawrence --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus

RE: 'Module scoped' variables

2003-12-10 Thread Lawrence Williams
mapping.getParameter() from withing you Action class. action ... ... parameter=someValue/ -Jonathan -Original Message- From: Lawrence Williams [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 11:20 AM To: [EMAIL PROTECTED] Subject: 'Module scoped' variables Hi

Problems with modules

2003-12-05 Thread Lawrence Williams
Hi, In my web.xml I have defined a default and named module as follows: init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param init-param param-nameconfig/admin/param-name

RE: Problems with modules

2003-12-05 Thread Lawrence Williams
Aman, Thanks for your reply, However I cant see what you are suggesting here? Can you describe what you are meaning? - btw I dont use the application param because as far as im aware it is deprecated in favour of the message-resources element. The crux of my problem is that my index.jsp

Problem with bean:header

2003-11-18 Thread Lawrence Williams
Hi, I am using the following in a JSP (Welcome.jsp) - trying to output the User-Agent header value. %@ page language=java % %@ taglib uri=/tags/struts-bean prefix=bean % %@ taglib uri=/tags/struts-html prefix=html % %@ taglib uri=/tags/struts-logic prefix=logic % ... logic:present