Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to communicate between the child and parent tag

 
Muralitharan Kathirvelu
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I want to pass the child tags attribute value to the parent tag class. for example
Line1 <c:data>---- DataTag.class
Line2 <d:show valid="true"/>
Line3 </c:data>
I want to get the child tags attribute valid's value "true"(Static value) to my parent tag DataTag.class before it comes to line 2
Depends upon the value i will do some process.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
before it comes to line 2

You mean before the nested tag gets evaluated ?
 
Muralitharan Kathirvelu
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes... before evaluating the child tag...
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's not possible then. (I don't think it is)
 
Amol Nayak
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thats not possible, why do you want to do that?

You can have the attribute to the outer tag.
Can you please explain in details what are you trying to do?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic