RE: cannot resolve '/tags/struts-template.tld duringweblogic.jsp c

2002-03-07 Thread Domen, Ken
into the same problem once, first time it was uri issue next time I had the DTD part on top of web.xml wrong. hope that helps Regards, RG -Original Message- From: Domen, Ken [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Wednesday, March 06, 2002 5:03 PM To: 'Struts Users Mailing

RE: getting a list in Action class

2002-03-07 Thread Domen, Ken
pointer exception from list.iterator() if the list was missing CalssCastExp if you got the wrong list. Intriguing! (Most likely something really obvious... bit I can't see it.) Keith. --- Domen, Ken [EMAIL PROTECTED] wrote: If my jsp has the following: logic:iterate name=xxxForm property

getting ArrayList elements as objects

2002-03-07 Thread Domen, Ken
I want to be able to get (after a submit) the values of the iterator as an ArrayList of objects in the action class. Currently, substances is an ArrayList in bean Material. How do people achieve this? Or is there a work around? logic:iterate name=materialForm property=substances

RE: getting ArrayList elements as objects

2002-03-07 Thread Domen, Ken
(); } *** -Original Message- From: Domen, Ken [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 3:14 PM To: '[EMAIL PROTECTED]' Subject: getting ArrayList elements as objects I want to be able to get (after a submit

cannot resolve '/tags/struts-template.tld during weblogic.jspc

2002-03-06 Thread Domen, Ken
I'm just trying to precompile my jsp's using weblogic.jspc on WLS5.1sp10 and I get the following error: nested IOException: java.io.IOException: cannot resolve '/tags/struts-template.tld' into a valid tag library -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

getting a list in Action class

2002-03-06 Thread Domen, Ken
If my jsp has the following: logic:iterate name=materialConfirmationForm property=substances id=substanceBean tr td class=table2html:text name=substanceBean property=casNumber styleClass=input1//td td class=table2html:text name=substanceBean property=substanceName

RE: cannot resolve '/tags/struts-template.tld duringweblogic.jsp c

2002-03-06 Thread Domen, Ken
-location /taglib it expects the struts-template.tld under the WEB-INF directory, check if you have the struts-template.tld in the right directory. -Original Message- From: Domen, Ken [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 7:54 AM To: '[EMAIL PROTECTED]' Subject: cannot

how to decide how many beans to use?

2002-02-20 Thread Domen, Ken
I'm running into a problem. I started out with one FormBean. It's basically a flattened domain object. I'm using the Dave W. Validation package and in the validation.xml, you define that for a particular FormBean you validate certain fields. Different pages need validation on different

simple text field value display

2002-02-15 Thread Domen, Ken
I'm trying to do something simple-- to render the value of a bean in a textfield. html:text property=supplierID size=40 maxlength=40 value=bean name=form property=supplierID / //td when the documentation says use the bean property tags to get the value, what does it mean? thanks. ken -- To

SSL error on weblogic5.1.0sp10

2002-02-15 Thread Domen, Ken
I'm not sure if this is a weblogic or struts error but when I turn SSL on in weblogic, an intermittent runtime error gets thrown. weblogic.utils.AssertionError: *** ASSERTION FAILED ***[ Attempt to invoke 0 byte request ] at java.lang.Throwable... HTTP Connection

tag for authentication

2002-01-16 Thread Domen, Ken
Is there a struts tag library that does basic authentication? ken -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: upload fails

2002-01-11 Thread Domen, Ken
09, 2002 10:58 AM To: 'Struts Users Mailing List' Subject: RE: upload fails Ken, Do you have a corresponding ActionForm containing these methods: public FormFile getFormFile(); public void setFormFile(FormFile file); -Original Message- From: Domen, Ken [mailto:[EMAIL PROTECTED]] Sent

using upload

2002-01-11 Thread Domen, Ken
Is there a better way to create an uploaded document on the server using FormFile in the Action class? if (formFile != null) { File file = new File(/apps/dev/weblogic/weblogic/myserver/ms3/ + formFile.getFileName()); RandomAccessFile ras = new

upload fails

2002-01-08 Thread Domen, Ken
I'm trying to do a simple file upload and my jsp has this snippet: html:file property=formFile/br html:submit / When I submit, I get the error: IllegalArgumentException: Argument Type Mismatch Am I missing something? thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

can content be dynamic in JSP templating

2002-01-08 Thread Domen, Ken
Do we have to create a separate content.jsp for every content that's different? Doesn't that mean that you have to create 2 jsp's for every page that's different? Is there a way to make the content dynamic so that I don't have to create an extra JSP page per content change? template:put

pluggable validator not working

2002-01-03 Thread Domen, Ken
I'm trying to use my own pluggable validator. It gets called but the return to false doesn't make the error processing take place. Instead, it performs as though it succeeded. Here's the code snippet: public static boolean myTestValidate(Object bean,

Field.getKey() not found

2002-01-03 Thread Domen, Ken
I'm writing my own Validator class and in it, I have the following line: errors.add(field.getKey(), ValidatorUtil.getActionError(application, request, va, field)); but my compiler complains that there is no such method: Field.getKey() 1. has this been deprecated? If so, what property do I

javascript functions for required()

2002-01-03 Thread Domen, Ken
I'm wondering where the source for the client-side validation is for required(), integer(). thanks. ken -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]