S
shruds
hi, i have a Tag Handler called simpleTab who just has to do the
following :
public void doTag() throws JspException, IOException {
etJspContext().getOut().write(
"<td width=\"6\" img src =\"images/tab-left_active.gif\" border=\"0\">
</td><td align =\"center\" class=\"tab\" style=\"cursor: pointer;
background: url(images/tab_bg_active.gif)\"
onClick=\"TAB.changeActive(this)\">" + this.title +
"</td><td width=\"6\" img src=\"images/tab-right_active.gif\"
border=\"0\"></td> ");
Now title is a tag Atrribute i'm passing from a jsp, now there are 2
problems :
1. i can see this html in the source of the page i want this html to be
in, but it is not showing up on the page!!!
2. the source doesnt have the "title" i plug into it in the doTag
method.
whats da problem?
following :
public void doTag() throws JspException, IOException {
etJspContext().getOut().write(
"<td width=\"6\" img src =\"images/tab-left_active.gif\" border=\"0\">
</td><td align =\"center\" class=\"tab\" style=\"cursor: pointer;
background: url(images/tab_bg_active.gif)\"
onClick=\"TAB.changeActive(this)\">" + this.title +
"</td><td width=\"6\" img src=\"images/tab-right_active.gif\"
border=\"0\"></td> ");
Now title is a tag Atrribute i'm passing from a jsp, now there are 2
problems :
1. i can see this html in the source of the page i want this html to be
in, but it is not showing up on the page!!!
2. the source doesnt have the "title" i plug into it in the doTag
method.
whats da problem?