Results 1 to 2 of 2
  1. #1
    jit_j_thomas is offline Member
    Join Date
    Jul 2009
    Posts
    2
    Rep Power
    0

    Default Using custom tag as a placeholder

    Hi,

    I have a custom tag (OldTag) that loads an editor onto the page.

    Now I am adding one more editor to our application. So, I will be creating two new custom tags, one for the old editor (AbcTag) and another for the new editor (XyzTag).

    What I want to do is, if any of the existing pages have OldTag, then based on the application configuration (for which editor to use), I would like route to either AbcTag or XyzTag. Basically OldTag will only act as a placeholder.

    Could anyone tell me how this can be achieved?

    Thanks in Advance.

  2. #2
    jit_j_thomas is offline Member
    Join Date
    Jul 2009
    Posts
    2
    Rep Power
    0

    Default Using custom tag as a placeholder

    Any suggestions would be greatly appreciated.

    I want to replace OldTag with either AbcTag or XyzTag during runtime based on a configuration value.

    What I wanted to find out was if this replacement is possible after the tag handler for OldTag is invoked?

    Will it be possible to do something from the OldTag handler class and write back the new custom tags back to the JSP and then invoke the tag handlers for these tags?

Similar Threads

  1. Custom JTree
    By guyjasper in forum AWT / Swing
    Replies: 0
    Last Post: 10-20-2008, 04:50 PM
  2. Custom Avatar
    By JavaBean in forum Suggestions & Feedback
    Replies: 4
    Last Post: 01-17-2008, 12:28 AM
  3. Custom tgs in JSP
    By ravian in forum New To Java
    Replies: 2
    Last Post: 12-29-2007, 05:05 PM
  4. How to use <,>,== on custom classes
    By Bojevnik in forum Advanced Java
    Replies: 4
    Last Post: 10-29-2007, 05:00 PM
  5. Help with custom component
    By Falcon1 in forum AWT / Swing
    Replies: 8
    Last Post: 07-21-2007, 12:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •