DataBinding.CPX

for 500 + workflow, it is better to create separate databinding.cpx for each of them or add them all for as a databinding.cpx?

These are two separate things.

Maven will make the build process for you.

Hudson can automate this process for you - so instead of developers needing to manually start the process, it will be done automatically.

Hudson can call your script Maven (or Ant if you prefer).

Tags: Java

Similar Questions

  • BindingContainer problem

    Scenario is,

    I have a several data controls (two Modules of the Application)

    and I have A BTF on which a fragment is exists. Liaison page fragment I want to get surgery but my link sends me it null in code below. Why?

    Links DCBindingContainer = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();

    System.out.println (Bindings);

    This code sends me links null

    J Dev Version: 11.1.2.4

    Have you tried to add createInsert for master and detail in BTF?

    CreateInsert

    Have you checked the blog above, I've shared?

    Have you tried to get the link container by using the id to use DataBinding.cpx?

    You have 3 choices, choose one of them

    1. slide the createInsert for master and detail taskflow like this

    2. create a method in the model that uses the ViewObject createRow method and it create lines for master and detail and drop this method as the default activity of BTF

    Check - http://mahmoudoracle.blogspot.in/2012/12/adf-open-page-in-insert-mode.html#.VYPIOUaOJHw

    3. try to get binding container by using page use id (if you are not able to get using port view current) and use

    Ashish

  • Replace the default error message

    Hello

    In many places, I get an error message that resembles "attribute {0} in {1} is required." where {0} = {1} = name of the Application module and attribute name and name of vo. Attribute e.g. in AppAM.Person name is necessary.

    In this case for the required fields for EO and are not very friendly.

    I would like to replace this default message to something more friendly without making changes to each OS in my application.

    I tried to create a resource group and replace the text for entry fields:

    org.apache.myfaces.trinidad.UIXEditableValue.REQUIRED = The fields is required.

    org.apache.myfaces.trinidad.UIXEditableValue.REQUIRED_detail = Please enter a value.

    However the required OS message always appears and only the message of required component is changed.

    Moreover I also watched http://www.adftutorials.com/adf-custom-error-handler-to-display-custom-message-to-user.html where a custom error handler is added to the databinding.cpx file. However, my request is composed of multiple workspaces different AMs including all use the same model of the OT all / vo and adding handlers for all workspaces does not seem like the right solution.

    How can I replace these EO / AM messages by default?

    With the help of Jdev 12.1.2.0.0

    TIA

    OK in this case, you must go with the error handler custom as you say.

    and you just need to save customErrorHandler class to all your databinding.cpx file.

  • Problem with display of the Popup details

    Hi friends,

    I designed a Taskflow. The taskflow image can be seen here.

    http://snag.Gy/afGa5.jpg

    In the Taskflow activity RowKeyStrPG use the viewobject EMPVO1. Once again in the page DeptPG, there is a popup which must be called by clicking the link. The pop-up window also uses the same view object EMPVO1. Here's the code to call the context menu.

    BindingContainer links is BindingContext.getCurrent () .getCurrentBindingsEntry ();.

    OperationBinding operationBinding = bindings.getOperationBinding("setCurrentRowWithKeyValue");

    Object result = operationBinding.execute ();

    System.out.println ("inside service");

    RichPopup popUpToShow = new RichPopup();

    RichPopup.PopupHints popUpHints = new RichPopup.PopupHints ();

    this.getPopUp2 () .show (popUpHints);

    But when the popup opens always shows the first record rather than the selected details details. The link "setCurrentRowWithKeyValue" takes "#{pageFlowScope.empNo}" as the value and the value "#{pageFlowScope.empNo} ' is defined as the propertylistener of the DeptPG.

    If anyone can help as to why the view object does not query the selected employee

    Thank you

    Or if you do not want to add iterator then just get the BindingContainer of page 2 and then get iterator binding against it

    See-

        /**     * Method for taking a reference to a JSF binding expression and returning
    
         * the matching object (or creating it).
    
         * @param expression EL expression
    
         * @return Managed object     */
    
      public static Object resolveExpression(String expression) {
    
            FacesContext facesContext = FacesContext.getCurrentInstance();
    
            Application app = facesContext.getApplication();
    
           ExpressionFactory elFactory = app.getExpressionFactory();
    
            ELContext elContext = facesContext.getELContext();
    
            ValueExpression valueExp = elFactory.createValueExpression(elContext, expression, Object.class);
    
            return valueExp.getValue(elContext);
    
        }
    

    See using a page id in your DataBinding.cpx file and call that

            // Pass page usage id from DataBinding.cpx file- replace sample_view_view1PageDef
    
            BindingContainer bindings = (BindingContainer) resolveExpression("#{data.sample_view_view1PageDef}");
    
           DCBindingContainer dcBindings = (DCBindingContainer) bindings;
    
           DCIteratorBinding iter = (DCIteratorBinding) dcBindings.get("Iteratorname");
    
           iter.setCurrentRowWithKeyValue("KeyValue");
    

    Thank you

  • Basic ADF without any IDE application

    Hello

    I want to create a very simple page with ADF but without JDeveloper or any other IDE (eclipse even no).
    Later, I want the same deployment on tomcat server. As we do so using servlets or JSF.

    Is it possible to create all the structures of directories and files manually using simple Notepad and then run this application ADF of the tomcat server?

    Sushant-

    It's pretty simple at the end of the day:
    You have an XML file that describes a data control (now optional in 11g R2)
    An XML file that describes all the data controls (datacontrols.dcx)
    An XML file that describes the data controls are used in a JSF (xxxxpagedef.xml) page
    An XML file that lists all the data controls, pagedefs and the pages in your web application (databinding.cpx)

    Play with a simple POJO and exposed as a data control might give you a better understanding also.
    Something like this:
    https://blogs.Oracle.com/Shay/entry/java_class_data_control_and_ad

  • getDataControl () .getApplicationModule () gives a null pointer exception

    Hello

    I am facing a problem with Jdeveloper 11.1.2.1, which didn't happen with JDev 11.1.1.5.

    The problem is that the construction of the following support to a draft opinion bean do not give a null pointer exception.
    The bean of support is connected to a stubborn workflow that has a page with all its own links fragment. The stubborn workflow is called dynamically from the global shell user interface page.

        public MyBean() { // constructor
            bindings = ADFUtils.getDCBindingContainer(); // bindings seems to point to the correct Databind.cpx
            ApplicationModule am = bindings.getDataControl().getApplicationModule(); // but here I have a null pointer exception!
            ...
        }
    You have an idea?

    Thank you

    I have two comments:

    (1) it is usually not a great practice to enter the AM directly. Instead, set up a link for what you were going to do with the AM. In this way, you are not without going through the link container.

    (2) do stuff like this in the constructor of a managed bean is suspect. It seems that link container is not fully instantiated yet, based on the behavior you're seeing.

  • Dynamic JDBC credentials

    Dear all

    I'm trying to customize my project using (* 11 g dynamic JDBC Credentials to ADF Faces Rich Client - 11.1.1.0.0 *) created by Steve Muench http://smuenchadf.samplecode.oracle.com/samples/11gDynamicCredentials.zip

    but really I don't know the steps to perform this customization?, I think that there are a lot of configuration in AM, XML files and others, can someone help me?
    Note: I use 11.1.1.4


    I did my best, but I am facing this problem now and I don't have the right configuration of may!

    Target URL - http://127.0.0.1:7101 / MEDGO-NewInterface2-context-root/faces/login
    [< 19 February 2011 22:30:20 AST > < error > < HTTP > < BEA-101020 > < [ServletContext@32456618[app:j2ee-app module: root MEDGO-NewInterface2-context-path: / MEDGO-NewInterface2-context-root spec-version: 2.5]] Servlet failed with Exception
    java.lang.NullPointerException
    at java.lang.String.endsWith(String.java:1465)
    during the tests. DynamicJDBCBindingFilter.doFilter (DynamicJDBCBindingFilter.java:77)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
    Truncated. check the log file full stacktrace
    >
    < 19 February 2011 22:30:20 AST > < opinion > < Diagnostics > < BEA-320068 > < Watch "UncheckedException" with severity "Notice" on the server "DefaultServer" released in February 19, 2011 22:30:20 AST. Details of the notification:
    WatchRuleType: Journal
    WatchRule: (SEVERITY = "Error") AND ((MSGID = ' WL-101020') OR (MSGID = "WL-101017'") OR (MSGID = "WL-000802'") OR (MSGID = "BEA-101020'") OR (MSGID = "BEA-101017'") OR (MSGID = "BEA-000802'"))
    [WatchData: DATE = February 19, 2011 22:30:20 AST = DefaultServer MESSAGE = SERVER [ServletContext@32456618[app:j2ee-app module: root MEDGO-NewInterface2-context-path: / MEDGO-NewInterface2-context-root spec-version: 2.5]] Servlet failed with Exception
    java.lang.NullPointerException
    at java.lang.String.endsWith(String.java:1465)
    during the tests. DynamicJDBCBindingFilter.doFilter (DynamicJDBCBindingFilter.java:77)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged (Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Subsystem = HTTP USERID < WLS Kernel > = SEVERITY = error THREAD = ExecuteThread [ASSET]: '3' for queue: MSGID 'weblogic.kernel.Default (self-adjusting)' = BEA - 101020 MACHINE = wael TXID = the CONTEXTID = 00614b5ef90e75d7:-3c442c3d:12e3f637ae7: - 8000-0000000000000031 TIMESTAMP = 1298143820678
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >


    Thank you

    Published by: ORA ORA February 19, 2011 11:32

    Hi ORA ORA

    Make these changes to the following files:

    in the web.xml file:

    
    RedirectToLogin
    login
    
    
    ........
    
    adfBindings
    
    test.DynamicJDBCBindingFilter
    
    

    -in the Databinding.cpx file:
    You should add this: ErrorHandlerClass = "test. DynamicJDBCDCErrorHandlerImpl ".

    
    

    ...

    in the ADF - settings.xml:

    
      
        
          
            DynamicJDBCPagePhaseListener
            test.DynamicJDBCPagePhaseListener
          
        
      
    
    

    in bc4j.xcfg you have to change the properties of ampool jbo.ampoo.session.cookiefactory

    hope this helps you

    Maher

  • Dynamic JDBC credentials error

    Hallo,

    I'm trying to implement the example of Steve Muench with dynamic JDBC credentials for 11 g (http://blogs.oracle.com/smuenchadf/examples/#129).
    The downdoaded sample application is fine, but rebuilding in an own application there is an error at the start of a series of tests, the Login Page does not appear.

    Please help me, I'm new in the ADF and Java.

    Error 500 - Internal server error
    java.lang.NullPointerException
    during the tests. DynamicJDBCPagePhaseListener.getADFBCDataControlsList (DynamicJDBCPagePhaseListener.java:72)
    during the tests. DynamicJDBCPagePhaseListener.beforePhase (DynamicJDBCPagePhaseListener.java:62)
    to oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$ PagePhaseListenerWrapper.beforePhase (ADFLifecycleImpl.java:551)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:187)
    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.mav$ executePhase(ADFPhaseListener.java:21)
    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ PhaseInvokerImpl.startPageLifecycle (ADFPhaseListener.java:231)
    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ 1.after(ADFPhaseListener.java:267)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:71)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:352)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    during the tests. DynamicJDBCBindingFilter.doFilter (DynamicJDBCBindingFilter.java:79)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:420)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:420)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    to oracle.security.jps.wls.JpsWlsFilter$ 1.run(JpsWlsFilter.java:96)
    at java.security.AccessController.doPrivileged (Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
    at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Thank you very much!
    Chris

    you have to make the necessary changes?

    -web.xml
    ...

    RedirectToLogin
    opening of session

    ....


    adfBindings

    test. DynamicJDBCBindingFilter

    ....

    -Databinding.cpx
    ...

    version = "11.1.1.49.49" id = "DataBindings" SeparateXMLFiles = "false".
    Package = 'show' ClientType = 'generic '.
    ErrorHandlerClass = "test. DynamicJDBCDCErrorHandlerImpl">
    ...
    And you need to replace the PhaseListener in adf - setting.xml DynamicJDBCPagephaseListener
    in bc4j.xcfg, you must modify the properties of ampool jbo.ampoo.session.cookiefactory

    I think that's it.

    hope it helps you,

    Rowan

  • Development team JDeveloper 11 g model when develpoing ADF JSF application.

    We have an application include five almost 10 screens developed using dev D 11 g.
    Our model projects and display of conteins application.
    We want some of our developers to develop a part of the project form and another programmer develop other screens. A single responsible developer of projects-models.
    We have a shared responsibility between the programmers as.
    Programmer1-> input.jspx
    Programmer2-> edit.jspx

    We gave programmer project files. They develop the new screens.

    But when you want to combine the screen, some of the shared files (databinding.cpx) suchas shopping problems.
    How to handle this kind of situation. We do not want to create a new project for each screen.
    We are using cvs. But the shared files shopping problems in CVS also.

    y at - it no civilians what do you advise?

    Thank you.

    SVN has been developed to overcome some of the disadvantages of the CVS - do atomic transactions is much better to ensure that you don't have dependencies file that have not been committed.

    In JDeveloper support for SVN so very hard. A feature of SVN that useful development organizations on what I have already mentioned is support for branches - so allowing developers to work checkin on the '' private '' branches and then compare and merge as needed to the trunk. In addition, you can use the commands SVN Commit / update working copy. This ensures that you "never forget" the version of the files in your application (assuming you do check-out of the entire application. And because SVN if very good to make the diffs you not wasting resources by working at the application level.

    Of course, any SCM tool is as good as your human process! To compare the components that are being developed in tandem and to talk with the other members of the team to ensure that there is no problem on the merger, there is no substitute!

    For the more complex development multi-demande/multi-project team, I wrote a paper that is located on OTN detailing an approach and there are a number of demos he too
    http://www.Oracle.com/technology/products/jdev/11/how-tos/svn_adf/svn_adfsharedlibs.htm

    Another good source of information on methodology is the ADF methodology group
    http://groups.Google.com/group/ADF-methodology/

    Rgds

    Susan
    www.susanduncan.blogspot.com

  • CPX 100: DRIVERS

    It is a "no-brand" while a desktop computer. He tried to move to 10 Windows unattended (thank you Microsoft so) AND FAILED. We had to reinstall windows 7 a dic, now I can't fint video drivers anywhere. He is on board graphics and seems to be an AMD chipset, but not install the AMD Web site drivers. Each scan I do all this happens HP, but there is no web site. It's a CPX 100 [personal information]

    Help!

    Hello:

    See if this graphics driver works...

    This package provides the driver for AMD/ATI Radeon HD graphics solutions in the supported models that are running a supported operating system.

    File name: sp52654.exe

    If Yes, then it is probably the debranded model support page.

    http://support.HP.com/us-en/product/HP-TouchSmart-610-1000-desktop-PC-series/5039931/model/5074446

  • DataBind method call returns null in the WebCenter content filtering

    Hello

    I got code that has a problem and I am new to the WebCenter content and filters that can be added. We have a FileNameFilter class that begins with the code

    / public class CWEFileNameFilter implements FilterImplementor {}

    public CWEFileNameFilter() {}

    Super();

    }

    public int doFilter (workspace workspace, DataBinder dataBinder,

    ExecutionContext executionContext) throw {DataException

    Service string = dataBinder.getLocal ("IdcService");

    ....

    }

    }

    However, service is sometimes return null and then filter throws a NPE.

    My questions are:

    (1) can we explain what dataBinder.getLocal ("IdcService"); is done and why it might come back as null

    (2) anyone can provide links to documentation that explains the filters and a little more on the object DataBinder as the JavaDoc is not much help.

    Thank you
    Marc

    Hi Marc,

    Below the code will give the name of the service for which the filter is implemented LocalData

    Service string = dataBinder.getLocal ("IdcService");

    for example below

    http://localhost:16200/cs/idcplg? IdcService = DOC_INFO_BY_NAME & dDocName = 1111111 & IsJava

    This example displays the entire response including localdata data and results that are created in the execution of the service. Here is the code snippet

    LocalData @Properties

    DocUrl =https://localhost:16200/cs/weblayout/groups/secure/documents/test/mhdk/mjg1/1111111.pdf

    IdcService = DOC_INFO_BY_NAME

    If String = dataBinder.getLocal ("IdcService") service; Service = "DOC_INFO_BY_NAME."

    Under blog will give an idea about the filter but the best place to learn or start is "The Definitive Guide to Stellent Content Server Development" by Brian Huff

    http://www.redstonecontentsolutions.com/technical-blog/UCM-service-handlers-and-javafilters

    Also, I recommend reading ' WebCenter Content Services Reference Guide '

    http://docs.Oracle.com/CD/E23943_01/doc.1111/e11011/TOC.htm

    Kind regards

    Amol Germain.

  • DataBind DataGroup does not

    Hi all.

    I have a datagroup which is databinded to a collection.

    < s:DataGroup id = "tasksContainer" width = "100%".
    dataProvider = "{tasksCollection}".
    itemRenderer = "components.taskRender"
    >
    < s:layout >
    < s:VerticalLayout gap = "0" verticalAlign = "middle" / >
    < / s:layout >

    < / s:DataGroup >

    I have a resultHandler who receives and updates the tasksCollection when a new entry has been made.

    protected function getAllTasksResult_resultHandler(event:ResultEvent):void
    {
    tasksCollection = getAllTasksResult.lastResult;
    }

    Other parts of my application has no connection problem to the tasksCollection, but for some reason any the datagroup does not update.

    I tried to put in an arrayCollection.refresh () that does not work either?

    Any suggestions?

    You create an ObjectProxy of your data when the component is created first, but you do not provide a path to change the content of the ObjectProxy when data changes.  I suggest to get rid of the ObjectProxy altogether and just linking to the data, but if you can't, try something like this:

    override public function set data(value:Object):void {}

    If (value! = data) {}

    Super.Data = value;

    dataProxy = new ObjectProxy (value);

    }

    }

  • Simple task - syntax Question (how do you pass variables from one component to another component - databinding)?

    Hi all

    I'm moving some width/height/URL of a Video Player component to a Social Bookmarking component incorporate text entry field. (for people capture and share videos).

    I know that it's a simple task, but it's the end of the day and I seem to have a brain failure... What is the syntax to achieve this? Do I have to import the video player component? These widths/heights/URLs are all generated dynamically by a XML... should I be pulling the XML or reuse just variables already existing in the Video Player component?

    Here is my code...

    Video player:

    [Bindable]

    var public source: String = "";

    [Bindable]

    public var autoPlay:Boolean = false;

    [Bindable]

    public var fullScreenMode:Boolean = false;

    [Bindable]

    public var clipTag:String = '_movie;

    [Bindable]

    public var iag_code:String = "";

    [Bindable]

    public var officialURL:String = "http://www.movies.com/"; ""

    [Bindable]

    public var referer:String = 'unknown ';

    [Bindable]

    public var gID: String;

    [Bindable]

    public var starterImageURL:String = 'http://www.movies.com/jazzmaster/images/default_starter_image.

    [Bindable]

    public var oldWidth:Number;

    [Bindable]

    public var oldHeight:Number;

    Component sharing:

    < mx:HBox

    Height = "10%".

    horizontalCenter = "-25".

    Red = '0 '.

    paddingBottom = "5" >

    < mx:Text text = "" Embed Code: "paddingTop ="1"color ="#FFFFFF"fontSize ="12"/ >"

    < mx:TextInput text = "{oldWidth}" / >

    < / mx:HBox >

    The above code generates an error... "Any attempt of property inaccessible oldWidth via a reference with a static type com:SharingBookmarks."

    Thank you all!

    DK

    Try this...

    Create a flex project and add a folder called 'src '.

    create a new component MXML named "VideoComp.mxml" and copy/paste

    http://www.Adobe.com/2006/mxml"width ="400"height ="300">

    [Bindable]

    public var videoWidth:int = 300;

    [Bindable]

    public var videoHeight:int = 300;

    ]]>

    create a new component MXML named "SharingComp.mxml" add copy/paste this...

    http://www.Adobe.com/2006/mxml"width ="400"height ="300">

    [Bindable]

    public var videoWidth:int;

    [Bindable]

    public var videoHeight:int;

    ]]>

    and here's the main.mxml file

    http://www.Adobe.com/2006/mxml '.

    xmlns:src = "src.*" >

    private void doSomething (): void

    {

    sharingComp.videoHeight = videoComp.videoHeight;

    sharingComp.videoWidth = videoComp.videoWidth;

    }

    ]]>

    Hope this helps,

    BaBo,

  • DataBinding and Datagrid

    Hello..

    IM fairly new to Flex so please, be gentle.

    I created a database and writes a CF file to create an XML file to populate the DataGrid in my Flex application.
    My datagrid fills a lot but when I click on an item in the grid, I can't the details to reinvest in the Details section

    Ex Datagrid

    FIRST NAME LAST NAME
    Craig Wiseman



    Output
    Craig Wiseman 123 Street hand Brantford, Ontario


    So if I click on the name, the output should appear

    in my grid, I have
    < mx:DataGrid id = dataProvider = "{feedRequest.lastResult.rss.channel.item 'dgPost'} '"
    < mx:DataGridColumn headerText = "first name" dataField = "FirstName" / >
    < mx:DataGridColumn headerText = "lastName" dataField = "lastName" / >


    Then, for the release, I
    < mx:Label text = "{dgPost.firstName}" low "50" = left = "300" / > ""
    < mx:Label text = "{dgPost.lastName}" low "50" = left = "350" / > ""
    < mx:Label text = "{dgPost.address}" low "50" = left = "400" / > ""


    Thank you

    Try:
    Text = "{dgPost.SelectedItem.FirstName}" "
    Tracy

  • HTTPService - how to databind XML attribute

    I have a simple servlet that I call usign the HTTPService tag. Here is an example:

    < mx:HTTPService
    ID = "c4Test" method = "POST" resultFormat = "object" contentType = "application/xml".
    URL = "myServlet".
    useProxy = "false" >
    < mx:request >

    I call my servlet in my Flex application (via the HTTPService tag). The "myServlet" takes the request and responds with an XML response, like this:

    < Plan >
    < title id = "500" > Hello World < /title >
    < / myRoot >

    I want to display the attribute 'id' within the 'title' tag in a label field. I try to do it like that, but I get a syntax error:

    < mx:Label text="{c4Test.lastResult.myRoot.title[@message]}"/ >

    I know that syntax is probably wrong, but how we refer to an attribute. Referring to the "title" element works fine using the following syntax (but I don't want the title element, I want the value of the attribute id tithe).

    < mx:Label text="{c4Test.lastResult.myRoot.title}"/ >

    I try to avoid the use of ActionScript at this stage... try to do it with simple mx:controls

    Thanks for any help.



    OK... got it to work! It seems that when dealing with a result set of e4x, you have no need to reference the root node. My xml result looked liked this:


    Hello world

    I was trying to refer to the attribute "id" as follows (which did not work):

    But to make it work, I don't have to inlcude "myRoot" node root in the expression, as follows:

    It worked.

    Thank you!

Maybe you are looking for

  • List of places calendar appears behind the window

    Recently, when I create an event in the calendar v8.0 and start to get into a place, the list of proposed locations appears behind the window of the event, so I can't display the entries of the first on the list. No matter where the event is located

  • Installed Windows 7 Pro 64 bit on original Vista CQ60 and now can't do the system recovery

    I have a Compaq Presario CQ60-320SA, which came with Vista Home Premium 32-bit and do a new install of 7 Pro 64-bit.  Now I want to go back but F11 does not work, and there is no recovery for a reason Manager any. The recovery partition is still ther

  • Vista software: don't have a disc on purchase

    Hi all I have a desktop computer: Pavilion model a6001.uk (about 6 years). I don't remember getting the Windows drive on purchase. It came with Vista Home Basic Edition is installed. I've upgraded to Windows 7 a few months ago. My PC is so SLOW (!).

  • Example: Pavilion dv9720us: shortage of pilots after update

    I have a HP Pavilion dv9720us that came with Vista installed.  I've upgraded to Windows 7 several years ago.  I have now udpgraded to Windows 10 with minor hitches.  I have re-installed the video driver driver Audio and all the others, that I can fin

  • No devices found

    I uninstalled to accidentilly realtek hd audio and now my sound does not work. ive tried looking up how to get it back but all I continue to download is driver scans that do not help even as driver boost. can someone give me step by step how to retri