Use of Fragments in SAPUI5

Hi ,
       I am using same layouts(matrix, vertical layous) in different views, can any body help me how can i reuse this layouts across the multiple views usiing fragments.
Thanks&Regards,
Jayasree.

Hi Jayasree,
                    Please refer to this discussion. And also this Blog on using fragments.
Regards
Moulika

Similar Messages

  • Fragments in sapui5

    Hi ,
    I have multiple sap.m Bars in my Page,  i want to use one fragment to reuse the bar instead of having multiple bars.
    Please help me on this.
    Thanks & Regards,
    Jayasree.

    Helpful links.
    SAPUI5 SDK - Demo Kit
    https://sapui5.hana.ondemand.com/sdk/docs/guide/454b208d49cb4f169d483e4223674cfd.html
    Regards,
    kk

  • How to use XML fragment in BPEL?

    Hello,
    How to use XML fragment in BPEL process and whats the purpose of XML fragment ? And why we need it ??

    It is used to build up an XML fragment to the element on the target side...
    please refer this link....
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=2252997&tstart=2
    Thanks,
    N

  • What is the use of Fragmentation Content

    Hi All,
    I need some clarifiration on Fragmentation content on OBIEE RPD side, for what purpose we can use these fragmentation in OBIEE.

    Hi Deva,
    Thanks for You are Quick Response...
    Actually in my project we have total 9 tables are there in these 9 tables 3 were FACT tables remaining are the Dimensional Tables.
    For each day we are getting around 7 to 8 lacks data into our DB.
    When ever client to see or to pull one month data its taking around 9 to 10 mins , but for pulling one day or one week its taking less then 20 sec only .
    So for improving response time what are the steps i need to follow, could you please guide me.
    For each Fact and each Dimensional tables i'm using single logical source only and am not using multiple logical sources .In each fact table for 10 or 15 colums am using sum function only, at max am doing sum claculations for 20 columns in both fact tables..
    why its taking time to show results ..is there any way to reduce these response time..
    Culd you pls suggest me..we are working on OBIEE 10.1.3.4

  • Use SiteStudio Fragments in Webcenter

    Hi,
    according to this post it is possible to use SiteStudio fragments in Webcenter Portal.
    Re: UCM placeholders/sites in WebCenter
    But according to the Oracle documentation it is only possible to use Site Studio region definitions-based content.
    http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_content_intro.htm#CHDJEHDA
    Can someone please give me further information on this.
    Thx
    Tobi

    Hi Tobi,
    first of all, I'm afraid you walk a path not trodden often before, if ever. So, all results are not guaranteed.
    Nevertheless, the idea is not to create "a different Webcenter Portal application", but rather create an app which is both WebCenter Portal and SSXA application. I guess you are probably familiar with how to create a WebCenter Portal App (if not, here is a good starting point: http://docs.oracle.com/cd/E21764_01/webcenter.1111/e10273/toc.htm ) Now, to make it also a SSXA app, you will have to add SSXA (Site Studio) as an additional Project Technology (see http://docs.oracle.com/cd/E21764_01/webcenter.1111/e10273/createapp.htm#CCHEGDIC , figure 3-5).
    What could go wrong? I have read somewhere that Ctrl - Shift - C (entering contributor's mode) does not work well in WebCenter Portal Apps (assumptions were that there was some javascript conflict). Personally, I see no reason why fragments should not work, but you won't know until you try.
    If the way above fails, you will need to "wrap" fragments to some higher-level object (region template, or even a region), which should be OK.
    P.S. are you in any relation with Josef Huber, ex-Stellent country lead in Germany?

  • Re: Problems using page fragments

    Hi,
    Have you gone through the tutorial titled "Using Page Fragments". This is available at:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/index.jsp
    This might be of help to you
    Cheers
    Girish

    solve the problem using the design pattern Tab
    http://www.oracle.com/technetwork/developer-tools/adf/uishell-093084.html

  • How to use search fragments in WCM

    Hi,
    I am trying to use sample fragments named search box plain and search result plain while creating my site in hcsp.
    I am unable to integrate these two fragments.
    whenever i pass a query, i get the message No documents match your search criteria.

    These fragments are read only (to be used as templates) you need to right click on the fragment and select "Copy and Edit", you can then save this as an editable fragment for your use. Once you have done this you can then edit it to suit your needs (even better create one from scratch, you will learn a lot from doing that).
    Also you may want to look at the parameter ssResultsPage and check the Query Text there. The default is (xWebsiteObjectType <Matches> 'Layout File') so if your search text is not in any Layout File name then you won't find any documents.

  • Writeup on Using Page Fragments

    Hi All,
    We recently posted a PDF file "Beyond the Book 2" that contains
    an example using page fragments, custom style sheets, and
    page navigation from a page fragment.
    Here's the link:
    http://www.asgteach.com/books/creator_field_guide.htm
    and choose Beyond the Book 2.
    --Gail                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Thanks Gail.
    Regards,
    Runa.

  • How use page Fragments(give me this error symbol  : class Hyperlink )

    hi master
    sir
    i am try to this link sample for page fragments
    http://developers.sun.com/jscreator/learning/tutorials/2/pagefragments.html
    every setp is right but when i use this code
    Hyperlink homeLink = navigationFragmentBean.getHomeLink();
    this line give me error
    see error
    symbol : class Hyperlink
    location: class fragmentexample.Page1
    Hyperlink homeLink = navigationFragmentBean.getHomeLink();
    1 error
    please give me idea how i remove this error
    thank's
    aamir

    hi master
    sir use mysql database
    I have three textfield in my page and one button.
    All texttfidld are bound with datasourceprovider or bound with mysql and I use normal code in button event
    getMfatableDataProvider().cursorNext();
    also I drop page fragment box tool and create new fragment in my application but when I run my page and click the button first record move to next record and again I press button then page give me this error
    when I run my project then in browser address show this
    http://localhost:29080/mfamove/
    first time when I press button record move to next record and browser show this address
    http://localhost:29080/mfamove/faces/Page1.jsp;jsessionid=12a66ea53657ffffffffcb77c9939bc5aa0
    second time I press button then browser show this address
    http://localhost:29080/mfamove/faces/Page1.jsp
    and page show this error
    Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
    Exception Details: javax.faces.el.MethodNotFoundException
    textField1_processValueChange: mfamove.Page1.textField1_processValueChange(javax.faces.event.ValueChangeEvent)
    Possible Source of Error:
    Class Name: com.sun.faces.el.MethodBindingImpl
    File Name: MethodBindingImpl.java
    Method Name: method
    Line Number: 206
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    com.sun.faces.el.MethodBindingImpl.method(MethodBindingImpl.java:206)
    com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:124)
    javax.faces.component.UIInput.broadcast(UIInput.java:492)
    javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:249)
    javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:343)
    com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:78)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
    com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
    com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
    com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
    com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
    Please give me idea how I use record navigation
    Thank�s
    Aamir

  • Rule fragments using conditions from modules lead to system exception

    I try to buid a project that uses a module with some rules that deduct a boolean value based on a name input (string). These name strings are inside an entity (one to many contained relationship from global), so the boolean is deducted per instance. That entity has a one to one relationship with another entity.
    The property model is as follows. (All entitys, relationships and attributes are exported):
    global - one.to.many entity1 - one.to.one - entitiy2
    The modulair structure is as follows: module1 that contains a common property structure, is used by module2 with a set of business rules on instances of entity 1, which is used bij the main rulebase.
    I use rule fragments on instances of entity2, that uses a a boolean statement in entity 1
    i.e.:
    (in module2)
    the name of entity1 is foobar if
    entity1 = "foobar"
    (in the main rulebase)
    [rule fragment]
    entity2 is relevant if
    the name of entity1 is foobar
    [rule fragment:1]
    entity2 is not relevant
    If I build the project, I get a system exception. System.Exception Unknown relationship. It then shows the reverse text of the relationship text from entity1 to entity2. Then the stack trace continues, it begins with Oracle.Modeling.Compiler.Plugin.XMLTranslate.X3ToXML.ResolveDataModelReferences(ISourceDocument doc,XmlElement el, String context)
    Is this a bug? The exception seems to point in that direction. In the userguide is explained that 'you cannot have rule fragments that cross over module boundaries ' but my fragments are in the main rulebase only.
    Philip.

    I am trying to get a small rulebase with modules in English running that behaves the same. So far, I have not been able to reproduce the problem with this rulebase.
    EDIT: Can now reproduce this in a set of three OPA knowledge bases in English, two modules and one main kb. I guess the forum does not let you upload files?
    Edited by: Philip Jan de Lang on 3-apr-2013 4:24

  • Using fragment library with SAP MIME repository?

    Hi,
    I am new here so I hope I'm posting this in the right place.
    We use Adobe LiveCycle Designer as part of the SAP Interactive Forms product. We want to use the fragment library but I am unclear how that will work unless we can connect to the SAP MIME Repository.
    Does anyone here have any experience with making this work?
    Also ... is there any online resource (other than SAP's SDN) with specific help documentation for using LiveCycle Designer ES with SAP?
    We are on SAP Netweaver 7.01 and LiveCycle Designer 8.1.
    Thanks!
    MAH

    Hi Chintan,
    Thank you for the prompt. I was going to get to it ...
    Actually I did not find a way to use the fragment library with referenced objects. By 'referenced" we would mean to be able to change the object in the library and all referencing items would be updated. We did NOT find how to do that.
    What we did find, that is still useful to us, and probably anyone working in a development team, is that we could create the library in a shared location and store common fragments there. To use the fragments, go to the library, drag the fragment from the library to your form layout, then 'convert to embedded object' (I think this is on the right click menu, Fragments> convert to embedded object).
    This way you still get the benefit of consistency amongst forms using the same element, and only having to develop each element once.
    I hope you find this helpful!
    Margaret

  • Unable To Pass Input Page Parameter Using PageDef File.

    Dear All,
    I am currently exploring task flows as I dont have that much knowledge in it.
    Here's my use case
    1. I setup a taskflow which has a Method Call and a View Activity in it.
    2. The method call is a default activity which just calls a web service.
    3. After execution, I just wanted to display the result of the method.
    I used input page parameters to pass data between the method call and the view activity.
         (I passed the data by accessing the pagedef file directly. I know I can do it using pageflowscope..but this is
         my self exercise so that I could understand ADF fully );)
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="ManageEmployeeTaskflow">
        <view id="viewEmployee">
          <page>/viewEmployee.jsff</page>
          <input-page-parameter>
            <from-value>#{data.com_test_ManageEmpFlow_methodPageDef.empInfoIterator.currentRow.dataProvider.name}</from-value>
            <to-value>#{data.com_test_viewEmployeePageDef.name.inputValue}</to-value>
          </input-page-parameter>
        </view>
        <method-call id="EmployeeSetup">
          <method>#{bindings.EmployeeSetup.execute}</method>
          <outcome id="__12">
            <fixed-outcome>viewEmployee</fixed-outcome>
          </outcome>
        </method-call>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>Problem is, when I display the data. Nothing is being displayed.
    <af:inputText value="#{bindings.name.inputValue}"
                      label="#{'Name'}"/>          I debug the taskflow and the <from-value> really has a value, but I am not sure why it cant be passed to next pagedef.
    Any idea please?
    Edited by: Marky on May 15, 2011 11:25 PM

    Hi,
    I've been thinking... Is this way of passing parameters not possible?
          <input-page-parameter>
            <from-value>#{data.com_test_ManageEmpFlow_methodPageDef.empInfoIterator.currentRow.dataProvider.name}</from-value>
            <to-value>#{data.com_test_viewEmployeePageDef.name.inputValue}</to-value>
          </input-page-parameter>Thanks.

  • How to submit values in multiple fragments?

    Hello,
    I am using Jdev 11.1.1.6 with ADFBC and ADF Faces as technology stack.
    Let me describe my use case first and then the problem.
    I have a BTF using page fragment. Let's call this MasterPage.jsff. This MasterPage.jsff has 2 regions, implemented as Master-Child BTF. Let's call them DeptTableM.jsff (Master) and EmpTableC.jsff (Child).
    Both fragments display data in read-only table with Edit button. When Edit button is pressed, another BTF included is rendered with Form layout. Let's call the form fragments as DeptFormM.jsff and EmpFormC.jsff.
    Both form jsffs have Save/Cancel button to complete the transaction and go back to display mode. Table and Form pages are using the same instance of VO.
    Hierarchy of fragments is:
    MasterPage.jsff
      ..DeptTableM.jsff   -->(region in MasterPage)
          ..DeptFormM.jsff     -->(region in DeptTableM)
      ..EmpTableM.jsff   -->(region in MasterPage)
          ..EmpFormM.jsff      --> (region in EmpTableM)The requirement is:
    1) When User press the Edit button in DeptTableM, DeptFormM should be rendered with fields available for modification
    2) While editing Dept fields, User should be able to press Edit button on EmpTableC and be able to modify the employee data
    3) When User press Save/Cancel in any fragment, it should affect (commit/rollback) in both the fragments. Make the form disappear and show updated data in table.
    Most of it is working fine with following issue:
    When User press Edit on say DeptTableM and modifies a value in a field (say DeptName) that does not have autoSubmit=true and then press Edit in EmpTableC. EmpFormC is rendered but the value of the field DeptName is reverted back to it's original value. It works fine for autoSubmit=true.
    Similarly, when both edit pages are visible and User make a change in DeptName field (autoSubmit=false) and press Save button in EmpFormC, it does not save the modified value in DeptName field. It works fine for autoSubmit=true fields and also when current page's Save button is pressed.
    Question:
    1) How to make the page to submit it's values when Edit button is pressed in another fragment.
    This usecase is globally required in our application and not one page requirement where you can just make every field autoSubmit. So I am looking for a solution without making every field to autoSubmit itself.
    2) If for some reason, autoSubmit is the only way then what could be the adverse impact of doing that in whole application with practically every field autoSubmitting (doesn't sound good though).
    Any help or pointer is highly appreciated.
    Thanks,
    Jai

    Thanks Sudipto and Frank for sharing this info. I have some questions:
    @Sudipto - The use case that I presented above is the simplest one. There are complex screens with 15-20 tabs at each level with 3-4 levels of master-child relationship. We are talking about almost 100-150 regions present on a page in different tabs. User has freedom to roam around, go to any tab and modify data using these Edit buttons and then finally Saving once. Since every BTF is using same transaction, every modified info is expected to be Saved with single save.
    How are you proposing queuing of ActionEvent to this hidden button (in every region) when we don't know which regions the User has modified the data?
    @Frank - I am not sure how this "command pattern" could help here. I understand that it helps in region-to-region interaction but how exactly it helps in submitting the values in region(s) other than current region.
    Are you suggesting to use contextual events to achieve what Sudipto suggested above i.e. using hidden button and queuing actionEvent on it?
    Sharing some more details: In our application, the Table jsff and Form jsff are based on 2 page templates. Table page templates has Add/Edit buttons and Form page template has Save/Rollback. Application is already using contextual events for region interaction and sharing info between regions using payload data. The architecture is not exactly "command pattern" but very similar to it. So I am familiar with contextual events and can implement something using it but I am not able to visualize on how to make use of it in this scenario.
    Another question from my original post is on setting autoSubmit property to true for every field. Is this good or bad idea? Does it put any adverse impact on performance?
    Thanks,
    Jai

  • What program to use to repair a hard disk with "serious" issues?

    Norton Disk Doctor that came preloaded on my G3 iBook found some "serious issues" that must be repaired with Disk Doctor on CD-ROM. When I go to Symentec website to order Disk Utility Software on CD-ROM, I find only such utility software avilable for PC.
    Apple Disk Utility also found that this hard disc needs to be repaired, but the Repair button is not active, even when I restart the computer with OS X CD-ROM.
    Any suggestions, please?
    iBook G3   Mac OS X (10.1.x)  

    Hi, and welcome to Apple Discussions.
    Try starting up in Single-User Mode and running fsck. (File system check.)
    At the command-line prompt, type /sbin/fsck -fy
    Press Return. fsck will go through five "phases" and then return information about your disk's use and fragmentation. Once it finishes, it'll display this message if no issue is found:
    ** The volume (nameofvolume) appears to be OK
    If fsck found issues and has altered, repaired, or fixed anything, it will display this message:
    *** FILE SYSTEM WAS MODIFIED ***
    Important: If this message appears, repeat the fsck command you typed in step 2 until fsck tells you that your volume appears to be OK (first-pass repairs may uncover additional issues, so this is a normal thing to do).
    When fsck reports that your volume is OK, type reboot at the prompt and then press Return.
    Your computer should start up normally and allow you to log in.
    This allows you to repair the drive without the CD or third-party software. If after multiple tries with fsck, errors remain, post back and we will explore other possible solutions.
    (Note: Information in this post is from Apple Knowledge Base article #106214.)

  • Use of Inbox in UI5

    Dear SapGuru's
    Greetings!
    I am just looking for some good examples/use for the ui element Inbox in UI5. Is it similar to POWL in WDA or UWL in portal or SBWP in SAP R/3?
    I went through the below link
    SAPUI5 SDK - Demo Kit
    but not able to understand exactly.
    And what is the functionality behind the buttons Open/Claim/Release ? . Is it similar Approve/Reject ?. is it customization ? Can we add our own buttons over there ?
    Anyone please guide me accordingly.
    Regards,
    Rumeshbabu S

    Hi,
    The UI5 Inbox element is an example of how to use master detail in SAPUI5. It's not possible to customize. But you could start from that example for developing your own inbox that will fulfill your needs.
    What you're looking for is adding a custom workflow to fiori:
    http://scn.sap.com/docs/DOC-46215
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0ab2463-4e16-3110-b08e-d93918e513a1?QuickLink=index&…
    This is comparable to the POWL or UWL inbox and it's responsive! (you will need gateway)
    Kind regards,
    Wouter

Maybe you are looking for

  • IPod keeps freezing... again.  And again.  And yet again.

    My iPod nano repeatedly freezes up and/or restarts every time I use it. It froze up three times in a fifteen minute period tonight. Yesterday it froze seven times in the space of an hour. Sometimes it freezes up in the middle of restarting itself...

  • Ora:contains and special characters into a xml

    I have a problem, I have an xmlType: <Hello> a>b </Hello> When I put it into the repository it becomes <Hello> a & gt; b </Hello> When I get it whit webdav it becomes <Hello> a>b </Hello> the problem is the search whit ora:contains because I don't tr

  • Propose URL when Configuring Sender SOAP Adpater

    Hi I  am doing Sender SOAP adpater .. when i try to generate WSDl from PI .. i selected the Propose URL ..its pointing to the Intergration Engine .. When  i tested the WSDl file from XML spy its giving me the " Message is incomplete. No Sender found"

  • Specifying property file name for ant tasks

    How can I make the ant tasks look at a properties file other than kodo.properties? Thanks, Tom

  • Can't use the brush

    Hi, I'm new at Photoshop and started the first lesson in Classroom in a Book with Photoshop CS5. I'm using Windows 7 and am now trying to use the brush. I selected color (black) and brush (75 pix) but can't get any color on the demo/picture. What is