Hi,
I have a question pertaining intregrating a custom tags with a struts
tag. I want to know if there exists a "best practise" when trying to do
what I'm doing (other than not doing it).
I am trying to write a custom tag which wraps another tag in the
following way:
HTML Written: <a:customTag printout="3" />
Desired Output: "printout" number of <html:bean ... /> tags
Code to do it:
--------------
void doStartTag() ... {
...
for(int i=0 ; i<printout ; i+++) {
BeanTag b = new BeanTag();
// Set tag attributes here
b.doStartTag();
}
...
}
Have you guys come across a situation where you had to do something like
this? and if so, what is the best way of creating such a custom tag?
Would you use a .tag to produce the effect described above?
Thanks.
Aladin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]