Parent simple tag invoking child tag's body

Hey,
This post is 6 years old:
http://forum.java.sun.com/thread.jspa?forumID=45&threadID=167332
And doesnt seem applicable for classic tags which are reused (and after the tag is done, the parent shouldnt invoke), but for simple tags where the instance isnt reused, it seems reasonable that during the parent's body executing, if the child doesnt do anything about register itself with the parent, then at the end of the parent's doTag() method, it writes stuff to the screen, and uses the references to the children to make them process their body to the screen. Is this ok to do or has the container done some cleanup after doTag() to make this impossible?
Thanks,
Chris

I get the error manditory uri missing in the jsp.
Is there something I'm missing?Yes, a mandatory uri ;)
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %><%@ taglib prefix="tags" uri="/WEB-INF/tags" %>
Make sure that you define the uri so that it points to the actual tld file in your web.xml.
ncuka

Similar Messages

  • Disable Parent Form while invoking Child Form using FND_FUNCTION.EXECUTE

    Hi,
    Any inputs in getting this issue resolved would be really helpful? I have a parent form wherein I am calling Child form (Line Details Form) by passing the masterid it works fine. Here How do we refrain the user control to access master form when child form is opened? Here when child form is invoked by click of a button and try to close the master, still I could see the child form opened. Any help will he highly appreciated. Many Thanks.
    Please find the details of the db version and function being used to invoke the form. I tried with all parameter options, when we give Open_flag as 'N', the master form gets closed after opening the child form. Perhaps given the open_flag as 'Y'. Kindly let me know your inputs in case of any missout from my end.
    Forms Version: Oracle Forms 10g
    Version: Oracle Applications : 12.1.3
    Database Version: 11.1.0.7.0
    fnd_function.execute(
    FUNCTION_NAME=> 'CHILD_FORM_LINE_DETAIL'                                                   ,OPEN_FLAG=>'Y'
         ,SESSION_FLAG=>'Y'
         ,other_params=>:Global.master_table_ID
    Thanks,
    Ahmed

    Hi,
    Please review the following documents and see if it helps.
    Note: 93784.1 - Custom Form is Not Executed When Called Using FND_FUNCTION.EXECUTE
    Note: 1031970.6 - Where is FND_FUNCTIONS.EXECUTE defined?
    Note: 744065.1 - Sample CUSTOM Library Code To Customize Applications
    Regards,
    Hussein

  • Accessing parent document div tags from child document loaded inside parent document

    I am loading an ASP document (Child)inside another ASP document (Parent) using Include statements.
    The parent document has certain div tags which have some properties to be accessed from inside the code in child document using javascript.
    Please advise on how to access the parent document varioables and div tags from inside the child document which has been loaded from within the parent document.

    <script src="/SpryAssets/SpryHTMLPanel.js" language="javascript" type="text/javascript"></script>
    <script src="/SpryAssets/SpryTabbedPanels.js" language="javascript" type="text/javascript"></script>
    <link href="/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
    <link href="/SpryAssets/SpryHTMLPanel.css" rel="stylesheet" type="text/css" />
    <script language="javascript">
    Spry.Widget.HTMLPanel.evalScripts = true;
    </script>
    </head>
    <body>
    <div class="TabbedPanels" id="TabbedPanels2">
    <ul class="TabbedPanelsTabGroup">
    <li class="TabbedPanelsTab" tabindex="0" >Tab 1</li>
    <li class="TabbedPanelsTab" tabindex="0" onclick="tab2.loadContent('test1/load.asp');return false;">Tab 2</li>
    </ul>
    <div class="TabbedPanelsContentGroup">
    <div class="TabbedPanelsContent" id="tab1">test content 1</div>
    <div class="TabbedPanelsContent" id="tab2">test content 2</div>
    </div>
    </div>
    <script type="text/javascript">
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels2");
    var tab1 = new Spry.Widget.HTMLPanel("tab1");
    var tab2 = new Spry.Widget.HTMLPanel("tab2");
    </script>

  • How do you retrieve child tags from a parent tag in a tree structure and build an array from it?

    Is there a property node somewhere that can retrieve the tags of all the children of an "active" parent tag in a tree structure? If I click on the parent tag, I want to be able to show what child tags are under that parent tag.

    There is not a property or method that I have been able to find, however I wrote this VI that given a parent tag returns all the children.
    Evan Collier
    Attachments:
    Get_1_Lv_of_children.vi ‏59 KB

  • Make a keyword tag a child after it is created as an orphan tag

    I created the keyword tag "butterflys" and applied it to some photos.
    Later I created a keyword tag of "bees" and applied it to some other photos.
    At this point I realized I should have a keyword of "insects".
    I created the "insects" keyword but could not find a direct way to make "butterflys" and "bees" child tags of "insects.
    I was able to do it by creating keywords of "BU" and "BE" as children of "insects"
    Then I selected all the "bee" photos and added the keyword "BE" to them and similiarly selected "butterflys" and added the keyword "BU".
    Then I deleted the keywords "butterflys" and "bees".
    Finally, I renamed the keyword "BE" to "bees" and "BU" to "butterflys"
    There must be a better way!
    Lightroom 1.0 on Windows XP on a Compaq Computer.

    There is a better way!
    First, create the parent keyword, "Insects". Then, in the "Keyword Tags" pane, drag the child-to-be (no pun intended...) keyword (i.e. "Butterflys" or "Bees") and drop it on the parent-to-be keyword (i.e. "Insects").
    hope that helps!

  • F:invokeUrl jsp tag and child objects

    Hey all,
    Does anyone know if its possible to use the f:invokeUrl tag on a method in a child object? eg:
    <f:invokeUrl var="myObject.myChildObject" methodName="myMethod" />
    I've also tried:
    <f:invokeUrl var="${myObject.myChildObject}" methodName="myMethod" />
    with no luck. I've gotten the above to work using the f:invoke jsp tag.
    What I'm trying to do is put my ajax type functions in the objects that make the most sense. If I can't get this to work, I'll need to make presentation objects with all my ajax functions, create an instance and put it into scope, which I rather not do.
    Thanks,
    Graham

    Graham,
    I can't say if it will work or not, because its a better practice to leave all logic outside of the jsp (and I really don't know!). Do the logic in an activity, then only use the jsp to display the values. Keeping the logic outside is a much easier way to keep track of the data, and also re-use if necessary.
    Customarily, a 'view' object is created. FileStatusView for example, would be a BPM Object that contains all the values to be displayed in a JSP or presentation.
    Hope thats helpful!
    -Kevin

  • Problem with child tag - Could not resolve x to a component implementation.

    Hello.
    I am writing some chart component and got a problem setting property via child tag. Property is a custom class.
    My directory structure:
    Makefile  oxcharts  Session.vim  stats.as  stats.mxml  stats.swf
    ./oxcharts:
    ColumnChart.as MyTest.as
    stats.mxml:
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:oxcharts="oxcharts.*">
        <oxcharts:ColumnChart id="myChart" showDataTips="true" width="600" height="310">
            <oxcharts:test x="5"></oxcharts:test>
         </oxcharts:ColumnChart>
    </mx:Application>
    ColumnChart.as:
    package oxcharts {
        public class ColumnChart extends UIComponent {
            public var test:MyTest;
    MyTest.as:
    package oxcharts {
        public class MyTest {
            public var x:Number;
    I got this error:
    Error: Could not resolve <oxcharts:test> to a component implementation.
    I guess something wrong with imports. Setting Number property via child tag works just fine.

    I'm gonna give a clerear example, I hope it'll help you better understand what I mean let's say I have a custom class named Login:
    package ec
             [Bindable]
         public class Login
              public var ID:int;
              public var Role:String;         
              public function Login()
    And I need to use this class within MyAmazingCanvas, so my main app will be like this:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:oxcharts="ec.*">
         <mx:Script>
              <![CDATA[
                   import ec.Login;
                   [Bindable]
                   private var myLoginStatus:Login=new Login();
                   private function setLoginData():void{
                        myLoginStatus.ID=myID.text
                        myLoginStatus.Role=myRole.text;
              ]]>
         </mx:Script>
         <oxcharts:MyAmazingCanvas id="myCustomComp" myPublicNumber="323" LoginStatus="{myLoginStatus}" />
         <mx:TextInput id="myID" />
         <mx:TextInput id="myRole" />
         <mx:Button id="setData" label="Set Data" click="setLoginData()" />
    </mx:Application>
    When I said at the top level I meant outside the scope of any function, altough is not a requierement, you can as well set it at a function level.

  • WD4VC Callable Object: No parser configuration entry for the tag Invoke

    I am trying to use a Visual Composer model as a callable object. I can deploy OK (as a Web Dynpro model, having checked the copmiler options "Deploy Model with PAR" and "Add Guided Procedure information").
    When I try to test the Callable Object, I get the following error:
    com.sap.tc.wd4vc.intapi.info.exception.WD4VCRuntimeException: No parser configuration entry for the tag Invoke.
    No idea how to get around this.
    Any help greatly appreciated.
    Kind Regards,
    Tony.

    Hi Mario,
    We have only three runtime in VC 7.0
    1. XGraph
    2. Flash
    3. Webdynpro.
    In your blog on wiki Flex runtime is mentioned  as given below:
    Webdynpro runtime is not fully supported in NW04s and some tags may not be supported as stated in the error. The reccomendation is to use the flex runtime.
    Is Flex runtime and  Flash runtime is same ,
    I have tried to deploy the model in Flash runtime and  Portal runtime error ocurs by diasply renderning JSP Component,
    But when i deploy it in Webdynpro runtime , it works fine for displaying data in Table.But gives error :No parser configuration entry for the tag ChartView , when i used chart in place of table .
    Thanks.

  • Child tag initializer for type 'Array' may not be empty?error.

    hey,
    I imported this file from illustrator into catalyst. WE assume the error is caused by the filters tags but we can't delete them in the code view. The project is unable to run with this error. Is there a way to resolve this?

    Hey,
    I am also getting this error message and reads: "Errors (1 item) Child tag initializer for type 'Array' may not be empty. There is no way to edit anything in Code view, and I've been working this project for a little while. Imported items from Photoshop CS4. What to do? Thanks.

  • How to get the parent window in sub-child controller class in javafx?

    how to get the parent window in sub-child controller class in javafx?

    You can get the window in which a node is contained with
    Window window = node.getScene().getWindow();Depending when this is invoked, you might want to check the Scene is not null before calling getWindow().
    If the window is a stage that is owned by another window, you can get the "parent" or "owner" window with
    Window owner = null ;
    if (window instanceof Stage) {
      Stage stage = (Stage) window ;
      owner = stage.getOwner();
    }

  • Parent table of a child table

    I am using a child table 'CHILD_T' and in this table the column 'CHILD_FK' is the foreign key and it is pointing to some parent table. In my oracle editor I can see only synonyms but not actual tables. Is there any way to find out the parent table for this child table. Why I am asking this is because , I am getting below error while trying to execute the below script.
    Here I think my question is pretty simple but I would like to know how to find a parent table of a child table as I can see only synonyms instead actual tables.
    Script :
    INSERT INTO CHILD_T ( EM_ID, DFLT_COST_CNTR_TXT, ACCT_TYP_ID, DFLT_ORD_TYP_ID ) VALUES ('abcd', 'NA', '1', '1' );
    Error:
    SQL Error: ORA-02291: integrity constraint (AFM.USR_PROF_EM_ID) violated - parent key not found.
    Any one have any idea your help is well appreciated.

    select table_name  from user_constraints where constraint_name  in
        (select r_constraint_name from user_constraints  where constraint_name='YOUR_CONSTARINT_NAME');

  • Writing tag in a tag handler

    Hi,
    I was wondering if it was possible to embed tags in the output of a tag handler.
    for example, depending on an attribute, I would like my custom tag <MyTag/> to write out a <fmt:message/> tag. I tried something like pageContext.getOut().write("<fmt:message key='mykey'/>"), which writes out the message tag, but it doesn't get evaluated because the body content is evaluated already. So all I see is the tag <fmt:message/> instead of the actual message.
    Is there a way to re-evaluate the tags in the body after the tag handler has a chance to write something to it first?
    Thanks.

    No, there isn't.
    The best you can do is write a tag handler using a .tag file.
    .tag files are to Tag libraries what JSPs are to Servlets.
    So you write you custom tag potentially using other custom tags in the process) it then translates that tag into java code.
    Cheers,
    evnafets

  • Invoking Child Form Process Tasks

    Hi,
    I would like to know,is it possible to invoke a Child Form Process task .I want to invoke a process task called "Change Password" which is there in child form,whenever a user's password gets updated in OIM.Thanks.

    Hi
    What exactly do you mean by "Child Form Process Task"? Tasks are defined on the Provisioning Process itself and can utilise data from the Parent Form and any Child Forms that may be linked to that form...
    Can you explain exactly what you want to achieve? Are you looking to propagate an OIM User password change to a particular resource?
    Rob

  • Ho wto get a Custom Tag generate other Tags?

    Hi Folks,
    I need your help with this issue. I have a Tag A:X which needs to generate some code containing another tag A:Y. How do I get the container to also evaluate A:Y?
    The long version of the problem. I have a web page that uses the tag A:X which is a custom tag. When executed, this custom tag needs to go through a bunch of other HTML page segments and find the right one, say Page 25. Once it finds this page 25, it has to output the code of page 25 in place of A:X. Yet, Page 25 itself also contains JSP tags. So, somehow, I need to tell the container to reevaluate the code produced by A:X.
    Normally, the handler of tag A:X could behave like the container and invoke A:Y's handler in the following way:
    AYTag tag = new AYTag();
    tag.setPageContext(...);
    tag.setParent(...);
    tag.setAttribute1(value1);
    tag.setAttribute2(value2);
    tag.doStartTag();
    tag.doEndTag();
    tag.release();I, however don't feel like it is a good decision. This is the job of the container and I don't want to have it done in a tag handler. Worst, I might have problem later on, if new pages come (similar to Page 25) that use other tags with different set of attributes.
    Any help is very much welcome.
    Thanks,
    Klaus.

    Note that I've also posted a question to the SiteMesh user forums about this. It has more information about the motivation of this question.
    See http://forums.opensymphony.com/thread.jspa?threadID=8561
    I'm still looking for an answer, though.
    --matthew                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • SQL Server 2012 Management Studio:In the Database, how to print out or export the old 3 dbo Tables that were created manually and they have a relationship for 1 Parent table and 2 Child tables?How to handle this relationship in creating a new XML Schema?

    Hi all,
    Long time ago, I manually created a Database (APGriMMRP) and 3 Tables (dbo.Table_1_XYcoordinates, dbo.Table_2_Soil, and dbo.Table_3_Water) in my SQL Server 2012 Management Studio (SSMS2012). The dbo.Table_1_XYcoordinates has the following columns: file_id,
    Pt_ID, X, Y, Z, sample_id, Boring. The dbo.Table_2_Soil has the following columns: Boring, sample_date, sample_id, Unit, Arsenic, Chromium, Lead. The dbo.Table_3_Water has the following columns: Boring, sample_date, sample_id, Unit, Benzene, Ethylbenzene,
    Pyrene. The dbo.Table_1_XYcoordinates is a Parent Table. The dbo.Table_2_Soil and the dbo.Table_3_Water are 2 Child Tables. The sample_id is key link for the relationship between the Parent Table and the Child Tables.
    Problem #1) How can I print out or export these 3 dbo Tables?
    Problem #2) If I right-click on the dbo Table, I see "Start PowerShell" and click on it. I get the following error messages: Warning: Failed to load the 'SQLAS' extension: An exception occurred in SMO while trying to manage a service. 
    --> Failed to retrieve data for this request. --> Invalid class.  Warning: Could not obtain SQL Server Service information. An attemp to connect to WMI on 'NAB-WK-02657306' failed with the following error: An exception occurred in SMO while trying
    to manage a service. --> Failed to retrieve data for this request. --> Invalid class.  .... PS SQLSERVER:\SQL\NAB-WK-02657306\SQLEXPRESS\Databases\APGriMMRP\Table_1_XYcoordinates>   What causes this set of error messages? How can
    I get this problem fixed in my PC that is an end user of the Windows 7 LAN System? Note: I don't have the regular version of Microsoft Visual Studio 2012 in my PC. I just have the Microsoft 2012 Shell (Integrated) program in my PC.
    Problem #3: I plan to create an XML Schema Collection in the "APGriMMRP" database for the Parent Table and the Child Tables. How can I handle the relationship between the Parent Table and the Child Table in the XML Schema Collection?
    Problem #4: I plan to extract some results/data from the Parent Table and the Child Table by using XQuery. What kind of JOIN (Left or Right JOIN) should I use in the XQuerying?
    Please kindly help, answer my questions, and advise me how to resolve these 4 problems.
    Thanks in advance,
    Scott Chang    

    In the future, I would recommend you to post your questions one by one, and to the appropriate forum. Of your questions it is really only #3 that fits into this forum. (And that is the one I will not answer, because I have worked very little with XSD.)
    1) Not sure what you mean with "print" or "export", but when you right-click a database, you can select Tasks from the context menu and in this submenu you find "Export data".
    2) I don't know why you get that error, but any particular reason you want to run PowerShell?
    4) If you have tables, you query them with SQL, not XQuery. XQuery is when you query XML documents, but left and right joins are SQL things. There are no joins in XQuery.
    As for left/right join, notice that these two are equivalent:
    SELECT ...
    FROM   a LEFT JOIN b ON a.col = b.col
    SELECT ...
    FROM   b RIGHT JOIN a ON a.col = b.col
    But please never use RIGHT JOIN - it gives me a headache!
    There is nothing that says that you should use any of the other. In fact, if you are returning rows from parent and child, I would expect an inner join, unless you want to cater for parents without children.
    Here is an example where you can study the different join types and how they behave:
    CREATE TABLE apple (a int         NOT NULL PRIMARY KEY,
                        b varchar(23) NOT NULL)
    INSERT apple(a, b)
       VALUES(1, 'Granny Smith'),
             (2, 'Gloster'),
             (4, 'Ingrid-Marie'),
             (5, 'Milenga')
    CREATE TABLE orange(c int        NOT NULL PRIMARY KEY,
                        d varchar(23) NOT NULL)
    INSERT orange(c, d)
       VALUES(1, 'Agent'),
             (3, 'Netherlands'),
             (4, 'Revolution')
    SELECT a, b, c, d
    FROM   apple
    CROSS  JOIN orange
    SELECT a, b, c, d
    FROM   apple
    INNER  JOIN orange ON apple.a = orange.c
    SELECT a, b, c, d
    FROM   apple
    LEFT   OUTER JOIN orange ON apple.a = orange.c
    SELECT a, b, c, d
    FROM   apple
    RIGHT  OUTER JOIN orange ON apple.a = orange.c
    SELECT a, b, c, d
    FROM   apple
    FULL OUTER JOIN orange ON apple.a = orange.c
    go
    DROP TABLE apple, orange
    Erland Sommarskog, SQL Server MVP, [email protected]

Maybe you are looking for