I am creating some jsp custom tags.Now I have a requirement as follows :
<bb:custom1 id="id1" attr1="<bb:custom2 attr2='attr2val'></bb:custom2>"></bb:custom1>
ie the value for an attribute should be another custom tag which will be resolved by the corresponding tag handler. I could see that this works with all the html tags.But when i tried with my custom tags it does not work.Can some one please tell me how this can be attained.
I am creating custom tags using tag handlers.
You nead to define custom EL function, not a custom tag bb:custom2. Than you can call it:
You can read about EL functions here.