Re: JSTL simply love it however ...

2005-04-14 Thread K.C. Baltz
The error is suggesting that it can't find an entry for "status" in the page scope of your page. Do you still have the in there? If you have the scope attribute, make sure it's set to page. Otherwise you'll have to replace pageContext with request, or session depending on your choice of sc

Re: JSTL simply love it however ...

2005-04-14 Thread gdeschen
Umh... I am now getting this error: Attribute addTableRow( has now value. I have downloaded the Struts 1.2.4 and noticed that there is a lib directory and then there is a contrib/lib. What is necessary to use the Struts-EL tags? I think that with RT the attribute is all expression or no express

Re: JSTL simply love it however ...

2005-04-14 Thread David Evans
I think that with RT the attribute is all expression or no expression. so try : "> I'm not sure if i parsed your intention correctly, but the idea is that the attribute should be all expression. a simpler example: wrong -> right -> "> dave On Thu, 2005-04-14 at 12:42, [EMAIL PROTECTED] wrote

Re: JSTL simply love it however ...

2005-04-14 Thread gdeschen
Okay... I tried the following: ')"> and I get this error: Error 500: /WEB-INF/personal/timeAndAttendance/cWWHistory.jsp(215,129) Attribute status has no value I'd really like to get this working, I will then spend some time looking into upgrading to a later version of Struts ti use the E

Re: JSTL simply love it however ...

2005-04-14 Thread Rick Reumann
[EMAIL PROTECTED] wrote the following on 4/14/2005 12:03 PM: Okay... I am not using the Struts EL taglibs. Should I be using them? I think you should. Makes the code a lot cleaner. Remember if you are using a JSP2.0 container (ie Tomcat 5), just use the regular html tags (not the el ones). (Then

Re: JSTL simply love it however ...

2005-04-14 Thread K.C. Baltz
I think Dave's got it. Use the struts-el tags if you want to have EL expressions instead of RT expressions (<%= ... %>) If you want/have to stick with RT, then you'd need this instead of ${status.index} <%= ((javax.servlet.jsp.jstl.core.LoopTagStatus) pageContext.getAttribute("status")).getIn

Re: JSTL simply love it however ...

2005-04-14 Thread gdeschen
Okay... I am not using the Struts EL taglibs. Should I be using them? You choose to use the struts EL tags by a) using the struts EL tld (like struts-html-el.tld) and b) by having the struts-el tag JAR file. I don't know if they come by default with the latest release or not; you'd have to che

Re: JSTL simply love it however ...

2005-04-14 Thread Dave Newton
[EMAIL PROTECTED] wrote: How can I tell which version of the struts tags? You choose to use the struts EL tags by a) using the struts EL tld (like struts-html-el.tld) and b) by having the struts-el tag JAR file. I don't know if they come by default with the latest release or not; you'd have t

Re: JSTL simply love it however ...

2005-04-14 Thread gdeschen
Re: JSTL simply love it however ... Classification: [EMAIL PROTECTED] wrote: >Niether solution works... >The expression is never evaluated. The output is: > >onchange="addTableRow('historyTable','s')" >class="dropdo

Re: JSTL simply love it however ...

2005-04-14 Thread Dave Newton
[EMAIL PROTECTED] wrote: Niether solution works... The expression is never evaluated. The output is: Are you using the EL version of the struts tags? Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

RE: JSTL simply love it however ...

2005-04-14 Thread gdeschen
cc: Glenn Deschenes/NAT/CMHC-SCHL/CA) Subject: RE: JSTL simply love it however ... Classification: I think ${status.index} in place of s_SOMETHING_HERE would work fine. Otherwise, try setting onChange="${addTableRow}" with addTableRow prior defined as: addTableRow('

RE: JSTL simply love it however ...

2005-04-14 Thread Abdullah Jibaly
OTECTED] Sent: Thursday, April 14, 2005 7:59 AM To: user@struts.apache.org Subject: JSTL simply love it however ... I have started to use JSTL this week. I simply love it !!! However, I have one small problem that I cannot seem to get working. Here is a s

JSTL simply love it however ...

2005-04-14 Thread gdeschen
I have started to use JSTL this week. I simply love it !!! However, I have one small problem that I cannot seem to get working. Here is a snippet of code that works fine: What I need to do is add an onChange event for