How to get the id of  jsf Template Component

Dear All,
I have a page template with adding attribute like pageName, companyId. Then I Page Fragment that use that page template.
In this jsff page I fill the pageName and companyId.
My question is How can I get the value of these attribute (pageName and companyId) from backing bean or application module ??
Thanks .

Hi,
starting from a component in the page fragment, you call getParent() until you hit an instance of RichPageTemplate. This then is the view template you are looking for.
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e10684/oracle/adf/view/rich/component/rich/fragment/RichPageTemplate.html
AA call to get attributes should return a HashMap of attributes so you can check for the two attribute keys you are interested in
Frank

Similar Messages

  • How to get the floor plan in Webdynpro component ?

    Hi,
    How to get the floor plan in Webdynpro component ?
    Best Regards,
    Tripathi

    Hi,
    Just copy the templates from Webdynpro Component by choosing OIF or GAF or QAF template.
    Regards,
    Bansidahr

  • How to get the contents associated with a component.

    How to get the contents associated with a component.
    Like i have 2 buttons and i want to get the contents associated with these button without clicking them i.e without firing the event.
    By Contents i mean, whatever things we get after firing the event,we get some other window and some thing is added to the current page and so on.

    grab all the code inside the actionPerformed(ActionEvent e) method

  • How to get the parent Frame of a component ?

    Hi,
    I'm wondering how to get the parent JFrame (or JDialog) of a component.
    Thanks for tips

    I'm using this code:
    public Component getFrame(Component comp)
        Component frame = comp;
        while ((frame != null) && !(frame instanceof Frame))
            frame = frame.getParent();
        if (frame == null)
            frame = comp;  // no parent found
        return frame;
    }

  • How to get the value of identity template

    Hello,
    i have a AD resource and i want to get the identity model value in a form. Is it possible to do it ?
    Thanks

    A Resource object has a method getIdentityTemplate but its result type won't be easy to use inside a form.
    What kind of information are you exactly interested in?
    For example if you need to know which resource attributes are part of the identity template, you can find this information directly in the user view, i.e. :
    <ref>accountInfo.accounts[Active Directory].attributes[idTemplate=true].name</ref>

  • How to get the Search Button from RichQuery Component

    Hello All,
    How can I get the Search Button from RichQuery Componennt, I could do not locate from getChildren, getFacets
    any ideas ?
    Thank you,

    Not even able to get it from getViewRoot findComponent("clientId");
    which is not good, RichQuery component can be inside popup and I do not want to add an extra button just to close the popup window
    Any ideas ?
    Thank you,

  • How to get the phase values of harmonic component numerically?

    Hi,
    Basically what i am trying to do is to analyze the quality of acquired waveforms. What i am interested are both magnitude and phase at some certain frequencies (say 50Hz, 150Hz, 250Hz etc) of a waveform. I tried to use 'spectral measurment express VI' to achieve my goals. It works well, but so far i can only manage to show the spectrums in the graphs. Then , i tried to use 'harmonic distortion Vi' to get the magnitudes of different harmonic components numerically and it is absolutely fine. My question is that how i can get the phase of different harmonic components numerically?  
    Many Thanks
    Hao
    Solved!
    Go to Solution.

    FFT plus some manipulation of the outputs seems to work fairly well.
    I used Tones and Noise Waveform.vi to generate a test signal. The FFT Spectrum (Mag-Phase).vi analyzes the signal. I find the magnitude peaks and extract the phases at those locations. The results are quite close to the input values even when the noise is larger than some of the harmonics.
    Lynn
    Attachments:
    Phase tester.vi ‏16 KB

  • How to get the TOP MAT from a component material of BOM list?

    I only kown a sub material of a BOM Llist & not sure its level in the TOP MAT's BOM.
    How can i get the TOP MAT of this sub material?
    Any BAPI or Function?
    TKS a million~~~

    HI .. in my view you should ask your ABAP to help you with a small program to solve your purpose, i am not aware of any system available t-code/ program ..... hence this is what we also did at client place.

  • How to get the name of a (custom) component

    Hi,
    I would like to know whether there is a way to get the name Xcelsius uses for instance in the Object Browser. Getting the components "name" property doesnt return this information.
    Thanks in advance.

    String myFileName = request.getRequestURL().substring(request.getRequestURL().lastIndexOf("/")+1);
    or with javascript
    <H1><script>document.write(document.location.href.substring(document.location.href.lastIndexOf("/")+1))</script></H1>
    bye! :)

  • How to get the global location of a component which is inside some containers.....

    Hai,
    I have a texInput component,which is placed inside containers like following
    1) Bordercontainer start....
    2) Vbox start...............
    3) Hbox start..............
    ..........Here My TextInput.........
    3) Hbox end..............
    2) Vbox end...............
    1) Bordercontainer end....
    Now after initialization i want to get the location of my textInput with respect to Application.
    I tried with with localToGlobal(PointofLocalCoridnate), then it is not giving the correct location of textInput..Please suggest me....
    Thank you...

    What are you calling localToGlobal on?  It should be on the parent of the TextInput itself

  • How to get the current JSF phase in backing bean?

    How to get the current JSF phase in backing bean?
    Edited by: jimmy6 on Nov 27, 2007 7:27 AM

    I am using phasetracker to trace it also.I want to know whether it is it render response phase. I know FacesContext.getCurrentInstance().getRenderResponse() work for normal jsf component but it will not work for qiupukit datatable. FacesContext.getCurrentInstance().getRenderResponse() will not return true in the following phase. Why?
    [ INFO] 27-11-07 16:20:21 : BEFORE RENDER_RESPONSE(6) (http-80-Processor23)
    I want the 'get' method of datatable being called in response phase to reduce the number of calling because i put the query in 'get' method there. Actually i still straggling with the best practice to code the datatable...

  • I modified the first business card in a template. Does anyone know how to get the other cards on the template to look like the first one without doing each individually? please and thanks!

    I modified the first business card in a template. Does anyone know how to get the other cards on the template to look like the first one without doing each individually? please and thanks!

    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=182&mforum=iworktips ntrick
    Peter

  • How to get the line in the template (smartform) with out using under score

    Hi,
         How to get the line in the template (smartform) with out using under score,
         and how to print the box (line the check box - small squre box (which is used ot mark the tick by the user in front of the item).
         Please provide the valueble answer as early as possible.
    Thanks,
    Ravi

    Hi Ravi,
    Line -
    Use a SMATSTYLE for this purpose.in the smartstyle create a paragraph or character with underline atribute.Then call the smartstyle in the text.
    Search SDN with Key <b>UNDERSCORE</b>.. will get few more posts on the same.
    For Checkbox - refer link
    Re: Quick Question on Smartforms
    Re: putting tick mark into check box in smartform
    Reward points if this Helps.
    Manish
    Message was edited by:
            Manish Kumar

  • Anyone know how to get the templates for illustrator?

    Anyone know how to get the templates for illustrator?

    Apologies for the incomplete details. I am using Illustrator 2014. I saw the Adobe online training which have predefined templates which is missing when I installed the program. Thank you Larry for the answer.

  • How to get the reference of the component JSF by the faces context

    I have :
    <h:commandLink id="toto" action="#{controller.test}" >
    I want to get the reference of this commandLink component in function test of "controller ", for instance , to get the "id" attribute of it, so how to do it? by facescontext??????
    Thanks a lot.

    hi again:
    to precise my question, i know that attribute "actionListener " of the component can let the controller.test know the reference of the component ,but if i want to know when the getters are called for example <h:outputText value="#{controller.myValue}"> it calles the controller.getMyValue() , so in the getMyValue, how to know which component calls him?
    Thanks a lot...

Maybe you are looking for

  • Add a second hard drive

    I need to buy the sata cable to add a second HD to my Pavilion dv7-6b32us - need part number and cost.  This is necessary to install a dual boot with windows 8 I'd appreciate any help anyone can give me!

  • How to put Company logo in the report?

    Hi, How am i going to include the company logo or a image file into my report? What is the best tools? I have try to use the "Link File" tool and it required me to specify the "Source Filename". So if I put the file path and filename in the "Source F

  • Outlook 2011 MAC SupressNameChecks

    I am running into an issue with signing/encryption certificates from different individuals where the certificate email address does not match that of the senders address. Is there an equivalent SupressNameChecks,  for Outlook 2011 for MAC? http://sup

  • Does User Messaging Service come by default in SOA Suite?

    Does User Messaging Service come by default in SOA Suite?

  • Server Side Flex Code?

    My company currently has a back end image rendering engine built in Java. The rendering engine serves up images on request to a Flex User Interface through web services. What we have discovered through benchmarking is that Flex (or the Flash Runtime)