ADF calendar setting AvailableViews on initial load

Hello

JDev Version: 12.1.3

I'm working on calendar ADF for a customer requirement. In recent weeks calendar, he could have more than 200 activities and this makes very slow calendar week and month view rendering.

I am therefore dynamically trying to availableViews schedule based on the number of specific week activities. If there are too many activities this week, I'm disabling of the week, month, and list of the modes of the calendar.

There are three steps that I put it. First and second work correctly. However, in a third, I am facing following error message:

java.lang.UnsupportedOperationException: ADF_FACES-60080: attribute 'availableViews' of the calendar contains valid values.

There are three steps:

1 users click the arrows for previous and next. I use calendarDisplayChangeListener. This works as expected.

    public void displayChangeListener(CalendarDisplayChangeEvent calendarDisplayChangeEvent) {
        if (calendarDisplayChangeEvent.getNewActiveDay() == null) {
            Date activeDay = getCalendar().getActiveDay();
            setCalendarViews(getResourceId(), activeDay == null ? new Date() : getCalendar().getActiveDay());
        } else {
            setCalendarViews(getResourceId(), calendarDisplayChangeEvent.getNewActiveDay());
        }
    }

    private void setCalendarViews(Number resourceId, java.util.Date d) {
        OperationBinding getAvaliableViews = ADFUtils.findOperation("getAvaliableViews");
        getAvaliableViews.getParamsMap().put("resourceId", resourceId);
        getAvaliableViews.getParamsMap().put("activeDate", DateConversion.getSqlDateFromUtilDate(d));
        String views = (String) getAvaliableViews.execute();   
        List<String> avaliableViews = new ArrayList<String>();
        avaliableViews.clear();
        if ("day".equals(views)) {
            avaliableViews.add("day");
            getCalendar().setAvailableViews(avaliableViews);
            getCalendar().setView("day");
        } 
        else {
            avaliableViews.add("all");
            getCalendar().setAvailableViews(avaliableViews);
        }
    }

2. users can change suppliers of a drop-down list box. It works also as expected.

    public void changeGarageListener(ValueChangeEvent valueChangeEvent) {
        valueChangeEvent.getComponent().processUpdates(FacesContext.getCurrentInstance());
        Number resourceId = (Number)getIdFromLov("XxntcInventoriesVO1", "ResourceId");       
        _logger.warning(resourceId.toString());
        Date d = null;
        if (getCalendar().getActiveDay() != null) {
            d = getCalendar().getActiveDay();
        } else {
            d = new Date();
        }
        setCalendarViews(resourceId, d);  
    }

3. the loading of the page, I need to define views of the calendar. To do this, I use method call activities in the workflow. In this method, I can not set component properties directly because he has not yet been made. Therefore, I use EL Expression on the availableViews property.

    public void setDefaultCalendarView() {
        OperationBinding getAvaliableViews = ADFUtils.findOperation("getAvaliableViews");
        getAvaliableViews.getParamsMap().put("resourceId", getResourceId());
        getAvaliableViews.getParamsMap().put("activeDate", DateConversion.getSqlDateFromUtilDate(new Date()));
        String views = (String) getAvaliableViews.execute();   
        List<String> avaliableViews = getInitialAvaliableViews();
        avaliableViews.clear();
        avaliableViews.add("day");
        /*
        if ("day".equals(views)) {
            avaliableViews.add("day");
        } 
        else {
            avaliableViews.add("all");
            //avaliableViews.add("day");
            //avaliableViews.add("week");
            //avaliableViews.add("month");
            //avaliableViews.add("list");
        }*/
        
        setInitialAvaliableViews(avaliableViews);
    } 


Common properties of the calendar:

            <af:calendar value="#{bindings.XxntcCsCalendarActivitiesEOVO1.calendarModel}" id="c1"
                         styleClass="AFStretchWidth" toolboxLayout="all customToolbar" inlineStyle="caption-side:start;"
                         partialTriggers="soc1 s1:b3 emptyAssignButton b4 b2"
                         activityStyles="#{calendarRequest.activityStyles}" binding="#{calendarRequest.calendar}"
                         calendarActivityListener="#{calendarRequest.activityListener}" view="day"
                         calendarDisplayChangeListener="#{calendarRequest.displayChangeListener}"
                         availableViews="#{calendarRequest.initialAvaliableViews}">


This also puts availableViews correctly and calendar is rendered as expected. However, when I click to an activity CalendarActivityListener is not fired. Instead, he throws after error message:

java.lang.UnsupportedOperationException: ADF_FACES-60080: attribute 'availableViews' of the calendar contains valid values.


Here are my questions:

1. why this is happening? Any solution to this problem?

2. is there any other way I can define properties of calendar just before it renders without using Expression EL?

3. is there another approach to the third step?


Kind regards

Anil


What is the scope of the calendarRequest bean? (this should be extended pageFlow or session)

Dario

Tags: Java

Similar Questions

  • How to change the colors of the ADF calendar from different suppliers?

    Hello again once I use JDeveloper, 11.1.2.3.0,

    This might be the third question I ask here on this subject, and until now, I didn't get any answer.

    CAN SOMEONE PLEASE PROVIDE AN EXAMPLE OR A TUTORIAL ON HOW TO CHANGE THE COLORS OF THE ADF CALENDAR ITEM?

    Sorry for asking again, but I find it very cool that nobody answers to these questions. Y at - it a bug or nobody knows really how to customize the calendar component?

    Hi user,

    Here a few steps:

    (1) create a bean

    (2) create a variable with the hash table data type, for example:

    private HashMap activityStyles = new HashMap<>, InstanceStyles > ();

    (3) create a method where you load the desired styles, for example:

    public void loadactivityStyles() {}

    try {}

    HashSet setconf = new HashSet();

    HashSet setnoconf = new HashSet();

    HashSet setadm = new HashSet();

    setconf. Add ("STATUS 1");

    setnoconf. Add ("SITUATION 2");

    setadm. Add ("STATUS 3");

    activityStyles.put (setconf, CalendarActivityRamp.getActivityRamp (CalendarActivityRamp.RampKey.GREEN));

    activityStyles.put (setnoconf, CalendarActivityRamp.getActivityRamp (CalendarActivityRamp.RampKey.ORANGE));

    activityStyles.put (setadm, CalendarActivityRamp.getActivityRamp (CalendarActivityRamp.RampKey.BLUE));

    }

    {(4) set the activityStyles variable in the calendar component property "activityStyles = #{myBean.activityStyles"}

    (5) set your field of Tag calendar (located in the Wizard) the field of the VO that contain the values configured in the method (1 STATE, STATE 2, STATE 3, etc.). It allows to to correspond with the activityStyles variable when running.

    (6) run and see the colors.

    Good luck.

    Jhon Carrillo

  • ADF calendar refresh issue after creating an event

    Studio Edition Version 11.1.1.7.0

    Of summarized the issue: supporting the bean when we queue to a < af:commandLink. ADF event doesnot registered ReturnListner is called

    Real-world scenario

    We use the component adf:calendar on double click on a calendar date, we call a workflow for create/edit an event. After that the user submits and returns to

    Main calendar, that the data are not updated.

    Information on the implementation:

    Step 1: Jsff

    Double click calendarListener = pageFlowScope.calendarBean. onCalendarEvent is called

    < af:calendar id = "c1" startDayOfWeek = 'my' view = 'list '.

    toolboxLayout = "all the customToolbarCreate.

    styleClass = "CALcss AFStretchWidth"

    value = "#{bindings." CalendarFilteredEventsVO1.calendarModel}.

    Binding = "#{pageFlowScope.calendarBean.Calendar} '"

    calendarActivityListener = "#{pageFlowScope.calendarBean.onCalendarActivityEvent} '"

    activityStyles = "#{pageFlowScope.calendarBean.activityStyles} '"

    partialTriggers = 'cb1 cmi1.

    calendarListener = "#{pageFlowScope.calendarBean. onCalendarEvent}" >

    Step 2: backing bean

    support bean calendarBean. onCalendarEvent

    The event is pending

    ActionEvent actionEvent1 = new ActionEvent (callCreate);

    actionEvent1.queue ();

    Step 3: jsff

    This event, which is on hold will call the workflow

    < af:commandLink id = "cl1" visible = "false".

    returnListener = "#{pageFlowScope.calendarBean.refreshCalendar} '"

    styleClass = "miniViewText hide-mobile."

    action = "createEdit" useWindow = "true" windowWidth = "600".

    windowHeight = "400" windowEmbedStyle = "inlineDocument".

    Binding = "#{pageFlowScope.calendarBean.callCreate}" >

    But after have create/edit the workflow task is completed, the registered ReturnListner is not called.

    Where we have logic to update the calendar.

    Need Urgent help on this. Or double-click any alternative to implement

    The problem is resolved.

    1. creates a Wraper workflow... Placed the Parent task flow and pagedef added a refresh on sessionVariable condition.

    2. child special pop up flow displaying sets a session variable that lead to an update of parent.

  • Initial load limits

    How to set a limit of initial charge in CC animate?

    I create a few banner ads that range in size from 500 to 750KB total size, the group by placing ads has a limit of 150 initial load file size / total size 2.2 MB.

    How can I get my files to fit these constraints?

    Thank you

    Dan

    If they do not have their own API for loading of Polish and you can not third party serve these, I'll try to see if they will accept your announcements to Animate; Animate already includes a body.onload event which expects that all resources to download before beginning to banners.

    Given that your banners are so heavy, you'll probably want to include a preloader (easy to implement within Animate).

  • GoldenGate Initial load to only generate log file

    Hi all

    OS version: Oracle Linux 6

    Version GG: 11.2.1.0.6

    We implement in our env Setup GG, where trail source files will be urged to target and tool Abinitio target read gg track files (via abinitio plug) and load data in the target of Teradata Database incremental. We have an obligation to initial charge of small tables, for this we intend to use gg.

    Is it possible to generate the initial load of GG in the form of files (canonical format IE gg native format) of the track at the source and sent to target where target Abinitio will use same files to load into the Teradata Database.

    AM trying as follows with our replicat but it does not work

    EXTRACT TEST_INI

    SOURCEISTABLE

    Username Ggate, PASSWORD ggate

    RMTHOST SEC12_SEC, MGRPORT 7809

    RMTTRAIL ./dirdat/VC

    TABLE GGATE. TEST1;

    Thanks in advance.


    Concerning

    KVM

    MVK,

    So you say that the extract stopped and that's all that is in the report file? It does not even show that it had tried to connect to the remote system. An other INFO and VIEW the REPORT to verify that it has not progressed further. Check the ggserr.log on the source and remote systems. Looking for a gglog .dmp -file in the install OGG on the source directory.

    Best regards

    Mary

  • GoldenGate OGG-01194 in initial load

    I have this error when start the extract of initial charging process:

    GSI > view report ext1
    2012-04-16 23:33:40 WARNING EXTRACT OGG-01194 task added REP1: Table USR1. T does not exist in the target database.

    I already check that the table usr1. T does not exist in the target, is not created in the source.
    Go there at the time of the initial load process automatically creates the table built in the target? or... I don't have to create the table structure in the menu start the e target the initial charge went after?

    Thank you

    Before you run the loading process Initial you create the target table.

  • Initial load

    Dear experts,

    Is it possible to use the RANGE option in the initial load options. We must compare two latency of initial load of product. We have tested the initial charge with export/import options, but we need to test the initial charge, with direct load option. for this I would try spilit tables with the help of the function @RANGE is it possible in directload since there is no file of track will be used? Please confirm. also the advice which method is will give latency if direct charge or file to replicate method. We need to test only those two other options that carry tablespace, exp/IMP please help on it to show the low latency time on the initial load process in GG

    Oragg wrote:
    Dear experts,

    Is it possible to use the RANGE option in the initial load options. We must compare two latency of initial load of product. We have tested the initial charge with export/import options, but we need to test the initial charge, with direct load option. for this I would try spilit tables with the help of the function @RANGE is it possible in directload since there is no file of track will be used? Please confirm. also the advice which method is will give latency if direct charge or file to replicate method. We need to test only those two other options that carry tablespace, exp/IMP please help on it to show the low latency time on the initial load process in GG

    I don't know if '@range' has no meaning for the direct load; you will have to try it, but I doubt it.

    First the standard disclaimer: I posted a lot lately in what concerns GG & IPL using rmttask (i.e., avoid it); as you mention, native methods or the GG certainly 'rmtfile' to organize the data is rather technical instantiation preferable target. The question is this: it is impossible to say what is the throughput/latency of the 'rmttask' for the initial charge, because if it fails for some reason, the whole process should be repeated (there no control point to allow the restart after failure, even if most of the data has been copied successfully). So let's say "rmttask" (direct load) is 50% faster than rmtfile, transportable tablespace, etc... but if the rmttask fails in the 11th hour (metaphorically speaking) because of certain constraints on the target, lack of disk space, accidental 'kill' or else... then, it needs to be rerun from the beginning. All of a sudden 'rmttask' takes 2 x longer than expected and is now as long as the other tested methods. So can start the process again you... and maybe it will fail again after many hours because of some other problem. Now it is 2 x more than the other methods tested, and you still have made no progress and cannot estimate when the data transfer is over...

    That said (repeatedly), to win the parallelism of an initial charge of GG, instead of '@range' you can look to the help of 'sqlpredicate' and a 'where' clause on the source DB extract to achieve basically the same thing. Run excerpts of source as the source DB & your foreign key dependencies will allow and then reproduce as much remote replicates because the target DB will allow.

    However, if you use RmtFile instead of rmttask, then multiple replicat can consume the same trail to increase parallelism by using @range. This may be associated with sqlpredicate & clause "where" on the source DB to create several trails are the target. (These are some of the options available, there may be other options.)

    Good luck
    m

    PS: for my future reference, - related posts:

  • How to set the timeout for the INITIAL LOAD EXTRACTED?

    Hi all

    GG 11.2 SQLserver2008

    I extract a single large table size of 20 G., but it seems I hit the limit of timeout? Or another resource limit? Or I do not know if.

    Here is my error:

    2013-06-22 15:43:36 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error 0 (operation ends with success.) get position in d:\GGora\dirdat\ex.

    2013-06-22 15:43:36 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error 0 (operation ends with success.) get position in d:\GGora\dirdat\ex.

    2013-06-22 15:43:36 INFO OGG - 01085 Oracle GoldenGate for Oracle Collector: the server received window closed event.

    2013-06-22 15:43:36 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error 0 (operation ends with success.) get position in d:\GGora\dirdat\ex.

    2013-06-22 15:59:38 INFO OGG - 00963 Oracle GoldenGate for Oracle, Manager MGR.prm: command received from EXTRACT on host DTC - PC.domain (START SERVER CPU-1 PRI-1 TIMEOUT 300 PARAMS).

    2013-06-22 15:59:39 INFO OGG - 01677 Oracle GoldenGate for Oracle Collector: pending (dynamically assigned) connection.

    2013-06-22 15:59:39 INFO OGG - 00963 Oracle GoldenGate for Oracle, Manager MGR.prm: command received from host DTCKalayaan-PC (REPORT 1280 7819) SERVER.

    2013-06-22 15:59:39 INFO OGG - 00974 Oracle GoldenGate Manager for Oracle, MGR.prm: Manager started the collector process (Port 7819).

    2013-06-22 15:59:39 INFO OGG - 01228 Oracle GoldenGate for Oracle Collector: Timeout 300 seconds.

    2013-06-22 15:59:44 OGG - 01229 Oracle GoldenGate for Oracle Collector INFO: connected to DTC - PC.domain:56507.

    2013-06-22 15:59:44 OGG - 01669 Oracle GoldenGate for Oracle Collector INFO: opening d:\GGora\dirdat\ex (byte 0, EOF current 0).

    2013-06-22 16:06:33 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error 0 (operation ends with success.) get position in d:\GGora\dirdat\ex.

    2013-06-22 16:12:08 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error 0 (operation ends with success.) get position in d:\GGora\dirdat\ex.

    2013-06-22 16:12:08 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error 87 (the parameter is incorrect.) get position in d:\GGora\dirdat\ex.

    2013-06-22 16:12:08 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error getting file for d:\GGora\dirdat\ex position (87, the parameter is incorrect.).

    2013-06-22 16:12:08 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error getting file for d:\GGora\dirdat\ex position (87, the parameter is incorrect.).

    2013-06-22 16:12:08 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error getting file for d:\GGora\dirdat\ex position (87, the parameter is incorrect.).

    2013-06-22 16:12:09 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error getting file for d:\GGora\dirdat\ex position (87, the parameter is incorrect.).

    2013-06-22 16:12:09 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error getting file for d:\GGora\dirdat\ex position (87, the parameter is incorrect.).

    2013-06-22 16:12:09 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error getting file for d:\GGora\dirdat\ex position (87, the parameter is incorrect.).

    2013-06-22 16:12:09 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error getting file for d:\GGora\dirdat\ex position (87, the parameter is incorrect.).

    Where should I put the limit?

    Thank you

    zxy

    Sorry, misread the part 'server' in what you use. Data Pump is Oracle, MSSQL not. But, you can do a dump of csv data, and then use SQL * Loader. Alternatively, use the CSV (one for each table, a bit heavier) files in the form of external tables.

    4 GB is worth considering:

    The EXTFILE parameter to specify a file extracted, which is a local file that will be read by

    a group of extract from pump data on the local system, or to specify a replicate file extracted local

    bed when SPECIALRUN is used. The size of an extracted file must not exceed 2GB.

  • Why isn't my default calendar setting - economy - to defragment maintenance?

    I managed to get Defrag to work. But when I set the schedule, & check the "dun recommend the calendar" box-it reads to get an update for regular maintenance. However, when I close the box & reopen, the date of "next schedule run" - said '' never. ''

    How can I set this default?
    Dawn Harvey J

    Hello

    1 did you change on your computer?

    2 did you receive an error message?

    Method 1:

    I suggest you to follow the steps and check.

    How to automate the defragmentation in Windows 7 (this also applies to windows vista) and the Appendix

    (a) start the Task Scheduler to Accessories-> system tools.

    (b) on the right pane of the most Select create basic task.

    (c) enter a name for the task. The description is optional, then click on Next.

    (d) in the job triggers, select the option that works for you. We go for weekly defragmentation and click on Next.

    (e) choose the day and time according to your preference when you want the Defragmenter to run every week, click on Next.

    (f) choose a program among the actions, click on Next.

    (g) type defrag/c/v/u in the program/script text box and select Next and then OK.

    the parameters h) review of the task and complete the task. Defragmentation will now load on the time and day that you have specified every week.

    (i) the argument/c implies all volumes, if you want to defragment only a single or some partitions replace c/c/c with the drive you want to defrag i.e. c: d: etc.. The argument and / v and / u display out of fragmentation and advancement in the command window respectively

    I also suggest that you check for disk error.

    Check your hard drive for errors

    http://Windows.Microsoft.com/en-us/Windows-Vista/check-your-hard-disk-for-errors

    Important: When running chkdsk on the drive hard if bad sectors are found on the disk hard when chkdsk attempts to repair this area so all available data on this risk to be lost

  • Performance problem for the ADF calendar

    Hello

    We intend to apply the calendar adf for one of our customers. They will use the calendar as a planner. There will be at least 350-500 activities for a provider and a month.

    We are filtering of calendar data by selecting provider from the drop-down list box. However, execution of the view object takes about 4-5 seconds and activities appear 15 seconds. Total waiting time may be 20 seconds.

    How can I improve performance? Customer will use the calendar as a scheduler of tasks online. Therefore, it must be very fast.

    JDeveloper Version: 11.1.1.6.0

    Please note that all the components are bind to the backup of the attributes of bean whose calendar itself jsff layout.

    Steps for filtering:

    1 combo box action in backing bean:

        public void onResourceChange(ValueChangeEvent valueChangeEvent) {
            valueChangeEvent.getComponent().processUpdates(FacesContext.getCurrentInstance());
            if (valueChangeEvent.getNewValue() != null) {
                if(valueChangeEvent.getNewValue() != valueChangeEvent.getOldValue()) {
                    applyFilter();
                }
            }
            else {
                removeFilter();
            }   
            
            RequestContext context = RequestContext.getCurrentInstance(); 
            context.addPartialTarget(getC1());
        }
    

    2 ApplyFilter and removeFilter in backing bean methods:

        private void applyFilter() {
            DCBindingContainer dcbindings = (DCBindingContainer)ADFUtils.getBindingContainer();
            XxntcCalendarAMImpl am = (XxntcCalendarAMImpl)dcbindings.getDataControl().getApplicationModule(); 
            DCIteratorBinding garageIterator = ADFUtils.findIterator("XxntcGarageInfoVO1Iterator");
            Row currentGarageRow = garageIterator.getCurrentRow();
            Number resourceId = (Number)currentGarageRow.getAttribute("ResourceId");
            am.applyCalendarFilter(resourceId);        
        }
        
        private void removeFilter() {
            DCBindingContainer dcbindings = (DCBindingContainer)ADFUtils.getBindingContainer();
            XxntcCalendarAMImpl am = (XxntcCalendarAMImpl)dcbindings.getDataControl().getApplicationModule();  
            am.removeFilter();
        }
    

    3. the application model Impl applyCalendarFilter removeFilter methods and

        public void applyCalendarFilter(Number resourceId) {
            XxntcServiceCalendarEOVOImpl calendarVo = (XxntcServiceCalendarEOVOImpl)getXxntcServiceCalendarEOVO1();
            System.out.println(new java.util.Date());
            ViewCriteria vc = calendarVo.createViewCriteria();
            vc.setName("fiterCalendar");
            ViewCriteriaRow vcRow = vc.createViewCriteriaRow();
            vcRow.setAttribute("ResourceId", "= " + resourceId);
            vc.insertRow(vcRow);
            calendarVo.appendViewCriteria(vc);
            calendarVo.executeQuery();
            
            /*calendarVo.setWhereClause(null);
            calendarVo.setWhereClause("RESOURCE_ID = :pResourceId");
            calendarVo.defineNamedWhereClauseParam("pResourceId", null, null);
            calendarVo.setNamedWhereClauseParam("pResourceId",resourceId);         
            calendarVo.executeQuery();*/
            System.out.println(new java.util.Date());
        }
        
        public void removeFilter() {
            XxntcServiceCalendarEOVOImpl calendarVo = (XxntcServiceCalendarEOVOImpl)getXxntcServiceCalendarEOVO1();
            calendarVo.removeApplyViewCriteriaName("fiterCalendar");
            //calendarVo.removeNamedWhereClauseParam("pResourceId");
            calendarVo.executeQuery();
        }
    

    Kind regards

    Anil

    Hi all

    Problem is solved.

    There are three important points for the solution.

    1 oracle has proposed to use a separate iterator for suppliers. Here is the explanation of SR Oracle:

    @ The iterator binding of the calendar and the iterator binding of the

    @ suppliers are the same, there is no point at all. Normally, the

    @ the iterator binding calendar is for the events calendar and the provider

    @ the iterator is on another iterator which gives information about the provider, the

    @ provider in the timing of the event is the foreign key to the iterator of provider.

    @You need to create a table for the vendor and then set object entity / view

    @ the object on the table, an iterator will be generated. The provider_id in the

    @ event table should be the foreign key to the table of the provider and the

    @ providerDefinition must point to the iterator of the vo provider.

    @ You cannot use the same table to set the calendar events and providers,

    @ This just doesn't make sense.

    2. I am able to set the iterator range size if I use a separate iterator for suppliers. Otherwise, ADF throws it npe: ' java.lang.NullPointerException: ADFv: calendar activity Id and Vendor Id cannot be null. "

    3. I forgot to use parameters of connection (StartDayTime, EndDayTime and time zones) in my query where clause. Creation of a criteria like this where clause "((HrCalendarEvents.START_TIME > =: StartDayTime) AND (HrCalendarEvents.END_TIME)"<= :enddaytime="" )="" )="" "="" solves="" fetching="" all="" rows="" problem.="" now="" it="" fetches="" just="" current="" time="">

    Kind regards

    Anil

  • ADF: call to webservice on page load?

    I have an application with a search form that uses a Web ADF service call.
    The commandbutton control initializes the webservicecall and the records are retrieved in a read-only table.
    The loading of the page the webservice is also called and all data are taken from the table.
    How can I stop this?

    I searched the forum for similar questions but none of the answers helpful to me whas.
    I use Jdev 10.1.3.3.0

    Hello

    the most simple way, you can set #{adfFacesContext.postback} in the condition of discount for the method that calls the Web service for this way, it is not call on (postback) publication calls no. Another option is to reference a session flag

    Frank

  • BlackBerry Smartphones Blackberry Bold 9790 initial load

    Hey everybody I have now my new phone and the question I have is, how long should take the initial charge?  I have read several posts on other sites, and some say two hours, some say from one day to the next.  Thoughts?

    Charge it to 100%... you can not load beyond 100%.

    Whether it's 30 minutes or two hours.

    It is not really important with these Li - ion batteries. They do not have the "battery memory" of the past. "

  • Windows 8 calendar Set earlier in the week to Sunday

    Hello

    I sync my Facebook, Google and Hotmail calendars with the application calendar in Windows 8. I live in Israel, where the week starts on Sunday and I can't find where to set up that. In all of my online accounts, calendars are set to start Sunday.
    Kind regards
    Shai

    Hi Shai

    Is there no statement written by MS, to justify my answer, the answer is based on my knowledge & experience with W8 (exercise over 12 months in different versions, on a variety of W8 OS for PCs or laptops, have many other members of the forum). This topic has been discussed previously in these forums, with the result the same answer.

    There are several features that MS have not been included in W8, and by providing your comments, I hope they remedy certain features in future updates.

  • Help setting up MIrage with load balancer

    I'm trying to configure Mirage to use a F5 load balancer. We simply indicated the Mirage server and received an alias DNS and VIP of the N/W team. I not configure Mirage specifically on an F5 before, should it work without the guard dog service settings configured (at least up to a point where the client can connect)? Or the watchdog service must be configured?

    For setting up F5, we recommend enabling SSL and using SSL session ID persistence, also increase value of persistence for a few hours delay Mirage can be long connected and you don't want them to bounce around. A checkup at the service of Mirage generally configure TCP/half opened on the F5 that verifies that the service of the Mirage port is open. Also enable connections unless the method of balance load.

  • Dynamic region ADF in a popup does not load

    Hi Experts,

    Version 11.1.1.5 JDEV

    I have a page that contains a table, and each row has a command link on one of the columns.

    When I click on the link to order an action listener is called who decides the TF DYNAMICS that must be loaded in a pop-.

    Pop has up to a region Dynamics inside adf.

    The file clicked (using the command link)-based workflows are loaded in the dynamic area of the Popup.

    But, when I click on the link even for the second time or another record, that the pop-up is displayed under vacuum, the taskflow in the dynamic region isn't loaded at all. (getDynamicTaskFlowId is called and is also coated the correct TF to load)

    First, it works as expected, but its not the second time.

    I used conditional activation, but later, due to the above question, I tried to put a phrase #{true} for the property current to test if it works. There can be no.

    Please note that first time no problem. It does not work since the second click on the same record or any other document.

    Other suggestions to solve the problem above are very popular.

    Thank you

    Jean Claude

    Hello

    See: decompilation binary ADF: conditionally reset task flow displayed in a Popup

    Frank

Maybe you are looking for

  • Mail becomes incredibly slow, but only if I download attachments

    Mail becomes incredibly slow, but only if I download attachments (photos, files pdf, etc] This has happened a lot lately. If I get a message with, say, some photos attached Works Mail very well. However, if I can download files attached to my iMac ma

  • Tecra 8000 on XP pro... How to adjust the brightness

    Hello I recently bought a Tecra 8000 with XP Pro installed.Unfortunately the LCD display too bright, but I can find no way of setting it. I understand that there is a brightness of toshiba laptop display utility.Can someone tell me if there is one fo

  • Question of graphics performance

    I do not have what category this is going in I just put this in other categories. I have a HP Pavilion PC Desktop 500-189 with 8.1 for Windows x 64. So the problem is that my grapics preformance all had a down South. (For example on Minecraft before

  • When I install itunes, the old version of Hello can not be removed

    I tried all the other posts, but they are old answers and most of the stuff no longer works.  Can someone please help me get this off my computer.  My ipad will be here next week and I need ITUNES!

  • Windows 7 update does not find updates

    Whenever I try to update my computer manually, Windows 7 does not detect updates and will sit with the green bar goes all day. He began to do this maybe 3 months ago and I don't have time to focus on the issue so far. I am interested to get SP1, but