test

2002-12-22 Thread Raffy_Lata
** Please Note: The information in this E-mail message, and any files transmitted with it, is confidential and may be legally privileged. It is intended only for the use of the individual(s) named above. If you are the

no getter method for property phoneList

2002-12-20 Thread Raffy_Lata
I'm getting desperate with my problem. I have a very simple class named Party defined as public class Party() { public Party() ArrayList phoneList_ = new ArrayList(); ArrayList addressList_ = new ArrayList(); public ArrayList getPhoneList() { return phoneList_;

RE: no getter method for property phoneList

2002-12-20 Thread Raffy_Lata
No, I don't have any overloaded methods. I even created a getBogusList() and setBogustList(List) just to make sure I'm not overloading anything and I had the same problem. Sri Sankaran [EMAIL PROTECTED] on 12/20/2002 10:34:35 AM Please respond to Struts Users Mailing List [EMAIL

RE: no getter method for property phoneList

2002-12-20 Thread Raffy_Lata
I tried almost every combination. Reversing the order, doing just the addressList then the just the phoneList. Whatever combination I use, the addressList is always introspected ok while the phoneList isn't. I even tried renaming the getPhoneList() to getTelephoneList() and then tried to invoke

WSAD 4.0.3 - ApplicationResources not found

2002-10-25 Thread Raffy_Lata
I imported the struts-example.war 1.1b2 file straight into WSAD 4.0.3 but I get the following message. It can't find the ApplicationResources file. If I take out all bean:write tags, the sample app works fine. I've tried moving the properties files into several folders but the app still couldn't

Re: WSAD 4.0.3 - ApplicationResources not found

2002-10-25 Thread Raffy_Lata
Thanks, it fixed my problem. Raffy [EMAIL PROTECTED] on 10/25/2002 04:06:08 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject: Re: WSAD 4.0.3 - ApplicationResources not found Hello, i'm not firm with

RE: DAO - DTO business object to view beans

2002-08-20 Thread Raffy_Lata
I tried to read chapter 7 and the discussion on DTOs does not flow smoothly into the ActionForm discussion so it's a bit confusing as to how the big picture looks. It is also mentioned that DTOs are part of the model and ActionForms are part of the view. If BOs delegate persistence to DAOs, do

Re: upgrade 1.1-b1 to 1.1-b2 breaks indexed attribute under iterate ?

2002-08-19 Thread Raffy_Lata
Take a look at your source code (view jsp source) The source being generate for the submit button is input type=submit name=cmd[0] value=Edit where the [0] is outside the quotes. The generated code should be input type=submit name=cmd[0] value=Edit With the currently generated

RE: java printing (off-topic)

2002-06-26 Thread Raffy_Lata
Sorry about the OOTO message yesterday, our lan admin turned it on and didn't notify me... James, I meant printing on a shared devide from the web server James Mitchell [EMAIL PROTECTED] on 06/25/2002 10:11:36 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED]

Re: ClassNotFoundException in Struts1.1-b1 with WebSphere 3.5.6

2002-06-25 Thread Raffy_Lata
I believe this has been answered in a previous thread. Either use a nightly build of Struts or use a nightly build of commons-logging to fix this problem. Struts Newsgroup (@Basebeans.com) struts on 06/25/2002 03:40:02 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED]

version of jdk in WAS

2002-06-24 Thread Raffy_Lata
Can anyone tell me the jdk versions in WAS 4.0 and WAS 5.0? ** Please Note: The information in this E-mail message, and any files transmitted with it, is confidential and may be legally privileged. It is intended only for the

Re: Validator and DispatchAction

2002-06-13 Thread Raffy_Lata
DispatchAction has a lot of things to improve on...use of declarative exceptions is one...then there's this issue you brought up about the validator...you may have to do programmatic validation to provide different validation rules for each method in the DispatchAction for now.. - William W

RE: Using redirect=true with tiles component

2002-06-12 Thread Raffy_Lata
Thanks. I get it now. Trieu, Danny [EMAIL PROTECTED] on 06/12/2002 01:15:47 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] cc: Subject: RE: Using redirect=true with tiles component I guess what Cedric meant

RE: DynaValidatorForm and java.lang.NullPointerException

2002-06-11 Thread Raffy_Lata
Can you post your struts-config.xml entries? William W [EMAIL PROTECTED] on 06/11/2002 12:34:40 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: RE: DynaValidatorForm and java.lang.NullPointerException Hi Jason, I think that

RE: DynaValidatorForm and java.lang.NullPointerException

2002-06-11 Thread Raffy_Lata
try adding the dynamic=true attribute in the form-bean entry as in form-bean name=logonForm type =org.apache.struts.validator.DynaValidatorForm dynamic=true William W [EMAIL PROTECTED] on 06/11/2002 12:47:45 PM Please respond to

Re: Can DispatchAction have a default action?

2002-06-11 Thread Raffy_Lata
Why do you have two action mappings for the same DispatchAction? You can just have one action mapping like, form-bean name=InputForm dynamic=true type=org.apache.struts.validator.DynaValidatorForm form-property name=testfield type=java.lang.String/ /form-bean action

Re: Session timeouts

2002-06-07 Thread Raffy_Lata
The struts-example has a CheckLogonTag that you can use in each jsp to check for a valid session. It forwards to the login page if the session is null. Struts Newsgroup (@Basebeans.com) struts on 06/07/2002 02:40:03 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED]

Re: Struts Validator

2002-06-07 Thread Raffy_Lata
I tend to think it's either you NOT use DispatchAction if you have different validation requirements for the same form. The validator ties to only one form per action and since DispatchAction is still considered a single action (with different delegated methods), then you are still bound to use

Using redirect=true with tiles component

2002-06-03 Thread Raffy_Lata
I have the following entry in my config action path=/login type=com.ffic.training.LoginAction name=logonForm scope=session input=/Login.jsp forward name=success path=welcome.page redirect=true/ /action My tiles definition xml is as follows definition name=welcome.page

Re: forward to a tile definition.........

2002-06-03 Thread Raffy_Lata
Do you have the following entry in your struts-config.xml? !-- Tiles -- controller processorClass=org.apache.struts.tiles.TilesRequestProcessor / Trieu, Danny [EMAIL PROTECTED] on 06/03/2002 10:45:10 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL

Re: Arbitrary parameters in ActionMapping?

2002-05-31 Thread Raffy_Lata
Once the properties are defined in the config xml, how do you access them from the action class? James Holmes [EMAIL PROTECTED] on 05/31/2002 01:32:51 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject: Re:

RE:Struts is Overkill?

2002-05-30 Thread Raffy_Lata
My instructor at a servlet class deemed Struts as an overkill but nevertheless recommended it's use. Overkill might not be the reason why they do not like it, why not ask them for more compelling (and objective) reasons for not using it? If you have proven it's worth in delivering a successful

Re: redirect=true mappings with Websphere 4

2002-05-29 Thread Raffy_Lata
What happens if you take the slash out of the path? ie path =otherAction.do Nicolas De Loof [EMAIL PROTECTED] on 05/29/2002 06:28:35 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject: redirect=true mappings

Re: Struts Validator

2002-05-28 Thread Raffy_Lata
There's an entry in the dev mailing list (see link below) that talks about the NPE for the DynaValidatorForm. http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg06269.html I don't know if this has been fixed, but I'm also getting the same problem even with the latest nightly build

Re: [commons-validator] Mask Patterns syntax/ Regular expressions???

2002-05-23 Thread Raffy_Lata
Go to this link for a tutorial on regular expression in JDK 1.4. http://java.sun.com/jdc/JDCTechTips/2002/tt0423.html Hertzel Karbasi - OPTinity eBusiness Solutions [EMAIL PROTECTED] on 05/23/2002 11:14:18 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:

declarative exception

2002-05-23 Thread Raffy_Lata
Can I use declarative exception in DispatchAction? I'm not having any luck with it. In my code, I throw an Exception from one of the methods (ex. findByPrimaryKey()) but I get the following message [ERROR] FinderAction - -Dispatch[/adminDiv] to method findByPrimaryKey returned an exception

Re: Getting Struts Example work with WebSphere 4.0

2002-05-16 Thread Raffy_Lata
Using the source distrib, open org.apache.struts.taglib.html package.FormTag and make the following changes Replace the following lines in the doEndTag() method in the FormTag class: pageContext.removeAttribute(Constants.BEAN_KEY,

Re: Digester, which files does it need?

2002-05-15 Thread Raffy_Lata
Check your struts-config.xml and web.xml and make sure they are well-formed. Use IE or anything that will tell you if your xml files are ok or not. Struts Newsgroup (@Basebeans.com) struts on 05/15/2002 10:55:01 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:

Struts Menu and VAJ 4.0/WTE

2002-05-15 Thread Raffy_Lata
Has anyone had any luck in using Struts Menu 1.1B2 in VAJ 4.0/WTE? The plug-in does not seem to be doing it's job and I'm not getting any errors in the console. The ActionServlet simply fails to load. I did use a struts-menu.jar from the site.zip from basebeans and that one worked (it's dated

RE: changing locale from jsp

2002-05-14 Thread Raffy_Lata
Create a from in your jsp (I do this in my welcome page), something like (don't cut and paste this as I just quickly typed the following) html:form action = setLocale.do Choose Language :html:select name=locale html:option value=EnglishEnglish/html:option html:option

Re: VAJ 4 Struts Error 503

2002-05-14 Thread Raffy_Lata
I didn't use the struts examples to test out my setup. Instead I just provided my own little application, but it works. Just make sure the package names are consistent as I made changes to the sample codes below before I sending this out. Installation and configuration 1. In VAJ, you will

Re: VAJ 4 Struts Error 503

2002-05-14 Thread Raffy_Lata
I forgot to include this. You will need to make some revisions to the Struts source code or you will get the following error Cannot remove Attribute from request scope in your browser. I think this problem only occurs in WebSphere. In VAJ, go to the

Re: VAJ 4 Struts Error 503

2002-05-14 Thread Raffy_Lata
you're welcome Struts Newsgroup (@Basebeans.com) struts on 05/14/2002 01:10:01 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: VAJ 4 Struts Error 503 Subject: Re: VAJ 4 Struts Error 503 From: Marco [EMAIL PROTECTED]

Re: VAJ 4 Struts Error 503

2002-05-13 Thread Raffy_Lata
This is a generic error put out by VAJ (actually WebSphere) when one of your servlets in your app.webapp fails to load. In this case, it's most probably the ActionServlet. Check all you classpaths (in the servlet engine) and make sure you have the xml files in the correct directory. I can post

Re: Getting a list from a session bean and displaying the data in a jsp

2002-05-13 Thread Raffy_Lata
In a non-nested context, you would do the following for a collection of objects associated with the request object logic:iterate name=entryList id=entry scope=request type=com.xxx.xxx.xxx.Entry tr tdhtml:text property=entry_subject //td tdhtml:text

Re: Getting a list from a session bean and displaying the data in a jsp

2002-05-13 Thread Raffy_Lata
Try to specify the name attribute in the html:text tag like so tdhtml:text name=gbEntry property=entry_subject //td tdhtml:text name=gbEntry property=entry_text //td tdhtml:text name=gbEntry property=entry_date //td Michael Delamere [EMAIL PROTECTED] on 05/13/2002 02:43:16 PM

Re: LogoutAction

2002-05-13 Thread Raffy_Lata
Why don't you clean up your code first and make sure that you only have the session.invalidate() in there? This will tell you if it works or not. If it does then you can just add back the other bits and pieces of codes that you have there (one by one) and see which one is causing your problem.

RE: How do I pass an ActionForward's path into a button's onclick () handler

2002-05-01 Thread Raffy_Lata
Hi, Why don't you just put the action class' name in the href= instead of doing an html:rewrite? I do this in my code and it works html:button property=doesNotMatter value=Cancel onclick=javascript: document.location.href = 'goToNextAction.do?' / [EMAIL PROTECTED] on 05/01/2002

RE: some PDF stuff

2002-04-30 Thread Raffy_Lata
Vip, Acrobat provides an FDF Toolkit (version 5) where you select the target frame for your pdf file. You can put a fictitious frame name in the SetTargetFrame() method then return a null (instead of an actionforward) to the actionservlet. Since the frame is non-existent, the resulting pdf

Re: session parameter values

2002-04-29 Thread Raffy_Lata
I don't think you need the property attribute ajTreece [EMAIL PROTECTED] on 04/29/2002 04:04:18 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject: Re: session parameter values Thanks Mark for the quick

Re: link rel='stylesheet' ... treated as GET???

2002-04-26 Thread Raffy_Lata
can you describe your strange problem? Struts Developer [EMAIL PROTECTED] on 04/26/2002 01:02:08 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: link rel='stylesheet' ... treated as GET??? I am having a rather strange problem

Struts 1.1b/VAJ 4.0

2002-04-24 Thread Raffy_Lata
Has anyone successfully installed Struts 1.1b in VAJ4.0 (and run it in WTE)? Can you post the instructions on how to do so? Thanks, Raffy ** Please Note: The information in this E-mail message, and any files transmitted with

Re: Struts 1.1b/VAJ 4.0

2002-04-24 Thread Raffy_Lata
never mind...I have it working now... [EMAIL PROTECTED] on 04/24/2002 10:22:46 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Struts 1.1b/VAJ 4.0 Has anyone successfully installed Struts 1.1b in VAJ4.0 (and run it in WTE)?

Re: Struts Validator error messages

2002-04-18 Thread Raffy_Lata
That's a good question...I also have the same problem...hope someone has the solution [EMAIL PROTECTED] on 04/18/2002 08:31:47 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Struts Validator error messages Hello, How do I

Re: multiple struts-config files

2002-04-17 Thread Raffy_Lata
I believe this is the link http://www.jamesholmes.com/struts/ Corneliu Rachieru [EMAIL PROTECTED] on 04/17/2002 02:14:20 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] cc: Subject: multiple struts-config files

Struts-menu/dropdown

2002-04-12 Thread Raffy_Lata
TGIF Has anyone successfully used the DropDown in struts-menu? My problem with it is that the javascript generated by struts-menu does not preserve the state of the dropdown menu when I navigate to another page. For example 1. I have the menu File (expandable) View 2. I expand

Re: Struts-menu/dropdown

2002-04-12 Thread Raffy_Lata
Yes, I have the sample working. It just doesn't provide any links underneath each menu item. Actually, when you select an item from the dropdown menu, it pops up a new browser instead of navigating to another page on the same browser. So when I tried putting links in some of the items and

Security realm for WebSphere

2002-01-14 Thread Raffy_Lata
Is there a jdbc-based security realm for WebSphere equivalent to the org.apache.catalina.realm.JDBCRealm class for Tomcat? Or to rephrase my question, how do I approach doing a JDBC-based userid/role definition in WebSphere and tie it with the security-contraint defined in the web.xml file?

Question on Struts using FDFDoc (PDF file)

2002-01-11 Thread Raffy_Lata
I have an action class that creates an FDFdoc (PDF file) and saves it to the response's outputstream. Before forwarding to the output jsp, I also set the content-type of the response to the ff : response.setContentType(application/vnd.fdf); However, the resulting page seems to be in