Re: issue

2004-07-01 Thread John Antonakos
theList.toArray()
u mean where ? where should i put this ?

I found a solution myself, to combine the 2 fields and pass an a4 param which
is actually the combined a1,a2.

But i was searching for a Struts solution, not a Java one.

John

- Original Message - 
From: "Mark Lowe" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, July 01, 2004 3:25 PM
Subject: Re:  issue


If theList is a List that cast it to an array

theList.toArray()

On 1 Jul 2004, at 14:01, John Antonakos wrote:

> i had something like this:
>
>   
>
>   property="a1"/>, property="a2"/>">
>   
>  
>
>   
>
> i changed it and now i have something like this:
>
>   
>labelProperty="a3"/>
>
>
> As you see i loose one information, the ',a2' information.
> Is there a way to solve this problem ?
> I need to have html:select instead of select, cause in case of an 
> error i need the value to be
> there, and not to get lost. I mean the selected one, to remain 
> selected, and not to auto
> select the first.
>
> Regards, John
>
>
>
> -
> 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]



issue

2004-07-01 Thread John Antonakos
i had something like this:

  
   
 ,">
  
 
   
  

i changed it and now i have something like this:

  
  
   

As you see i loose one information, the ',a2' information.
Is there a way to solve this problem ?
I need to have html:select instead of select, cause in case of an error i need the 
value to be
there, and not to get lost. I mean the selected one, to remain selected, and not to 
auto
select the first.

Regards, John



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



Re: How can i put a dynamic value to an ?

2004-06-25 Thread John Antonakos
Dear Paul,

i know all that, thanks for the remarks though.
I was using that anyway.
I just decided to change them all to  tags and realized that i cannot.
do it in this specific case. Only for those tags i will keep the old ones.

Thanks, anyway John

- Original Message - 
From: "Paul McCulloch" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, June 25, 2004 1:37 PM
Subject: RE: How can i put a dynamic value to an  ?


As other posters have said, you can't use a jsp tag to provide the value of
an attribute in another tag. Ever.

However, what you are doing is (probably) redundant. The purpose of the
html:hidden tag is to *automatically* create an 
element in your form with the value already set according to the value in
your form bean.

If you just want to create a hidden input with a value from something other
than your form bean just use the html tag directly. As this is not a jsp tag
you can use a jsp tag as an attribute:

"/>

Paul

> -Original Message-
> From: John Antonakos [mailto:[EMAIL PROTECTED]
> Sent: 25 June 2004 11:17
> To: [EMAIL PROTECTED]
> Subject: How can i put a dynamic value to an  ?
>
>
> I want to do something like the following:
>  property="firstname"/>"/>
>
> is this possible ?
> The above statement produces an error.
> Can i use another statement to do this thing ?
> Give a dynamic value, coming from another bean,
> to an  field ?
>
> Regards, John
>


**
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee
indicated in this message (or responsible for delivery of the message to such person), 
you may not
copy or deliver this message to anyone. In such case, you should destroy this message, 
and notify us
immediately. If you or your employer does not consent to Internet email messages of 
this kind,
please advise us immediately. Opinions, conclusions and other information expressed in 
this message
are not given or endorsed by my Company or employer unless otherwise indicated by an 
authorised
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via
electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.
You are therefore strongly advised to undertake anti virus checks prior to accessing 
the attachment
to this electronic mail.  Axios Systems Ltd grants no warranties regarding performance 
use or
quality of any attachment and undertakes no liability for loss or damage howsoever 
caused.
**


-
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: How can i put a dynamic value to an ?

2004-06-25 Thread John Antonakos
just out of curiosity, what is html-el ?
i use JSTL, but even in that, i cannot do this:
"/>

John

- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 25, 2004 1:26 PM
Subject: SV: How can i put a dynamic value to an  ?


Hi

use html-el and then : 

-Opprinnelig melding-
Fra: John Antonakos [mailto:[EMAIL PROTECTED]
Sendt: 25. juni 2004 12:17
Til: [EMAIL PROTECTED]
Emne: How can i put a dynamic value to an  ?


I want to do something like the following:
"/>

is this possible ?
The above statement produces an error.
Can i use another statement to do this thing ?
Give a dynamic value, coming from another bean,
to an  field ?

Regards, John


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that DnB NOR cannot
accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


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



How can i put a dynamic value to an ?

2004-06-25 Thread John Antonakos
I want to do something like the following:
"/>

is this possible ?
The above statement produces an error.
Can i use another statement to do this thing ?
Give a dynamic value, coming from another bean,
to an  field ?

Regards, John

Re: How can i avoid the use of & in a drop down box ?

2004-06-04 Thread John Antonakos
thank you, i understand now...
but unfortunately i cannot use that, cause im using javascript and 
HTML dynamic options (eg select1.options = new Option ('',''); )
using a pre-loaded list of data. Those data have & inside,
so there is nothing i can do on the matter, instead of creating
a javascript function to dynamically replace & with &.

I wanted to avoid this option, but its the only option i have.

Thanks anyway for the tips.. John

- Original Message - 
From: "Daniel Perry" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, June 03, 2004 5:16 PM
Subject: RE: How can i avoid the use of & in a drop down box ?




Daniel.

> -Original Message-
> From: John Antonakos [mailto:[EMAIL PROTECTED]
> Sent: 03 June 2004 15:10
> To: Struts Users Mailing List
> Subject: Re: How can i avoid the use of & in a drop down box ?
> 
> 
> where should i put that ?
> i never heard of it...
> 
> please give more info, where does it go ?
> to struts-config.xml or somewhere else ?
> In the Struts FormClass or inside the jsp tag ?
> 
> - Original Message - 
> From: "Rouven Gehm" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Thursday, June 03, 2004 5:01 PM
> Subject: Re: How can i avoid the use of & in a drop down box ?
> 
> 
> Have you tried to set filter="false" ???
> 
> 
> Rouven
> 
> - Original Message - 
> From: "John Antonakos" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Thursday, June 03, 2004 3:40 PM
> Subject: Re: How can i avoid the use of & in a drop down box ?
> 
> 
> > I am re-writing the question cause the stupid Outlook formatted my text
> > and made it without any meaning to it.
> > 
> -
> > We have some drop down boxes in our jsp's which take
> > data straight from the DB. Some of those data contain
> > the character &. (eg John & me).
> > We use a javascript array to store these data for internal
> > use in the page. The struts format those data.
> > When we use these data in a drop down (html select) appears
> > as (John & me) which obviously does not look good.
> > 
> > Is there a way to avoid this from happening ?
> > Can we say to the struts NOT to format the data coming from
> > the java objects ?
> > 
> -
> > i mean NOT to turn & to &, cause when it does it the drop down
> > says: "John & me", which looks ridiculous, doesnt it ?
> > 
> > - Original Message - 
> > From: "Kathy Zhou" <[EMAIL PROTECTED]>
> > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> > Sent: Thursday, June 03, 2004 4:26 PM
> > Subject: RE: How can i avoid the use of & in a drop down box ?
> > 
> > 
> > Have you tried to use & for &? just a thought.
> > 
> > Kathy
> > 
> > > -Original Message-
> > > From: Srinivas Rao [SMTP:[EMAIL PROTECTED]
> > > Sent: Thursday, June 03, 2004 8:07 AM
> > > To: Struts Users Mailing List
> > > Subject: Re: How can i avoid the use of & in a drop down box ?
> > > 
> > > Hi John,
> > > It is possible but i am not sure it is working or not 
> > > before inset into the database we will use Single quate( '  ' 
> ) to store
> > > the data, after u can access '&' symble from the database..
> > >  
> > > bye
> > > Srinivas
> > > 
> > > John Antonakos <[EMAIL PROTECTED]> wrote:
> > > We have some drop down boxes in our jsp's which take
> > > data straight from the DB. Some of those data contain
> > > the character &. (eg John & me).
> > > We use a javascript array to store these data for internal
> > > use in the page. The struts format those data.
> > > When we use these data in a drop down (html select) appears
> > > as (John & me) which obviously does not look good.
> > > 
> > > Is there a way to avoid this from happening ?
> > > Can we say to the struts NOT to format the data coming from
> > > the java objects ?
> > > 
> > > John Antonakos
> > > Software Engineer 
> > > Information Systems Department
> > > MedNet International Ltd www.mni.gr
> > >

Re: How can i avoid the use of & in a drop down box ?

2004-06-03 Thread John Antonakos
where should i put that ?
i never heard of it...

please give more info, where does it go ?
to struts-config.xml or somewhere else ?
In the Struts FormClass or inside the jsp tag ?

- Original Message - 
From: "Rouven Gehm" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, June 03, 2004 5:01 PM
Subject: Re: How can i avoid the use of & in a drop down box ?


Have you tried to set filter="false" ???


Rouven

- Original Message - 
From: "John Antonakos" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, June 03, 2004 3:40 PM
Subject: Re: How can i avoid the use of & in a drop down box ?


> I am re-writing the question cause the stupid Outlook formatted my text
> and made it without any meaning to it.
> -
> We have some drop down boxes in our jsp's which take
> data straight from the DB. Some of those data contain
> the character &. (eg John & me).
> We use a javascript array to store these data for internal
> use in the page. The struts format those data.
> When we use these data in a drop down (html select) appears
> as (John & me) which obviously does not look good.
> 
> Is there a way to avoid this from happening ?
> Can we say to the struts NOT to format the data coming from
> the java objects ?
> -
> i mean NOT to turn & to &, cause when it does it the drop down
> says: "John & me", which looks ridiculous, doesnt it ?
> 
> - Original Message - 
> From: "Kathy Zhou" <[EMAIL PROTECTED]>
> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> Sent: Thursday, June 03, 2004 4:26 PM
> Subject: RE: How can i avoid the use of & in a drop down box ?
> 
> 
> Have you tried to use & for &? just a thought.
> 
> Kathy
> 
> > -Original Message-
> > From: Srinivas Rao [SMTP:[EMAIL PROTECTED]
> > Sent: Thursday, June 03, 2004 8:07 AM
> > To: Struts Users Mailing List
> > Subject: Re: How can i avoid the use of & in a drop down box ?
> > 
> > Hi John,
> > It is possible but i am not sure it is working or not 
> > before inset into the database we will use Single quate( '  ' ) to store
> > the data, after u can access '&' symble from the database..
> >  
> > bye
> > Srinivas
> > 
> > John Antonakos <[EMAIL PROTECTED]> wrote:
> > We have some drop down boxes in our jsp's which take
> > data straight from the DB. Some of those data contain
> > the character &. (eg John & me).
> > We use a javascript array to store these data for internal
> > use in the page. The struts format those data.
> > When we use these data in a drop down (html select) appears
> > as (John & me) which obviously does not look good.
> > 
> > Is there a way to avoid this from happening ?
> > Can we say to the struts NOT to format the data coming from
> > the java objects ?
> > 
> > John Antonakos
> > Software Engineer 
> > Information Systems Department
> > MedNet International Ltd www.mni.gr
> > Tel. (+30) 210 6232085
> > Fax (+30) 210 6232026
> > Email: [EMAIL PROTECTED]
> > 
> > 
> > 
> > 
> > -
> > Do you Yahoo!?
> > Friends.  Fun. Try the all-new Yahoo! Messenger
> 
> 
> 
> -
> 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: How can i avoid the use of & in a drop down box ?

2004-06-03 Thread John Antonakos
I am re-writing the question cause the stupid Outlook formatted my text
and made it without any meaning to it.
-
We have some drop down boxes in our jsp's which take
data straight from the DB. Some of those data contain
the character &. (eg John & me).
We use a javascript array to store these data for internal
use in the page. The struts format those data.
When we use these data in a drop down (html select) appears
as (John & me) which obviously does not look good.

Is there a way to avoid this from happening ?
Can we say to the struts NOT to format the data coming from
the java objects ?
-
i mean NOT to turn & to &, cause when it does it the drop down
says: "John & me", which looks ridiculous, doesnt it ?

- Original Message - 
From: "Kathy Zhou" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, June 03, 2004 4:26 PM
Subject: RE: How can i avoid the use of & in a drop down box ?


Have you tried to use & for &? just a thought.

Kathy

> -Original Message-
> From: Srinivas Rao [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, June 03, 2004 8:07 AM
> To: Struts Users Mailing List
> Subject: Re: How can i avoid the use of & in a drop down box ?
> 
> Hi John,
> It is possible but i am not sure it is working or not 
> before inset into the database we will use Single quate( '  ' ) to store
> the data, after u can access '&' symble from the database..
>  
> bye
> Srinivas
> 
> John Antonakos <[EMAIL PROTECTED]> wrote:
> We have some drop down boxes in our jsp's which take
> data straight from the DB. Some of those data contain
> the character &. (eg John & me).
> We use a javascript array to store these data for internal
> use in the page. The struts format those data.
> When we use these data in a drop down (html select) appears
> as (John & me) which obviously does not look good.
> 
> Is there a way to avoid this from happening ?
> Can we say to the struts NOT to format the data coming from
> the java objects ?
> 
> John Antonakos
> Software Engineer 
> Information Systems Department
> MedNet International Ltd www.mni.gr
> Tel. (+30) 210 6232085
> Fax (+30) 210 6232026
> Email: [EMAIL PROTECTED]
> 
> 
> 
> 
> -
> Do you Yahoo!?
> Friends.  Fun. Try the all-new Yahoo! Messenger



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



How can i avoid the use of & in a drop down box ?

2004-06-03 Thread John Antonakos
We have some drop down boxes in our jsp's which take
data straight from the DB. Some of those data contain
the character &. (eg John & me).
We use a javascript array to store these data for internal
use in the page. The struts format those data.
When we use these data in a drop down (html select) appears
as (John & me) which obviously does not look good.

Is there a way to avoid this from happening ?
Can we say to the struts NOT to format the data coming from
the java objects ?

John Antonakos
Software Engineer 
Information Systems Department
MedNet International Ltd www.mni.gr
Tel. (+30) 210 6232085
Fax (+30) 210 6232026
Email: [EMAIL PROTECTED]