Flow XML / XSLT

Hi, I need to integrate an XML stream into a Web site and understand that I have to learn XSLT... What is completely new to me.  The power supply looks like this:

<? XML version = "1.0" encoding = "UTF-8" ?>

- < WholeBodyList >
- < Tests >
< Title > Blood </ Title >
</ Tests >
- < Tests >
< < Title > Joints </ Title >
</ Tests >
</ WholeBodyList >
I had hoped that by using a standard RSS (for example Google gAjax FEED) reader and CSS would be enough... .but it didn't!
I would be very grateful if anyone could put me in the right direction... even if I need to mount a strong learning curve to learn XSLT.
Thank you very much
Simon

I was going to post a bunch of code and thought that this link might help you more than anything else...

http://www.w3schools.com/xsl/tryxslt.asp?xmlfile=cdcatalog&XSLTFile=cdcatalog

It shows an example of xml data, the XSLT used to use it in html, and a sample of the results below the two.  Hope that helps!

How did you need display the XML code in the site?

Tags: Dreamweaver

Similar Questions

  • Back in HTML output via cart XML XSLT


    Hello

    I have a scenario where I run a query of the View object in ADF to retrieve the results of a particular table in the database. I have then browse the results in my Java managed bean and manually build an XML file with all the appropriate tags. I then passes the XML via a transformer class in the Java bean based on a XSLT transformation, I created to produce an HTML page. However I have a problem when it comes to handling carriage returns. One of the database table columns may contain carriage returns in its value but in the final HTML page to transport returns has no effect and the text does is display on one line.

    In the database, the values are stored with the carriage return and in SQL Developer, Toad etc, this can be seen for example Text1 Text2 Rem3 Rem4 appear on separate lines. In the XML, the carriage return seems to always be there when I open the file my element that contains carriage returns shows each part on a new line for example < textElement > Text1

    Text2

    Text3

    Text4 < / textElement > (The Text2, Text3 and Text4 all begin on a new line at the beginning and there is no prior white space as shown in this post)

    The XML in JDeveloper also shows the carriage return arrow symbols where there is a.

    The HTML page shows them just Text1 Text2 Rem3 Rem4 all on a single line. Inspection of the source of the HTML shows that the return shipping is actually because it displays also according to XML with values on separate lines.

    Output the value of the object in Java in the log View shows the value coming out like this - Text2Text3Text4 Text1, which is strange, but I know that transport returns are here so I'm not too fussed on the subject.

    I tried to escape characters in Java by str.replaceAll ('[\\r\\n]', ' '); (but replacing the "" with & #xD; & #xA; or & x0A ;) so in the XML file that it replaces the returns cart and exhaust in line with these characters breaks.) However, when the XSLT analyzes XML it these captures and instead actually outputs these real characters as they are for example Text1 & x0A; Text2 & x0A; Text3 & x0A; Text4

    Therefore, I can confirm that the carriage return carries throughout the xsl but I can't help thinking that maybe I need to do something in the XSL to deal with it somehow, for example do the equivalent of 'replace' it in Java but I don't know what I'm looking for in the XML file and also what is actually replace by... Just replace it with a < here > to HTML?

    We have also to analyze the XML using the PDF and Excel XSL transformer class and see the same results.

    Any help would be appreciated.

    Thank you

    This is a very frequently asked question.

    HTML preserves line breaks, except for the

    tag.


    Tags dans le XSLT.

    Recherche Internet de termes comme « XSLT HTML LF », vous trouverez quelques exemples de modèles XSLT pour gérer le remplacement.

  • Dreamweaver 8 XML, XSLT

    I tried to try to place an external or internet RSS on my php page. I opened an xslt page placed my title of food and the link. Everything looks ok when I'm on my php, it shows my list of RSS feeds I've had. However, what I do not understand how to limit my RSS. For example, I went the the Jerusalem Post and took their RSS feeds, and my list shows 11 titles. But I want to limit it to say the top 3. So, how do this.

    I am new to the field of xml and I use Dreamweaver 8.

    Thank you
    AdonaiEchad

    AdonaiEchad wrote:
    > what I don't understand is how to limit my RSS. For example,.
    I went to the
    > the Jerusalem Post and took their RSS feeds, and my list shows 11 titles. But
    > I want to limit to say top 3. So, how do this.

    Select the xsl language: for each tab in your repeat region, click on the
    lightning in the property inspector to open the XPath Expression
    Generator. Expand the Build Filter box and click the button "+". Learn more
    the following values:

    Filter by: the name of the XML node that contains the title
    Where: position()
    Operator >: =
    Value: 3

    --
    Adobe Community Expert David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Query to generate nested XML flow

    Hello
    I use Oracle 11 g R2 SOE...

    I have two main tables

    COMMERCIALS_PROPERTIES (PK, com_id, com_size, project number, com_type number number number)
    COM_PHOTOS (PK ID number, number com_id FK, content mimetype varchar2, blob)

    Please, note that the following has nothing to do with my problem:
    CONTENT and mimetype columns. In addition, the tables of research: PROJECTS, COM_TYPE

    I exposed a report as a RESTful web service in XML format:

    I use this query to generate the XML 1 feed, but I need to change the query to generate flow XML 2 .

    How is this possible?
     Select
          
    "COM"."COM_ID" as "COM_ID",
    "COM"."COM_SIZE" as "SIZE",
    "PROJECTS"."PROJECT_NAME_EN" as "PROJECT",
    "COM_TYPES"."COM_TYPE" as "COM_TYPE",
    
    'http://fam-erp.com/apex/erp/fateh/'||IMG.ID as "ImgURL"
    
     FROM 
    COM_PHOTOS IMG inner join COMMERCIALS_PROPERTIES "COM"
    on   IMG.COM_ID = COM.COM_ID
    inner join "PROJECTS" "PROJECTS" 
    on "PROJECTS"."PROJECT_ID"="COM"."PROJECT_ID"
    inner join "COM_TYPE_LOOKUP" "COM_TYPES" 
    on "COM_TYPES"."TYPE_ID"="COM"."COM_TYPE"
         
     WHERE
      COM.COM_ID < 80 order by 1
    H1. XML 1
    H2. Please look only < COM_ID > and < ImgURL >
    <ROWSET>
    <ROW>
    <COM_ID>77</COM_ID>
    <SIZE>842</SIZE>
    <PROJECT>Bayswater Tower</PROJECT>
    <COM_TYPE>Office</COM_TYPE>
    <ImgURL>http://fam-erp.com/apex/erp/fateh/1410</ImgURL>
    </ROW>
    
    <ROW>
    <COM_ID>77</COM_ID>
    <SIZE>842</SIZE>
    <PROJECT>Bayswater Tower</PROJECT>
    <COM_TYPE>Office</COM_TYPE>
    <ImgURL>http://fam-erp.com/apex/erp/fateh/1412</ImgURL>
    </ROW>
    
    <ROW>
    <COM_ID>78</COM_ID>
    <SIZE>756</SIZE>
    <PROJECT>Bayswater Tower</PROJECT>
    <COM_TYPE>Office</COM_TYPE>
    <ImgURL>http://fam-erp.com/apex/erp/fateh/1425</ImgURL>
    </ROW>
    
    <ROW>
    <COM_ID>78</COM_ID>
    <SIZE>756</SIZE>
    <PROJECT>Bayswater Tower</PROJECT>
    <COM_TYPE>Office</COM_TYPE>
    <ImgURL>http://fam-erp.com/apex/erp/fateh/1429</ImgURL>
    </ROW>
    
    </ROWSET>
    ---------------------------
    H1. XML 2
    H2. Please look only < COM_ID > and < Images > and < ImgURL >
    <ROWSET>
    <ROW>
    <COM_ID>77</COM_ID>
    <SIZE>842</SIZE>
    <PROJECT>Bayswater Tower</PROJECT>
    <COM_TYPE>Office</COM_TYPE>
    <Images>
          <ImgURL>http://fam-erp.com/apex/erp/fateh/1410</ImgURL>
          <ImgURL>http://fam-erp.com/apex/erp/fateh/1412</ImgURL>
    </Images>
    </ROW>
    
    <ROW>
    <COM_ID>78</COM_ID>
    <SIZE>756</SIZE>
    <PROJECT>Bayswater Tower</PROJECT>
    <COM_TYPE>Office</COM_TYPE>
    <Images>
            <ImgURL>http://fam-erp.com/apex/erp/fateh/1425</ImgURL>
            <ImgURL>http://fam-erp.com/apex/erp/fateh/1429</ImgURL>
    </Images>
    </ROW>
    </ROWSET>
    
     

    Fateh,

    I really doubt if the nested XML can be generated from one part of the report. The and tags to link to a generic XML generator that takes a select as input. Just like SYS_XMLGEN or DBMS_XMLGEN.

    You will need find an alternative mechanism for the nested XML.

    Below are the 2 links to help you started on its SQL. For deployment, you can use ApexListener ResourceTemplates, if you use ApexListener.

    If you are on 4.2 Apex and ApexListener 2.0EA, then you have more options that you can set the modules of RESTful services in SQLWorkshop.

    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:4980337843276
    http://asktom.Oracle.com/pls/asktom/f?p=100:11:P11_QUESTION_ID:11650482108651

    Kind regards

  • Best way to Parse XML using Dreamweaver CC 2015.3

    I was on a wild goose chase - trying to figure out how to parse XML using DW CC

    every article I read, says something about XML & XSLT, but it is no longer available in the new CC - I read about using jQuery or php, but have not yet find a resource to learn specifically "using DW CC.

    I'm willing to learn how to parse XML with DW CC but I would get a definitive direction to go before I'm trying to learn something that adobe will put in 'end of life '.

    advice or links to resources that can parse XML DW CC 2015 would be LARGELY APPRECIATED, thank you

    x 126 has written:

    What I'm asking is...

    1. What is the best procedure to insert XML into a page using DW CC 2015 as my editor?
    a. what happened to spry? b. what happened to XSLT?

    As Nancy explained, Spry has been abandoned by Adobe, a few years ago.

    XSLT server behavior has been removed at the same time as other server behaviors Dreamweaver CC. The problem with most of the PHP server behaviors was that they were based on code that has been removed from PHP 7. The XSLT server behavior didn't rely on these features, but it was not the most friendly of server behaviors. XSLT is a complex language that is to be avoided when parsing XML unless you really know what you're doing.

    The easiest way to manipulate XML in Dreamweaver should use PHP SimpleXML. I've linked to the samples page in the PHP online documentation. Believe me, it's much easier than trying to do battle with XSLT. If you have a subscription to lynda.com, you can learn more about SimpleXML to my operational with SimpleXMLclass.

  • SQL query to generate nested XML data

    Hello
    I use Oracle 11 g R2 SOE...

    I have two main tables

    COMMERCIALS_PROPERTIES (PK, com_id, com_size, project number, com_type number number number)
    COM_PHOTOS (PK ID number, number com_id FK, content mimetype varchar2, blob)

    Please, note that the following has nothing to do with my problem:
    CONTENT and mimetype columns. In addition, the tables of research: PROJECTS, COM_TYPE

    Apex (Application Express) we can expose a report as a RESTful web service in XML format:

    I use this query to generate the XML 1 feed, but I need to change the query to generate flow XML 2 .

    How is this possible?
     Select
          
    "COM"."COM_ID" as "COM_ID",
    "COM"."COM_SIZE" as "SIZE",
    "PROJECTS"."PROJECT_NAME_EN" as "PROJECT",
    "COM_TYPES"."COM_TYPE" as "COM_TYPE",
    
    'http://fam-erp.com/apex/erp/fateh/'||IMG.ID as "ImgURL"
    
     FROM 
    COM_PHOTOS IMG inner join COMMERCIALS_PROPERTIES "COM"
    on   IMG.COM_ID = COM.COM_ID
    inner join "PROJECTS" "PROJECTS" 
    on "PROJECTS"."PROJECT_ID"="COM"."PROJECT_ID"
    inner join "COM_TYPE_LOOKUP" "COM_TYPES" 
    on "COM_TYPES"."TYPE_ID"="COM"."COM_TYPE"
         
     WHERE
      COM.COM_ID < 80 order by 1
    H1. XML 1
    H2. Please look only < COM_ID > and < ImgURL >
    <ROWSET>
    <ROW>
    <COM_ID>77</COM_ID>
    <SIZE>842</SIZE>
    <PROJECT>Bayswater Tower</PROJECT>
    <COM_TYPE>Office</COM_TYPE>
    <ImgURL>http://fam-erp.com/apex/erp/fateh/1410</ImgURL>
    </ROW>
    
    <ROW>
    <COM_ID>77</COM_ID>
    <SIZE>842</SIZE>
    <PROJECT>Bayswater Tower</PROJECT>
    <COM_TYPE>Office</COM_TYPE>
    <ImgURL>http://fam-erp.com/apex/erp/fateh/1412</ImgURL>
    </ROW>
    
    <ROW>
    <COM_ID>78</COM_ID>
    <SIZE>756</SIZE>
    <PROJECT>Bayswater Tower</PROJECT>
    <COM_TYPE>Office</COM_TYPE>
    <ImgURL>http://fam-erp.com/apex/erp/fateh/1425</ImgURL>
    </ROW>
    
    <ROW>
    <COM_ID>78</COM_ID>
    <SIZE>756</SIZE>
    <PROJECT>Bayswater Tower</PROJECT>
    <COM_TYPE>Office</COM_TYPE>
    <ImgURL>http://fam-erp.com/apex/erp/fateh/1429</ImgURL>
    </ROW>
    
    </ROWSET>
    ---------------------------
    H1. XML 2
    H2. Please look only < COM_ID > and < Images > and < ImgURL >
    <ROWSET>
    <ROW>
    <COM_ID>77</COM_ID>
    <SIZE>842</SIZE>
    <PROJECT>Bayswater Tower</PROJECT>
    <COM_TYPE>Office</COM_TYPE>
    <Images>
          <ImgURL>http://fam-erp.com/apex/erp/fateh/1410</ImgURL>
          <ImgURL>http://fam-erp.com/apex/erp/fateh/1412</ImgURL>
    </Images>
    </ROW>
    
    <ROW>
    <COM_ID>78</COM_ID>
    <SIZE>756</SIZE>
    <PROJECT>Bayswater Tower</PROJECT>
    <COM_TYPE>Office</COM_TYPE>
    <Images>
            <ImgURL>http://fam-erp.com/apex/erp/fateh/1425</ImgURL>
            <ImgURL>http://fam-erp.com/apex/erp/fateh/1429</ImgURL>
    </Images>
    </ROW>
    </ROWSET>
    
     

    Hi, Fateh

    One possible way is to use the XML features to create your XML file.
    Using XML, you can make the IMAGES as a subquery XMLAGG rather than join at the table of the image.

    Here is an example of the use of schema SCOTT:

    SQL> select xmlelement(
      2            "ROWSET"
      3          , xmlagg(
      4               xmlelement(
      5                  "ROW"
      6                , xmlforest(
      7                     d.deptno as "ID"
      8                   , d.dname as "NAME"
      9                   , (
     10                        select xmlagg(
     11                                  xmlelement(
     12                                     "ImgUrl"
     13                                   , 'http://the.server.com/'||e.empno
     14                                  )
     15                                  order by e.empno
     16                               )
     17                          from scott.emp e
     18                         where e.deptno = d.deptno
     19                     ) as "Images"
     20                  )
     21               )
     22               order by d.deptno
     23            )
     24         ) the_xml
     25    from scott.dept d
     26    /* joins to the other tables EXCEPT image table */
     27  /
    
    THE_XML
    --------------------------------------------------------------------------------
    10ACCOUNTINGhttp://the.server
    

    The output is an XMLTYPE column (think of it as a CLOB with addition of feature ;-))
    My SQL * PLUS the output of cuts, but believe me, it's all there.
    Just to show, here is the same example, wrapped in a function XMLSERIALIZE to print the XML file:

    SQL> select xmlserialize(
      2            content
      3            xmlelement(
      4               "ROWSET"
      5             , xmlagg(
      6                  xmlelement(
      7                     "ROW"
      8                   , xmlforest(
      9                        d.deptno as "ID"
     10                      , d.dname as "NAME"
     11                      , (
     12                           select xmlagg(
     13                                     xmlelement(
     14                                        "ImgUrl"
     15                                      , 'http://the.server.com/'||e.empno
     16                                     )
     17                                     order by e.empno
     18                                  )
     19                             from scott.emp e
     20                            where e.deptno = d.deptno
     21                        ) as "Images"
     22                     )
     23                  )
     24                  order by d.deptno
     25               )
     26            )
     27            as varchar2(4000)
     28            indent size=2
     29         ) the_xml
     30    from scott.dept d
     31    /* joins to the other tables EXCEPT image table */
     32  /
    
    THE_XML
    --------------------------------------------------------------------------------
    
      
        10
        ACCOUNTING
        
          http://the.server.com/7782
          http://the.server.com/7839
          http://the.server.com/7934
        
      
      
        20
        RESEARCH
        
          http://the.server.com/7369
          http://the.server.com/7566
          http://the.server.com/7788
          http://the.server.com/7876
          http://the.server.com/7902
        
      
      
        30
        SALES
        
          http://the.server.com/7499
          http://the.server.com/7521
          http://the.server.com/7654
          http://the.server.com/7698
          http://the.server.com/7844
          http://the.server.com/7900
        
      
      
        40
        OPERATIONS
      
    
    

    For a Web service you don't need to print the XML that is returned by the Web service.

    I do not know APEX, so I don't know if APEX supports exposing an already built piece of XML, rather than expose a query result.
    But my guess is that it should do very well if you ask an XMLTYPE data type (i.e. - to use the first of my examples, and not automatically printed.)

    If you do not have APEX to do it this way, then I suggest that you try asking in the APEX forum rather than the SQL forum ;-)

  • Apply the style of Pará to the xml element based on the type of master page?

    IM using a flow xml, im importing the xml to be used across different master page templates and I want to apply paragraph styles different items depending on what master page xml, they are on...

    So I have 3 put templates in place

    Type of page 1

    Type of page 2

    Type of page 3

    and 3 paragraph styles

    style 1

    style 2

    style 3

    I have the same xml structure deposited on each page...

    < Entry >

    < name > Page < / name >

    < / name >

    So, can I use javascript to apply the paragraph (style 1) style to the xml element (name) on any page that uses the master page (type of Page 1)

    Is this possible? whether and how this could be done?

    Thanks in advance

    Hello

    Try:

    #include '... / XML rules/glue code.jsx ";

    myDoc var = app.documents.item (0);

    var myRuleSet = new Array (new applyParaStyle());

    {with (MyDoc)}

    var elements = xmlElements;

    __processRuleSet (Elements.Item (0), myRuleSet);

    }

    function applyParaStyle() {}

    myIdName = "Xp".

    This.XPath = "//restaurant_name";

    This.Apply = function (myElement, myRuleProcessor) {}

    {with (MyElement)}

    {Switch(insertionPoints[0].parentTextFrames[0].) ParentPage.appliedMaster.Name)}

    case "X-Master:

    App.Select (texts);

    App.Selection [0]. FillColor = myDoc.colors.item ("xxxx");

    break;

    case 'guide-Scotland:

    App.Select (texts);

    App.Selection [0]. FillColor = myDoc.colors.item ("scotland");

    by default:

    break;

    }

    }

    Returns true;

    }

    }

  • How can I create a dynamic XML driven Portfolio PDF?

    I built an XML application for which I maintain a library of PDF individual page "models" used to assemble large PDF documents (1000 + pages). Page templates are saved in PDF format without page numbers, because they can be reused anywhere in any textbook, page numbers are applied during the installation of document. I am now looking to implement a process to update, in which a change in the model can have repercussions of dozens of large documents. So I'm looking to move away from creating these large PDF documents and create something more in the sense of a portfolio or other solution in which document pages/templates in the library are related to rather than together, so that changes across multiple large documents can be made quickly and transparently to the user. I don't know there is a solution using a technique of Adobe as a portfolio or XDP, I need just a little help in the right way, because nothing in what I read explicitly says that these technologies can be used for this purpose. I'd rather stay in technology, I am uncomfortable with to create/edit the necessary files, XML/XSLT and ANT.. I would also like to know if it is possible to add page numbers to the footer of each page in the portfolio without changing the template, and if the portfolio that result can be saved as a normal PDF or printed with included dynamic page numbers.

    I know that this may be a command, but if anyone can help clarify what is possible with existing Adobe technologies it would be greatly appreciated.

    Thank you

    Keith

    Sorry, but it is not possible. PDF portfolios are not dynamic, they are documents with attachments - think of it as a funky-looking on a ZIP file interface.

  • Correct location for the ADF - settings.xml?

    What is the correct location for the adf ADF - settings.xml in JDev 11 g applications file? Documentation conflicted says:

    (1) as by Frank & Lynn Oracle Fusion Developer Guide pg 92, it appears in the correct location for the ADF - settings.xml is < workspace >/.adf/META - INF.

    (2) according to the ADF Web Guide, it seems, it must be < workspace > / < project > / META-INF: http://download.oracle.com/docs/cd/E14571_01/web.1111/b31973/ap_config.htm#BABCBJAB

    Which is correct? With our thanks,

    DMI

    Chris,

    the recommendation to create the ADF - settings.xml in the project source META-INF directory solves the problem of two projects to be used in a single workspace. If the two projects use ADFc MDS got confused. Notes version in R1 mentioned as follows:

    If your J2EE ADF (EAR) application contains several modules web application (WAR files) and contains more than one ADF task flows, then you can get unexpected behavior due to the web application using another its flow XML file with the same name of task (the problem is more likely to occur with the adfc config.xml file because each web application has usually one). You can avoid this problem by defining a 'root web application' separate for each web application (WAR). Web application at most one cannot have any parameters of root web app. To set the "web app root" for an application, you must add an XML file called META-INF/adf - settings.xml to WAR under WEB-INF/classes with content as follows:

    +
    xmlns:WAP = "http://xmlns.oracle.com/adf/share/http/config" >
    ++
    ++
    +
    +
    ++

    The value of the rootName attribute can be any name that uniquely identifies the web application (war) within the overall application (ear).

    In JDeveloper, the new file can be added as follows:

    + 1. Expand the web application project in the browser Application.
    + 2. Right-click on "Sources of the Application", and then select the item 'new ' +.
    + 3. Select "XML Document" and click OK.
    + 4. Type "adf - settings.xml ' under the file name +.
    + 5. Click on the "Browse" button, select the source directory of the project, click the iconic button "Create a new subdirectory" at the top right, type "META-INF" directory name and click OK, then click Select.
    + 6. You should now have a directory and file name "adf - settings.xml ' name '/META-INF +.
    + 7. Click OK to create the new file.
    + 8. In the Source Editor, paste in the XML file above and put a value appropriate for the rootName attribute (this is known as the parameter 'root web application').
    + 9. Make sure that the deployment for the Web application profile includes the new file META-INF/adf - settings.xml under WEB - INF / classes.

    So, if your application has a single web project then this configuration as documented in the book is good to use. To avoid the problem described above (which is in response to bug 8395585) you set it in the project's source. Note that adding adf - setting.xml in the project was presented as a work-around. The bug is closed with a fixed rate per 11.1.1.2, which means that, since the PS2 there should be no need to store the ADF - settings.xml in the source of the project more.

    So long answer that leads to a simple answer: the book is good and the documentation lists always bypass it. However, I'll fill a bug against documentation and make report understand (do not have the time to check the issue being fixed)

    Frank

  • Page fragment bounded-task-Flow Control Flow Help

    jDeveloper: 11.1.1.0.2

    I have a question to try to understand the correct way to use control flow case between a bounded-task-flow with fragments of page and a page without limits-task-flow. We have taken the approach of our application to have some shell / container pages to host bounded task flows composed of fragments of page to facilitate the reuse and accelerate development. There are 4 or 5 pages of shell on the unlimited-task-flow applications. From now on, we have about 20 fragments of page that are implemented as a bounded flow task. These fragments don't do much now, which means there is only a single fragment in each delimited-task-flow. The question that I'm going to try to call action from navigation to control flow of one of the fragments to load a page another shell.

    For example, shellPage1.jspx contains fragment-flow-1 as a region. In my adfc-config I have shellPage1.jspx and shellPage2.jspx, with the case of 'toShell1' and 'toShell2' control flow, respectively linking two pages. I have a link action related to the 'toShell2' in the fragment that make up fragment-flow-1. When the application is run, shellPage1.jspx and its fragment are displayed. But clicking on the link in the fragment ("toShell2") do absolutely nothing. This not me access the shellPage2.jspx as expected. What I do wrong here or do not understand?

    If the fragment is included as include a JSP page, and not a narrow-minded, all workflow works as expected. This is not desirable, as we then need to copy the fragment pageDef in pageDef of the shellPage to get the DataControls function.
    If the faces - config.xml is used instead, and a case of JSF navigation is used, it also works as expected. This is not desirable because we really do want to be mixing adcf-config and faces-config.

    So I am really puzzled here... Thanks in advance!

    Hello:
    In your case, the adfc - config.xml has the case of flow control between the pages of the shell. And the task-flow - N.xml or yours-task - flow.xml for each default page fragment does not inherit control flow of the page containing the shell case. In your case, in the task of page fragment - flow.xml, you must add a "Parent Action' to sink to shell page2 for example. The result of 'Parent Action' would be 'toShell2' If you call ShellPage1 page fragment.
    Is it 'OK' or 'Useful' for you? Please mark it as if it does.
    Good luck

    Alex

  • CSS and TaskFlow problem

    Hello

    I have problem with styling my application files using custom css and taskflow, I find these two could not work together.

    Take a look at my file feature.xml - MAF:

    MAF.jpg

    As you see it is a unique feature that is named "test" with two pages of amx, called "untitled1.amx" id "lymphocytotoxicite.1" and "untitled2.amx" with the id "test.2", each of them includes css file in resources/css/and there are named taskflow "ViewController-task - flow.xml ' with the id"test.3"they (amx and taskflow files) located in the feature file, as you can see on the tab Applications in JDeveloper.

    So lets talk about my problem, there are two situations buggy:

    1. When the workflow is listed first in the list of the contents of the feature. Navigation between the pages of result: working, but there is no style of css files.
    2. When the workflow is listed in any other place than the first. Result: style of css files is present, but the navigation doesn't work.

    I found workaround using Word to Word and insert the style custom, but it is slow and not acceptable.

    I have also deployed on several other machines:

    • Dell Precision T1700, Windows 7
    • Dell Precision T1700, Ubuntu 14.04 (mine)
    • MacBook Pro, Mac OS x 10.11

    And the result is the same.

    I also uploaded my project on gdrive.

    Thanks in advance.

    Greetings,

    Boris

    Hello

    looked at the sample and indeed the problem comes from your configuration. You have defined 3 content for a unique feature of MAF. A function can only show unique content at a time. To determine the content to show you want to use constraints for the defined for content. A usecase for this is where you want to optimize the user interface, for example when rendering on a smartphone differently than when it is rendered on a tablet. The content that is on top is content that is displayed if there is no defined constraints which would decide on the others. So if you have a task flow on top then the other views are not visible. And for the workflow you do not set the CSS to use (which explains why the page doesn't display colored). When a page is displayed at the top, then navigation is controlled by the adfc-mobile - config.xml, which, in your test case is empty so that no navigation can occur.

    Frank

  • Sorry for this question "is it possible to run CRG developed on browser web dektop?

    I have juststumbled on this http://jdevadf.oracle.com/amx/CompGalleryDemo/bootstrap.html?file=Gallery/task-flow.xml%23task-flow & featureRoot =. /

    No, you can run the MAF on a desktop web browser - it's just a site that makes the HTML representation of the elements of the MAF.

    It does not actually an app of the MAF.

  • javax.faces.el.EvaluationException: inaccessible identifier, target &lt; managed bean &gt; resolved to null

    jdev 11.1.1.6

    I created a defined task with two jspx files browse.jspx and more.jspx flow(task-flow.xml)

    Click on the more button in browse.jspx, I'm supposed to be accessed at more.jspx. the code is as follows:

    < managed-bean id = "__21" >

    < id managed-bean-name = "__23" > TestBean < / managed-bean-name >

    < managed-bean-class id = "__22" > com.poc.bean.TestBean < / managed-bean-class >

    < managed-bean-scope id = "__20" > session < / managed-bean-scope >

    < / managed-bean >

    < id = 'Browse' view >

    Browse.jspx < page > < / print this page >

    < / view >

    < id of the view 'Plus' = >

    More.jspx < page > < / print this page >

    < / view >

    < rule of flow control = "__2" id >

    <-activity-id id = "__3" > Browse < /-activity-id >

    < control-flow-case id = "__4" >

    < result id = "__6" > goMore < / de-results >

    <-activity-id id = "___5" > more < / to-activity-id >

    < / control-flow-case >

    < / control-flow-rule >

    ..

    ...

    Browse.JSPX:

    < af:commandButton text = "More" id = "cb4".

    action = "#{TestBean.browseAction}" / >

    TestBean.java:

    public String browseAction() {}

    return "Gomoré";

    }

    Click on the button, I get the exception:

    javax.faces.el.EvaluationException: inaccessible identifier, target, "TestBean" resolved to null

    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)

    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)

    Please notify

    Replace:

    action = "#{TestBean.browseAction}" / >

    with:

    action="#{pageFlowScope.TestBean.browseAction}"/ >

  • Closing popup workflow throws exceptions of serialization is not the managed beans.

    JDev 11.1.1.6

    When a popup that is launched from a work stream is closed, this exception is thrown for a lot of managed beans I set:

    [< SessionBasedScopeMap > < writeScopeMap > ADFc: scope objects serialization failed (no serializable object), scope='viewScope[/WEB-INF/get-value-rules-task-flow.xml#get-value-rules-task-flow@GetValueRules]', objectKey = 'GetValueRuleBean', 'com.mtg.fwd.view.beans.GetValueRuleBean' = objectType.

    < SessionBasedScopeMap > < writeScopeMap >

    java.io.NotSerializableException: com.mtg.fwd.view.beans.GetValueRuleBean

    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)

    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)

    at oracle.adfinternal.controller.util.Utils.verifySerializable(Utils.java:341)

    at oracle.adfinternal.controller.state.SessionBasedScopeMap.writeScopeMap(SessionBasedScopeMap.java:122)

    at oracle.adfinternal.controller.state.ViewScope.writeObject(ViewScope.java:90)

    ...

    Related Posts: ADFC-0619: check failure of popup by taskflow application approval

    I tried setting the scope of control of data in the workflow for the popup shared and isolated, the behavior is the same.  I thought that the scope must be insulated for the tf of the pop-up window.  The data-control-scope on the calling workflow shared.

    No idea why?

    Thanks - Rudy

    I don't know if you can disable registration points. However, I'd go for the second option to bind components to ask the beans reach max.

    This way you don't have problems later and it is best practice not to tie UI components to the higher bean then ask. You can adopt the UIManager (https://blogs.oracle.com/groundside/entry/the_uimanager_pattern) model.

    Or use ComponentReference as shown here https://blogs.oracle.com/ATEAM_WEBCENTER/entry/rules_and_best_practices_for

    Timo

  • Search for an item in the TaskFlow region

    Hi all

    Jdev version: 11.1.1.6

    I found a lot of code to search for a component, using FacesContext, events etc...

    But in my case it is not working.

    Scenario:

    Home.JSPX
    < f: view >
    < af:document id = "d1" title = "Proposal to create" >
    < af:form id = "f1" >
    < af:region value = "#{bindings.taskflowdefinition1.regionModel}" id = "r1" / > "
    < / af:form >
    < / af:document >
    < / f: view >

    * taskFlowId="/WEB-INF/uw-createProposal-task-flow.xml#task-flow-definition»

    Takflow Pages:

    Page1.JSFF

    "< af:pageTemplate viewId="/Template/CreateProposalTemplate.jspx " id ="pt1" >
    < f: facet name = "header" >
    ...........
    < / f: facet >
    < f: facet = 'body' name >
    < af:commandButton >
    < af:showPopupBehaviour popupid = "parentPopup" >
    < / af:commandButton >

    < af:table id = "tb1" >
    < / af:table >

    < af:popup id = "parentPopup" >
    < af:commandButton >
    < af:showPopupBehaviour popupid = "childPopup" >
    < / af:commandButton >
    < / af:popup >

    < af:popup id = "childPopup" >
    < af:commandButton actionListener = "{AddInsuranceListener.execute}" / > "
    < / af:popup >
    < / f: facet >
    < / af:pageTemplate >

    AddInsuranceListener.java

    Execute()
    {
    RichRegion a_richRegion = a_facesContext.getViewRoot ().findComponent("*r1*") (RichRegion);
    RichPageTemplate a_richTemplate = (RichPageTemplate) a_richRegion.findComponent("*pt1*");
    RicheTableau a_richTable = (richeTableau) a_richTemplate.findComponent("*tb1*");

    SOP ('table' + a_richTable) / / output: richeTableau = tb1 id

    }

    I can able to find the Table action event (tb1) child popup. But I need region id, id proof.
    Substitute any other way is there to avoid the region to find and exculpatory.

    UIComponet root = FacesContext.getCurrentInstance.getViewRoot ();
    root.findComponet ("tb1"); this does not

    Am I following the correct path. Please suggest how to achieve? also provide some documents to follow.

    Please come back if you need clarification.

    Thank you
    -Christian

    Hello

    the command button is in a fragment of the page, you can perform a search. In your actionListener, you receive the actionEvent object from

    RichCommandButton button = (RichCommandButton) actionEvent.getUIComponent();
    RichPopup popup = button.getParent();
    RichTable table = (RichTable) popup.findComponent("tb1");
    ...
    

    You will use only research absolute when the search is started from the parent page. If you are looking for relative

    Frank

Maybe you are looking for

  • Starting problem with a Satellite A75-S226

    I have a Toshiba Satellite A75-S226, recently bought application My problem is that whenever the computer cover is closed, it I cannot restore the operating system. So, I have to turn off the computer and try to start again. This is where the problem

  • [WNDR4500] Can not reach the router by IP (WFAdevice)

    I just tried to get into the router with IP 192.168.1.1, but get the error that it is not connect? With my mobile and Fing app, I see the router as a WFAdevice? I have not changed anything with the router, so I don't understand what has changed and h

  • Laptop HP 2000-2d17SX (Bluetooth)

    Hello Windows of laptop HP 2000-2d17SX 8.1 I can not connect with any bluetooth device! as smartphone, laptop! When I try to connect with all Bluetooth devices, it takes only a few seconds and then disconnects

  • phone scam?

    Hiya, I got a ring of guy saying it was Ant support for Microsoft that my software warranty had expired and that my computer was in danger of break up at any time from last week. computer is not even a year and I haven't finished to pay off so its un

  • Distinguish between the cursors in a Structure of the event

    I have a XY Chart on the front of my Panal with 2 active cursors. I've also enabled Anotation. Anyway is to distinguish between the imprecateurs in a single structure. Currently, when all the sliders are moved structures even fires. Thank you