About Using the managed-bean Element

Initializing Managed Bean Properties
why referenced bean can't instantiate? Please help.
<managed-bean>
<managed-bean-name>customers</managed-bean-name>
<managed-bean-class>test.Customers</managed-bean-class>
<managed-bean-scope> session</managed-bean-scope>
<managed-property>
<property-name>mailingAddress</property-name>
<value>addressBean</value>
</managed-property>
</managed-bean>
managed-bean>
<managed-bean-name>addressBean</managed-bean-name>
<managed-bean-class>test..AddressBean</managed-bean-class>
<managed-bean-scope> none </managed-bean-scope>
</managed-bean>

Hi,
Maybe this helps:
When you create an object that points to other objects, do not try to point to an object with a shorter life span.
A scope of "none" means that the bean is created only when something else references it.
The life span is in this order: none, application, session, request .
Best regards,
Nick

Similar Messages

  • Rss feed won't validate when I use the itunes:order element?

    Hi
    I'm trying to use the <itunes:order> element -
    http://deimos.apple.com/rsrc/doc/iTunesUAdministrationGuide/AddingContent/chapte r12_section3.html
    When I run my feed through the W3C rss validator it won't validate. It says - Undefined item element: itunes:order
    I also get a recommendation which says - Use of unknown namespace: http://www.itunesu.com/feed
    As far as I can tell I'm doing everything correctly. The iTunes and iTunesU namespaces are declared correctly in the root rss element and the itunes:order are where they should be within the <item></item> element.
    What am I doing wrong? Any help would be much appreciated.
    Here's my rss feed -
    <rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:itunesu="http://www.itunesu.com/feed" version="2.0"><channel xmlns:itunesu="http://www.itunesu.com/feed" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"><title>London School of Economics: Public lectures and events : Audio Podcasts and PDF Documents: all items - Dec 31 2099 12:00AM</title><link>http://www2.lse.ac.uk/newsAndMedia/videoAndAudio/publicLectures/</link><description>Audio podcasts and pdf doucments from LSE's programme of public lectures and events</description><itunes:summary>Audio podcasts and pdf doucments from LSE's programme of public lectures and events</itunes:summary><managingEditor>[email protected] (LSE Web Services: Rich Media Producer)</managingEditor><itunes:owner><itunes:name>LSE Web Services: Rich Media Producer</itunes:name><itunes:email>[email protected]</itunes:email></itunes :owner><webMaster>[email protected] (LSE Web Services: Rich Media Producer)</webMaster><language>en-uk</language><copyright>Copyright © Terms of use apply see http://www2.lse.ac.uk/aboutThisWebsite/termsOfUse/</copyright><itunesu:category code="110" text="Social Science"/><category>Social Science</category><itunes:explicit>no</itunes:explicit><itunes:author>London School of Economics and Political Science</itunes:author><itunes:block>No</itunes:block><generator>SQL</generator ><image><url>http://www2.lse.ac.uk/assets/richmedia/webFeedImages/rss_144/PublicLecturesAudio Generic.jpg</url><title>London School of Economics: Public lectures and events : Audio Podcasts and PDF Documents</title><link>http://www2.lse.ac.uk/newsAndMedia/videoAndAudio/publicLectures/</link><width>144</width><height>144</height></image><itunes:image href="http://www2.lse.ac.uk/assets/richmedia/webFeedImages/iTunes_300/PublicLec turesAudioGeneric.jpg"/><pubDate>Mon, 7 Feb 2011 11:45:00 GMT</pubDate><lastBuildDate>Mon, 7 Feb 2011 11:45:00 GMT</lastBuildDate>
    <item><title>LSE Summer School 2010 - Business strategy in a global age [Audio]</title><itunes:author>Professor Costas Markides</itunes:author><link>http://www2.lse.ac.uk/newsAndMedia/videoAndAudio/publicLectures/player.aspx?id=6 94</link><itunes:duration>01:25:21</itunes:duration><itunes:explicit>No</itunes:ex plicit><enclosure url="http://richmedia.lse.ac.uk/publicLecturesAndEvents/201007121730businessStrategyInAGlobalAge.mp3" length="41003598" type="audio/mpeg"/><guid isPermaLink="false">http://richmedia.lse.ac.uk/publicLecturesAndEvents/201007121730businessStrategyInAGlobalAge.mp3?iTunesRSSPublicLecturesandEvents9999AudioTransc riptSlidesDocumentJan1200612:00AMDec31209912:00AM</guid><description>Speaker(s): Professor Costas Markides | Robert P Bauman is Professor of Strategic Leadership at London Business School. Connson Locke is Lecturer in Management at LSE EROB Group.</description><itunes:summary>Speaker(s): Professor Costas Markides | Robert P Bauman is Professor of Strategic Leadership at London Business School. Connson Locke is Lecturer in Management at LSE EROB Group.</itunes:summary><itunes:order>1</itunes:order><pubDate>Mon, 12 Jul 2010 17:30:00 GMT</pubDate></item>
    <item><title>Global Justice [Audio]</title><itunes:author>Professor Amartya Sen</itunes:author><link>http://www2.lse.ac.uk/newsAndMedia/videoAndAudio/publicLectures/player.aspx?id=6 92</link><itunes:duration>01:24:10</itunes:duration><itunes:explicit>No</itunes:ex plicit><enclosure url="http://richmedia.lse.ac.uk/publicLecturesAndEvents/201007081830globalJustice.mp3" length="20233863" type="audio/mpeg"/><guid isPermaLink="false">http://richmedia.lse.ac.uk/publicLecturesAndEvents/201007081830globalJustice.mp3?iTunesRSSPublicLecturesandEvents9999AudioTranscriptSlidesDocum entJan1200612:00AMDec31209912:00AM</guid><description>Speaker(s): Professor Amartya Sen | In the first dialogue of the Global Policy Dialogue series, Amartya Sen and David Held will discuss Sen's new book, The Idea of Justice. Injustices in the contemporary world include global inequities as well as disparities within nations. Understanding the demands of justice in each context requires public reasoning, and the challenges of global justice specifically call for global public reasoning. The Idea of Justice also investigates the contributions of human rights movements to the removal of some of the nastiest cases of injustice in the world in which we live.</description><itunes:summary>Speaker(s): Professor Amartya Sen | In the first dialogue of the Global Policy Dialogue series, Amartya Sen and David Held will discuss Sen's new book, The Idea of Justice. Injustices in the contemporary world include global inequities as well as disparities within nations. Understanding the demands of justice in each context requires public reasoning, and the challenges of global justice specifically call for global public reasoning. The Idea of Justice also investigates the contributions of human rights movements to the removal of some of the nastiest cases of injustice in the world in which we live.</itunes:summary><itunes:order>2</itunes:order><pubDate>Thu, 8 Jul 2010 18:30:00 GMT</pubDate></item>
    <item><title>The Secret State: preparing for the worst 1945-2009 [Audio]</title><itunes:author>Professor Peter Hennessy</itunes:author><link>http://www2.lse.ac.uk/newsAndMedia/videoAndAudio/publicLectures/player.aspx?id=6 91</link><itunes:duration>01:15:14</itunes:duration><itunes:explicit>No</itunes:ex plicit><enclosure url="http://richmedia.lse.ac.uk/publicLecturesAndEvents/201007071830theSecretStatePreparingForTheworst1945-2009.mp3" length="36141201" type="audio/mpeg"/><guid isPermaLink="false">http://richmedia.lse.ac.uk/publicLecturesAndEvents/201007071830theSecretStatePreparingForTheworst1945-2009.mp3?iTunesRSSPublicLecturesandEvents 9999AudioTranscriptSlidesDocumentJan1200612:00AMDec31209912:00AM</guid><description>Speaker(s): Professor Peter Hennessy | Peter Hennessy will examine the most secret files recently declassified from the Cold War years and contrast the Secret State of the 1940s, 50s, 60s, 70s and 80s with the the new protective state the UK has constructed since 9/11. Peter Hennessy is Attlee Professor of Contemporary British History at QMUL and was recently elected a Fellow of the British Academy as well as being an Honorary Fellow of LSE. Before joining the Department in 1992, he was a journalist for twenty years with spells on The Times as a leader writer and Whitehall Correspondent, The Financial Times as its Lobby Correspondent at Westminster and The Economist. He was a regular presenter of the BBC Radio 4 Analysis programme from 1987 to 1992. In 1986 he was a co-founder of the Institute of Contemporary British History.</description><itunes:summary>Speaker(s): Professor Peter Hennessy | Peter Hennessy will examine the most secret files recently declassified from the Cold War years and contrast the Secret State of the 1940s, 50s, 60s, 70s and 80s with the the new protective state the UK has constructed since 9/11. Peter Hennessy is Attlee Professor of Contemporary British History at QMUL and was recently elected a Fellow of the British Academy as well as being an Honorary Fellow of LSE. Before joining the Department in 1992, he was a journalist for twenty years with spells on The Times as a leader writer and Whitehall Correspondent, The Financial Times as its Lobby Correspondent at Westminster and The Economist. He was a regular presenter of the BBC Radio 4 Analysis programme from 1987 to 1992. In 1986 he was a co-founder of the Institute of Contemporary British History.</itunes:summary><itunes:order>3</itunes:order><pubDate>Wed, 7 Jul 2010 18:30:00 GMT</pubDate></item>
    </channel>
    </rss>

    I have been in touch with someone at Apple and I was advised that I shouldn't worry about this.
    It would seem that the feed validator doesn't recognise the iTunes U namespace and some of the iTunes and iTunes U specific feed elements. The use of an unknown namespace gives an adviosry note and <itunes:order> and <itunesu:category> elements will not validate at all. I suspect there may be other elements that I haven't used in our feeds.

  • How can we contrrol the focus of an form Object  from the Managed bean??

    I am getting the following script error...
    Can't move the focus to the control because it is invisible or not enabled or of the type that does not accept the focus...
    I have a button whose action is mapped to a function in the Managed bean.
    In the managed bean
    I am making the button Invisible along with some other components.
    Can any one help me out....

    @BalusC
    You were proposing the following solution in other thread..
    <html>
    <head>
    </head>
    <body>
    <f:verbatim>
    <script>
    setFocus('</f:verbatim><h:outputText value="#{myBean.focusId}" /><f:verbatim>');
    </script>
    </f:verbatim>
    </body>
    </html>
    But it is giving the following error
    javax.faces.FacesException: org.apache.jasper.JasperException: /EducationDetails.jsp(97,29) The element type "script" must be terminated by the matching end-tag "</script>".

  • How do I set the CoreTable sort column in the managed bean?

    I have a CoreTable with two columns, first name and company, from the managed bean in a session scope, how do I set the company column to be the default/selected sort order?
    Or is that done by binding the af:column to a CoreColumn object in the managed bean, which method would I use?
    <af:column sortProperty="company" sortable="true">
    <f:facet name="header">
    <af:outputText value="#{common.labelCompany}"/>
    </f:facet>
    <af:outputText value="#{row.company}"/>
    </af:column>
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Yes, I know, "sortable", see, I even used it in my example. I don't want to disable default sorting.
    What I'm asking is how to have more than one sortProperty. When the user clicks the column heading, I want to sort by "myFirstProperty" AND "mySecondProperty". The sortProperty only seems to allow one sort property.
    One possibility seems to be to programatically add items to the List of SortCriterion objects as in your example, but where would I put this code so that it is executed when the user clicks the column heading, but before the table is sorted.

  • How to use a managed bean in a bounded task flow without definig it in adfc-config

    Dear all
    I create a bounded task flow without page fragments (the pages are jspx), i created a jspx page with a button that its action has bounded to a managed bean function.
    i defined the managed bean on the corresponding bounded task flow, but it does not work.
    But there is no problem when i define the managed bean in adfc-config.xml.
    can anybody help me with this problem.
    is it possible to use jspx page with backing bean in bounded task flows, without defining the beans on adfc-config?
    Thank you very much

    Dear Timo
    I use jDev 11.1.1.6 and the scope is Request.Although when i use task flow page fragment and create jsff pages, there is no problem.

  • Setting bind variable for a view object from the Managed Bean

    Hi,
    i am using JDeveloper 11g, i have to create LOV in the JSF. To show the LOV, it has to populate data using View object and its query parameter need to be sent from the Managed Bean.
    For the View object i want to set the bind variable parameter from the managed bean value. bename is stored in a managed bean (session scope)
    #{beantest.bename}
    But it gives the following exception.
    JBO-29000: Unexpected exception caught:
    org.codehaus.groovy.control.MultipleCompilationErrorsException,msg=startup failed, Script1.groovy: 1: expecting '!',found '{'@ line1, column 2.
    I have followed the link http://kr.forums.oracle.com/forums/thread.jspa?threadID=615474 like Frank wrote on 8.2.2008:
    But steps are not clear.
    How to input the VO bind parameter with Managed bean variable?
    Any Help
    Regards
    Raj
    Edited by: user9928180 on Dec 17, 2008 9:51 AM

    Hi,
    a bind variable in a VO needs to be exposed as an executeWithParams operation in the pageDef file. Just add a new action binding to the pageDef file (context menu) and select the executeWithParams operation on teh VO. Then in the argument field, reference the managed bean property for the value
    Frank

  • How to use the FormDownload UI element?

    Hi, 
       I am a newbie in ABAP Webdynpro and I want to know how to use the FormDownload UI Element. Any hints plz? Thanks in advance.

    Hi,
              I used CONVERT_OTF FM to convert the otf data to pdf data.  In my form user has the option to view the smartform (a button) or to directly download the pdf from smartform output without displaying the output. While the former has been taken care of by using InteractiveForm UI element and is displaying the smartform output fine, I am not being able to implement the second option. I have given a supply function to the pdfsource context node but am clueless about what to write to pass pdf data. In the sam WD component WDR_TEST_EVENTS, the FileDownload is used to save a text file with just one line. But how can I save a pdf file? I have assigned mime to application/pdf. How will I proceed now? Please suggest. Thanks in advance.

  • How to clear the Managed Bean Values prior to load a JSF page

    Hello.
    I have a jsf page that contains fields that need to be cleared BEFORE the page is loaded.
    My managed bean where the fields are linked (I�m using the value attribute) is in the SESSION scope because I need to control they values across a popup window and if I use request scope, my vectors that load objects like dataTable are cleared when I post the form.
    My question is :
    How I CLEAR all the values in the managed bean BEFORE the page is loaded ???
    In the WebForms (Microsoft .NET) I have an method on the codebehind called Page_Load where I put my initialization code for my page.
    Thanks in advance.
    Rog�rio

    Rog�rio,
    You can do this with a PhaseListener. Just regiser a new listener for the RESTORE_VIEW phase, and implement the beforePhase method; you can do this in the backing bean's constructor, or somewhere elase. This is pretty much the same as the Page_Load event handler in .NET.
    Kito D. Mann
    Author, JSF in Action
    http://www.jsfcentral.com - JSF news, info, and FAQ
    Hello.
    I have a jsf page that contains fields that need to be
    cleared BEFORE the page is loaded.
    My managed bean where the fields are linked (I�m using
    the value attribute) is in the SESSION scope because I
    need to control they values across a popup window and
    if I use request scope, my vectors that load objects
    like dataTable are cleared when I post the form.
    My question is :
    How I CLEAR all the values in the managed bean BEFORE
    the page is loaded ???
    In the WebForms (Microsoft .NET) I have an method on
    the codebehind called Page_Load where I put my
    initialization code for my page.
    Thanks in advance.
    Rog�rio

  • The Managed Bean in the faces-config.xml File

    I am still very new to JSF. I am confused about the managed bean.
    For example, I have a button in my web page. A click on this button invokes an action; say, ListAction.java.
    In this ListAction class, I instantiate a business delegate; say, ListPersonnel.java and call a method in this business delegate to return an ArrayList: personnel. Of course, this business delegate goes through facade, DAO, etc. to populate the ArrayList. This ArrayList is a collecation of a JavaBean called PersonnelBean that gets and sets a number of personnel information; such as ssn, name, etc.
    Upon this ArrayList is successfully populated and received by the ListAction class, I am going to display a web page with a table. In JSF, it is <h:dataTable ...>.
    My questions are regarding the managed bean in the faces-config.xml file.
    1. Which one is my <managed-bean-class>? packageName.ListAction? or packageName.PersonnelBean? or something else?
    2. What should be my <managed-bean-name>? I guess that I can give a name I like. Is it right? What about xyz?
    3. Then, how do I specify the "value" attribute of my <h:dataTable ...> tag when I display a web page to show the data table? Is it correct to specify value="#{xyz.personnel}"? What is the correct specification if it is wrong?
    4. I guess that I can give any name to the "var" attribute in the <h:dataTable ...> tag. Is it right?

    1. Which one is my <managed-bean-class>?
    packageName.ListAction? or
    packageName.PersonnelBean? or something else?ListAction
    2. What should be my <managed-bean-name>? I guess
    that I can give a name I like. Is it right? What
    about xyz?Anything you like. xyz is OK.
    3. Then, how do I specify the "value" attribute of my
    <h:dataTable ...> tag when I display a web page to
    show the data table? Is it correct to specify
    value="#{xyz.personnel}"? What is the correct
    specification if it is wrong?xyz.personnel is OK assuming that ListAction class has a public
    method getPersonnel() which returns the ArrayList of PersonnellBeans.
    4. I guess that I can give any name to the "var"
    attribute in the <h:dataTable ...> tag. Is it right?Yes, you can give any name you like.

  • How to pass js variable to be used in managed bean constractor?

    Hi,
    I got a list of items that i present in <h:selectOneMenu on my page (the first page the user sees)
    the labels that are shown in the ><h:selectOneMenu are date + time , and the time itself is stored in the db in UTC without any + or - timezone offset (e.g UTC +2)
    In order to show the correct time in the labels of the ><h:selectOneMenu I'm adding the needed offset of the user timezone
    the problem is that the ><h:selectOneMenu is being populated from the managed bean before I'm passing the offset from the xhtml page itself using jQuery $.post(
    like this
    <h:head>
    <script type="text/javascript">
              jQuery(document).ready(function($) {
                   d = new Date();
                   var tz = -1 * d.getTimezoneOffset()/60;
                   $.post("/servlets/TimeZoneFromClientServlet",{timezone : tz});
           </script>
         </h:head>any ideas how can i pass the TimezoneOffset to the application before the managed bean is loaded?
    Thanks ahead!
    Daniel.

    You know, any website I've encountered so far ASKS for your timezone. Why do you think that is?
    In any case, if you really want to go ahead and do what you want, you need a single point of entry in your web application that sets the timezone in the session once so you can reuse it. It could be something as simple as doing it in a login page if you have one; just create a hidden input field that is prefilled with the timezone you find using Javascript; then simply submit it to the server and stick it in the session there. When the session times out the user would have to login again, which would give you the timezone value back.
    another option: is the managed bean session scoped? If so you can simply fetch it in your servlet and update the appropriate property of the managed bean. This one makes me feel some shame for suggesting it though.

  • Which view object classes should be used by managed bean in ViewController?

    I just like to find out which java implementation classes created for a view object should be referenced in a managed bean on the UI side.
    For my view object InfoVO, I can create the following classes:
    View Object class: InfoVOImpl
    View Row class: InfoVORowImpl
    View Row Client Interface: InfoVORow
    View Row Client Class: InfoVORowClient
    Currently, I use InfoVOImpl and InfoVORowImpl in my managed bean so that I can use the getter methods conveniently to access the attributes with proper data types.
    I am not sure when I should use InfoVORow and InfoVORowClient instead of InfoVORowImpl.
    What are the context and reasons for using InfoVORow or InfoVORowClient instead of InfoVORowImpl?

    Hi,
    all of these are wrong. If you want to access a method exposed on a ViewObjectImpl class, the you expose the method as a clientMethod (or clientInterface) in the Java options for the View Object (or Application Module if the method is on AMImpl). You should avoid using implementation classes directly in the managed bean. If you need to access a View Object, use its interface ViewObject. If you need anything more specific than that, expose a method on the client interface after which you can access it through the binding layer.
    Frank

  • How to use the same bean from Jsp and Servlet

    I want to use the same bean instance from both the servlet and jsp.
    for eg. if a create a bean using the jsp:useBean in servlet and if a modify some values, that values should be reflected while i access the same bean from the servlet. But instead of that the servlet is creating a new instance of the bean.
    is it possible?
    Thanks in advance

    Hi,
    When you call jsp:useBean you inform a scope (session, request, page...)
    This means the bean instance will be stored in that scope.
    So, if the informed scope is session, then, in the servlet you could get the bean instance back from the session, this way:
    HttpSession session = request.getSession();
    Bean b = (Bean) session.getAttribute("bean_id");
    Regards,
    Filipe Fedalto

  • Managed Bean "Name" Access  with in the Managed Bean

    Hi,
    I have faces-config.xml in which I have registered a managed bean
    and I have a base class for all the managed bean.
    The JSP's invoke the action/method defined in the base bean and I want to remove the managed bean from session upon a particular event.
    To remove the managed bean from session, as far as I know - we need to know the managed-bean-name in the faces config.
    I wanted to know if there is any way to get the name of the managed bean in the faces-config.xml at run time?.
    Thanks,

    Thanks for your recommendations. The issue that I get stuck on is how to call this method that retrives employee data. When I had the code in the constructor, it executed when I accessed the view.jsp page. Then I populated the fields from the Employee class fields. But once I create non-constructor method, how do I invoke it from my JSF page.

  • How to pass a value from jspx page to the managed bean

    hi,
    i have created a jspx page and manages bean with page flow scope..
    in my jspx page i am searching a employee record from the data base . and getting entire employee details including 'status' as a search result.
    here i want to pass the value of 'status ' field to the managed bean variable called 'stval'.
    can anybody suggest any solution?.......

    As per the details provided in the post above, when the user clicks on the search in the af:query, the results are populated in the table. And you are interested in getting the value of particular column. This could be done by having the custom row selection listener to get the value of the current row (selected row in the table).
    1) Have a custom selection listener:
    <af:table value="#{bindings.EmpDeptVO.collectionModel}" var="row"
    rows="#{bindings.EmpDeptVO.rangeSize}"
    emptyText="#{bindings.EmpDeptVO.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.EmpDeptVO.rangeSize}"
    rowBandingInterval="0"
    rowSelection="single" id="t1"
    partialTriggers=":::qryId1 ::ctb1 ::commandToolbarButton1"
    columnStretching="column:c1"
    styleClass="AFStretchWidth" columnSelection="multiple"
    first="0" contentDelivery="immediate" autoHeightRows="10"
    binding="#{pageFlowScope.ExampleBean.searchResultsTable}"
    *selectionListener="#{pageFlowScope.ExampleBean.rowSelected}">*
    2) In the method, set the current row programmatically:
    ADFUtil.invokeEL("#{bindings.EmpDeptVO.collectionModel.makeCurrent}",
    new Class[] { SelectionEvent.class },
    new Object[] { selectionEvent });
    3) Get the current row and get the required attribute values and set it in any of the variables in the managed bean:
    Row selectedRow =
    (Row)ADFUtil.evaluateEL("#{bindings.EmpDeptVOIterator.currentRow}");
    String status = selectedRow.getAttribute("Status");
    Thanks,
    Navaneeth

  • I also need information about use the ProConnect(r) Integ...

    I also need information about use the ProConnect(r) Integrated KVM 2-Port Switch to connect a Mac G4 and a PC anyone help
    software reviews editor

    I suggest you to go to linksys website & it will give all required information ,,,
    Or you can try this link ....

Maybe you are looking for

  • No-determination of Contract account in sales order

    Hi All, I have created a Business Partner and created a contract account for the same, but while creating sales order for the same BP, system is asking for contract account, and not allowing me to enter the same in line item, giving an error message

  • Error when calling SOAP Runtime functions

    Hi Guys, I have a requirement in which i have to consume a webservice and get a response from it but when i consumed the web service and tried to test it i got the below error please let me know solution for this as it is very urgent and also i am ve

  • Didn't revecive filevault code Yosemite

    When I installed OS X Yosemtie I need to go through configurations windows. Same windows you have always when you star your yourney with Mac so I think you know what I'm talking about. There was a FileVault window. I didn't want that but I forgot wha

  • Apple Sleep greyed out permanentl

    I recently typed this into the terminal because I had trouble with my external display going to sleep when I shut the lid on my MacBook: sudo pmset -a disablesleep 1 I did this in response to the following article: http://support.apple.com/kb/HT1191?

  • Where can I buy MacBook Pro parts?

    My hard drive cable was broken... Where can I buy MacBook Pro parts? Better if it is first source