RE: html:hidden

2003-02-20 Thread Sri Sankaran
The hidden field is just a

 -Original Message-
> From: Ray Madigan [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, February 20, 2003 11:07 AM
> To: Struts Users Mailing List
> Subject: html:hidden
> 
> 
> In the documentation for  is the name of the bean property that loads the value of the 
> hidden field on the form. What i would like to know is how do 
> u go the other way.  I want the hidden field to collect data 
> through javascript, and then be available  through the bean 
> in the action.  How do i set up the  
> Thanks in advance
> Ray Madigan
> 
> 
> -
> 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]




RE: html:hidden

2003-02-20 Thread Ray Madigan
I think you might have.

I have a 

inside the form is a set of


attached to a button I have


in the script section

function dateform ( ) {
top.WorkForm.document.elements[0].value = 'foo';
}


And when I am in the WorkAction i want to be able to
be able to call the getPname ( ) method on the WorkForm
and get the value "foo".

-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 10:30 AM
To: Struts Users Mailing List
Subject: RE: html:hidden


The hidden field is just a

 -Original Message-
> From: Ray Madigan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 20, 2003 11:07 AM
> To: Struts Users Mailing List
> Subject: html:hidden
>
>
> In the documentation for  is the name of the bean property that loads the value of the
> hidden field on the form. What i would like to know is how do
> u go the other way.  I want the hidden field to collect data
> through javascript, and then be available  through the bean
> in the action.  How do i set up the 
> Thanks in advance
> Ray Madigan
>
>
> -
> 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]


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




RE: html:hidden

2003-02-20 Thread Sri Sankaran
If your JavaScript is correct what you have will do the trick.  The getter for pname 
will return 'foo'.

Aren't you seeing it?  If so, check on the JavaScript syntax -- I don't know it off 
the cuff; you should be able to address a field by its name directly.  Something like

  formName.fieldName.value = 'foo'

Sri

-Original Message-
From: Ray Madigan [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 20, 2003 2:07 PM
To: Struts Users Mailing List
Subject: RE: html:hidden


I think you might have.

I have a 

inside the form is a set of


attached to a button I have


in the script section

function dateform ( ) {
top.WorkForm.document.elements[0].value = 'foo';
}


And when I am in the WorkAction i want to be able to
be able to call the getPname ( ) method on the WorkForm
and get the value "foo".

-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 10:30 AM
To: Struts Users Mailing List
Subject: RE: html:hidden


The hidden field is just a

 -Original Message-
> From: Ray Madigan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 20, 2003 11:07 AM
> To: Struts Users Mailing List
> Subject: html:hidden
>
>
> In the documentation for  name of the bean property that loads the value of the hidden field on 
> the form. What i would like to know is how do u go the other way.  I 
> want the hidden field to collect data through javascript, and then be 
> available  through the bean in the action.  How do i set up the 
> 
> Thanks in advance
> Ray Madigan
>
>
> -
> 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]


-
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]




RE: html:hidden +session

2003-10-29 Thread shishir.katdare
neted tags i guess are not available in struts?

-Original Message-
From: struts [mailto:[EMAIL PROTECTED]
Sent: 29 October 2003 13:41
To: Struts Users Mailing List
Subject: html:hidden +session 


how can i print a session value in a hidden field.

This doesn't work...

"/>

any solutions ?

Thanks

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



Re: html:hidden +session

2003-10-29 Thread EL AKARI Mehdi
You can do it either like that :






or like that (using JSTL) :






I hope that it will help
Mehdi

- Original Message - 
From: "struts" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 29, 2003 1:41 PM
Subject: html:hidden +session


how can i print a session value in a hidden field.

This doesn't work...

"/>

any solutions ?

Thanks

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



Re: html:hidden +session

2003-10-29 Thread Mark Lowe
If the variable users.userAccount is in an available scope it will be 
there anyway, without all the messing around.

..

session.setAttribute("users",...);
..


if you've a getUserAccount() method as a property of user it will work 
like this.

On Wednesday, October 29, 2003, at 02:11 PM, EL AKARI Mehdi wrote:

You can do it either like that :





or like that (using JSTL) :





I hope that it will help
Mehdi
- Original Message -
From: "struts" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 29, 2003 1:41 PM
Subject: html:hidden +session
how can i print a session value in a hidden field.

This doesn't work...

"/>
any solutions ?

Thanks

-
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]


Re: html:hidden +session

2003-10-29 Thread struts
error: According to the TLD attribute name is mandatory for tag write

thx

- Original Message - 
From: "EL AKARI Mehdi" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 29, 2003 3:11 PM
Subject: Re: html:hidden +session


> You can do it either like that :
> 
> 
> 
> 
> 
> 
> or like that (using JSTL) :
> 
> 
> 
> 
> 
> 
> I hope that it will help
> Mehdi
> 
> - Original Message - 
> From: "struts" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Wednesday, October 29, 2003 1:41 PM
> Subject: html:hidden +session
> 
> 
> how can i print a session value in a hidden field.
> 
> This doesn't work...
> 
> "/>
> 
> any solutions ?
> 
> Thanks
> 
> -
> 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]



RE: html:hidden +session

2003-10-29 Thread Kris Schneider
Struts has nothing to do with it. That's a general JSP syntax error pure and
simple. What do you want the rendered HTML  element to look like? Do you
really want:



If so, you can do:

">

Quoting [EMAIL PROTECTED]:

> neted tags i guess are not available in struts?
> 
> -Original Message-
> From: struts [mailto:[EMAIL PROTECTED]
> Sent: 29 October 2003 13:41
> To: Struts Users Mailing List
> Subject: html:hidden +session 
> 
> 
> how can i print a session value in a hidden field.
> 
> This doesn't work...
> 
> "/>
> 
> any solutions ?
> 
> Thanks

-- 
Kris Schneider 
D.O.Tech   

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



RE: html:hidden +session

2003-10-29 Thread Greg Dunn

This might work but you're ignoring the relationship between Struts HTML
form tags and ActionForms.  All you need to do is prefill the values in the
action leading to your JSP, then add the form element to your pages and it
will be filled.  All you need is:



If you don't want to prefill your form in the Action for some reason, then
the easiest way to get the value, IMO, is with Struts-el, where you can use
this:



Greg


-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 9:04 AM
To: Struts Users Mailing List
Subject: RE: html:hidden +session


Struts has nothing to do with it. That's a general JSP syntax error pure and
simple. What do you want the rendered HTML  element to look like? Do
you
really want:



If so, you can do:

">

Quoting [EMAIL PROTECTED]:

> neted tags i guess are not available in struts?
>
> -Original Message-
> From: struts [mailto:[EMAIL PROTECTED]
> Sent: 29 October 2003 13:41
> To: Struts Users Mailing List
> Subject: html:hidden +session
>
>
> how can i print a session value in a hidden field.
>
> This doesn't work...
>
> "/>
>
> any solutions ?
>
> Thanks

--
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech   <http://www.dotech.com/>

-
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]



Re: html:hidden +session

2003-10-29 Thread Caroline Lauferon
I'm quite sure you can use scriptlet in your struts tags :

"/>

Caroline


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



RE: html:hidden tag

2003-02-27 Thread James Mitchell
That works.  There are a few ways to do it.  It's up to you.

I can think of 4 off the top of my head

1. 
2. 
3. Use a cookie
4. Set it in the session (might require use of token)


--
James Mitchell
Web Developer/Struts Evangelist
http://www.apache.org/struts/


-Original Message-
From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 27, 2003 8:08 AM
To: 'Struts Users Mailing List'
Subject: html:hidden tag


Hi,
  I am trying to set a particular property on a form. But I
don't want it to show on the browser.

The following is an initial attempt.

   

Is this the right approach ?

Mohan


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



Re: html:hidden value

2003-06-05 Thread Dan Tran
Can you set the property to be hidden in the action form

ansa.setYourHiddenProp(ansm.getNumberType()...)

so that you dont mess around with swapping vars in the JSP.

Then in your jsp all you have to do is





-Dan
- Original Message - 
From: "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]>
Newsgroups: Struts
Sent: Thursday, June 05, 2003 1:15 PM
Subject: html:hidden value


> Hey everyone,
>
> I'm having an issue with setting the value for an  tag.
> That form uses a bean called ansa.  I want to set the value of the hidden
> element to the numberType property of a bean called ansm.  I tried putting
a
>  in the body of the html:hidden tag, but that didn't
work.
> How would I go about doing this without a scriptlet?
> Thanx in advance.
>
>
> Keith Kamholz
> Programming and Architecture
> Moog Inc.
>
> Phone: (716) 687-7001

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



RE: html:hidden tag usage

2003-08-14 Thread tarun.matai
Hi,
With the usage of quotation mark the compiler cannot resolve the setter method of the 
property as it takes the variable as string and the setter method expects the array of 
strings.

what my exact requirement is that I get an array of strings from the request as an 
attribute, the same array of string has to be passed to the action class for the next 
action, how can i achieve this.

Regards,
Tarun Matai 



-Original Message-
From: Prashant Punjabi [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 6:11 PM
To: Struts Users Mailing List
Subject: Re: html:hidden tag usage


you are missing the quotation marks..

< ...  value="<%...%>" />
- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 12, 2003 7:05 AM
Subject: RE: html:hidden tag usage


Hi
I used the tag as given below and made a property in my form class with
getter/setter methods
 />
the problem is that my value is not getting passed to the form class
when i did the view source the html:hidden tag is not getting converted into
hidden field
this is what i get when i do view source am i doing something wrong???




Regards,
Tarun Matai



-Original Message-
From: Rohit Aeron [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 2:32 PM
To: Struts Users Mailing List
Subject: RE: html:hidden tag usage






regards
Rohit

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 2:31 PM
To: [EMAIL PROTECTED]
Subject: html:hidden tag usage

Hi,
How can I use html:hidden tag to send an array of strings or array of any
objects to the form bean associated with the jsp.
Thanks in advance
Regards,
Tarun Matai




DISCLAIMER:
This message contains privileged and confidential information and is
intended only for the individual named.If you are not the intended recipient
you should not disseminate,distribute,store,print, copy or deliver this
message.Please notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.E-mail
transmission cannot be guaranteed to be secure or error-free as information
could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or
contain viruses.The sender therefore does not accept liability for any
errors or omissions in the contents of this message which arise as a result
of e-mail transmission. If verification is required please request a
hard-copy version.

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



*--
This message and any attachment(s) is intended only for the use of the
addressee(s) and may contain information that is PRIVILEGED and
CONFIDENTIAL. If you are not the intended addressee(s), you are hereby
notified that any use, distribution, disclosure or copying of this
communication is strictly prohibited. If you have received this
communication in error, please erase all copies of the message and its
attachment(s) and notify the sender or Kanbay postmaster immediately.

Any views expressed in this message are those of the individual sender and
not of Kanbay.

Although we have taken steps to ensure that this e-mail and any
attachment(s) are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure they are actually virus free.


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



DISCLAIMER:
This message contains privileged and confidential information and is
intended only for the individual named.If you are not the intended recipient
you should not disseminate,distribute,store,print, copy or deliver this
message.Please notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.E-mail
transmission cannot be guaranteed to be secure or error-free as information
could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or
contain viruses.The sender therefore does not accept liability for any
errors or omissions in the contents of this message which arise as a result
of e-mail transmission. If verification is required please request a
hard-copy version.

-
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]



DISCLAIMER:
This message contains privileged and confidential information and is intended only for 
the individual named.If you are not the intended recipient you should not 
disseminate,distribute,store,print, copy or deliver this message.Please notify

RE: html:hidden tag usage

2003-08-14 Thread Rohit Aeron




regards
Rohit

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 12, 2003 2:31 PM
To: [EMAIL PROTECTED]
Subject: html:hidden tag usage

Hi,
How can I use html:hidden tag to send an array of strings or array of any 
objects to the form bean associated with the jsp.
Thanks in advance
Regards,
Tarun Matai 




DISCLAIMER:
This message contains privileged and confidential information and is intended only for 
the individual named.If you are not the intended recipient you should not 
disseminate,distribute,store,print, copy or deliver this message.Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or 
error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or 
incomplete or contain viruses.The sender therefore does not accept liability for any 
errors or omissions in the contents of this message which arise as a result of e-mail 
transmission. If verification is required please request a hard-copy version.

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



*--
This message and any attachment(s) is intended only for the use of the addressee(s) 
and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the 
intended addressee(s), you are hereby notified that any use, distribution, disclosure 
or copying of this communication is strictly prohibited. If you have received this 
communication in error, please erase all copies of the message and its attachment(s) 
and notify the sender or Kanbay postmaster immediately.

Any views expressed in this message are those of the individual sender and not of 
Kanbay.

Although we have taken steps to ensure that this e-mail and any attachment(s) are free 
from any virus, we advise that in keeping with good computing practice the recipient 
should ensure they are actually virus free.


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



RE: html:hidden tag usage

2003-08-14 Thread tarun.matai
Hi 
I used the tag as given below and made a property in my form class with 
getter/setter methods
 />
the problem is that my value is not getting passed to the form class 
when i did the view source the html:hidden tag is not getting converted into hidden 
field
this is what i get when i do view source am i doing something wrong???




Regards,
Tarun Matai 



-Original Message-
From: Rohit Aeron [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 2:32 PM
To: Struts Users Mailing List
Subject: RE: html:hidden tag usage






regards
Rohit

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 12, 2003 2:31 PM
To: [EMAIL PROTECTED]
Subject: html:hidden tag usage

Hi,
How can I use html:hidden tag to send an array of strings or array of any 
objects to the form bean associated with the jsp.
Thanks in advance
Regards,
Tarun Matai 




DISCLAIMER:
This message contains privileged and confidential information and is intended only for 
the individual named.If you are not the intended recipient you should not 
disseminate,distribute,store,print, copy or deliver this message.Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or 
error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or 
incomplete or contain viruses.The sender therefore does not accept liability for any 
errors or omissions in the contents of this message which arise as a result of e-mail 
transmission. If verification is required please request a hard-copy version.

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



*--
This message and any attachment(s) is intended only for the use of the addressee(s) 
and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the 
intended addressee(s), you are hereby notified that any use, distribution, disclosure 
or copying of this communication is strictly prohibited. If you have received this 
communication in error, please erase all copies of the message and its attachment(s) 
and notify the sender or Kanbay postmaster immediately.

Any views expressed in this message are those of the individual sender and not of 
Kanbay.

Although we have taken steps to ensure that this e-mail and any attachment(s) are free 
from any virus, we advise that in keeping with good computing practice the recipient 
should ensure they are actually virus free.


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



DISCLAIMER:
This message contains privileged and confidential information and is intended only for 
the individual named.If you are not the intended recipient you should not 
disseminate,distribute,store,print, copy or deliver this message.Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or 
error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or 
incomplete or contain viruses.The sender therefore does not accept liability for any 
errors or omissions in the contents of this message which arise as a result of e-mail 
transmission. If verification is required please request a hard-copy version.

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



Re: html:hidden tag usage

2003-08-14 Thread Prashant Punjabi
you are missing the quotation marks..

< ...  value="<%...%>" />
- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 12, 2003 7:05 AM
Subject: RE: html:hidden tag usage


Hi
I used the tag as given below and made a property in my form class with
getter/setter methods
 />
the problem is that my value is not getting passed to the form class
when i did the view source the html:hidden tag is not getting converted into
hidden field
this is what i get when i do view source am i doing something wrong???




Regards,
Tarun Matai



-Original Message-
From: Rohit Aeron [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 2:32 PM
To: Struts Users Mailing List
Subject: RE: html:hidden tag usage






regards
Rohit

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 2:31 PM
To: [EMAIL PROTECTED]
Subject: html:hidden tag usage

Hi,
How can I use html:hidden tag to send an array of strings or array of any
objects to the form bean associated with the jsp.
Thanks in advance
Regards,
Tarun Matai




DISCLAIMER:
This message contains privileged and confidential information and is
intended only for the individual named.If you are not the intended recipient
you should not disseminate,distribute,store,print, copy or deliver this
message.Please notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.E-mail
transmission cannot be guaranteed to be secure or error-free as information
could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or
contain viruses.The sender therefore does not accept liability for any
errors or omissions in the contents of this message which arise as a result
of e-mail transmission. If verification is required please request a
hard-copy version.

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



*--
This message and any attachment(s) is intended only for the use of the
addressee(s) and may contain information that is PRIVILEGED and
CONFIDENTIAL. If you are not the intended addressee(s), you are hereby
notified that any use, distribution, disclosure or copying of this
communication is strictly prohibited. If you have received this
communication in error, please erase all copies of the message and its
attachment(s) and notify the sender or Kanbay postmaster immediately.

Any views expressed in this message are those of the individual sender and
not of Kanbay.

Although we have taken steps to ensure that this e-mail and any
attachment(s) are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure they are actually virus free.


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



DISCLAIMER:
This message contains privileged and confidential information and is
intended only for the individual named.If you are not the intended recipient
you should not disseminate,distribute,store,print, copy or deliver this
message.Please notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.E-mail
transmission cannot be guaranteed to be secure or error-free as information
could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or
contain viruses.The sender therefore does not accept liability for any
errors or omissions in the contents of this message which arise as a result
of e-mail transmission. If verification is required please request a
hard-copy version.

-
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]



Re: html:hidden, disabled attribute

2003-10-13 Thread Craig R. McClanahan
Chen, Haiwei (H.) wrote:

Does anyone know whether future Struts release will support the "disabled" attribute for the  tag? 
 

This will be much more likely to happen if you file a bug against this:

 http://nagoya.apache.org/bugzilla/

For some reason, it is not supported in the Struts 1.1. Does anyone know the reason behind that?
 

It probably got overlooked.  In principle, Struts should pass through 
legal HTML/4.01 attributes, and "disabled" is a legal attribute on 
 tags.

Thanks.

Haiwei

Craig



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


RE: html:hidden, disabled attribute

2003-10-13 Thread Robert Lamping
Haiwei,

The purpose of the hidden tag is to keep the property and its value in the
dataset of the form. And you will use it, when you don't want to expose the
value to the user.
Whereas the disabled attribute will exclude the property from the dataset in
the request. 

For your information. When you would have a unique value for the item
presented on the screen and you use , then
you will find out
that the property for this unique value is not in your request. With the
normal getters and setters, your unique value now gets blanked. "". And gone
is your unique code.

Hence, the hidden tag and the disabled attribute are more or less mutually
exclusive.

Kind regards,

Robert Lamping


-Original Message-
From: Chen, Haiwei (H.) [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 5:36 PM
To: Struts Users Mailing List (E-mail)
Subject: html:hidden, disabled attribute


Does anyone know whether future Struts release will support the "disabled"
attribute for the  tag? 

For some reason, it is not supported in the Struts 1.1. Does anyone know the
reason behind that?

Thanks.

Haiwei

-
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]



RE: html:hidden, disabled attribute

2003-10-14 Thread Chen, Haiwei (H.)
Thanks for your response. We have a need to include a hidden tag in the
form; but sometime we want the hidden tag to be disabled so its value will
not be posted to the server. 

I have filed a bug report. The problem will be fixed in the future Struts
releases.

-Original Message-
From: Robert Lamping [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 6:38 PM
To: Struts Users Mailing List
Subject: RE: html:hidden, disabled attribute


Haiwei,

The purpose of the hidden tag is to keep the property and its value in the
dataset of the form. And you will use it, when you don't want to expose the
value to the user.
Whereas the disabled attribute will exclude the property from the dataset in
the request. 

For your information. When you would have a unique value for the item
presented on the screen and you use , then
you will find out
that the property for this unique value is not in your request. With the
normal getters and setters, your unique value now gets blanked. "". And gone
is your unique code.

Hence, the hidden tag and the disabled attribute are more or less mutually
exclusive.

Kind regards,

Robert Lamping


-Original Message-
From: Chen, Haiwei (H.) [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 5:36 PM
To: Struts Users Mailing List (E-mail)
Subject: html:hidden, disabled attribute


Does anyone know whether future Struts release will support the "disabled"
attribute for the  tag? 

For some reason, it is not supported in the Struts 1.1. Does anyone know the
reason behind that?

Thanks.

Haiwei

-
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]

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



RE: html:hidden, disabled attribute

2003-10-15 Thread Robert Lamping
Dear Haiwei,

>but sometime we want the hidden tag to be disabled so its value will
not be posted to the server. 

What is then the purpose of have the hidden tag in it? You could also leave
it out.
You can always access a property using the  tag.

Kind regards,

Robert

-Original Message-
From: Chen, Haiwei (H.) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 1:42 PM
To: 'Struts Users Mailing List'
Subject: RE: html:hidden, disabled attribute


Thanks for your response. We have a need to include a hidden tag in the
form; but sometime we want the hidden tag to be disabled so its value will
not be posted to the server. 

I have filed a bug report. The problem will be fixed in the future Struts
releases.

-Original Message-
From: Robert Lamping [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 6:38 PM
To: Struts Users Mailing List
Subject: RE: html:hidden, disabled attribute


Haiwei,

The purpose of the hidden tag is to keep the property and its value in the
dataset of the form. And you will use it, when you don't want to expose the
value to the user.
Whereas the disabled attribute will exclude the property from the dataset in
the request. 

For your information. When you would have a unique value for the item
presented on the screen and you use , then
you will find out
that the property for this unique value is not in your request. With the
normal getters and setters, your unique value now gets blanked. "". And gone
is your unique code.

Hence, the hidden tag and the disabled attribute are more or less mutually
exclusive.

Kind regards,

Robert Lamping


-Original Message-
From: Chen, Haiwei (H.) [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 5:36 PM
To: Struts Users Mailing List (E-mail)
Subject: html:hidden, disabled attribute


Does anyone know whether future Struts release will support the "disabled"
attribute for the  tag? 

For some reason, it is not supported in the Struts 1.1. Does anyone know the
reason behind that?

Thanks.

Haiwei

-
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]

-
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]



RE: html:hidden, disabled attribute

2003-10-16 Thread Chen, Haiwei (H.)
Rober,

 tag allows to retrieve the value of the specified bean property
and render it to the page as a String.

 tag and the resulting hidden field do more than what
 does. The value of the hidden field can be read/manipulated,
and posted back to server. With the disabled attribute (to be added in the
taglib implementation), the  tag provides consistent handling
for dynamic situations.

Thanks.

-Original Message-
From: Robert Lamping [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 2:30 AM
To: Struts Users Mailing List
Subject: RE: html:hidden, disabled attribute


Dear Haiwei,

>but sometime we want the hidden tag to be disabled so its value will
not be posted to the server. 

What is then the purpose of have the hidden tag in it? You could also leave
it out.
You can always access a property using the  tag.

Kind regards,

Robert

-Original Message-
From: Chen, Haiwei (H.) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 1:42 PM
To: 'Struts Users Mailing List'
Subject: RE: html:hidden, disabled attribute


Thanks for your response. We have a need to include a hidden tag in the
form; but sometime we want the hidden tag to be disabled so its value will
not be posted to the server. 

I have filed a bug report. The problem will be fixed in the future Struts
releases.

-Original Message-
From: Robert Lamping [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 6:38 PM
To: Struts Users Mailing List
Subject: RE: html:hidden, disabled attribute


Haiwei,

The purpose of the hidden tag is to keep the property and its value in the
dataset of the form. And you will use it, when you don't want to expose the
value to the user.
Whereas the disabled attribute will exclude the property from the dataset in
the request. 

For your information. When you would have a unique value for the item
presented on the screen and you use , then
you will find out
that the property for this unique value is not in your request. With the
normal getters and setters, your unique value now gets blanked. "". And gone
is your unique code.

Hence, the hidden tag and the disabled attribute are more or less mutually
exclusive.

Kind regards,

Robert Lamping


-Original Message-
From: Chen, Haiwei (H.) [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 5:36 PM
To: Struts Users Mailing List (E-mail)
Subject: html:hidden, disabled attribute


Does anyone know whether future Struts release will support the "disabled"
attribute for the  tag? 

For some reason, it is not supported in the Struts 1.1. Does anyone know the
reason behind that?

Thanks.

Haiwei

-
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]

-
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]

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



RE: html:hidden, disabled attribute

2003-10-16 Thread Nicholas L Mohler





Haiwei,

Would the  tag meet your needs?  The value is available for
use when building the page, but I don't believe that it is in the form
dataset.

Alternatively,  you might consider extending the hidden tag for your needs.
Once it works, you could submit the code as a candidate for changing the
hidden tag in a future release.

Nick



   

  "Chen, Haiwei

  (H.)"To:   "'Struts Users Mailing List'" 
<[EMAIL PROTECTED]>
  <[EMAIL PROTECTED]cc:
 
      >    Subject:  RE: html:hidden, disabled 
attribute   
   

  10/16/2003 08:29 

  AM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





Rober,

 tag allows to retrieve the value of the specified bean
property
and render it to the page as a String.

 tag and the resulting hidden field do more than what
 does. The value of the hidden field can be read/manipulated,
and posted back to server. With the disabled attribute (to be added in the
taglib implementation), the  tag provides consistent handling
for dynamic situations.

Thanks.

-Original Message-
From: Robert Lamping [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 2:30 AM
To: Struts Users Mailing List
Subject: RE: html:hidden, disabled attribute


Dear Haiwei,

>but sometime we want the hidden tag to be disabled so its value will
not be posted to the server.

What is then the purpose of have the hidden tag in it? You could also leave
it out.
You can always access a property using the  tag.

Kind regards,

Robert

-Original Message-
From: Chen, Haiwei (H.) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 1:42 PM
To: 'Struts Users Mailing List'
Subject: RE: html:hidden, disabled attribute


Thanks for your response. We have a need to include a hidden tag in the
form; but sometime we want the hidden tag to be disabled so its value will
not be posted to the server.

I have filed a bug report. The problem will be fixed in the future Struts
releases.

-Original Message-
From: Robert Lamping [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 6:38 PM
To: Struts Users Mailing List
Subject: RE: html:hidden, disabled attribute


Haiwei,

The purpose of the hidden tag is to keep the property and its value in the
dataset of the form. And you will use it, when you don't want to expose the
value to the user.
Whereas the disabled attribute will exclude the property from the dataset
in
the request.

For your information. When you would have a unique value for the item
presented on the screen and you use , then
you will find out
that the property for this unique value is not in your request. With the
normal getters and setters, your unique value now gets blanked. "". And
gone
is your unique code.

Hence, the hidden tag and the disabled attribute are more or less mutually
exclusive.

Kind regards,

Robert Lamping


-Original Message-
From: Chen, Haiwei (H.) [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 5:36 PM
To: Struts Users Mailing List (E-mail)
Subject: html:hidden, disabled attribute


Does anyone know whether future Struts release will support the "disabled"
attribute for the  tag?

For some reason, it is not supported in the Struts 1.1. Does anyone know
the
reason behind that?

Thanks.

Haiwei

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

-

RE: html:hidden, disabled attribute

2003-10-16 Thread Robert Lamping
Okay now I understand! I hope for you it will be in the next taglib version.

Kind regards,

Robert

-Original Message-
From: Chen, Haiwei (H.) [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 2:29 PM
To: 'Struts Users Mailing List'
Subject: RE: html:hidden, disabled attribute


Rober,

 tag allows to retrieve the value of the specified bean property
and render it to the page as a String.

 tag and the resulting hidden field do more than what
 does. The value of the hidden field can be read/manipulated,
and posted back to server. With the disabled attribute (to be added in the
taglib implementation), the  tag provides consistent handling
for dynamic situations.

Thanks.

-Original Message-
From: Robert Lamping [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 2:30 AM
To: Struts Users Mailing List
Subject: RE: html:hidden, disabled attribute


Dear Haiwei,

>but sometime we want the hidden tag to be disabled so its value will
not be posted to the server. 

What is then the purpose of have the hidden tag in it? You could also leave
it out.
You can always access a property using the  tag.

Kind regards,

Robert

-Original Message-
From: Chen, Haiwei (H.) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 1:42 PM
To: 'Struts Users Mailing List'
Subject: RE: html:hidden, disabled attribute


Thanks for your response. We have a need to include a hidden tag in the
form; but sometime we want the hidden tag to be disabled so its value will
not be posted to the server. 

I have filed a bug report. The problem will be fixed in the future Struts
releases.

-Original Message-
From: Robert Lamping [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 6:38 PM
To: Struts Users Mailing List
Subject: RE: html:hidden, disabled attribute


Haiwei,

The purpose of the hidden tag is to keep the property and its value in the
dataset of the form. And you will use it, when you don't want to expose the
value to the user.
Whereas the disabled attribute will exclude the property from the dataset in
the request. 

For your information. When you would have a unique value for the item
presented on the screen and you use , then
you will find out
that the property for this unique value is not in your request. With the
normal getters and setters, your unique value now gets blanked. "". And gone
is your unique code.

Hence, the hidden tag and the disabled attribute are more or less mutually
exclusive.

Kind regards,

Robert Lamping


-Original Message-
From: Chen, Haiwei (H.) [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 5:36 PM
To: Struts Users Mailing List (E-mail)
Subject: html:hidden, disabled attribute


Does anyone know whether future Struts release will support the "disabled"
attribute for the  tag? 

For some reason, it is not supported in the Struts 1.1. Does anyone know the
reason behind that?

Thanks.

Haiwei

-
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]

-
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]

-
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]



RE: html:hidden and value

2003-06-11 Thread Suresh Babu
In your reset() try to initialize the string to null. (Not "" )


Hope this helps.

> --
> From: Anurag Garg[SMTP:[EMAIL PROTECTED]
> Reply To: Struts Users Mailing List
> Sent: Thursday, June 12, 2003 11:46 AM
> To:   Struts Users Mailing List
> Subject:  html:hidden and value 
> 
> 
> 
> 
> Hi,
> 
> I am using html:hideen element and specifying the value in the jsp page
> like
> this.
> 
> 
> In my ActionForm I am declaring a variable String login with getter and
> setter methods. In my reset() method Iinitialize the string to
> blank
> string "".
> 
> When I print the value of hidden element in my action form it displays a
> blank string "", rather than displaying the value "userName".
> 
> I do not understand where the problem is. Any help will be Great..
> 
> Anurag Garg
> 
> 
> -
> 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]



Re: html:hidden and request parameter

2002-11-19 Thread Gemes Tibor
2002. november 19. 12:49 dátummal Jean-Baptiste Onofré ezt írtad:
> Hello all,
>
> in a jsp, i use :
>
>  out.print("\""+request.getParameter("command")+"\""); %>>
>
> I would like to use the  tag from struts html taglib.
>
> Somebody has a sample ?



And don't forget to add the command property to your ActionForm.

Hth,

tib

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




RE: html:hidden and request parameter

2002-11-19 Thread Míguel Ángel Mulero Martínez
For this tag I think that the value of the hidden field must be in the
ActionForm associated with the Action in Struts-config.xml.

Regards,
Miguel


> -Mensaje original-
> De: Jean-Baptiste Onofré [mailto:[EMAIL PROTECTED]]
> Enviado el: martes, 19 de noviembre de 2002 12:49
> Para: [EMAIL PROTECTED]
> Asunto: html:hidden and request parameter
>
>
> Hello all,
>
> in a jsp, i use :
>
>  out.print("\""+request.getParameter("command")+"\""); %>>
>
> I would like to use the  tag from struts html taglib.
>
> Somebody has a sample ?
>
> Best regards
> --
> Jean-Baptiste Onofré (Nanthrax)
> Membre fondateur de phpFR.org
> http://www.phpfr.org
> [EMAIL PROTECTED]
> Membre fondateur du LUG Béziers
> http://www.lug-beziers.org
> [EMAIL PROTECTED]
>
> --
> To unsubscribe, e-mail:

For additional commands, e-mail:



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




Re: html:hidden tag not invoking setter on Form bean???

2002-04-07 Thread days

Does your "value=child" carries any value?
Mine looks like this and it works:



where action is equal to some value I assigned to it.

Hope this helps. Good luck :)
--

On Sun, 07 Apr 2002 13:52:49  
 Ali Manji wrote:
>
>Hi,
>
>I am using the html:hidden tag inside my html:form tag yet upon submitting 
>my form this hidden tag doesn't populate the appropriate form bean field as 
>the other tags do.  That is, the appropriate setter method on my form bean 
>class is not being invoked?
>
>In my jsp I have the following:
>
>...
>
>
>...
>
>
>In my form bean I have the following:
>
>   public void setDependentType(String dependentType) {
>   System.out.println("Setting dependentType to: " + dependentType);
>   this.dependentType = dependentType;
>   } // end setDependentType
>
>The other setters are being called but not this one?  Any ideas?
>
>Thanks and regards,
>Ali Manji
>
>
>*
>Ali M. Manji
>
>http://www.geocities.com/alimanji5
>http://home.talkcity.com/CapitolDr/alimanji
>
>We increase what we have through scattering it and
>experience poverty through hoarding it.
>We are enlarged by pressure and shrunk by prosperity.
>*
>
>
>_
>Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 
>
>


See Dave Matthews Band live or win a signed guitar
http://r.lycos.com/r/bmgfly_mail_dmb/http://win.ipromotions.com/lycos_020201/splash.asp
 

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




Re: html:hidden tag not invoking setter on Form bean???

2002-04-07 Thread David M. Karr

> "Ali" == Ali Manji <[EMAIL PROTECTED]> writes:

Ali> Hi,

Ali> I am using the html:hidden tag inside my html:form tag yet upon submitting my
Ali> form this hidden tag doesn't populate the appropriate form bean field as the
Ali> other tags do.  That is, the appropriate setter method on my form bean class 
is
Ali> not being invoked?

Ali> In my jsp I have the following:

Ali> ...
Ali> 
Ali> 
Ali> ...

Ali> In my form bean I have the following:

Ali>public void setDependentType(String dependentType) {
Ali>System.out.println("Setting dependentType to: " + 
dependentType);
Ali>this.dependentType = dependentType;
Ali>} // end setDependentType

Ali> The other setters are being called but not this one?  Any ideas?

I would guess because your "html:hidden" value is coming from the
"dependentType" bean, property "child".  It's not setting your
".dependentType" property because it's on a different bean.

-- 
===
David M. Karr  ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]


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