Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with tag files

 
Xavi Sanchez
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.

In /WEB-INF/tags/gridview/ I have 2 tag files: grid.tag and value.tag

I want to use value.tag inside grid.tag, so grid.tag is like this:

<%@ taglib tagdir="/WEB-INF/tags/gridview/" prefix="gridview"%>
...
<gridview:value/>
...

JDeveloper is giving compilation error.

Am I doing something wrong or this coul be a JDeveloper issue?

Thanks!
 
Anand Bhatt
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you please tell what exact the compiler reporting?
 
Xavi Sanchez
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
- Error(40): Couldn't instantiate tag gridview:value (class:_oracle._jsp._tag._gridview._value_tag). Be
- Error(40): Couln't find bean class: null defined by tag class: _oracle._jsp._tag._gridview._value_tag


Moreover, I have no problems using other tags from the same folder in JSPs
 
Xavi Sanchez
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moreover, <gridview:value/> compiles ok if I use it in a JSP.

Can a tag file be used in another tag file or just in JSPs?
 
Irina Goble
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried this on Tomcat without problems. Can you show the full "Couldn't instantiate tag gridview:value " error message?
 
Xavi Sanchez
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just says "Be sure that the tag class is available"

I tried in Eclipse and worked so I think it is a JDeveloper issue...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic