How can I evaluate custom tag in custom tag output.

Hi,
          I have a custom tag which returns the following String
          <html>
          Hello there <util:getName/>
          </html>
          Currently the <util:getName/> just prints to the html page. What I
          want is for that tag to be evaluated. Can this be done?
          So in my first jsp, I have the following:
          <cache:getHtml/>
          This cache:getHtml is the tag above that returns the chunk of html.
          The reason that I want this done is that the html is created by an
          xslt transformation but I cache the result of this transformation but
          I need the result to contain some dynamic data so if I could get the
          custom tag to work that would be ideal.
          Thanks in advance,
          IH
          

          >outputs another custom tag, which I store in a page-scope bean
          Send us your JSP code to [email protected] otherwise it not so easy to understand
          "Hrishi Dixit" <[email protected]> wrote:
          >
          >
          >For the record, the eval tag does NOT do this... not even close. I need
          >to do
          >exactly this - I have a custom tag that outputs another custom tag, which
          >I store
          >in a page-scope bean, and then try to get the eval tag to evaluate it,
          >but it
          >simply renders it as it. I think all the eval tag can do is evaluate
          >SCRIPTLET
          >code, it cannot actually process custom tags.
          >
          >..Hrishi
          >
          >"Dmitry Namiot" <[email protected]> wrote:
          >>
          >>See eval tag in Coldtags suite:
          >>http://www.servletsuite.com/jsp.htm
          >>
          >>
          >>[email protected] (IH) wrote:
          >>>Hi,
          >>>
          >>>
          >>>I have a custom tag which returns the following String
          >>>
          >>><html>
          >>>Hello there <util:getName/>
          >>></html>
          >>>
          >>>Currently the <util:getName/> just prints to the html page. What I
          >>>want is for that tag to be evaluated. Can this be done?
          >>>
          >>>So in my first jsp, I have the following:
          >>>
          >>><cache:getHtml/>
          >>>
          >>>This cache:getHtml is the tag above that returns the chunk of html.
          >>
          >>>
          >>>The reason that I want this done is that the html is created by an
          >>>xslt transformation but I cache the result of this transformation but
          >>>I need the result to contain some dynamic data so if I could get the
          >>>custom tag to work that would be ideal.
          >>>
          >>>
          >>>Thanks in advance,
          >>>
          >>>IH
          >>
          >
          

Similar Messages

  • How can i view and apply new custom patterns without going to preset manager? i had this facility but have now lost it

    how can i view and apply new custom patterns without going to preset manager? i had this facility but have now lost it.  i design patterns but am fairly new to photoshop. i used to be able to click on the drop down menu in patterns in the 'fill' box but cannot now do this.  have i inadvertently clicked on something to turn this facility off?  i now have to go to 'preset manager' and manually move my new design to the first box and click 'done' so that i can use it.

    Which version of photoshop are you using?
    After you define a custom pattern it should be added to the bottom of whatever patterns are already loaded.
    For example, if you define a custom pattern and then go to Edit>Fill>Pattern, the newly defined pattern should have been added to the existing loaded patterns.

  • How can I add a new message(custom text message) to the holiday approval em

    How can I add a new message(custom text message) to the holiday approval email-notification sent to the manager?
    TIA

    The answer is 'not very easily', unless the information you want to display is the employee's leave balances. In 12.1.3 Oracle have delivered functionality that allows you to include the leave balances in the approval notifications out-the-box, ie, without customization.
    For any other information you're probably going to have to customize the standard delivered HRSSA workflow. Within this workflow, the Leave of Absence functionality uses the Notify Approver (Embedded) (HR_APPROVER_NTF) notification. The body of this notification is set to the Notify Approver (Embedded) (HR_NTF_EMBEDDED_REGION) attribute. This in turn defaults to:
    JSP:/OA_HTML/OA.jsp?OAFunc=-&HR_EMBEDDED_REGION-&NtfId=-&#NID-
    So essentially you can change the HR_APPROVER_NTF notification. The problem with changing this notification is that it's generic - it's used for all SSHR functions and not just Leave of Absence. That means you have to make other, more substantial, customizations to the workflow to ensure the changes you make only applies to LOA.
    The other option is to personalize the review page (ie, the region referenced in &HR_EMBEDDED_REGION) to include whatever messages you want. But that means they'll appear on the Review page and all LOA approval notifications and that might not be what you want.
    It's usually better to live with what Oracle deliver and find an alternative solution! What's the content of the message you want to include?

  • Hello, How can I edit or delete a custom label in the contacts list on iOS 7.0.3 on iPhone 4S ?

    Hello, How can I edit or delete a custom label in the contacts list on iOS 7.0.3 on iPhone 4S ?
    i need it so muchhh!

    Sort of depend on what you are trying to do precisely. In Edit mode, if you tap on any label, you will be given a list of options, plus an Add Custom Label option near the bottom of the list

  • How can I edit or delete a custom label in the contacts list on iOS 7 on iPhone 4S ?

    How can I edit or delete a custom label in the contacts list on iOS 7 on iPhone 4S ?

    Alfre311 wrote:
    I've been trying to find a way to do this since I updated to IOS 7, and I've just found the solution/explanation, even tho is a bit heavy to carry out.
    IOS 6 creates custom labels and save them giving you the option to delete them.
    IOS 7 creates custom labels but don't save them, so there is no need to have the option to delete them.
    But here comes the problem, if you have some custom labes saved in you Iphone / Ipad with IOS 6 and you update it to IOS 7, the device will keep those labels saved, but you wont be able to delete them.
    I realized this by going to contacts on Icloud. There those labels that I had on my devices weren't there. So simply restoring your device and configuring it as a new one to later sync your Icloud Contacts, will solve the problem.
    I know this post is old, but I might just try this with iOS 8. I have outdated custom labels that annoy me, because I still seem them in the list as options. If I get desperate enough, I may try your solution.

  • How can i put FPM Buttons in custom FPM Views.

    Hi,
      How can i put FPM Buttons in custom FPM Views.
      Couldn't locate them in web dynpro layout or FPM Views and application in Portal Content.
    Thanks,

    Hi,
    you should describe a little bit more what you want to do (e.g. navigation buttons or buttons in containers like e.g. in ESS Address). FPM usually has a quite high reusability so button components are often reused. In case there is already a button component that has everything you need you can just use the self-service administrator to add this view to the right perspective in your FPM application. In case you talk about those buttons that are in the Overview screens than those buttons are dynamically generated.
    In case you just want to have your own button then create this button and fire an FPM event from it. You need to add this event to the FPM view configuration in the self-service administrator. Alternatively you can create a button component and reuse it later.

  • How can I evaluate if a collection is empty or not with struts logic tag?

    How can I evaluate if a collection is empty or not with struts logic tag?
    I tried with logic empty tag. but the tag evaluated if a collection is null or not.
    I would like to do like this below.
    List list = new ArrayList();
    set(list);
    <logic:XXXX name="someForm" property="list">
    The list size is 0.
    </logic>thanks in advance.

    U can use :
    <logic:present name="urform" property="urlist">
    </logic:present>
    to check "urlist" is empty or not

  • How can i actually contact adobe Photoshop customer care?

    how can i actually contact adobe photoshop customer care?? it actually seems impossible.....

    Unfortunately, only Adobe customer service can assist you with your issue. These are user forums; you are not addressing Adobe here.
    Click on the link below, and after that click on "Still need Help? Contact us."
    Then on the next page, click Chat.
    There is also a phone option. 1 (800) 833-6687
    http://helpx.adobe.com/contact.html?step=PHXS_downloading-installing-setting-up_licensing- activation

  • How can I evaluate "S1" (S1.mp3) as an element?

    I have a Button named "Bt1P" that when I click on it, the Sound "S1" starts to play
    (Note "S1" is the Linkage class specified for "S1.mp3" in the library)
    This is the code that works:
    Bt1P.addEventListener (MouseEvent.MOUSE_DOWN, Bt1PDown);
    function Bt1PDown (event:MouseEvent):void {
        var playSound = new S1();
        playSound.play();     
    But In case I want to play for example "S2" (S2.mp3) instead of "S1" (S1.mp3),
    how can I evaluate the "S1" as an element?
    For example I tried this code:
        var test:String = "S" + 1
        var playSound = new this[test];  // instead of S1
    and it didn't work.... here is the Error:
    Error #1007: Instantiation attempted on a non-constructor.
    at Asmaa_fla::MainTimeline/Bt1PDown()
    Anyone has a suggestion please??

    "S"+1 would be an error waiting to be reported, mixing data types ("S"+String(1) would be better, though wouldn't make sense as a realistic bit of code unless 1 was in variable form).
    But you can dynamically load a class using a string value....
    var ClassRef:Class = Class(getDefinitionByName("S1"));
    var  playSound:* = new ClassRef();

  • How can you evaluate a graphed point in numbers

    After you make a graph and incorporate a trendline. How can you evaluate that trend line at a specific x/y value point, even if it is not a graphed point in your table?

    If you know the constants from the trendline then you can use them to extrapolate.  To get the constants check the "Show Equation" box in the Chart Inspector > Series > Trendline
    On the graph you will see the equation for the trendline:
    In this case the equation is "y=2.6x + 2"
    I added a new column to the data table and named is "Y extrapolated".
    Then I highlighted the graph
    Then click on the "sprocket " for the X values in the data table and select the "Share X Values"
    Then click and hold the little circle at the bottom right corner of the selection in the table (to add the new column to the graph), then drag to the right one colum (my column is green).
    Then in the new column add the formula as shown:
    C7=2.6*A7+2
    select C7 and fill down  as need (by clicking and holding on the little circle at the bottom right of the selected cell).
    I hope this helps

  • How can i remove text in between the tags

    Hi 
    I want to remove the text inside the xml tags and am failing to do so. i have tried this codding with no results.
    <value>yes</value> = <value></value>
    <value>yes</value> = <value></value>
    <value>yes</value> = <value></value>
    my code:
                    string text = File.ReadAllText(outputFilePath);
                    text = DeleteBetween1(text,"<value>", "</value>");
     public string DeleteBetween(string STR, string FirstString, string LastString)
                string regularExpressionPattern1 = @"(?:\" + FirstString + @")(<^<>+)\<\/" + LastString;
                Regex regex = new Regex(regularExpressionPattern1, RegexOptions.Singleline);
                MatchCollection collection = regex.Matches(STR.ToString());
                var val = string.Empty;
                foreach (Match m in collection)
                    val = m.Groups[1].Value;
                    STR = STR.Replace(val, "");
                return STR;

    hi,
    you can try below.
    https://social.msdn.microsoft.com/Forums/en-US/b9b4d8d6-38ba-4483-abfd-4939aca0593d/how-can-i-extract-text-string-between-two-tags-?forum=csharpgeneral
    hope that helps.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • How can I configure my new Mac Pro to output the timeline via HDMI

    How can I configure my new Mac Pro to output the timeline in FCP 7 (yes, I have X, but I'm using 7 right now). I have two monitors running from TB2, but want to have the third for a client monitor.
    If I use all three via TB2, it's literally three monitors, and I want to edit on my CineDisplay. I only want the client to see the timeline video on the third monitor. When I hook up HDMI I get no signal, in fact, I can't have the HDMI cable hooked up for TB2 to work with the third.
    Thanks,
    GEvans
    DarthPro
    3.7 QCIntelXeonE5
    12 GB
    AMD FirePro dual D300 2048MB
    OSX 10.9.2

    If you use all ThunderBolt displays, or stick with DisplayPort and Mini DisplayPort (free conversion between the two with only a cheap cable) you can have up to six displays.
    If you attach "legacy" displays with "any-old adapter", you can have up to two, and the built-in HDMI counts as one if you use it.
    Any more requires ACTIVE Adapters.
    The US$100 Apple ACTIVE Mini DisplayPort to Dual-Link DVI adapter works in every case, even displays over 1920 wide.
    StarTech and Accell make US$35 ACTIVE adpters that work for displays up to 1920 wide.

  • 1.how can I interpret meaning of TARGET  STATE   in output of command crsctl stat res -t  2. what exactly is nodeapps and why it need to be stopped before any maintenanace activity.

    I have two question requesting from the Gurus.
    1.how can I interpret meaning of TARGET  STATE   in output of command crsctl stat res -t  2. what exactly is nodeapps and why it need to be stopped before any maintenance activity. 

    I'd tried deleting my user preferences before, and it didn't seem to help. However, I tried again, and also removed the couple of actions I'd had in ~/Library/Automator. Success! Just for good measure, I tried putting the actions back and restoring the old preferences file, and everything still worked. Huh. But that's the nature of these things, I guess. At least it works now, thanks!

  • How can I adjust the bass and/or treble output to my headphones on my MacbookAir 11?

    How can I adjust the bass and/or treble output to my headphones on my MacbookAir 11?

    iPod Manuals
    iPod Models

  • How can I restrict maintaining the same customer for different CC Areas?

    Hi All,
    I have a problem about maintaining customer credit limits via tcode FD32.
    User can maintain a customer in different credit control areas (CCA) and these CCAs are belong to different company codes.
    How can i restrict the user not to update another countries' credit limit?
    Your fast reply will be highly appreciated.
    Regards,
    Bilal

    Hi,
    I donu2019t think so there is any configuration for this kind of purpose.
    You can only do by the authorisation.
    Just give the user authorisation that only this person can change the value of the credit control area.
    And I think so that will be usefull also because if every body has authority then any body can change the limit which is not good.
    First they have to take permission from the authorised person and if he approved then only he should change limits.
    So just try out the user authorisation for your purpose.
    Regards
    Raj.

  • How can I create a new mail custom form shortcut ?

    Hello everyone !
    It's been three hard day of searching for such a simple question:
    How can I add a button to Outlook's ribbon that select a new pre-define form to send ?
    I already have the button but I miss an instruction like that:
    Create new mail with the form located here
    Thank you in advance for helping :D
    (And sorry if there is a mistake, English is not my native language)

    Hello Dark,
    private void CreateMailItem()
    Outlook.MailItem mailItem = (Outlook.MailItem)
    this.Application.CreateItem(Outlook.OlItemType.olMailItem);
    mailItem.Subject = "This is the subject";
    mailItem.To = "[email protected]";
    mailItem.Body = "This is the message.";
    mailItem.Importance = Outlook.OlImportance.olImportanceLow;
    mailItem.Display(false);
    Outlook forms are associated with items based on the message class values. To get a specific inspector window displayed you need to create an Outlook with the associated message class.
    VSTO provides two different ways for customizing the Fluent UI:
    1. Using the ribbon designer: Walkthrough: Creating a Custom Tab by Using the Ribbon Designer .
    2. A raw XML markup: Walkthrough: Creating a Custom Tab by Using Ribbon XML

Maybe you are looking for