EL expression not getting evaluated

2005-06-29 Thread Phani
I am using WSAD 5.1.2.

I have the following code to insert a checkBox for a
Display Tag table..

display:table defaultsort=3 class=
name=partItems id=partItem 

display:column titleKey={*}
html:multibox name=partDetailForm
property=intarray value=${partItem.intproperty} /
/display:column

display:column property=sku paramId=Sku
title=SKU align=right /

/display:table


The expression ${partItem.intproperty} is not
getting evaluated..

I see the following in the view source of the page for
each checkBox:

value = ${partItem.intproperty}, instead of a literal.

Shud I have to use EL version of the struts tags?? If
so how ?? as I haven't used them..

Thanks,
Phani.




__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 

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



RE: EL expression not getting evaluated

2005-06-29 Thread Karr, David
I don't know whether WSAD 5.1.2 is a JSP 2.0 container.  If it is not, then 
you'll need to use the Struts-EL taglib. If it is a JSP 2.0 container, then 
you'll need to make sure that your web.xml is using the Servlet 2.4 schema.



From: Phani [mailto:[EMAIL PROTECTED]
Sent: Wed 06/29/2005 11:59 AM
To: Struts Users Mailing List
Subject: EL expression not getting evaluated



I am using WSAD 5.1.2.

I have the following code to insert a checkBox for a
Display Tag table..

display:table defaultsort=3 class=
name=partItems id=partItem 
   
display:column titleKey={*}
html:multibox name=partDetailForm
property=intarray value=${partItem.intproperty} /
/display:column
   
display:column property=sku paramId=Sku
title=SKU align=right /
   
/display:table

   
The expression ${partItem.intproperty} is not
getting evaluated..

I see the following in the view source of the page for
each checkBox:

value = ${partItem.intproperty}, instead of a literal.

Shud I have to use EL version of the struts tags?? If
so how ?? as I haven't used them..

Thanks,
Phani.



   
__
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail

-
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: EL expression not getting evaluated

2005-06-29 Thread Rahul Akolkar
On 6/29/05, Karr, David [EMAIL PROTECTED] wrote:
 I don't know whether WSAD 5.1.2 is a JSP 2.0 container.  If it is not, then 
 you'll need to use the Struts-EL taglib. If it is a JSP 2.0 container, then 
 you'll need to make sure that your web.xml is using the Servlet 2.4 schema.
 

For completion, WSAD 5.1.2 is J2EE 1.2/1.3. J2EE 1.4 (JSP 2.0) is RAD
6.0 and up.

-Rahul

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



RE: EL expression not getting evaluated

2005-06-29 Thread Pushkala_Iyer
 
1. Add the EL tag library descriptor to your web.xml.

taglib
taglib-uri/tags/struts-html-el/taglib-uri
taglib-location/WEB-INF/struts-html-el.tld/taglib-location
/taglib

2. Include the required jar files in WEB-INF/lib:
struts-el.jar, standard.jar

3. Import the tag library in your jsp and use the el tags:

%@ taglib uri=/tags/struts-html-el prefix=html-el %

tdhtml-el:text property=myFundingIndexed[${outerLoop.index * size +
innerLoop.index}]//td
...

Hope this helps,
Pushkala. 

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



Re: EL expression not getting evaluated

2005-06-29 Thread Phani
If it is so..

why is my expression not getting evaluated...

${partItem.intproperty}

--- Rahul Akolkar [EMAIL PROTECTED] wrote:

 On 6/29/05, Karr, David [EMAIL PROTECTED] wrote:
  I don't know whether WSAD 5.1.2 is a JSP 2.0
 container.  If it is not, then you'll need to use
 the Struts-EL taglib. If it is a JSP 2.0 container,
 then you'll need to make sure that your web.xml is
 using the Servlet 2.4 schema.
  
 
 For completion, WSAD 5.1.2 is J2EE 1.2/1.3. J2EE 1.4
 (JSP 2.0) is RAD
 6.0 and up.
 
 -Rahul
 

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



RE: EL expression not getting evaluated

2005-06-29 Thread Karr, David
If by asking if it is so, you're referring to the question of whether your 
container is a JSP 2.0 container, I thought that was answered pretty clearly. 
Your container is NOT a JSP 2.0 container, so you'll have to use the Struts-EL 
taglib.
 
I would also qualify a couple of items from the reply by [EMAIL PROTECTED] 
[EMAIL PROTECTED]:
 
It is not strictly necessary to include the taglib element in your web.xml 
file. If your taglib element in the JSP (notice that there is a taglib 
element in the JSP, and a taglib element in the web.xml, which are different 
things) references the URI that is specified in the TLD that is inside the 
taglib jar file, then you can skip the taglib element in the web.xml.
 
In your JSP pages that use Struts-EL, I don't recommend using a different 
prefix (html-el, as opposed to html). If you use the same prefix as is 
normal, then it will decrease the number of changes you'll need to make to your 
pages when you move to a JSP 2.0 container.



From: Phani [mailto:[EMAIL PROTECTED]
Sent: Wed 06/29/2005 1:42 PM
To: Struts Users Mailing List; Rahul Akolkar
Subject: Re: EL expression not getting evaluated



If it is so..

why is my expression not getting evaluated...

${partItem.intproperty}

--- Rahul Akolkar [EMAIL PROTECTED] wrote:

 On 6/29/05, Karr, David [EMAIL PROTECTED] wrote:
  I don't know whether WSAD 5.1.2 is a JSP 2.0
 container.  If it is not, then you'll need to use
 the Struts-EL taglib. If it is a JSP 2.0 container,
 then you'll need to make sure that your web.xml is
 using the Servlet 2.4 schema.
 

 For completion, WSAD 5.1.2 is J2EE 1.2/1.3. J2EE 1.4
 (JSP 2.0) is RAD
 6.0 and up.

 -Rahul


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




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.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]