Re: [OT] Need Free database

2003-11-25 Thread SCOTT VENTER


snip
  it is a free based database 
/snip

Its on crack???


 [EMAIL PROTECTED] 11/25/03 02:35PM 
hi

Try to Use postgreSQL. it is a free based database and can be downloaded
easily from
http://www.postgresql.org

Regards
Gary


- Original Message -
From: Agashivala, Vishal [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, November 25, 2003 5:34 PM
Subject: [OT] Need Free database


 Hi All,
 Can any buddy suggest me Database which is free and has JDBC driver. If
 possible get me the URL.

 Regards,
 Vishal Agashivala

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

#
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy all copies.
#

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Can't uncheck multibox

2003-09-23 Thread SCOTT VENTER
Hi,

I had this problem when I placed my ActionForm in the Session. I noticed that when I 
uncheck all the checkboxes, the browser would transmit no value for the checkbox 
property and so the ActionForm property would not be updated to an empty String[] as I 
had expected. 

html:multibox property=actionItemIndicator
   bean:write name=defectsList property=defectId/
/html:multibox

If you uncheck all the checkboxes in your example, the request query string parameter 
actionItemIndicator would not be transmitted. i.e. there would be no 
actionItemIndicator= in the query string. Most browsers dont transmit parameters 
when they have no values.

I worked around this problem by checking if this parameter was null, and then 
implicitly set the property to an empty String[];

eg. In the Validate Method()
...
if (httpServletRequest.getParameter(actionItemIndicator) == null) {
  actionItemIndicator = new String[] {};
}

HTH.
S.

 [EMAIL PROTECTED] 09/22/03 04:56PM 
Can anyone help???  I have the following multibox in a
dyanValidatorForm:

logic:iterate id=defectsList name=reviewRecordForm
property=defectsList indexId=i
   html:multibox property=actionItemIndicator
   bean:write name=defectsList property=defectId/
   /html:multibox
/logic:iterate

I am having trouble unchecking the checkboxes.  Everytime I uncheck a
checkbox, hit submit, when the screen comes back the checkbox is still
checked.  When I extract, the form data from this property, the form
still indicates that the checkbox is checked even though I unchecked it
in the form

How do I uncheck a box once it has been unchecked by the user???

Thanks in advance,

Natalie

#
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy all copies.
#

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Can't uncheck multibox

2003-09-23 Thread SCOTT VENTER
The Actionform is in the session. I may not alway want to reset the property.

hell !


 [EMAIL PROTECTED] 09/23/03 09:21AM 
snip
implicitly set the property to an empty String[];
eg. In the Validate Method()
/snip

Helo  this is what the reset() method is for. That is its sole
reason dee etrer. To provide a place for you to reset the values of
checkbox, textarea,  multiple-select fields associated with the page that
has just submitted.

RTFM/STFW and verily shall ye learneth.

This topic comes up so often Im surprised someone hasnt written a listbot to
answer it.

-Original Message-
From: SCOTT VENTER [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 23 September 2003 14:59
To: [EMAIL PROTECTED]
Subject: Re: Can't uncheck multibox


Hi,

I had this problem when I placed my ActionForm in the Session. I noticed
that when I uncheck all the checkboxes, the browser would transmit no value
for the checkbox property and so the ActionForm property would not be
updated to an empty String[] as I had expected.

html:multibox property=actionItemIndicator
   bean:write name=defectsList property=defectId/
/html:multibox

If you uncheck all the checkboxes in your example, the request query string
parameter actionItemIndicator would not be transmitted. i.e. there would
be no actionItemIndicator= in the query string. Most browsers dont
transmit parameters when they have no values.

I worked around this problem by checking if this parameter was null, and
then implicitly set the property to an empty String[];

eg. In the Validate Method()
...
if (httpServletRequest.getParameter(actionItemIndicator) == null) {
  actionItemIndicator = new String[] {};
}

HTH.
S.

 [EMAIL PROTECTED] 09/22/03 04:56PM 
Can anyone help???  I have the following multibox in a
dyanValidatorForm:

logic:iterate id=defectsList name=reviewRecordForm
property=defectsList indexId=i
   html:multibox property=actionItemIndicator
   bean:write name=defectsList property=defectId/
   /html:multibox
/logic:iterate

I am having trouble unchecking the checkboxes.  Everytime I uncheck a
checkbox, hit submit, when the screen comes back the checkbox is still
checked.  When I extract, the form data from this property, the form
still indicates that the checkbox is checked even though I unchecked it
in the form

How do I uncheck a box once it has been unchecked by the user???

Thanks in advance,

Natalie


#
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy all copies.

#



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

#
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy all copies.
#

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Can't uncheck multibox

2003-09-23 Thread SCOTT VENTER
Whats your point mate? You are basically agreeing with me.

Why dont you simply provide an answer instead of trying to justify your rant?

I accept your point that it should be done in the reset method.

Scott.

 [EMAIL PROTECTED] 09/23/03 09:41AM 
Well if you dont want your checkboxes to be untickable then by all means go
ahead and dont reset them, but Im telling ya mate, thats what reset() is
for, and the validate method isn't the proper place for it (though of course
its not going to send you blind if you do do it there).

If you dont want to reset a property (for example its on a seperate page of
a wizard that shares the same actionform instance with this page) then of
course you need to do a bit of 'logic' to work out which properties need to
be reset and which shouldnt - the rule of thumb (imho) is that you shouldnt
just anyhow reset everything, but that you should only reset values for
those fields that need it - ie: checkboxes, textareas,  multiple-selects
that were on the screen that submitted this request...

btw: This is all mostly relevant only to session scoped forms, as request
scoped forms imply that you get a clean form (new instance) every time
anyhow.

-Original Message-
From: SCOTT VENTER [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 23 September 2003 15:21
To: [EMAIL PROTECTED]
Subject: RE: Can't uncheck multibox


The Actionform is in the session. I may not alway want to reset the
property.

hell !


 [EMAIL PROTECTED] 09/23/03 09:21AM 
snip
implicitly set the property to an empty String[];
eg. In the Validate Method()
/snip

Helo  this is what the reset() method is for. That is its sole
reason dee etrer. To provide a place for you to reset the values of
checkbox, textarea,  multiple-select fields associated with the page that
has just submitted.

RTFM/STFW and verily shall ye learneth.

This topic comes up so often Im surprised someone hasnt written a listbot to
answer it.

-Original Message-
From: SCOTT VENTER [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 23 September 2003 14:59
To: [EMAIL PROTECTED]
Subject: Re: Can't uncheck multibox


Hi,

I had this problem when I placed my ActionForm in the Session. I noticed
that when I uncheck all the checkboxes, the browser would transmit no value
for the checkbox property and so the ActionForm property would not be
updated to an empty String[] as I had expected.

html:multibox property=actionItemIndicator
   bean:write name=defectsList property=defectId/
/html:multibox

If you uncheck all the checkboxes in your example, the request query string
parameter actionItemIndicator would not be transmitted. i.e. there would
be no actionItemIndicator= in the query string. Most browsers dont
transmit parameters when they have no values.

I worked around this problem by checking if this parameter was null, and
then implicitly set the property to an empty String[];

eg. In the Validate Method()
...
if (httpServletRequest.getParameter(actionItemIndicator) == null) {
  actionItemIndicator = new String[] {};
}

HTH.
S.

 [EMAIL PROTECTED] 09/22/03 04:56PM 
Can anyone help???  I have the following multibox in a
dyanValidatorForm:

logic:iterate id=defectsList name=reviewRecordForm
property=defectsList indexId=i
   html:multibox property=actionItemIndicator
   bean:write name=defectsList property=defectId/
   /html:multibox
/logic:iterate

I am having trouble unchecking the checkboxes.  Everytime I uncheck a
checkbox, hit submit, when the screen comes back the checkbox is still
checked.  When I extract, the form data from this property, the form
still indicates that the checkbox is checked even though I unchecked it
in the form

How do I uncheck a box once it has been unchecked by the user???

Thanks in advance,

Natalie


#
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy all copies.

#



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


#
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon

Re: Help me to convince my boss to use Struts!!!

2003-06-26 Thread SCOTT VENTER
Howdy,

My suggestion is that you move from skaapstad up to jozi. 

I have encountered many developers here who have struts projects going, and the local 
industry seems to be keen on it too.

We have just completed moving a banking legacy system to struts/EJBs and our client 
(Tebabank) insisted on java. Everyone is real impressed with the results and I am 
certain that this site will be used as a reference for similar projects in the future.

:-)
Scott.

 [EMAIL PROTECTED] 06/26/03 01:28pm 
Hi Everyone

I just have had a discussion with my boss with regards to why he prefers the
way of using a push mechanism microsoft.xmlhttp to return data to
client. (Client's browser doesn't reload when response is returned :) )

We are based in a very MS environment as you can see but he has been going
the push mechanism way for some time now. (ASP functions are called up via
send() request function of JavaScript MS xmlhttp comp.)

I'm trying to convince him that framework such as Struts is the answer to
many of our problems.

The main issue to him is the extra overhead constraint on bandwidth.
We are based in South Africa, Cape Town and the bandwidth here is quite poor
hence he would like to lower the roundtrip cost.

Example:
We have a system that has a tree view of data. Now as a tree, he would like
to keep the previously opened branches open while the new one is pushed into
the clients browser by the server hence only the newly expanded branch will
be returned as a response from the server.

Also note that he as a MS slave doesn't give a dam about platform
independency, not even multiple browser support. (Sad I know!)

Also with regards to security, he implies that we run our applications in a
very friendly environment, so people won't try to disable clientside
JavaScript validation as an example. It doesn't seem like a major issue
either. Development time-frame seems to be a big issue too.

I just can seem to convince him of the actual benefits of using Struts even
damn ASP.NET compared to his method of using a 2 tiered system with push
mechanism.

So anyone PLEASE help me get the benefit across to him!!! I would like to
put it into a table format or something for him to be able to scan through.
From some experience in Struts I have got the real feel for the benefit of
using Struts / MVC based framework but I still can't seem to explain well to
him the main reason why he should convert!!! :(

Hope to hear from you guys soon.

Best Regards
--Alen


-
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


#
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy and copies.
#

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Doubt Regarding Form Scope In Struts

2003-01-08 Thread SCOTT VENTER
You can also imply the form scope in your action class by using something like this:

Session Scope::
reqData.setSessionAttribute(DetailsForm, nextForm);

Request Scope::
reqData.setRequestAttribute(DetailsForm, nextForm);



 [EMAIL PROTECTED] 01/08/03 11:54pm 
Hi,

I observed that Form scope is setting at actionMappings (in
struts-config.xml).

Is their any way to set the scope of the form.

Thanks in Advance,
Ashok.D


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]

#
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy and copies.
#


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


Re: Marcomedia Dreamweaver Ultradev4 - Struts - Tiles

2002-12-18 Thread SCOTT VENTER
Good day,

I use Dreamweaver MX, and struts tag-libs to develop jsp's for my struts web 
applications.

I do not use tiles.

You say you are having trouble defining a site. What is the specific problem?

Scott.

#
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy and copies.
#

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEAD
META http-equiv=Content-Type content=text/html; charset=iso-8859-1
META content=MSHTML 6.00.2800.1106 name=GENERATOR/HEAD
BODY style=MARGIN-TOP: 2px; FONT: 8pt Tahoma; MARGIN-LEFT: 2px
DIVFONT size=1Good day,/FONT/DIV
DIVFONT size=1/FONTnbsp;/DIV
DIVFONT size=1I use Dreamweaver MX, and struts tag-libs to develop jsp's for 
my struts web applications./FONT/DIV
DIVFONT size=1/FONTnbsp;/DIV
DIVFONT size=1I do not use tiles./FONT/DIV
DIVFONT size=1/FONTnbsp;/DIV
DIVFONT size=1You say you are having trouble defining a site. What is the 
specific problem?/FONT/DIV
DIVFONT size=1/FONTnbsp;/DIV
DIVFONT size=1Scott./FONT/DIV/BODY/HTML


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]