Re: fmt:param not working as expected...

2003-09-26 Thread Billy Bacon
? Resin has their own JSTL implementation, which might be different from the Jakarta implementation. -Original Message- From: Billy Bacon [mailto:[EMAIL PROTECTED] I tried this after your suggestion and I still get the same result. Are you doing something differently? fmt:message

fmt:param not working as expected...

2003-09-25 Thread Billy Bacon
I searched the archives and didn't see any issues like this listed. Can anyone help me out here? I original had all struts tags and in my messages.properties file where all my localized content is stored I had the following entry... md.tree.label.feedback1=Can't find the {0}? Mail Notice the

c:import

2003-09-17 Thread Billy Bacon
I've looked through the archives and the suggested alternative for a dynamic jsp:include reference is using the c:import url=${xyz}/. This is not working in my JSP. The tag is including nothing in my page. I've even tried to give it a static reference to the jsp c:import url=xyzPage.jsp/ and still

Re: c:import

2003-09-17 Thread Billy Bacon
of my context hosed me. R Billy Bacon wrote: I've looked through the archives and the suggested alternative for a dynamic jsp:include reference is using the c:import url=${xyz}/. This is not working in my JSP. The tag is including nothing in my page. I've even tried to give it a static

Re: c:import

2003-09-17 Thread Billy Bacon
} / /c:if Billy Bacon wrote: I've looked through the archives and the suggested alternative for a dynamic jsp:include reference is using the c:import url=${xyz}/. This is not working in my JSP. The tag is including nothing in my page. I've even tried to give it a static reference

Re: c:import

2003-09-17 Thread Billy Bacon
variable? Quoting Billy Bacon [EMAIL PROTECTED]: Yes, I am importing the core library, I have plenty of other c: tags within my jsp and they work perfectly that's why it confuses me that's it not working. Seems like a pretty simple tag to use. Before trying to convert this to JSTL I had

Re: c:import

2003-09-17 Thread Billy Bacon
Awesome. That worked! Thanks Kris! - Billy - On 9/17/03 12:05 PM, Kris Schneider [EMAIL PROTECTED] wrote: Have you tried a context-relative path (starts with /) to the page? Quoting Billy Bacon [EMAIL PROTECTED]: It's a scoped variable. But I think the problem is elsewhere because even

Re: c:import

2003-09-17 Thread Billy Bacon
. Are you sure the page doing the import is in the same directory as the page being imported? Quoting Billy Bacon [EMAIL PROTECTED]: Awesome. That worked! Thanks Kris! - Billy - On 9/17/03 12:05 PM, Kris Schneider [EMAIL PROTECTED] wrote: Have you tried a context-relative path (starts

How to get the size of a java.util.List object in EL?

2003-09-16 Thread Billy Bacon
I need to get the size (as an int) of a java.util.List I have. The following doesn't work c:out value=Size = ${browseForm.map.colInfoList.size}/ It gives me the following exception... ServletException in:/jsp/browseQueueBody.jsp] An error occurred while evaluating custom action attribute

Adding 1 to my varStatus variable within a c:forEach tag

2003-09-15 Thread Billy Bacon
I'm getting an exception for adding 1 to my counter variable with my c:forEach tag. ServletException in:/jsp/kmoCreateSimpleBody.jsp] An error occurred while evaluating custom action attribute value with value ${counter +1}: Attempt to coerce a value of type

Re: Adding 1 to my varStatus variable within a c:forEach tag

2003-09-15 Thread Billy Bacon
${counter.count + 1} (but that's off the top of my head, so the property name might not be right.) Adam On 09/15/2003 07:07 PM Billy Bacon wrote: I'm getting an exception for adding 1 to my counter variable with my c:forEach tag. ServletException in:/jsp/kmoCreateSimpleBody.jsp] An error

How can I convert this to JSTL?

2003-09-15 Thread Billy Bacon
I'm hoping someone can help me out with this one I'm almost finished converting the entire app :-) I have a c:forEach loop and within the loop I have a scriptlet. Now I'm aware that JSTL variables are *not* visible within scriptlets. So how would I convert the following below...

Re: How can I convert this to JSTL?

2003-09-15 Thread Billy Bacon
Yea, I need to access the 'suggestionList' EL variable from within a scriplet. I don't prefer to use scriplets in my JSPs but in this case I don't think I can get around it because this loop that I'm in is creating javascript. Here's what the JSP currently looks like... script

Re: Can EL take variables?

2003-09-12 Thread Billy Bacon
it... Any suggestions? On Thu, 11 Sep 2003 17:33:22 +0200, Adam Hardy wrote: I've not tried that yet. Seems logical. What do you get for: c:out value=${requestScope[formName].map.function} / ? Adam On 09/11/2003 02:06 PM Billy Bacon wrote: Yes, that's what I'm using

Re: Can EL take variables?

2003-09-12 Thread Billy Bacon
this: c:out value=${formName.map.dynaClass} default=error/ br c:out value=${requestScope[formName].map.dynaClass} default=error/ Adam On 09/12/2003 05:40 PM Billy Bacon wrote: Adam, thank you for the suggestion Unfortunately when I tried it I receive the following exception

Re: Can EL take variables?

2003-09-11 Thread Billy Bacon
you actually trying to use it with. Adam On 09/11/2003 04:30 AM Billy Bacon wrote: From the original Struts Tags I had the following in the parent JSP which has 2 %@ include% statements... bean:define id=formName value=kmoCreateComplexForm/ Now within my included pages I was able

Can EL take variables?

2003-09-10 Thread billy . bacon
I'm hoping there is a way to do this but I haven't figured it out yet... I have a DynaActionForm but the form name is a variable since the user could be coming from two different sections and I'm trying to utilize one page to handle either request... So I have a c:set tag that defines the

Re: Can EL take variables?

2003-09-10 Thread billy . bacon
Sure, I can expand on this. 'formName' is a variable in the request which points to an object (in this case a DynaActionForm object from Struts). So even though it seems that the c:set tag is unnecessary I'm slightly confused on how to expose it to the EL without it treating it as a literal String

Re: Can EL take variables?

2003-09-10 Thread Billy Bacon
From the original Struts Tags I had the following in the parent JSP which has 2 %@ include% statements... bean:define id=formName value=kmoCreateComplexForm/ Now within my included pages I was able to reference that variable by %=formName% and that worked just fine. Now I'm converting to JSTL and

Performing a .equals() within a c:if tag....

2003-09-03 Thread billy . bacon
All, I hope I'm asking the correct list... if not, please direct me to the correct one... I'm converting my struts taglibs to JSTL tags and I've attempted to convert the following tag to JSTL... logic:equals nameform property=id value= and I tried performing this even though I know it's not

Re: How come c:out didn't regonize variable?

2003-07-10 Thread billy . bacon
Yansheng, Two questions for you 1.) Is sortField a property in your form-bean? 2.) If yes to question 1, are you using a DynaActionForm for your form-bean? - Billy - On Thu, 10 Jul 2003 14:01:59 -0400, Chris Winters wrote: Yansheng Lin wrote: I have a simple c:out statement in my jsp

Re: Problems with c:out tag

2003-07-05 Thread Billy Bacon
I've run into the same issue but with a different tag other than c:out. I'm assuming they are related but I'm really looking for some advice here... I'm in the process of converting my application to JSTL from Struts tags. Once Struts 1.1 Release Candidate 2 came out supporting EL I decided to

Re: Problems with c:out tag

2003-07-05 Thread Billy Bacon
the DynaActionForm is implemented since it's a core Struts class but in anycase it doesn't look like I could fix this since I don't define the Bean. Thanks for the input! - Billy - On 7/5/03 6:53 PM, Hans Bergsten [EMAIL PROTECTED] wrote: Billy Bacon wrote: I've run into the same issue

Re: out not working properly?

2003-06-18 Thread Billy Bacon
Yes I do. I also have the following c: tags in my page before this and the page is executing... c:forEach var=assetType items=${summaryForm.assetTypeQueues} c:set var=assetTypeName value=${assetType.key} / On 6/18/03 4:10 PM, Wendy Smoak [EMAIL PROTECTED] wrote: Billy wrote: I have the

Re: c:out not working properly?

2003-06-18 Thread Billy Bacon
Value / nick On Wed, 18 Jun 2003, Billy Bacon wrote: I have the following tag: c:out value=${assetTypeName} default=Default Value / And I'm getting this in the browser when the page executes... ${assetTypeName} Any ideas as to why the EL is not being executed? Thanks

Re: c:out not working properly?

2003-06-18 Thread Billy Bacon
}' default=Default Value / nick On Wed, 18 Jun 2003, Billy Bacon wrote: I have the following tag: c:out value=${assetTypeName} default=Default Value / And I'm getting this in the browser when the page executes... ${assetTypeName} Any ideas as to why the EL is not being executed

Re: c:out not working properly?

2003-06-18 Thread Billy Bacon
You are the man Nick. I would have never found this. I almost launched my powerbook out the window due to frustration. Thanks for the help! - Billy - On 6/18/03 4:49 PM, N. Chen [EMAIL PROTECTED] wrote: c-rt.tld - To

Re: JSTL c:out Output Problem

2003-03-25 Thread billy . bacon
Adam, You are receiving the print out you have stated b/c you are telling c:out to print the array object itself. You need to give it an index to print out. Try this... c:out value=${header[0]} / this will obviously just print the first element in your array (index at 0) which will be