JavaT Application Verification Kit (AVK) : test results

2006-03-06 Thread Raghuveer
I am new to Using AVK for my JSP web Application. My Environment: jdk1.4 Struts 1.2 hibernate3 OC4J 10g (9.0.4) SQL server2000 LDAP Plum tree portal. I am new to using AVK. I need to generate AVK test results for my Customer requirement. Where Can i get information ? Struts Experts please shar

Re: [shale] Extending components with new attributes

2006-03-06 Thread Gary VanMatre
>From: Richard Wallace <[EMAIL PROTECTED]> > > Is the template file required? Or could I just do something like > > > > > > > > > > > > > > > > > > Or are the @ symbols only usable in the components attributes section? > I have to admit, even with t

Re: [shale] Multi-column data table in Clay

2006-03-06 Thread Gary VanMatre
>From: "Craig McClanahan" <[EMAIL PROTECTED]> > > On 3/6/06, Gary VanMatre wrote: > > > > This will give you more reuse options. You can use inheritance to create > > a table and add columns. > > > > Gary, > > Another general approach to dynamic content creation in JSF is to > programmat

Re: [shale] Extending components with new attributes

2006-03-06 Thread Richard Wallace
Gary VanMatre wrote: From: Richard Wallace <[EMAIL PROTECTED]> Hello, I'd like to extend the inputSecret component and give the new component an added attribute. Basically, what I want to do is create a component that has the tomahawk equal validator attached to it. So, what I've got now is

Re: [shale] Multi-column data table in Clay

2006-03-06 Thread Craig McClanahan
On 3/6/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > This will give you more reuse options. You can use inheritance to create > a table and add columns. Gary, Another general approach to dynamic content creation in JSF is to programmatically adjust the child components -- like what the "sha

Re: [shale] Multi-column data table in Clay

2006-03-06 Thread Gary VanMatre
>From: Richard Wallace <[EMAIL PROTECTED]> > > Hello again, > > I'm working on creating a dataTable and I'm having a problem trying to > figure out exactly how to do it in nothing but html. I've done this > before with help from the list, but that was a simple one column table > without any h

Re: [shale] Extending components with new attributes

2006-03-06 Thread Gary VanMatre
>From: Richard Wallace <[EMAIL PROTECTED]> > > Hello, > > I'd like to extend the inputSecret component and give the new component > an added attribute. Basically, what I want to do is create a component > that has the tomahawk equal validator attached to it. So, what I've got > now is: > >

[shale] Multi-column data table in Clay

2006-03-06 Thread Richard Wallace
Hello again, I'm working on creating a dataTable and I'm having a problem trying to figure out exactly how to do it in nothing but html. I've done this before with help from the list, but that was a simple one column table without any headers. Now I need to create a multi-column table with

[shale] Extending components with new attributes

2006-03-06 Thread Richard Wallace
Hello, I'd like to extend the inputSecret component and give the new component an added attribute. Basically, what I want to do is create a component that has the tomahawk equal validator attached to it. So, what I've got now is: componentType="org.apache.myfaces.validator.Equal">

RE: WARNING: No FormBeanConfig found under 'CustomerOpen'. --- What is this?

2006-03-06 Thread Kalcevich, Daniel
Do you have a formBean named "CustomerOpen" defined in the your Struts Config File? If not, that would probably be the cause of the warning. -Original Message- From: Morten Egelund Rasmussen [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 11:41 AM To: user@struts.apache.org Subjec

WARNING: No FormBeanConfig found under 'CustomerOpen'. --- What is this?

2006-03-06 Thread Morten Egelund Rasmussen
Hi all! I am using Struts 1.2.8 on an Oracle Application Server (OC4J) with the following excerpt in my struts-config.xml: . .. My CustomerOpenAction looks something like this: -- public class CustomerOpenAction extends Act

RE: How To Use Existing Tags to Test and Write Out the Value of the Size of a Collection?

2006-03-06 Thread Kalcevich, Daniel
You can use the , , or tags. http://struts.apache.org//struts-doc-1.2.8/userGuide/struts-logic.html#g reaterThan -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 11:06 AM To: user@struts.apache.org Subject: How To Use Existing Tags to Test a

How To Use Existing Tags to Test and Write Out the Value of the Size of a Collection?

2006-03-06 Thread Caroline Jen
I have a Collection called 'remarks'. I can use the or tags to test out if the Collection has some elements in it or not. 1. Is there any tag I can use to test the size value of that Collection to be zero or greater than zero? Or I have to use the Java code in my JSP page? 2. Is there any tag

Re: Problem getting Validator plugin to work

2006-03-06 Thread MGShenoy
That made it work. Thanks, Mohan "Hubert Rabago" <[EMAIL PROTECTED] m>

Re: Struts-EL

2006-03-06 Thread Wendy Smoak
On 3/6/06, Kalcevich, Daniel <[EMAIL PROTECTED]> wrote: > That was it. My taglib definition was wrong. But for reference > purposes, I am using Tomcat 5.5.12 and whatever JSTL version came with > Struts 1.2.8, which is 1.0 (I think?). Since you're using Tomcat 5, as Michael pointed out, you have

Re: Struts-EL

2006-03-06 Thread Michael Jouravlev
You don't need Struts-EL on Tomcat 5 because it supports SRV2.4/JSP2.0/JSTL1.1. Also it seems that you confuse Struts-EL with JSTL. These are different things. On 3/6/06, Kalcevich, Daniel <[EMAIL PROTECTED]> wrote: > Wendy, > > That was it. My taglib definition was wrong. But for reference > pu

RE: Struts-EL

2006-03-06 Thread Kalcevich, Daniel
Wendy, That was it. My taglib definition was wrong. But for reference purposes, I am using Tomcat 5.5.12 and whatever JSTL version came with Struts 1.2.8, which is 1.0 (I think?). Daniel -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 9:09 AM

Re: Struts-EL

2006-03-06 Thread Wendy Smoak
On 3/6/06, Kalcevich, Daniel <[EMAIL PROTECTED]> wrote: > I would like to setup Struts-EL in my application. I am currently > running Struts 1.2.8 with Spring. I did the following: > > 1. Added the Struts-el.jar, jstl.jar, and standard.jar to my > WEB-INF/lib. > 2. Added the line "<%@

Re: Problem getting Validator plugin to work

2006-03-06 Thread Hubert Rabago
On 3/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > type="com.globallink.glr.dataentryweb.form.AddSalesProspectForm"> > public class AddSalesProspectForm extends ValidatorForm > Since you're extending ValidatorForm, Validator will try to find validation rules based on

Re: Problem getting Validator plugin to work

2006-03-06 Thread Dave Newton
[EMAIL PROTECTED] wrote: > I am having problem getting Validator plugin to work in a very simple case. > Here is the source code. Can some one tell me what I am doing wrong? > What are the symptoms? Normally it's good to provide information like that. Dave -

Struts-EL

2006-03-06 Thread Kalcevich, Daniel
I would like to setup Struts-EL in my application. I am currently running Struts 1.2.8 with Spring. I did the following: 1. Added the Struts-el.jar, jstl.jar, and standard.jar to my WEB-INF/lib. 2. Added the line "<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>" to

Re: ActionForm with ArrayList and logic:iterate .... confusing problem ...

2006-03-06 Thread Hubert Rabago
Hans, You're using request scope for your form. When Struts processes the submitted form, it will create a new instance of your ActionForm. The question now is, is the new instance ready to deal with setting values on your ArrayList field? Struts will not instantiate that list for you, it would

Problem getting Validator plugin to work

2006-03-06 Thread MGShenoy
I am having problem getting Validator plugin to work in a very simple case. Here is the source code. Can some one tell me what I am doing wrong? public class AddSalesProspect extends Action { public ActionForward execute

layout:form and request scoped forms

2006-03-06 Thread Garner Shawn
Is layout:form the best approach for doing tabbed forms in struts? I was also curious how it saves the data enterred in one tab when you switch another tab if the form is request scoped? SHawn

Re: Exporting an image from JSP to MS Word

2006-03-06 Thread Dave Newton
Anjishnu Bandyopadhyay wrote: > I am generating a MS Word document through JSP, by setting the JSP's > content type as "application/msword;". > As I said, you are _not_ "generating an MS Word document" merely by setting the JSP's content type. An MS Word document is a proprietary (but fairly

RE: validator framework in my Action class

2006-03-06 Thread Marco Mistroni
Hello, Well, only one I know is http://jakarta.apache.org/commons , start >From there... or do a google search on Jakarta poi Hth marco -Original Message- From: Deepa Khetan [mailto:[EMAIL PROTECTED] Sent: 06 March 2006 15:24 To: Struts Users Mailing List Subject: Re:

Re: validator framework in my Action class

2006-03-06 Thread Niall Pemberton
POI Website is here: http://jakarta.apache.org/poi/index.html The excel part is called HSSF (horrible spreadsheet format :-) http://jakarta.apache.org/poi/hssf/index.html I'm still on an older version of POI, so I'm not up to speed on any new features. However the version I use provides 2 mechani

Re: validator framework in my Action class

2006-03-06 Thread Dave Newton
Deepa Khetan wrote: > Thanks a lot for the suggestions. Can u plz direct me to some links whr i > get help for Jakarta POI?? > The following link may help: http://www.google.com/search?q=poi Focus less on the fish and fire-twirling links. Dave -

RE: Logic Tag Question

2006-03-06 Thread Shasirekha Engala
is the timeZone membervariable of timeZones? then replace the logic:equal tag with the following -Original Message- From: Kalcevich, Daniel [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 8:41 PM To: Struts Users Mailing List Subject: RE: Logic Tag Question Laurie, I c

Re: validator framework in my Action class

2006-03-06 Thread Deepa Khetan
Thanks a lot for the suggestions. Can u plz direct me to some links whr i get help for Jakarta POI?? On 3/6/06, Marco Mistroni <[EMAIL PROTECTED]> wrote: > > Hello, >If you need to validate against Excel 'parameters', you'd better > off validate using, as Niall suggested, Jakarta POI > > w

RE: Logic Tag Question

2006-03-06 Thread Kalcevich, Daniel
Laurie, I changed the code to be: Any it still does not write out the value that matches the accountProfile.getTimeZone() field. Any other ideas? -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Saturday, Mar

Re: debugging in eclipse

2006-03-06 Thread Shasirekha Engala
Getting error when trying to debug a remote application as Launching (error: Failed to connect to remote VM) and the details displayed are Failed to connect to remote VM java.io.IOException: EOF encountered during handshake org.eclipse.jdi.internal.connect.SocketTransportImpl.PerformHandshake(Sock

RE: how to avoid "html:text" tag converting "&" to "&"?

2006-03-06 Thread Vu, Thai
I don't know if anybody answer this question. I think it is It works with , but I never try with -Original Message- From: Ayhan Güngör [mailto:[EMAIL PROTECTED] Sent: Thursday, March 02, 2006 7:46 AM To: user@struts.apache.org Subject: how to avoid "html:text" tag converting "&" to "&

RE: validator framework in my Action class

2006-03-06 Thread Marco Mistroni
Hello, If you need to validate against Excel 'parameters', you'd better off validate using, as Niall suggested, Jakarta POI what you can do is to load your excel sheet using FileUpload, then use Jakarta pOI from there on.. HTH Marco -Original Message- From: Niall Pemberto

RE: Tag-Library Errors

2006-03-06 Thread Ravikumar, Rahul \(Cognizant\)
Thanks for your help. Rahul Ravikumar Programmer analyst -Original Message- From: Patel, Dharmesh S [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 6:40 PM To: R, Senthil Kumar (Cognizant); user@struts.apache.org; [EMAIL PROTECTED] Subject: RE: Tag-Library Errors You need to con

RE: Tag-Library Errors

2006-03-06 Thread Patel, Dharmesh S
You need to configure libraries with web.xml. Like: /WEB-INF/struts-bean.tld /WEB-INF/struts-bean.tld /WEB-INF/struts-html.tld /WEB-INF/struts-html.tld /WEB-INF/struts-logic.tld /WEB-INF/struts-logic.tld -Original Message- From: R, Senthil Ku

Re: validator framework in my Action class

2006-03-06 Thread Niall Pemberton
If you want to call the Validator then the easiest way to find out how is to look at the "validate" method of one of the "validator" flavour ActionForms - for example ValidatorForm. As to validating an excel spreadsheet - typically validator is called with a "bean" (or form) full of data. If you a

Re: regarding tag

2006-03-06 Thread Niall Pemberton
On 3/6/06, Anjishnu Bandyopadhyay <[EMAIL PROTECTED]> wrote: > > Hi all, > > I am using the Struts resource bundle to display internationalized > messages in my JSP, > > Eg. > > Here, the message is displayed according to the current locale. > > Now, I want to display a "French" string irrespectiv

regarding tag

2006-03-06 Thread Anjishnu Bandyopadhyay
Hi all, I am using the Struts resource bundle to display internationalized messages in my JSP, Eg. Here, the message is displayed according to the current locale. Now, I want to display a "French" string irrespective of the current locale. Can you tell me how to implement this? is

Re: using

2006-03-06 Thread Wendy Smoak
On 3/5/06, Rizwan Ahamad <[EMAIL PROTECTED]> wrote: > I am lost how to set the value inside > as this always returns the whole thing inside the > quotes like below > > 12495 > > Servlet spec : 2.3 > Container : IBM WebSphere Application Server test environment With Servlet 2.3, (and JSTL 1.0) yo

Re: Shale vs. Action framework Statistics

2006-03-06 Thread Ted Husted
I suppose someone could write a script that sorted it out from the logs, but, to be honest, we (meaning the ASF) don't really care that much about downloads. Sure, it's cool that products like Apache HTTPD and Struts Action each have a 60% marketshare, but marketshare is not why we do what we do.

RE: Jasper Reports

2006-03-06 Thread Marco Mistroni
Hello, This is not a struts question... but jasper's . Could have been nicer to prefix subject with OT Anyway, yes I have exported jasperreports with excel, using Struts I haven't used the XlsServlet.. instead I have used the proper JasperExporter for generating an XLS sheet, like in the

Re: Tag Lib Instantiate Exception

2006-03-06 Thread Martin Gainty
do you have your classes located at %CATALINA_HOME%\webapps\WebAppName\WEB-INF\classes ? or perhaps the jar which contains the taglib is located at %CATALINA_HOME%\webapps\WebAppName\WEB-INF\lib ? You may want to break out the build.xml and execute the target which contains jasper compile as a

Tag Lib Instantiate Exception

2006-03-06 Thread R, Senthil Kumar \(Cognizant\)
Hi, When I include Struts tag libs using <[EMAIL PROTECTED] uri="/WEB-INF/struts/html.tld" prefix="html"% > and similarly other tag libs I am getting a Exception HTTP Status 500 -

Jasper Reports

2006-03-06 Thread Nandakishore Nekkanti
Hi can any body help how to export a report to xcel using Jaspr reports. I tried using the servlet(XlsServlet) they provided to export as part of the src code. But i was with the following error. javax.servlet.ServletException: No JasperPrint documents found on the HTTP session. net.sf

Re: Validations bugs

2006-03-06 Thread Niall Pemberton
On 3/5/06, Xavier Vanderstukken <[EMAIL PROTECTED]> wrote: > It seems to me that server side validation does not work with Struts 1.3 > > The getValudationKey > public String getValidationKey(ActionMapping mapping, HttpServletRequest > request) { >return mapping.getAtribute(); >} > > re

AW: Shale vs. Action framework Statistics

2006-03-06 Thread Bernhard Slominski
Ted, thanks for the answer, you gave me really some good sources to look at. Even though it's a bit unfortunate that the statistics are not split between Struts Action and Struts Shale. Especially for the downdload area it would be interesting to see the devleopment of the two. Is it possible to c

Re: Validations bugs

2006-03-06 Thread Xavier Vanderstukken
All my forms extends the ValidatorForm class. Wendy Smoak wrote: On 3/5/06, Xavier Vanderstukken <[EMAIL PROTECTED]> wrote: It seems to me that server side validation does not work with Struts 1.3 The getValudationKey public String getValidationKey(ActionMapping mapping, HttpServletRequest