RE: access variable value in html tag

2004-03-26 Thread Steltner, Joern
Hallo together,

Thx, for the help. I installed the Tomcat v5.x engine and now it's working
like you guys suggested without EL. 

Regards
Joern

-Original Message-
From: Brian Buchanan [mailto:[EMAIL PROTECTED] 
Sent: Dienstag, 23. März 2004 15:12
To: Struts Users Mailing List
Subject: RE: access variable value in html tag


The Struts-EL is what I'd recommend, which supports exactly what you want to
do, unless you're into (Tomcat 5 and the) JSP 2.0 then you'd just do:
${accounts.number}

Otherwise I _think_ I've done this nastiness and it worked, but I might have
been doing it with plain HTML (non-struts tags):

">

._.

-Original Message-
From: Steltner, Joern [mailto:[EMAIL PROTECTED]
Sent: Friday, March 19, 2004 7:28 AM
To: [EMAIL PROTECTED]
Subject: access variable value in html tag


Dear,

I'm not an expert in Struts and Java. I need some simple help:


 
  
 


Everything works fine, but at ??? mark I would like take
account.no_account like ${accounts.number}, but it doesn't work. May someone
can give me a small note about the right syntax to get the value from
accounts.number as text in the quotes.

Thanks

Regards
J. Steltner



-
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: access variable value in html tag

2004-03-23 Thread Brian Buchanan

The Struts-EL is what I'd recommend, which supports exactly what you want to
do, unless you're into (Tomcat 5 and the) JSP 2.0 then you'd just do:
${accounts.number}

Otherwise I _think_ I've done this nastiness and it worked, but I might have
been doing it with plain HTML (non-struts tags):

">

._.

-Original Message-
From: Steltner, Joern [mailto:[EMAIL PROTECTED]
Sent: Friday, March 19, 2004 7:28 AM
To: [EMAIL PROTECTED]
Subject: access variable value in html tag


Dear,

I'm not an expert in Struts and Java. I need some simple help:


 
  
 


Everything works fine, but at ??? mark I would like take
account.no_account like ${accounts.number}, but it doesn't work. May someone
can give me a small note about the right syntax to get the value from
accounts.number as text in the quotes.

Thanks

Regards
J. Steltner



-
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: access variable value in html tag

2004-03-19 Thread Robert Taylor
You will need to use Struts-EL taglib then you should be able to do what you want.

http://jakarta.apache.org/struts/faqs/struts-el.html

 
  
   

  
 

You might also investigate using the 
or the  

http://jakarta.apache.org/struts/userGuide/struts-html


robert

> -Original Message-
> From: Steltner, Joern [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 19, 2004 7:28 AM
> To: [EMAIL PROTECTED]
> Subject: access variable value in html tag
> 
> 
> Dear,
> 
> I'm not an expert in Struts and Java. I need some simple help:
> 
> 
>  
>value="${accounts.number}" 
>  
> 
> 
> Everything works fine, but at ??? mark I would like take
> account.no_account like ${accounts.number}, but it doesn't work. May someone
> can give me a small note about the right syntax to get the value from
> accounts.number as text in the quotes.
> 
> Thanks
> 
> Regards
> J. Steltner
> 
> 
> 
> -
> 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: access variable value in html tag

2004-03-19 Thread Colm Garvey
Hmm..Your syntax looks right to me, though you are missing a closing > just
before 

Could the problem lie elsewhere?
Can you write out the accounts.number/account.no_account label/value as a
simple list?

Colm
-Original Message-
From: Steltner, Joern [mailto:[EMAIL PROTECTED]
Sent: 19 March 2004 12:28
To: [EMAIL PROTECTED]
Subject: access variable value in html tag


Dear,

I'm not an expert in Struts and Java. I need some simple help:


 
  
 


Everything works fine, but at ??? mark I would like take
account.no_account like ${accounts.number}, but it doesn't work. May someone
can give me a small note about the right syntax to get the value from
accounts.number as text in the quotes.

Thanks

Regards
J. Steltner



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