RE: Help on Struts's handling of initial pg request.

2002-09-19 Thread Dimitar Stavrakov
Hi Siong, You should use action mapping and type the action url instead of the jsp url. Something like this : https://www.theserver.com/ActionName.do. Then in your struts-config.xml you can specify the form associated with the action and have validate = true. Something like this: action

RE: DataSource

2002-09-18 Thread Dimitar Stavrakov
Hi Alex, Make sure that that class (javax.sql.DataSource) is in the server's lib/ext directory. It seems like its not finding it. Regards, Dimitar -Original Message- From: Silva, Alejandro [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 5:31 PM To: 'Struts

RE: What tag in struts1.0 for this?

2002-04-12 Thread Dimitar Stavrakov
Hi Rick, I'm not sure, but the logic:present and logic:equals tags should do it for you. Regards, Dimitar -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 3:10 PM To: Struts List Subject: What tag in

RE: Please help.

2002-04-12 Thread Dimitar Stavrakov
You probably meant : public void setId(String id){ this.id = Integer.parseInt(id); } Regards, Dimitar -Original Message- From: Phase Web and Multimedia [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 4:57 PM To: Struts Users

RE: parameter in a request

2002-04-05 Thread Dimitar Stavrakov
Hi Mike, Try getting the value from the action, and then putting it in the session, before you get redirected to the jsp. Regards, Dimitar -Original Message- From: Mike Dewhirst [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 7:42 AM

RE: conditional iterate (2)

2002-04-05 Thread Dimitar Stavrakov
Hi Peter, You forgot to close the bean tag : bean:define id=condition name=bestellijnbean property=compname type=java.lang.String/ Regards, Dimitar -Original Message- From: Peter Cnops [mailto:[EMAIL PROTECTED]] Sent: Friday, April

RE: Struts html:link tag

2002-04-05 Thread Dimitar Stavrakov
Just use 2 separate actions - one for the submit and one for the page load. The submit action will user validate and the load one won't. Regards, Dimitar -Original Message- From: regatta DeBlanc [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 2:37 PM

RE: Nested properties

2002-04-05 Thread Dimitar Stavrakov
Try this : html:text size=20 name = loanDetailBean property=loanSummaryBean.statusId / Regards, Dimitar -Original Message- From: Bhaskar Gopalan [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 3:28 PM To: Struts Group (E-mail) Subject: Nested

RE: At wits end, questions JRun, Oracle9ias

2002-04-04 Thread Dimitar Stavrakov
Look in your JRun/lib/ext directory and check if you have jaxp.jar and parser.jar. Try removing them if you do. Also make sure that the struts jar and tlds are accessible to JRun. Regards, Dimitar -Original Message- From: Rick Reumann [mailto:[EMAIL

RE: No action instance for path

2002-04-04 Thread Dimitar Stavrakov
You forgot to put the .do at the end of the action : html:form action=/verifyAction.do focus=username Should do it. Regards, Dimitar -Original Message- From: kelly lan [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 4:36 AM To: Struts User

RE: No action instance for path

2002-04-04 Thread Dimitar Stavrakov
You forgot to put the .do at the end of the action : html:form action=/verifyAction.do focus=username Should do it. Regards, Dimitar -Original Message- From: kelly lan [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 4:36 AM To: Struts User

RE: Struts html:link tag

2002-04-04 Thread Dimitar Stavrakov
In struts-config.xml For action userAdd.do enter a parameter validate=false . Something like this : action path=/user/userAdd type=... name=... validate=false

RE: include tag

2002-04-03 Thread Dimitar Stavrakov
Try this: jsp:include page=includes/logo.jsp flush=true/ It's a working example. Regards, Dimitar -Original Message- From: Ingo Bruell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 3:42 PM To: [EMAIL PROTECTED] Subject:

RE: problem with arraylist and iterate

2002-04-02 Thread Dimitar Stavrakov
Hi Jefferson, Sounds like you should use nested tags, Check this url : http://www.keyboardmonkey.com/struts/index.html Regards, Dimitar -Original Message- From: Jefferson Rodrigues de Oliveira e Silva [mailto:[EMAIL

RE: self.close() exception

2002-03-28 Thread Dimitar Stavrakov
Try using this : function loadOne() { document.PipelineFilterForm.submit(); setTimeout(self.close(),5000); } This should give the form enough time to get submitted, before you actually close the window. If you're still getting an error, try increasing the time( which is

RE: Struts 1.0.2 checkbox - Error Message: No collection found

2002-03-27 Thread Dimitar Stavrakov
You can try using the present tag ex : logic:present id=conflicts name=ConflictResolutionForm property=conflicts type=com.pioneer.sales.terrmaint.demo.ConflictBean before actually going into the iterate and checkbox tags. This will check to see if the collection exists, before executing the

RE: getting validation errors on initial display of a form

2002-03-25 Thread Dimitar Stavrakov
In the struts-config.xml try setting validate=false for the initial action names and then set it to true for the submit action on the form of the names.jsp . This will disable the validate() call when the form is first initialized : action-mappings action path=/app/names

RE: Nester iterate and style sheet

2002-03-21 Thread Dimitar Stavrakov
Try this : .tableEvenRow{background-color:#dd;color:black;font-family:verdana;font- size:10px;} .tableOddRow{background-color:white;color:black;font-family:verdana;font-siz e:10px;} % String [] rowStyle = { tableOddRow, tableEvenRow }; int i=0; % logic:iterate id=page

RE: How to compare a notNull string with the nullString!

2002-03-21 Thread Dimitar Stavrakov
Try using the present tag ex: logic:present name=bean Name here property=property name here / Regards, Dimitar -Original Message- From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 9:25 AM To: [EMAIL PROTECTED] Subject: How to compare a

RE: Similar Question as - Different web apps and struts

2001-12-12 Thread Dimitar Stavrakov
The Session is part of the request object. If your action is redirecting a page from one web-app to another, it is probably also redirecting the request object, therefore the session as well. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday,