RE: struts concerns

2002-11-13 Thread Saini, Deepank
 
 
second issue:
1)take a look at DispatchAction and LookupDispatchAction for a solution to
this problem
2) if u have more than one form in your jsp, u could possibly associate each
form with a different action, i ahve not reied this but should be possible

-Original Message-
From: Shalu Goel [mailto:shalu.goel@;mind-infotech.com]
Sent: Thursday, November 14, 2002 11:25 AM
To: Struts Users Mailing List
Subject: struts concerns


Hello all,

I am a new struts user...and exploring ... whether I can construct my web
appliction around struts framework instead of using traditional JSP (logic
and presentation combined) way of development??

My first issue is :

What is the advantage of using struts taglib to declare  Form and other
presentaion related tags over std. Html?? 

My 2nd issue is :

Can we have multiple actions for the same jsp page in struts depending upon
what button the user has pressed??

Then how do we define path and type in action mpping in struts-config and
the jsp page itself??

My 3rd issue is :

Can we have HTML frameset/fram tag in struts?? where in the user response to
a hyperlink in one frame is represented in the other one?? How is it useful
to use thus provided struts taglib to define such html elements over plain
html???

Please throw some light???

Thanks 

shalu

 



   _  




This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst & Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.



test mail - please ignore

2002-11-13 Thread Saini, Deepank


This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst & Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: checkbox problem

2002-11-11 Thread Saini, Deepank
well i am not sure why it should show true if it has been unchecked, but one
last shot, if u r calling a javascript function on the submit, the problem
could well be in the javascript function. 
Bye the way do u have a submit button or r u caling a javascript function
onchange of the checkbox?

-Original Message-
From: Hirschmann, Bernhard [mailto:Bernhard.Hirschmann@;t-systems.com]
Sent: Monday, November 11, 2002 7:12 PM
To: 'Struts Users Mailing List'
Subject: AW: checkbox problem



Thanks for your comment, but I'm not sure if that's the problem.

Here is the scenario:
1.) While populating the form, the value is true. 
2.) Then the user disables the checkbox - for setting the value to false.
3.) Submit occurs.
4.) In the action I check the value and I see that it is true. 

Do I really have to reset the form for such a scenario? 

Regards,
Bernhard


-Ursprüngliche Nachricht-
Von: James Mitchell [mailto:jmitchtx@;telocity.com]
Gesendet: Montag, 11. November 2002 14:36
An: Struts Users Mailing List
Betreff: RE: checkbox problem


You need to set it to false in the reset() method.

James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

"If you were plowing a field, which would you rather use? Two strong oxen or
1024 chickens?"
- Seymour Cray (1925-1996), father of supercomputing


--
To unsubscribe, e-mail:

For additional commands, e-mail:



This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst & Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: checkbox problem

2002-11-11 Thread Saini, Deepank
if u want uncheck the box, after a submit , set it to false

-Original Message-
From: James Mitchell [mailto:jmitchtx@;telocity.com]
Sent: Monday, November 11, 2002 7:06 PM
To: Struts Users Mailing List
Subject: RE: checkbox problem


You need to set it to false in the reset() method.

James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

"If you were plowing a field, which would you rather use? Two strong oxen or
1024 chickens?"
- Seymour Cray (1925-1996), father of supercomputing


> -Original Message-
> From: Saini, Deepank [mailto:deepank.saini@;cgey.com]
> Sent: Monday, November 11, 2002 8:33 AM
> To: 'Struts Users Mailing List'
> Subject: RE: checkbox problem
>
>
> may u need to reset the value of the checkbox to (false or true) in the
> reset method of ur formbean
>
> -Original Message-
> From: Hirschmann, Bernhard [mailto:Bernhard.Hirschmann@;t-systems.com]
> Sent: Monday, November 11, 2002 7:00 PM
> To: '[EMAIL PROTECTED]'
> Subject: checkbox problem
>
>
>
> Hello Struts user!
>
> I use a html:checkbox for setting a boolean value. But after submit, the
> boolean value in the form bean isn't set correctly.
>
> Do I have to use a String value for that in my form bean? I tried
> this, but
> without success.
>
> Regards,
> Bernhard
>
> --
> To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@;jakarta.apache.org>
>
> 
> This message contains information that may be privileged or
> confidential and
> is the property of the Cap Gemini Ernst & Young Group. It is intended only
> for the person to whom it is addressed. If you are not the intended
> recipient, you are not authorised to read, print, retain, copy,
> disseminate,
> distribute, or use this message or any part thereof. If you receive this
> message in error, please notify the sender immediately and delete
> all copies
> of this message.
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>



--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>


This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst & Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




RE: checkbox problem

2002-11-11 Thread Saini, Deepank
may u need to reset the value of the checkbox to (false or true) in the
reset method of ur formbean

-Original Message-
From: Hirschmann, Bernhard [mailto:Bernhard.Hirschmann@;t-systems.com]
Sent: Monday, November 11, 2002 7:00 PM
To: '[EMAIL PROTECTED]'
Subject: checkbox problem



Hello Struts user!

I use a html:checkbox for setting a boolean value. But after submit, the
boolean value in the form bean isn't set correctly.

Do I have to use a String value for that in my form bean? I tried this, but
without success.

Regards,
Bernhard

--
To unsubscribe, e-mail:

For additional commands, e-mail:



This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst & Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




test mail - please ignore

2002-11-11 Thread Saini, Deepank


This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst & Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: