Cannot set 'DD-MM-YYYY' date control in BB5.0

Hi all

I'm stuck with date control in Webworks. I need set the default ("DD-MM-YYYY') in the date control in blackberry 5.0.

It does not dispay in BB5.0. Same code works for BB6.0.

find the code below:

Please help me.

Thanks in advance.

Hello

I'm not sure I understand. Do you mean that the fixing of the value date is not correctly displayed on OS 5?


Note that the code you provided in your original thread lists without any quote " " dd-mm-yyyy ". The value is what is actually shown in the entry; not necesserily the date format.

If you pass in theas you describe, it could just be the browser of the OS 6 is capable of meaning, while the OS 5 browser cannot.

Validation W3C provides the following error message:

Bad value dd-mm-yyyy/ for attribute value on element input: The literal did not satisfy the date format.

Erik Oros

BlackBerry Development Advisor

Tags: BlackBerry Developers

Similar Questions

  • Why fields view object cannot display in the data control?

    Hello
    Work in jdev 11.1.2.3.0.
    I create two objects from view of the entities under the project module.
    and see the AppModule.xml as follows:
    ..
    < ViewUsage
    Name = "TransAccountVO1".
    ViewObjectName = "Project1. TransAccountVO "/ >"
    < ViewUsage
    Name = "TransAccountBillVO1".
    ViewObjectName = "Project1. TransAccountBillVO "/ >"
    ...
    Under the control of data panel shows these two nodes:
    -TransAccountVO1
    -id
    -name
    ---..
    + Operation
    + Named criteria

    -TransAccountBillVO1
    + operations
    + Named criteria,

    THE first node is ok, but the second miss (node TransaccountBillVO1) areas.
    Why fields view object cannot display in the data control?

    Thanks in advance.

    delete and Add again... the value editable forever.

  • Cannot find the data control to the Web Service in the Menu

    Hello

    I try to call a web service in the ADF. To do this, I want to create a web service data command

    If I understand correctly, if I right click on the template project, I see the data control from the Web Service under layer Business > Web Services. (as indicated in 2.1 Sec-http://www.oracle.com/technology/products/jdev/howtos/1013/wsadf/adfcomplexwstypes.html#WsProxyPojoControl)

    However, I am not able to find this entry in there.

    I tried the following things:

    I tried with Jdev 10.1.3.5, 10.1.3.4 and 10.1.3.1
    I tried to select all available models of technology to create applications
    -Any model
    -Web Application [JSF, EJB, Toplink]
    -Web Application [JSF, ADF]
    -Web Application [JSF, EJB
    -Web Application [JSF, Struts, ADF]... .and everthing else...

    I still don't see the web service proxy.

    Then I opened the ADFToystore sample application, and I could see the service data Web controls here!... .that mean my jdev is not defective... something else is missing.

    So, I tried to see what libraries are selected... I saw that a library named 'Web Service Data Control' are there in the project, which is not there in the model applications project that I created. So I added this library to the project, but it still does not work...
    Next, I added all THE libraries I have seen in the libraries in the project properties section... still no luck

    I don't know I'm missing something basic. Can someone please help.

    Rgds,
    Amit

    Hi Amit,

    try to set the filter above in New Gallery to filter by: all Technologies

    Kind regards

    Branislav

  • Cannot click on data controls

    Hello

    I use jdev 11.1.2.4.0 and for some reason, I can't click on the node of data controls to decompress. I can click on the nodes in the projects and the resources of the application, but I can't enlarge the section data controls. It does not at all meet clicks.

    I tried Windows reset to the factory settings and change my screen resolution, but it doesn't seem to help.

    Once or twice I've managed to do expand, but then after development and reduction of the nodes, the display is messed up. It's almost as if he doesn't know where the nodes had to go or be.

    Anyone had this problem before and how to work around?

    Thank you

    I ended up delete my folder on my system either system1.1.2.4.39.64.36.1 in the c:\users\username\AppData\Roaming\JDeveloper directory and signs began to work again.

    Just speculating, but I think that switch between different external displays, perhaps while my pc was suspended or hibernation could have mucked up in the display of the information.

    In any case, delete the folder seems to have worked.

    Good bye.

  • Set when you call WS thru ADF webservice SOAP header element data control

    Experts,

    I'm trying to call/call a webservice (using the command of ADF data web service) awaits the element in the SOAP header. I want to know the steps required to define the custom SOAP header when using ADF data control web service. Custom SOAP header element will be of type string, something like
    < soap: Header > < element1 > String < / element1 > < / soap: Header >

    Thank you
    Ashish

    Hello

    extend the SOAPProvider class

    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPException;
    import javax.xml.soap.SOAPMessage;
    
    import oracle.adf.model.adapter.AdapterException;
    
    import oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider;
    
    public class CustomSOAProvider extends SOAPProvider {
        public CustomSOAProvider() {
            super();
        }
    
        //expose protected method to public
    
        public void handleRequest(SOAPMessage soapMessage) throws AdapterException {
    
            super.handleRequest(soapMessage);
        }
    
        //Expose protetcted method to public
    
        public void handleResponse(SOAPMessage soapMessage) throws AdapterException {
    
            super.handleResponse(soapMessage);
        }
    

    And configure it in the file DataControls.dcx to your WS DC project


    ...
    xmlns = "http://xmlns.oracle.com/adfm/datacontrol" >


    name = "..." "version ="1.0 ".
    Provider = "ADF. Sample.wsdc.CustomSOAProvider ".
    WSDL = "http:/ /...". ">
    ...

    Frank

  • Filtering problem date to the table QBE filter when it is supported by the POJO data control

    @Timo Hahn ADFfan 11.1.1.4 or 11.1.1.7

    I have exactly the same problem as described in the discussion archived here unanswered

    Definiton vc_temp_1 not found error for the filter of the columns date

    I used the sample downloaded 37 here as a model

    037. how to build the pagination in the POJO ADF data control

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/index-101235.html

    It is easy to replicate, just to run this sample and try to filter on the date of hire.  It takes about 2 minutes to download and run.

    sample image 37 running on 11.1.1.7

    Here is the stacktrace.   Don't know why it's using java.sql.Timestamp.   My POJO returns a java.lang.Date

    java.lang.IllegalArgumentException: timestamp format must be yyyy-mm-dd hh: mm: [.fffffffff]

    at java.sql.Timestamp.valueOf(Timestamp.java:194)

    to oracle.jbo.common.JboTypeMapEntries$ 3.convert(JboTypeMapEntries.java:149)

    at oracle.jbo.domain.TypeFactory.get(TypeFactory.java:855)

    at oracle.jbo.domain.TypeFactory.getInstance(TypeFactory.java:102)

    at oracle.jbo.common.JboTypeMapEntries.convertValue(JboTypeMapEntries.java:382)

    at oracle.jbo.common.OracleTypeMapEntries.convertValue(OracleTypeMapEntries.java:162)

    at oracle.jbo.common.JboTypeMap.convertValue(JboTypeMap.java:869)

    at oracle.jbo.domain.TypeConvMapEntry.convert(TypeConvMapEntry.java:120)

    at oracle.jbo.domain.TypeFactory.get(TypeFactory.java:855)

    at oracle.jbo.domain.TypeFactory.getInstance(TypeFactory.java:102)

    at oracle.jbo.RowComparator.compareEquals(RowComparator.java:34)

    at oracle.jbo.RowValueSupplier.compareValues(RowValueSupplier.java:253)

    at oracle.jbo.expr.JIParserNode.evaluate(JIParserNode.java:1274)

    at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1099)

    at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:911)

    at oracle.jbo.RowMatch.rowQualifies(RowMatch.java:187)

    at oracle.jbo.server.ViewObjectImpl.rowQualifies(ViewObjectImpl.java:2811)

    at oracle.jbo.server.QueryCollection.rowQualifies(QueryCollection.java:3705)

    at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:3590)

    at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:3387)

    at oracle.jbo.server.QueryCollection.sortRows(QueryCollection.java:994)

    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1184)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1338)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1256)

    at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1250)

    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:6809)

    at oracle.adf.model.bean.DCBeanDataControl.executeIteratorBinding(DCBeanDataControl.java:948)

    at oracle.adf.model.binding.DCIteratorBinding.doExecuteQuery(DCIteratorBinding.java:2177)

    at oracle.jbo.uicli.binding.MyIteratorBinding.executeQuery(JUAccessorIteratorDef.java:721)

    at oracle.jbo.uicli.binding.JUSearchBindingCustomizer.applyAndExecuteViewCriteria(JUSearchBindingCustomizer.java:607)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.processQuery(FacesCtrlSearchBinding.java:442)

    application example will reproduce the problem with no changes

    Post edited by: Don Kleppinger confirmed it happens on 11.1.1.7 as well (see image)

    Frank Nimphius-Oracle

    I have a work around for this bug to Oracle.  I have a version in 037 sample that actually works and that will sort the field date.  I'm ready to download a copy to replace the download version that is there if Oracle is listening.  The sample was there 5 years ago so it is regrettable that this bug still exists.

    That's what I did

    create beans with custom queryListener

    On the table

    change

    queryListener = "#{bindings.allEmployeesQuery.processQuery} '"

    TO

    queryListener = "#{queryListenerBean.processQuery} '"

    Add an additional field to the line which is a long value of the Date column.   In the queryListener I change the input filter on the value of long type instead of the date value.

    I do not display the column containing the value of long (time) in the table, but she must appear in the binding of the tree. (shuttles to the right)

    In the listener query

    • Read the filter value Date and read the value of time full, clear the value of the filter date
    • long time set in the filter
    • Run the query by call of the listener of the original request #{bindings.allEmployeesQuery.processQuery}
    • Set the date value to the value entered by the user
    • erase the value of long type

    Here is the code

    {} private void processQuery (QueryEvent queryEvent)

    Table richeTableau = (RichTable) queryEvent.getComponent ();

    FilterableQueryDescriptor filterQD = (FilterableQueryDescriptor) table.getFilterModel ();

    Card filterCriteria = filterQD.getFilterCriteria ();

    Date dt = (Date) filterCriteria.get ("hireDate");

    time of to of subject Date and filter on hireDateLong instead of column hireDate column

    containing the value of long type of date instead of the Date

    If (dt! = null) {}

    TM long = dt.getTime ();

    filterCriteria.put ("hireDateLong", tm);

    filterCriteria.put ("hireDate", null); This must be null or will not work

    }

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

    Object execBinding = bc.findExecutableBinding ("allEmployeesQuery");

    does not perform a cast of the class internal oracle but another technique guided under

    does not work with POJO data control

    run the filter

    (ExecBinding) .processQuery (queryEvent) (FacesCtrlSearchBinding);

    This will fail

    invokeQueryEventMethodExpression ("#{bindings.allEmployeeesQuery.processQuery}",)

    restore the value of the filter if he continues to display in the QBE bar

    filterCriteria.put ("hireDate", dt);

    filterCriteria.put ("hireDateLong", null);

    }

  • Question WebService data persistence data control

    Hello

    We use a Web Service data on two pages jspx for application control. The control of data attributes are added on the two pages as data binding.

    Scenario: we submit certain data from page 1 using the web service data and go to page 2. Fill in some data on page 2 and again to apply for the data Web Service and after successful response control back page 1. Same thing repeats again and again for this scenario.

    Now the question is, submit us data of page 1, move to Page2, submit some data of page 2 and return to page 1. If repeat us this process, while presenting data on page 1, the data that we presented earlier on Page2 also get submitted, should not. We want only to present data according to the link on this page. Page1 is unlimited taskflow and Page2 is in the stubborn taskflow.

    We tried setting values as: CacheResults: false on iterator, refresh condition: Ifneeded, UsePersistentStructure to false, the control data. Also tried to reset and turn off data using the API and resetInputState on the links. But nothing works. The only method that works is ClearForRecreate on iterator Page1. But since internal its method, it might not be good to use. Also, after the use of this tells us to receive intermittent error indicating AttributeList$ IRB cannot be cast to a string and exception argument is not an array a few times.

    Please let me know, how I can ensure that the correct data are sent to the data control for the web service.

    With the help of JDev 11.1.1.6.

    Thank you

    Solved by removing the option of data relating to the shares in taskflow control.

    Thank you

  • RN314 cannot set up alerts

    Just I have an open for this support ticket and I'm getting nowhere fast at the moment, while the community has been so useful until now I was wondering if someone here could help/advise.

    -For the NASs x RN31400 2 I am owner and you have registered with you I am unable to setup e-mail alerts. I tried to use 3 e-mail addresses of 3 service providers: Yahoo, Hotmail/Outlook and also my own ISP TalkTalk email providers. No matter what settings I use for all 3 e-mail providers, I get the following error message: check the settings of the smtp server cannot send a code error message 5008010002 msmtp test e-mail alert on my 3 x NV + s very well using my Yahoo e-mail address work. On one of the RN31400s using Yahoo worked initially and the alert section would say that it has been configured correctly and I'd get emails to my 2 hotmail addresses, it was on 1 of my RN31400s on the other RN31400 the settings would save not and always say, there was a problem but I had managed through test messages. Now, no matter what settings I use, which email provider I use, etc. I can't e-mail job alerts! Please help because this is obviously a problem with the NASs and the software on devices, the version of the firmware on two is 6.4.1 Ive set up the addresses of 3 E-mail on an e-mail within my network client and all 3 work well, the 3 x NV + s do not have a problem using my Yahoo account to send alerts check my routers and firewalls there is no blocked traffic and I can't telnet to Server 3 Messaging without problems. Please advise/help, thanks.

    And...

    OK the update of the firmware did not work, I have one of the update firmware version 6.4.2 RN31400 and after 2 reboots, I am still unable to receive job alerts.

    The I am using SMTP servers are:

    Yahoo =
    ------------------------
    Email provider: Custom
    User: [email protected]
    Password: xxxxxxx
    SMTP server: smtp.mail.yahoo.com
    SMTP port: I've tried 25, 465, and 587
    From: [email protected]
    Use TLS: I tried checked and unchecked

    Hotmail/Outlook.com =
    ------------------------
    Email provider: Custom
    User: [email protected]
    Password: xxxxxxx
    SMTP server: smtp - mail.outlook.com
    SMTP port: I've tried 25, 465, and 587
    From: [email protected]
    Use TLS: I tried checked and unchecked

    TalkTalk = it's the ISP I use!
    ------------------------
    Email provider: Custom
    User: xxxxxxx@TalkTalk,net
    Password: xxxxxxx
    SMTP server: smtp.talktalk.net
    SMTP port: I've tried 25, 465, and 587
    From: xxxxxxx@TalkTalk,net
    Use TLS: I tried checked and unchecked

    Ref: browser, I used Firefox and Internet Explorer, not that it should make no difference whatsoever.

    Ref: screen captures, don't need the parameters are listed above for the two RN31400.

    Ref: parameters for the NV 3 x + an are as follows:

    Yahoo =
    ------------------------
    Email provider: Custom
    User: [email protected]
    Password: xxxxxxx
    SMTP server: smtp.mail.yahoo.com
    SMTP port: 465
    From: [email protected]
    Use TLS: Is checked and

    Test of the emails for the configuration of alerts on the NV + s are still working fine, DO NOT WORK for the RN314.

    Please tell us what can be done to solve this problem, thank you.

    And...

    Full error message =

    Unable to send a test message.

    Unable to send a test message. Check the settings of the SMTP server. Code: 5008010002 error msmtp

    DateTime: 05:02:09 04/02/2016

    And...

    Hello

    Just right now I can read the KB article - which does not help somehow:
    KB.Netgear.com/app/Answers/Detail/A_ID/23066

    There is nothing wrong with the configurations that I use.

    All 3 servers SMTP and the above settings work very well on my NAS NV +.

    All 3 servers SMTP and the above settings work fine on Outlook or Mozilla Thunderbird's within my network.

    All servers SMTP 3 and address listed above work fine when I Telnet to them within my network.

    First settings of Yahoo SMTP worked well on one of the RN314 and seemed saved and ok.

    Also...

    At the beginning of Yahoo SMTP settings worked well on one of the RN314 but not record or say that it has been configured correctly.

    Then obviously there is something wrong with the SMTP service/server on these NAS RN314 2 bed.

    I am not willing to allow you access as it will provide no benefit whatsoever.

    For the course of 20 years, so it's nothing that can be done with you giving remote access with the exception of confirm you what I have already said previously, I have worked in it.

    And...

    So please advise what Netgear will do then or advise what other other confirming my settings allow remote access?

    Your forums to research it seems that problems with mail like this are apparently quite common, so what has already been done to solve the problem?

    Also the error code: Code: 5008010002 error msmtp

    Why you are not this survey with your development teams who wrote the OS on the NAS working on what actually the error means?

    There is nothing wrong with the configuration that it works very well on my 3 x NV + NAS, it works very well in e-mail clients, it works very well in Telnet, and it worked very briefly on the 2 x RN314 of for of Yahoo SMTP settings.

    Eron - if you are unable to help further please add this problem to your support line... 3rd line?

    Thank you.

    And...

    I also tried my account GMAIL apps less secure according to this thread the value:

    https://community.NETGEAR.com/T5/using-your-ReadyNAS/cannot-set-up-alerts-on-my-ReadyNAS-RN314/TD-p/...

    GMAIL =

    ------------------------
    Email provider: Custom
    User: [email protected]
    Password: xxxxxxx
    SMTP server: smtp.gmail.com
    SMTP port: I've tried 25, 465, and 587
    From: [email protected]
    Use TLS: I tried checked and unchecked

    If this does not work on the RN314 but it works very well on the NV + of via Telnet and in an email client (x 2)

    Please escalate to your next level of support, thank you.

    Right, I have fixed on one of the RN314 far...

    I backed up all my data on this RN314 and did a factory default.

    I have reproduced the RN314 settings manually then nonworking time for the reset RN314 except for identification data, i.e., name, etc.

    Exactly as it was before... and now the RN314 in default works fine.

    I am currently backing up the data on the RN314 now inactive to perform a Setup factory on that one and see if that solves the problem on this one here.

    Then we can close this and I will refer to it with a new thread if I need if the second RN314 still has problems after the default settings.

  • Cannot set the time zone of Moscow winter + 3 hours.

    Cannot set the time zone of Moscow winter + 3 hours.
    Set the time zone Minsk 3 after the GPS clock moves forward 1 hour, timezone is set back from Moscow + 4.
    It is an error of your software when you are ready to address this issue.

    Automatic deactivation date & time(Settings>Date&Time...)

  • Cannot set the default printer. error 0 X 00000709

    Hi all

    Cannot set any printer as the default printer. An error message appears, error 0 X 00000709. I have tried to use a guide on the Forums, on the Windows system registry, still does not work. And I couldn't print anything using the PDF, but Words of Microsoft Excel and Notepad are able to print. In addition "format the hard drive, create a user and Fix a user profile is corrupted", is there a solution? Help will be very appreciated.

    Thank you

    Aaron Kwan

    Hi Aaron,

    I appreciate your efforts to solve the problem.

    What is the brand and model of the printer?

    This problem can occur if the wires that are not connected correctly, due to corruption drivers, drivers incompatible, if print spooler service is not started, because of problems with the printer and the printer, missing updates settings.

    Method 1:
    I suggest you to run the fixit and check if it helps.

    Diagnose and automatically fix problems printing and printer
    http://support.Microsoft.com/mats/printing_problems/

     

    Method 2:
    If the problem persists, I suggest you temporarily disable the security software of the computer and check.

    Disable the antivirus software.
    http://Windows.Microsoft.com/en-us/Windows7/disable-antivirus-software

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

     

    Method 3:
    If the problem persists, I suggest you try the procedure described in the article and see if it helps.


    Note:
    try all the steps except the resolution of problems.

    Printer in Windows problems
    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

    Check out the link for more information:

    Resolve PDF printing problems. Acrobat, Reader
    http://helpx.Adobe.com/Acrobat/KB/troubleshoot-PDF-printing-Acrobat-Reader.html

    Hope this information helps. Answer the post with an up-to-date issue report to help you further.

  • Customer connection remains for the data control

    Hello

    I ve recently created an ejb rest aplication consequence with the tutorial of:https://blogs.oracle.com/imc/entry/building_simple_java_ee_rest

    It works perfectly in factor.

    Now, I want to create the client application.

    I started to make adf web application, and in the template project, I want to get the webservice through the connection still to expose it as a datacontrol to user interface layer.

    However, I m in web service data to create order Wizard, in the first step, create the connection REMAINS, I put endpoint URL: "the url I get when deploy the web service application" but when I test gives:' error received: forbidden ' or if I put the url of a method: ' received error: the source cannot be found.'

    How can I fix it, please.

    Thanks in advance.

    Carlos

    Your REST is back JSON or XML.

    The REST data control now supports only the XML responses.

    Here's a demo of use basis:

    https://blogs.Oracle.com/Shay/entry/accessing_remote_databases_from_oracle

    If you return JSON, at this point, you create a Java class that parses the JSON and then to expose this class as a data control.

  • With the help of AMPA on non - WS Data Controls

    Hello community MAF .

    I'm developing an Application of MAF that consumes the REST API of WebCenter portal (which is based on the model of HATEOAS).

    I want to make powerful from scratch, including the following:

    -Offline mode (using the SQLite).

    -Persistence, of setting cache and synchronization using AMPA.

    Looks like it's not easier to apply directly on the REST API of WCP AMPA.

    The REST API of WCP is the result of a call of two steps:

    1) authenticate using BASIC authentication against http://Host/repos/api/resourceIndex for the utoken

    (2) use utoken as the URL parameter for the next call of REST for the specific service.

    I know that the Bus Service could be a possibility on the creation of a more simple REST on the WCP REST API, but is not an option right now because that is not easy to map.

    My questions are:

    (1) can we use AMPA on data controls in Java that will call internally to (DB in case of offline mode, REST by program in the case of online mode).

    (2) can define us manually in the persistenceMapping.xml?

    (3) is there anything else more easy to use wizards with HATEOAS base based Services?

    Thanks in advance

    Kind regards.

    Daniel,

    Why is it not service bus an option? You say 'not easy to map', but do the mapping in the MAF makes it not easier, it? the REST API of pressurization is not very easy to mobile, so this transformation to a more usable by using bus service API cost as a good idea for me. See also this article from the A-team.

    Answers to your questions:

    (1) Yes, this is the added value of nucleus of AMPA. You get a service generated the DTC Assistant classes, then you turn this class in a bean data control and use this data control bean for the construction of your user interface. The service class will access local DB and the service REMAINS remote. By default, AMPA will directly show the current data of the local DB, and then in the background call the REST service (online) and refresh the UI, once the REST call has been processed. But this behavior is very configurable and can be changed as you wish.

    (2) Yes, of course, you can manually create data objects, classes of service and persistence mappings, but the wizard is generally much faster.

    (3) HATEOAS logical not for the dynamics of UI where the next action is determined by a link returned in the payload. It is a different model from the static of the UI we build in general with MAF. What is your problem with the help of the wizard of the AMPA?

    Steven Davelaar,

    Oracle Mobile & Cloud A-team.

  • Pagination not working not not for POJO data control

    I'm running 37 sample downloaded from here.  The PDF indicates to post in this forum for issues found examples so here I am.

    037. how to build the pagination in the POJO ADF data control

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/index-101235.html

    He's talking about Add method to handle paging that takes the index and the beach

    method called by the link layer of ADF to run paging
    public list < employees > Edgeham (int index, int range) {}

    However when I run the sample and set a breakpoint on this method, this method never is called. Only the method that retrieves the entire list is called.  Table extracted data ranges that I scroll to the bottom and I see data recovery... popup, but because this method is not called is not really paging to the model only at the link layer, so I don't have any focal point for range all the way to the service call to a web service to support paging.

    No idea how to operate paging?

    Never mind.  I found the problem.  I didn't know that the example had not been fully implemented.  The instructions say to add a DataControlHandler to the DataControls.dcx and which had not been done.  It works after I added that.

    <>

    definition BeanClass = "oracle.pojo.facade.SessionFacade"

    DataControlHandler = "oracle.adf.model.adapter.bean.DataFilterHandler"

    xmlns ="http://xmlns.oracle.com/adfm/adapter/bean" / > ".

  • data control - list is displayed before the method assigns the value

    Hello

    I have a page of the adf, which displays buttons in a table - a button by rank.

    by clicking on the button, I open a pop up that displays content specific to this button.

    That's what I have in my adf page:

    "< af:commandImageLink icon="/images/button.png ".

    ID = "cil1".

    partialSubmit = 'true '.

    action = "click on" >

    < name f: attribute = "id" value = "#{row.ID}" / >

    < af:clientListener = "clientAction" method

    type = 'action' / >

    < af:serverListener type = "serverAction".

    Method = "#{ContentGenerator.ButtonClicked}" / >

    "< popupId = af:showPopupBehavior": myPopup "/ >"

    < / af:commandImageLink >

    clicking this button opens a pop up, and it calls the buttonClicked() and ContentGenerator of class-

    public class ContentGenerator {}

    private list < String > contentList = null;

    getter and setter for contentList

    private String id = null;

    public ContentGenerator() {}

    System.out.println ("id->" + id);

    generate content based on id and defined in the contentList parameter list

    }

    {} public void buttonClicked (ClientEvent actionEvent)

    ID = (String) actionEvent.getComponent () .getAttributes () .get ("id");

    System.out.println ("id->" + id);

    }

    }

    I dropped a table in the popup for this contentList data control parameter (ClassGenerator is a data control).

    the issue I'm facing is:

    I get the good method of buttonClicked() id. However the ClassGenerator constructor is called before and I get null so my list of content does not get generated.

    I tried to generate content in the buttonClicked() method and updated list in contentList parameter but always popup does not appear anything in the table. probably contentList is already read by popup, and it is set to null.

    public class ContentGenerator {}

    private list < String > contentList = null;

    getter and setter for contentList

    private String id = null;

    public ContentGenerator() {}

    System.out.println ("id->" + id);

    }

    {} public void buttonClicked (ClientEvent actionEvent)

    ID = (String) actionEvent.getComponent () .getAttributes () .get ("id");

    System.out.println ("id->" + id);

    generate content based on id and defined in the contentList parameter list

    }

    }

    my version of jdeveloper is 11.1.1.7.

    Please suggest what should I change?

    Thank you.

    Here you have the solution.

    https://DL.dropboxusercontent.com/u/46128268/OTN-samples/OTNPopup.rar

    The main elements are:

    
                          
                            
    
    

    clientComponent = 'true' and clientAttribute to send values to af:popup


    In af:popup:

    
                      
    

    eventContext to Launcher and launcherVar to get the attributes sent.

    Scope of the variable to viewScope in a listener of type popupFetch.

    If you take a look in the methodAction of home.jspx binding, the name parameter has the value viewScope.dogname.


    We must also change the iterator binding refresh to IfNeeded if deferred to re-run the iterator when the setting is changed.

    I hope that with the sample, you can realize you're objective.

    Sorry if I confused you before but I need refresh my ADF.

    Kind regards.

  • Create table with several Collections of data control

    Hello

    I have a requirement about to display data in a table. It shows simple, but certain columns in the table are within a collection, and the others are in another collection. I read this chapter Creation of ADF Databound Tables - 11 g Release 1 (11.1.1.7.0), and she explains to create the table with a collection.

    I have no knowledge on the model, I know just as control data, so what should I do? :

    -Ask for the template designer to redraw the control of data to include a collection with all the data?

    -Try to work with the actual data control? If so, how can I create the table several Collections of data control?

    Plese let me know if there is another solution. I work with JDeveloper 11.1.1.7.

    Thank you!

    AAPDL

    Hello

    You can have a managed bean that e... g exposes an ArrayList of objects. This can then binds to the value property of the table. If the object sets the information of table row combination that you get multiple iterators (collections), then the table will display the joined data.

    Frank

Maybe you are looking for