XML based UI development

Hello

I've coded hard all my user interface so far and would do my more customizable user interface. (The fields on a form, the data in a field, etc.).

I'm used to doing this on webapps, but I wonder if it's a good idea on blackberry since analysis XML seems to be an expensive task.

Can someone provide advice on if it's a good idea / if there is another way to do it?

Thank you

Teja.

We do this for some screens and wrote, one third, one based on XML "interpreter" who, as well as screens, enabled the XML to specify a logical flow and the form collection.

The performance is fine, even if we try to create screens once, cache and reuse rather than creating each time.

The biggest problem I have is that it is very difficult to adapt screens, for example to look OK on various of the device and to be able to perform intelligent processing - for example to perform a context sensitive treatment.  Personally for our applications, I'm not sure we saved time overall.

In summary, I think that for the capture of data/simple forms, it is useful for in looking at cela, but for a complicated application, I am not convinced.

But it's certainly doable.

Tags: BlackBerry Developers

Similar Questions

  • Retrieves the values of XML based on filters

    I am new to use XML with oracle. This is a sample XML from an XML file, now the question is it really possible to write sql queries to extract based on a result, that is to say, if I do a clip like this extract(column_name,//Requests//RequestBody//Item//ItemHeader//ItemAction/text(),).getStringVal () then I results XL1XL2 what I need exactly is only "ItemAction" XML member value when the value is = 'Add '. which means that the final result value, I need XL1. Please note that the values I gave ablove XL1 and XL2, is flexible, that is, sometimes, it's XLLL1 some time XL1, so can't go based on the use of SUBSTR function to extract a fixed value.

    < ns3:Requests >

    < ns3:Request >

    < ns3:RequestBody >

    < ns3:Item >

    < ns3:ItemHeader >

    < ns3:ItemId > 99 < / ns3:ItemId >

    < ns3:ItemType > TypItem < / ns3:ItemType >

    < ns3:ItemAction > Add < / ns3:ItemAction >

    < / ns3:ItemHeader >

    < ns3:ItemBody >

    < ns3:ServiceItem >

    < ns3:ServiceCode > XL1 < / ns3:ServiceCode >

    < / ns3:ServiceItem >

    < / ns3:ItemBody >

    < / ns3:Item >

    < ns3:Item >

    < ns3:ItemHeader >

    < ns3:ItemId > 100 < / ns3:ItemId >

    < ns3:ItemType > TypItem < / ns3:ItemType >

    < ns3:ItemAction > Remove < / ns3:ItemAction >

    < / ns3:ItemHeader >

    < ns3:ItemBody >

    < ns3:ServiceItem >

    < ns3:ServiceCode > XL2 < / ns3:ServiceCode >

    < / ns3:ServiceItem >

    < / ns3:ItemBody >

    < / ns3:Item >

    < / ns3:RequestBody >

    < / ns3:Request >

    < / ns3:Requests >

    As I understand it, you want to return the code of service elements where the ItemHeader = "add"?  Note: You have missed your name space in the XML document, so I added a.

    with data (the_xml) as)

    Select xmltype (')

    99

    TypItem

    Add

    XL1

    100

    TypItem

    Delete

    XL2

    ')

    of the double

    )

    Select x.*

    data d

    Join the xmltable (xmlnamespaces ('somenamespace "like" ns3 "),)

    "' ns3:Requests / ns3:Request / / ns3:RequestBody / / ns3:Item [ns3:ItemHeader / ns3:ItemAction ="Add"]"

    in passing d.the_xml

    columns

    Path of varchar2 (20) conduitePlan ' ns3:ItemBody / ns3:ServiceItem / ns3:ServiceCode'

    ) x 1 = 1

    RESULT

    CONDUITEPLAN

    'XL1 '.

  • Function to find the County of ocurrances of an XML tag in developer j

    Hi all

    I need to find the number of xml tag that appears more than once in an xml load.

    I have not found any function in bpel in doing so. I use the developer of j 11.1.1.5.0 and SOA Composite editor version 11.1.1.5.0.01.74 version

    Is there any function in Bpel giving as the number of occurrence of an element in a payload?

    Kindy suggerez_ me on this.

    Hello

    You must use the ora:countNodes () function.
    For example:
    Ora:countNodes('inputVariable','payload','/client:GetData/client:input')

    Arik

  • Dynamically display the contents of xml based on the method addEventListener (MouseEvent.MOUSE_DOWN, displayContent);

    Hello

    I have been working for a few days now with this script and got up to a point almost finished, but I can't go to the final stage of script. I have an xml file that is being scanned in my .fla file. There are 3 buttons that are created dynamically based on a tag called < navItem >. "DisplayContent" function should display the appropriate block of xml in various text boxes, but instead, it does show that the last song (the 3rd song) no matter which button I click on. I pasted my code on pastebin here:

    http://pastebin.com/mb3e3cd9

    If someone could take a look at my code, especially the last function, "displayContent" and suggest what I could do to fix the code, or point out where I did wrong, I would be very grateful.

    ~ Chipley

    IF you use the movieclip buttons:

    1. myText.condenseWhite = true;
    2. var paragraphText = xml.mpu.bodyText.page.p;
    3. myText.htmlText = paragraphText;
    4.               
    5. trace (MyText.Text);
    6. for (var i = 0; i)
    7. {
    8. trace ("xml.mpu.bodyText.page.navItem.length =" + i);
    9. var mcMenuItem:mcMenu = new mcMenu();
    10. mcMenuItem.x = button_mc.x;
    11. mcMenuItem.y = button_mc.y + i * 50;
    12. addChild (mcMenuItem);
    13. mcMenuItem.btnTxt.htmlText = navItemText [i];
    14. mcMenuItem.ivar = i;
    15. mcMenuItem.buttonMode = true;
    16. mcMenuItem.addEventListener (MouseEvent.MOUSE_DOWN, displayContent);
    17. }
    18. }
    19. }
    20. function displayContent(event:MouseEvent):void {}
    21. for (var i = 0; i)
    22. {
    23.                         titleText var = xml.mpu.bodyText.page.h1 [event.currentTarget.ivar];
    24. myTitle.htmlText = Text;
                            var paragraphText = xml.mpu.bodyText.page.p [event.currentTarget.ivar];
    1. myText.htmlText = paragraphText;
    2. }
    3. }
  • Tool to use for Mobile Internet based sites development

    Hello, can someone let me know as what tool one be used to develop animations for specific mobile Web sites? Can I used the Flash? Please suggest me Thanks Best looks, Richa Bhatia

    If you are looking for entertainment across multiple mobile browsers you are almost going to have to stick to Animated Gifs.

    Some mobile browsers supports Flash Lite, but this technology was abandoned for full Flash 10.  Flash 10 support in mobile browsers should start rolling in 2010.  There are only a handful of mobile browsers that had initial support for Flash Lite support

    Some browsers support SVG Mobile and some support the canvas for drawing programmatically via JavaScript.

    Unfortunately there is not a unique animation technology that fits everything except simple animated gifs.

  • (XML-based) SMS sending to the JMS queue

    Hi gurus,

    How we can publish a text message in the JMS queue using message text option by writing to Java or PL/SQL according to the following XML schema definition:

    <? XML version = "1.0" encoding = "windows-1252"? >

    " < xsd: Schema container = ' http://www.w3.org/2001/XMLSchema "

                xmlns=" http://www.example.org "

    " targetNamespace = ' http://www.example.org "

    elementFormDefault = "qualified" >

    < xsd: element name = "Employee" >

    < xsd: annotation >

    < xsd: documentation >

    An element of the sample

    < / xsd: documentation >

    < / xsd: annotation >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "EmpNo" type = "xsd: Decimal" / >

    < xsd: element name = "EmpName" type = "xsd: String" / >

    < xsd: element name = "Salary" type = "xsd: double" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: Schema >

    My Composite SOA will contain a JMS as a Service exposed adapter.

    Hello

    Please find enclosed the attachment for an example implementation of the Java client code to post the message to a weblogic JMS queue.

    It will be useful.

  • Sidecar.XML based on the way, adding more items to the folio

    Hello - I have created a sidecar on the path that works very well. Now, I want to add more items to the folio. How do I do that? If I download the whole again through "Import using sidecar.xml", he writes on existing articles? If I have "import as unique items", new content, how can I get a new file of sidecar in there?

    Thank you!

    Beth

    You can import new items as specific items, and later, when you update your sidecar.xml you put in an empty folder with nothing else inside and then import "several items" on this issue. It works fast, no crash at all.

  • analyzing XML based on the elements of the array...

    Hello

    I wonder why two of my three tracks below are undefined or 'white', I think that everything is set up the way it should be, however, when I try and draw the attributes, they are not defined. What I am doing wrong? I hope it's an easy place for someone, my head popped up a bit (I show my naiviety).

    I will not go into why I do it this way, but I'm trying to get this data model to work.

    Thanks for any help,

    Chipleh

    var teamXML:XML = <team headerText="Field1,Field2,Field3,Field4,Field5,Field6,Field7" hitsFieldNumber="5">
      <player Field1="BLAH 1" Field2="BLAH 2" Field3="BLAH 3" Field4="BLAH 4" Field5="BLAH 5" Field6="BLAH 6" Field7="BLAH 7"/>
    </team>
                    
        var xmlHeaderText:XMLList = teamXML.@headerText;        
        var headerTextArray:Array = [];    
        var headerTextString:String = teamXML.@headerText;        
        headerTextArray = headerTextString.split(",");
        trace("headerTextArray = "+ headerTextArray);
        for(var i:int = 0;i<headerTextArray.length;i++)
        {
            trace(i + " : " + headerTextArray[i]);        
            trace("teamXML.player.@headerTextArray[i] = " + teamXML.player.@headerTextArray[i]);        
            var theField:String = headerTextArray[i];
            trace("teamXML.player.@headerTextArray[i] = " + teamXML.player.@theField);        
        }    
        
    
    use:
    
    var teamXML:XML = 
      
    
    
        var xmlHeaderText:XMLList = teamXML.@headerText;
        var headerTextArray:Array = [];
        var headerTextString:String = teamXML.@headerText;
        headerTextArray = headerTextString.split(",");
        trace("headerTextArray = "+ headerTextArray);     for(var i:int = 0;i 
               
  • 3 levels of XML-based array

    I want to make an easy exit excel to filter. The data I want to produce just 3 different levels of the XML. When you use the table Wizard you can choose only one level to use for the table. What kind of code I need to add superiors also will appear?
    Thank you.

    You can create the table manually or if you pick a specific set of data from the table Wizard, then you can include the fields as needed.

    For fields that are not included in the data set, that you chose, you can add them manually in. To go from plain wherever you are, use '... /'. Use as a '... /' of them like the levels you want to go to the top.

    If all goes well, I did quite understand your condition.

    Thank you
    Bipuser

  • XP uses the xml language

    XP with sp3 receives and sends it in XML?

    Hello

    Yes, Windows XP supports the XML language, send and receive in XML also depend on the web browser you are using.

    Extensible markup language (XML) is a markup language that defines a set of rules for encoding documents in a readable and machine readable format. The XML design goals emphasize simplicity, generality and usability on the Web.

    Several application programming interfaces (API) have been developed that software developers use to process the XML data, and several schema systems exist to assist in the definition of XML-based languages.

  • ADFC-0619: failed the authorization check but system-jazn-"Data.xml" entry

    Hello

    I have an urgent problem with permission on production area.

    I set the permission for my App. create custom pages so login and custom to redirect, the Spanish developer Login bean works fine, but on prodocution I got an exception:

    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 = July 7, 2014 11:05:33 AM EDT SERVER = AdminServer MESSAGE = [path of the module: app_name_test ServletContext@304698745[app:AppName: / app_name_test spec-version: 2.5]] Servlet failed with Exception

    oracle.adf.controller.security.AuthorizationException: ADFC-0619: authorization check failed: 'viewcontroller.pageDefs.homePageDef', 'VIEW '.

    at oracle.adf.controller.internal.security.AuthorizationEnforcer.handleFailure(AuthorizationEnforcer.java:182)

    at oracle.adf.controller.internal.security.AuthorizationEnforcer.internalCheckPermission(AuthorizationEnforcer.java:162)

    at oracle.adf.controller.internal.security.AuthorizationEnforcer.checkPermission(AuthorizationEnforcer.java:116)

    at oracle.adfinternal.controller.state.ControllerState.checkPermission(ControllerState.java:663)

    at oracle.adfinternal.controller.state.ControllerState.initializeUrl(ControllerState.java:700)

    at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart2(ControllerState.java:473)

    at oracle.adfinternal.controller.application.SyncNavigationStateListener.afterPhase(SyncNavigationStateListener.java:59)

    to oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$ PagePhaseListenerWrapper.afterPhase (ADFLifecycleImpl.java:530)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ PhaseInvokerImpl.dispatchAfterPagePhaseEvent (ADFPhaseListener.java:131)

    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:74)

    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:447)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)

    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:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    JPS - config.Xml

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

    " < jpsConfig xmlns =" http://xmlns.Oracle.com/OracleAS/schema/11/JPs-config-11_1.xsd "" xmlns: xsi = " http://www.w3.org/2001/XMLSchema-instance " xsi: schemaLocation = " http://xmlns.Oracle.com/OracleAS/Schema/11/JPS-config-11_1.xsd HSD-config - 11_1.xsd" >

    < = name="oracle.security.jps.jaas.mode"/ 'doasprivileged' property value >

    < serviceProviders >

    "< class ="oracle.security.jps.internal.idstore.xml.XmlIdentityStoreProvider serviceProvider"name =" idstore.xml.provider "type ="IDENTITY_STORE">

    < description > XML-based IdStore provider < / description >

    < / serviceProvider >

    "< class ="oracle.security.jps.internal.policystore.xml.XmlPolicyStoreProvider serviceProvider"name =" policystore.xml.provider "type ="POLICY_STORE">

    < description > XML-based PolicyStore provider < / description >

    < / serviceProvider >

    "< class ="oracle.security.jps.internal.anonymous.idm.IdmAnonymousServiceProvider serviceProvider"name =" anonymous.provider "type 'ANONYMOUS' = >

    < description > anonymous access provider < / description >

    < / serviceProvider >

    "< class ="oracle.security.jps.internal.login.jaas.JaasLoginServiceProvider serviceProvider"name =" jaas.login.provider "type ="LOGIN">

    < description > Service Provider for the connection Module < / description >

    < / serviceProvider >

    < / serviceProviders >

    < serviceInstances >

    < provider = "idstore.xml.provider serviceInstance" name ="idstore.xml" > "

    "< value="./jazn-data.xml property "name ="location"/ >

    < property value = 'OBFUSCATE' name="jps.xml.idstore.pwd.encoding"/ >

    < value property = "jazn.com" name = "subscriber.name" / > "

    < / serviceInstance >

    < provider = "policystore.xml.provider serviceInstance" name ="policystore.xml" > "

    "< value="./jazn-data.xml property "name ="location"/ >

    < = 'false' name="oracle.security.jps.policy.principal.cache.key"/ property value >

    < / serviceInstance >

    < provider = "anonymous.provider serviceInstance" name = "anonymous" / > "

    < provider = "jaas.login.provider serviceInstance" name ="anonymous.loginmodule" > "

    < value = "oracle.security.jps.internal.jaas.module.anonymous.AnonymousLoginModule property" name = "loginModuleClassName" / > "

    < property value = "REQUIRED" name="jaas.login.controlFlag"/ >

    < property value = "true" name = "debug" / >

    < property value = "true" name = "addAllRoles" / >

    < / serviceInstance >

    < provider = "jaas.login.provider serviceInstance" name ="idstore.loginmodule" > "

    < value = "oracle.security.jps.internal.jaas.module.idstore.IdStoreLoginModule property" name = "loginModuleClassName" / > "

    < property value = "REQUIRED" name="jaas.login.controlFlag"/ >

    < property value = "true" name = "debug" / >

    < property value = "true" name = "addAllRoles" / >

    < = 'false' name="remove.anonymous.role"/ property value >

    < / serviceInstance >

    < / serviceInstances >

    < jpsContexts default 'anonymous' = >

    < name jpsContext 'anonymous' = >

    < serviceInstanceRef ref = 'anonymous' / >

    < serviceInstanceRef ref = "anonymous.loginmodule" / >

    < / jpsContext >

    < / jpsContexts >

    < / jpsConfig >

    Web.Xml

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

    " < web - app xmlns =" http://Java.Sun.com/XML/NS/JavaEE "" xmlns: xsi = " " http://www.w3.org/2001/XMLSchema-instance "

    " xsi: schemaLocation =" http://Java.Sun.com/XML/NS/JavaEE http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"" "" "

    version "2.5" = >

    < context-param >

    javax.faces.STATE_SAVING_METHOD < param-name > < / param-name >

    customer of < param-value > < / param-value >

    < / context-param >

    < context-param >

    javax.faces.PARTIAL_STATE_SAVING < param-name > < / param-name >

    < param-value > false < / param-value >

    < / context-param >

    < context-param >

    < description > if this parameter is set to true, there will be an automatic check of the date of the change of your JSP pages and saved state will be scrapped when JSP change. It will also automatically check if your css skinning files have changed without requiring you to restart the server. This facilitates the development, but adds above. For this reason, this parameter must be set to false when your application is deployed. < / description >

    org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION < param-name > < / param-name >

    < param-value > false < / param-value >

    < / context-param >

    < context-param >

    < description > if the comment "generated by...» "down in pages ADF Faces HTML should contain version number information. < / description >

    oracle.adf.view.rich.versionString.HIDDEN < param-name > < / param-name >

    < param-value > false < / param-value >

    < / context-param >

    < context-param >

    Oracle.ADF.jsp.provider.0 < param-name > < / param-name >

    oracle.mds.jsp.MDSJSPProviderHelper < param-value > < / param-value >

    < / context-param >

    < context-param >

    < description > File Upload < / description >

    org.apache.myfaces.trinidad.UPLOAD_MAX_DISK_SPACE < param-name > < / param-name >

    < param-value > 10485760 < / param-value >

    < / context-param >

    < context-param >

    < description > the safety precautions to prevent clickjacking: bust of executives if the area of window ancestor (Protocol, host and port) and the framework are different. Other options for this setting are always and never. < / description >

    org.apache.myfaces.trinidad.security.FRAME_BUSTING < param-name > < / param-name >

    differentOrigin < param-value > < / param-value >

    < / context-param >

    < context-param >

    javax.faces.FACELETS_SKIP_XML_INSTRUCTIONS < param-name > < / param-name >

    < param-value > true < / param-value >

    < / context-param >

    < context-param >

    javax.faces.FACELETS_SKIP_COMMENTS < param-name > < / param-name >

    < param-value > true < / param-value >

    < / context-param >

    < context-param >

    javax.faces.FACELETS_DECORATORS < param-name > < / param-name >

    oracle.adfinternal.view.faces.facelets.rich.AdfTagDecorator < param-value > < / param-value >

    < / context-param >

    < context-param >

    javax.faces.FACELETS_RESOURCE_RESOLVER < param-name > < / param-name >

    oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver < param-value > < / param-value >

    < / context-param >

    < filter >

    < filter-name > JpsFilter < / filter-name >

    > class filter < oracle.security.jps.ee.http.JpsFilter < / class filter >

    < init-param >

    enable.anonymous < param-name > < / param-name >

    < param-value > true < / param-value >

    < / init-param >

    < init-param >

    Remove.anonymous.role < param-name > < / param-name >

    < param-value > false < / param-value >

    < / init-param >

    < / filter >

    < filter >

    < name of filter > Trinidad < / filter-name >

    > class filter < org.apache.myfaces.trinidad.webapp.TrinidadFilter < / class filter >

    < / filter >

    < filter >

    < filter-name > adfBindings < / filter-name >

    > class filter < oracle.adf.model.servlet.ADFBindingFilter < / class filter >

    < / filter >

    < filter >

    < filter-name > ADFLibraryFilter < / filter-name >

    > class filter < oracle.adf.library.webapp.LibraryFilter < / class filter >

    < / filter >

    < filter mapping >

    < filter-name > JpsFilter < / filter-name >

    < url-pattern > / * < / url-pattern >

    < distributor > BEFORE < / dispatcher >

    < distributor > APPLICATION < / dispatcher >

    < distributor > INCLUDE < / dispatcher >

    < / filter-mapping >

    < filter mapping >

    < name of filter > Trinidad < / filter-name >

    < name servlet - > Faces Servlet < / servlet-name >

    < distributor > BEFORE < / dispatcher >

    < distributor > APPLICATION < / dispatcher >

    < distributor > ERROR < / dispatcher >

    < / filter-mapping >

    < filter mapping >

    < filter-name > adfBindings < / filter-name >

    < name servlet - > Faces Servlet < / servlet-name >

    < distributor > BEFORE < / dispatcher >

    < distributor > APPLICATION < / dispatcher >

    < / filter-mapping >

    < filter mapping >

    < filter-name > ADFLibraryFilter < / filter-name >

    < url-pattern > / * < / url-pattern >

    < distributor > BEFORE < / dispatcher >

    < distributor > APPLICATION < / dispatcher >

    < / filter-mapping >

    < filter mapping >

    < filter-name > adfBindings < / filter-name >

    < name servlet - > adfAuthentication < / servlet-name >

    < distributor > BEFORE < / dispatcher >

    < distributor > APPLICATION < / dispatcher >

    < / filter-mapping >

    <>earpiece

    oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack <-listener class > < / listener class >

    < / earphone >

    <>earpiece

    oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack <-listener class > < / listener class >

    < / earphone >

    <>earpiece

    Oracle.BC4J.MBean.BC4JConfigLifeCycleCallBack <-listener class > < / listener class >

    < / earphone >

    < servlet >

    < name servlet - > Faces Servlet < / servlet-name >

    > the servlet class < javax.faces.webapp.FacesServlet < / servlet-class >

    < load-on-startup > 1 < / load-on-startup >

    < / servlet >

    < servlet >

    resources < name of the servlet > - < / servlet-name >

    > the servlet class < org.apache.myfaces.trinidad.webapp.ResourceServlet < / servlet-class >

    < / servlet >

    < servlet >

    < name servlet - > BIGRAPHSERVLET < / servlet-name >

    > the servlet class < oracle.adf.view.faces.bi.webapp.GraphServlet < / servlet-class >

    < / servlet >

    < servlet >

    < name servlet - > BIGAUGESERVLET < / servlet-name >

    > the servlet class < oracle.adf.view.faces.bi.webapp.GaugeServlet < / servlet-class >

    < / servlet >

    < servlet >

    < name servlet - > MapProxyServlet < / servlet-name >

    > the servlet class < oracle.adf.view.faces.bi.webapp.MapProxyServlet < / servlet-class >

    < / servlet >

    < servlet >

    < name servlet - > GatewayServlet < / servlet-name >

    > the servlet class < oracle.adfinternal.view.faces.bi.renderkit.graph.FlashBridgeServlet < / servlet-class >

    < / servlet >

    < servlet >

    < name servlet - > adflibResources < / servlet-name >

    > the servlet class < oracle.adf.library.webapp.ResourceServlet < / servlet-class >

    < / servlet >

    < servlet >

    < name servlet - > adfAuthentication < / servlet-name >

    > the servlet class < oracle.adf.share.security.authentication.AuthenticationServlet < / servlet-class >

    < init-param >

    success_url < param-name > < / param-name >

    /faces/home.jspx < param-value > < / param-value >

    < / init-param >

    < load-on-startup > 1 < / load-on-startup >

    < / servlet >

    < servlet-mapping >

    < name servlet - > Faces Servlet < / servlet-name >

    < url-pattern > /visages / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    resources < name of the servlet > - < / servlet-name >

    < url-pattern > /adf / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    resources < name of the servlet > - < / servlet-name >

    < url-pattern > /afr / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    < name servlet - > BIGRAPHSERVLET < / servlet-name >

    < url-pattern >/servlet/GraphServlet / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    < name servlet - > BIGAUGESERVLET < / servlet-name >

    < url-pattern >/servlet/GaugeServlet / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    < name servlet - > MapProxyServlet < / servlet-name >

    < url-pattern > /mapproxy / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    resources < name of the servlet > - < / servlet-name >

    < url-pattern > /bi / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    < name servlet - > GatewayServlet < / servlet-name >

    < url-pattern > /flashbridge / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    < name servlet - > adflibResources < / servlet-name >

    < url-pattern > /adflib / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    < name servlet - > adfAuthentication < / servlet-name >

    <>url-pattern / adfAuthentication < / url-pattern >

    < / servlet-mapping >

    < mapping mime - >

    SWF < extension > < / extension >

    mime-type application/x-shockwave-flash <>< / mime-type >

    < / mime map >

    < mapping mime - >

    AMF < extension > < / extension >

    <>mime-type application/x-amf < / mime-type >

    < / mime map >

    < jsp-config >

    < jsp-property-group >

    *.jsff < url-pattern > < / url-pattern >

    true < East - xml > < / xml is >

    < / jsp-property-group >

    < / jsp-config >

    < security constraint >

    < web-resource-collection >

    < web-resource-name > adfAuthentication < / web-resource-name >

    <>url-pattern / adfAuthentication < / url-pattern >

    < / web-resource-collection >

    <>auth-constraint

    valid users - < role name > < / role name >

    < / auth-constraint >

    < / security constraint >

    <>login-config

    FORM < auth-method > < / auth-method >

    < form-login-config >

    /faces/login.jspx < form-login-page > < / form-login-page >

    /faces/login.jspx < form-error-page > < / form-error-page >

    < / form-login-config >

    < / login-config >

    <-security role >

    valid users - < role name > < / role name >

    < / security role >

    < / web - app >

    jazn-"Data.xml"

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

    " < jazn-data xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance "

    " xsi: noNamespaceSchemaLocation = ' http://xmlns.Oracle.com/OracleAS/schema/jazn-data.xsd "> "

    < default = "jazn.com Kingdom-jazn" >

    < domain >

    < name > jazn.com < / name >

    < / domain >

    < / Kingdom-jazn >

    < policy store >

    applications <>

    < application >

    < name > AppName < / name >

    < jazn > political

    <>grant

    < dealer >

    < directors >

    < principal >

    < name > authenticated role < / name >

    oracle.security.jps.internal.core.principals.JpsAuthenticatedRoleImpl < class > < / class >

    < / main >

    < / directors >

    < / dealer >

    <>permissions

    < permission >

    oracle.adf.share.security.authorization.RegionPermission < class > < / class >

    < name > viewcontroller.pageDefs.homePageDef < / name >

    Display < share > < / actions >

    < / authorization >

    < / authorization >

    < / grant >

    < / jazn-policy >

    < / application >

    < / applications >

    < / policy-store >

    < / jazn-data >

    My fragment of connection method:

    HttpServletRequest request = (HttpServletRequest) () .getRequest () ctx.getExternalContext;
    try {}

    Topic topic = Authentication.login (new URLCallbackHandler (UN, pw));weblogic.servlet.security.ServletAuthentication.runAs (object, request);

    HttpServletResponse response = (HttpServletResponse) ctx.getExternalContext (m:System.NET.FtpWebRequest.GetResponse ());

    sendForward (request, response, LOGIN_URL);
    } catch (FailedLoginException fle) {}
    LOG.severe (fle);
    String errorText = rsBundle.getString ("ERROR_LOGIN");
    FacesMessage msg = new FacesMessage (FacesMessage.SEVERITY_ERROR, errorText, errorText);
    ctx.addMessage (null, msg);
    }

    I use Jdev 11.1.2.4

    Any help why this configuration works on production envirement?

    My system-jazn-"Data.xml" has entered correct...

    Finally, I found... Administrator develop new envirement and they use java 1.8 (WTF). Have to kill them immediately after to write this post...

    I found that the search to setDomainEnv.sh

    Changed start at 1.6 and all works like magic... IM really surprised that start weblogic with java 8 and generate strange symtomps with authentication...

    I thank all of you for the help

  • Error trying to save the binary XML storage model scheme

    Hello

    I am trying to record my XML schema to the server 11 g for use in the binary XML storage model. Here are the details:

    BEGIN
    () DBMS_XMLSCHEMA.registerSchema
    SCHEMAURL = > ' / sys/schemas/ACSSWEB/ALLMDN_BinaryDetailsSchema.xsd',
    SCHEMADOC = > XDBURIType('/sys/schemas/ACSSWEB/ALLMDN_DetailsSchema.xsd').getBLOB ().
    LOCAL = > TRUE,
    GENTYPES = > FALSE,
    GENTABLES = > FALSE,
    OPTIONS = > DBMS_XMLSCHEMA. REGISTER_BINARYXML);
    END;

    I get the following error message:

    Error report:
    ORA-00406: COMPATIBLE parameter must be 11.0.0.0.0 or higher
    ORA-00722: feature "binary XML".
    ORA-06512: at "XDB". DBMS_XMLSCHEMA_INT', line 37
    ORA-06512: at "XDB". DBMS_XMLSCHEMA", line 65
    ORA-06512: at line 2
    00406 00000 - "COMPATIBLE parameter must be %s or more."
    * Cause: The COMPATIBLE initialization parameter is not high
    sufficient to allow the operation. Allowing the command would be
    the database is incompatible with the version specified by the
    current COMPATIBLE parameter.
    * Action: Shutdown and commissioning with a higher compatibility setting.


    (1) someone can you please confirm - if change the compatible parameter will help accomplish this?
    (2) is there one other way (other than to change the compatible parameter) to make this work? My DBA are not immediately ready to change the parameter with the fear of breaking legacy applications even in the test environment. I seek an alternative solution to help me analyze the binary XML storage model.

    PS: I am a newbie to XML DB native development. So please forgive me if I asked a very simple question.

    Binary XML is a feature of Oracle 11, which is why the error message.

    There is probably an event (Oracle support/internal) parameter that once was able to make this happen in point 10.2 as well or, despite you must also update some of the registered scheme etc., etc., etc. to the point 10.2...
    In short: he took no other way responsible to do. Set the compatible parameter 11.x if you want to use storage binary xml based schema.

  • DTD, Python, TEI, and Berkeley DB XML

    Dear experts BDB XML,

    I'm developing a web application (Django database) which uses python to manipulate and search documents TEI based in a BDB XML container.

    I'm loading in the container XML documents contain a reference to an external DTD, which in turn refers to the .ent files. The documents contain references to entity requiring a resolution.

    I can successfully XML documents in the container, if I include the content of the DTD in each file, but the process will fail if I do not understand the content of the DTD of the XML document and instead try to make reference to the DTD via a reference. XQuery queries also do not seem to work properly if the DTD content is included in each XML document.

    I found references in forums in the following JAVA code that appears to allow the BDB XML in the file system of the database to refer to an external DTD (I could be wrong on that though):

    XmlManagerConfig config = new XmlManagerConfig();
    config.setAllowExternalAccess (true);
    Manager of XmlManager = new XmlManager (config);

    My query is, can even be achieved using python? Documentation of BDB specifies this as a single operation of JAVA and does not mention possible using python.

    Thanks for reading
    AL

    Hi AL,.

    I have gathered some experience with Python bindings now, but I was not exactly in your situation. My experience has been pretty much everything you can do in Java you can do this in Python, but sometimes the syntax is a little different. I see Python doesn't have a XmlManagerConfig class but rather indicators given in the XmlManager constructor used. To do what you want to do, I think you want (assuming that of dbxml import *)

    mgr = XmlManager(env, DBXML_ALLOW_EXTERNAL_ACCESS)
    
  • is equal to xml references

    Hello

    So here's my problem:

    I want to go of a sequence like the following XML:

    I want to be able to detect if I am currently processing the first or the last node to send a notification to my GUI.

    That's what I read on the equals method, I was hoping that it would issue a (as in Java or .NET) equals method to compare the 2 references to the object are actually the same object.

    No, I know I am using references XML (based on the parser Xerces... so that they are different)

    http://zone.NI.com/reference/en-XX/help/371361J-01/Glang/equal/

    I wanted to compare the references but I can not anyone has any ideas how to help out me? I would you.

    Thank you

    Maciej

    What I ended up doing, is that I use the index + content of the XML node as I loop on my tasks at deremine where I am in my sequence.

  • The statement on the xsd in an xml document

    Hello

    I had written in the root element in the XML, the lines to deceive:

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

    < MyRootElement MyAttribute1 = "MyAttributeValue1."

    MyAttribute2 = "MyAttributeValue2."

    MyAttribute3 = "MyAttributeValue3".

    " xmlns =" http://www.Oracle.com/XML/Test1.xsd"" "

                            xmlns : xsi = " http://www.w3.org/2001/xmlSchema-instance "

    " xsi: schemaLocation =" http://www.Oracle.com/XML/Test1.xsd xml_schema.xsd "> "



    but the problem is that the customer does not want to get the 3 lines (underlined), where I declare in the xsd document.

    Can I omit these 3 rows? or replace them with something else?


    Thanks in advance,

    Elad





    You can probably omit xsi: schemaLocation (and the declaration xmlns: xsi, if the prefix is not used in the doc), but the removal of the default namespace will change the semantics.

    If your client has said that he does not want a namespace by default, then so be, remove it from the document instance. You also need to remove the XSD targetNamespace declaration.

    Based on your other discussions recently posted, you then will have to modify your validation code and explicitly construct an instance XML based on a schema using the URL of the registered scheme.

Maybe you are looking for

  • Satellite A-P70-11V - HARD disk protection works without accelerometer?

    Hi all I'm new here.I did another post. In short, I'm expert enough in Toshiba Satellite laptops, but my new, Satellite P70-A-11V, a portable high professional range, had some problems. It came with Windows 8, which I upgraded to 8.1. Unfortunately,

  • Update satellite P855 and Win8.1 - ERROR mfewfpk.sys

    HelloI had my Satellite P855 - 10G upgrade Windows 8.1 for Windows Store. Currently, it cannot open a session, pops up an error "SYSTEM_SERVICE_EXCEPTION (mfewfpk.sys).Can someone help me please? = S

  • Issue light camera T430s

    Hello Is it possible to turn on the light next to the camera without using the camera? A bit like a reading light? I noticed that she briefly lights up when starting and became curious about it. Thank you.

  • 2 SSD upgrade

    Hello. I have a DV6-6b19wm with a 120 GB patriot pyro SE and I read about guys out of their dvd player and its replacement by a hard drive caddy that fits in place of dvd. I found some adapters on amazon for $ 12-35. They are for the 12.7 mm DVD play

  • How to capture images from windows of the personnel file?

    How to capture an image of the window of my personnel file and paste the graphic or word processing file and save? Original title: assignment of Windows Vista