? 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
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
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
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
} /
/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
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
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
. 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
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
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
${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
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...
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
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
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
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
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
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
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
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
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
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
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
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
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
}' 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
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
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
28 matches
Mail list logo