• Post Reply Bookmark Topic Watch Topic
  • New Topic

Basic Problem regarding casting and the use of tag files

 
su kas
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys, Im new to using tags, and hit a problem trying to do a casting inside a tag file.

what im trying to do it take an object, down cast it, and check a parameter in it.

the code I wrote is as follows,



and


my aim is as follows, fist import the conceptCOmplex class (via the @tag import
now i take the concept object, check if concept.complex = true, and if so do a casting.

However this does not seem to work, as it cannot identify a single conceptCOmplex.

SO I guess i'm doing something wrong, and that the problem lies here, in my tag class.


Really appreciate any help you can give me in this matter.

EDIT: added code tags.

 
Rob Spoor
Sheriff
Posts: 20820
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll move this thread to our JSP forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!