JDeveloper 11.1.2.3, ADF Faces: need idea of component declarative for table

Some information:

I am trying to create a reusable toolbar for the behavior of af: standard table, see screenshot

http://wesfang.files.WordPress.com/2013/05/DC.jpg


I had the idea of documentation, Frank has published in the past by
1. http://www.oracle.com/technetwork/developer-tools/adf/learnmore/001-access-declarative-comp-attr-169113.pdf
2. Add a new line by programming

The page of the subsystem of your past in a "MyPageBean" which is a subclass of a 'ArchBean' where all actionlistener operations are defined. The idea here is to minimize the developer customizing when using this component.

... <f:facet name="toolbar">             <af:toolbar id="t2">                 <mskcc:basicTransactionToolbar id="btt1" pageBean="#{MyPageBean}" tableId="t1"/>             </af:toolbar> </f:facet> ...

The table on the page of your default is filed "editable" tabular The developer must change the attribute 'disable' true for all fields of seizure and control components in the table. I would like to remove this step of developer and have rather in an architectural element. All ideas are welcome.

Hello

If the table is added in a facet of the declarative component toolbar, then you can access them in your component code declarative. The table has columns as his child, and each column has UI components such as child components. You can access these UI components and programmatically set the disabled property. All you need to know is the 'trigger' of this deactivation point. Can you try and create a custom declarative component impl class and use the method encodes?

Frank

Published by: Frank Nimphius, May 16, 2013 09:01

Tags: Java

Similar Questions

  • ADF Faces 10g: how to clear a &lt; af:table &gt; component?

    Hello

    I use JDeveloper/ADF 10.1.3.

    I have a page with 2 iterators on the same point of view (always in search mode), a search form and a table of results. As there are many rows in the view and I don't want to interrogate him without search criteria in order to avoid all the results, I put the refresh of the iterator property to ${adfFacesContext.postback == true}.

    I did a search button linking the Execute action and a reset button, forcing the find action. Now, when I hit the reset button, I also want to reset the table (query results) empty. How to do this? I couldn't find any method to empty all lines in lavel, nor to the iterator, table or view.

    Thanks in advance for your answers.

    Hello
    I don't have a declarative solution for you, but a few possible solutions or ideas to do.
    1 put a method in end of request module show the method to the client (data control). This method can either remove all the lines of the VO (call removeCurrentRowFromCollection() for each line currently in the t, but keep them in the DB).
    2. you can try to use executeEmptyRowSet() (I'm not sure that it is available in 10.1.3).) and hope that it deletes all rows of the rowset (the method is not documented, so I'm olny guess its function).
    3. run your search with parameters, you are sure that they will not return any result. This can be made from a bean to support.

    Timo

  • ADF Faces 11.1.2.4: Looking for information on the dynamic menu options and MDSMenuModel

    I'm looking for the feasibility of making the model default menu (created by the intermediary to generate xml based utf adfc-config file. XML) using other components of navigation as an af:panelaccordion. It does not look as if it was possible to create it is similar to the menu tutorial Dynamics navigationpane. I found no documentation useful about the MDSMenuModel and inspect, iterator returned object class hierarchy, they all point to the classes in the package org.apache.myfaces.trinidadinternal.menu (red flags). I would like to hear suggestions on how to proceed to those of you who have implemented this type of functionality. Thanks in advance.

    finally found the solution. for all those who are interested, here is a screen for my menu which can be dynamically rendered through several components of the tree based (currently using trees table Viewer and dvt of hierarchy).

    http://i.imgur.com/a8a5EyJ.jpg?1

    On the other hand, the accordion menu is slightly different depending on the details of my original question. The trick was to use the EL evaluator to decipher appropriate methods to call on the MDSMenuModel. The final expression to the next level for the value of the loop has become:

    #{menu_module_category.wrappedData.wrappedData [0] .children}

    marking correct because I deserve it!

  • Need idea of new printer for my continuous ink system

    Hello, my old HP 6510 comes to break, which had been hung to a CIS I liked (refills waiting so want to continue to use this particular CIS).   Looking for ideas on printer of the new HPs that will work with my CIS (HP02/802) Please!

    Regarding my use:

    used printer for a home (mac and PC)

    print a color mixing and pages without color,

    Print and copy about 50 pages a week.

    Must be a good color used for a few photos and graphics printer

    Does not need to be fast but I hate paper jams

    Fax not important but would like to scan

    I am very grateful for your help! I need to buy one as soon as possible

    You could buy a printer of opportunity on ebay, the models here support the HP 02 cartridges:

    Compatible printers (out since July 2005)

    With a volume of printing only fifty pages per week, a CIS system may be exaggerated.  I print on my Officejet 8600 thereon more and have just replaced the cartridges once in eighteen months.

  • including the extension in jdeveloper with ADF Faces?

    Hello

    We have an application with ADF Faces components that must be migrated to OracleAS weblogic 11 g Server (10.3.5).

    We strive to upgrade the application under jdeveloper 11.1.1.5.0.  I have 3 questions.

    1. which the ADF jdeveloper extension should download us for this purpose?

    We already seem to have the extensions 'Fusion Web Applications (ADF)' and ' Applications Java Desktop (ADF) "."

    2. during the upgrade, we were given an option to upgrade the ADF Faces in Trinidad, when this option has been chosen, we got a "unexpected mistake."

    is it necessary to go to TRINIDAD to be able to deploy successfully on weblogic 10.3.5? If Yes, is the extension for Jdeveloper MAVEN?

    3. in weblogic server, I understand, we need the extension JRF to support the length of the ADF, is there anything else that we need on weblogic server that the adf works?

    Thank you in advance.

    If the origins of your application of jdev 10g and runs on the OAS, you can migrate to Trinidad. No extension is required for this as the required libraries are already there. Maven is useless and will not work for 11.1.1.5.0. First version with the full support of MAVEN is 12 c.

    If you get an unexpected error during the migration from the old app to 11 g, you should try to find out

    (1) projects that is causing the error

    (2) file that is causing the error

    and work from there. There are some configurations that cannot be migrated (check the release notes), however they should not lead to unexpected errors. However, check the release notes.

    If you don't find anything and cannot pass through the error, you must open a SR with support.oracle.com.

    Next question is why migrate to 11.1.1.5.0 which is already obsolete.

    Timo

  • Where is the HTML of JDeveloper 11g ADF FACES?

    I use JDeveloper 11.1.1.2.0 for my project. I remembered in 10g I a list of HTML tags such as, afh:tableLayout, afh:cellFormat, etc. under ADF FACES HTML package. However, in new JDeveloper 11 g, I saw that ADF carrots and there is no ADF Faces HTML tag. They are always available in 11g? If so, how can I install these tags in JDeveloper 11 g?

    You will need to add the components of the Trinity to your project - tags are there.
    But the question is if you really need to use these components, or maybe the layout components that provide the ADF Faces will be enough for you.

  • JDeveloper 10 g &amp; ADF Faces: how to pass parameters to the html page request?

    I have a simple HTML as follows:
    ...
    < name of the form = "form1".
    action = "http://myserver/MyApp/faces/start.jsp".
    method = "POST" >
    < label for 'USER' = > USER < / label >
    < input type = "text" id = "USER" > < / input >
    < input type = "submit" value = "Send" > < / input >
    < / form > < / body >
    ...
    In my ADF Faces application, I traced a javax.servlet.Filter custom class with the following text for the doFilter method:

    ' Public Sub doFilter (ServletRequest request, ServletResponse response,)
    FilterChain chain) throws IOException,.
    ServletException {}

    System.out.println ("filter in MyApp");
    Map map = request.getParameterMap ();
    User String = (String) map.get('zoom') ("USER");
    System.out.println ("map of ask size:" + map.size () + "user:" + user);

    ...
    }

    What is printed:

    02/11/16 14:27:26 filter in MyApp

    02/11/16 14:27:26 length of content: 0 coding: iso-8859-1 getContentType: application/x-www-formulaires-urlencoded

    02/11/16 14:27:26 size request card: 0 user CRDBApps: null


    What can be the problem?

    Thank you!

    Hi Wes Fang

    Maybe you can try to use "name" instead of "id" for the input tag?

    
    

    success
    Jan Vervecken

  • Pls Help - ADF face and video Streaming Server

    Dear all,

    I want to display video files (only the marker .wmv) inside my ADF faces. The video files are running on Window Server supports.
    Is it features ADF file support showing the video inside the ADF Faces page. Our application doesn't use a database, we used the AAU to store all the content.
    Help me how to do to tackle this problem but also to see me useful articles.



    Best regards
    KT

    JDeveloper version: 11.1.1.5.0
    WebLogic 10.3

    Published by: KT on 10 Sep 2012 11:44

    Thank you Arun,

    This one works


    standbyText = "hello" id = "m2".
    Autostart = "true" playCount = '0 '.
    HauteurInterne = "300" LargeurInterne = "400" >

    * need to installed windows media plugin in the browser *.
    Useful articles
    http://www.baigzeeshan.com/2010/11/how-to-display-videos-in-ADF-fusion.html
    http://jobinesh.blogspot.SG/2011/07/tips-on-using-afmedia-to-display.html

  • Using OATMEAL - tests for Web Applications with ADF Faces functional

    Hello

    I have tried unsuccessfully to use web functional OATS to test to test a web application written
    with Oracle ADF faces (JDeveloper, ADF BC + ADF Faces).

    It is supposed to work or we are in the same situation as OpenScript when a version 9.1 for ADF Faces
    is scheduled for mid-2010?

    Concerning
    Paul

    Paul

    As you pointed out support for ADF will be released later this year, as it is now can use OpenScript to test ADF but is somewhat complicated and you need to do a bit of editing of your scripts.

    Concerning

    Alex

  • Zoom image using Jquery in ADF Faces

    Hello

    the body of each

    How are I hope to a fine

    Please I want to

    step by step to work

    Zoom image using Jquery in ADF Faces

    Hi user,

    Please specify your jdeveloper version

    Please check if link below help you

    http://www.awasthiashish.com/2014/12/image-zoom-power-zoomer-effect-using.html

  • Source of bean to ADF faces Rich Client Demo

    We use jdeveloper 12.1.3.We often have a glance on the oracle "ADF faces Rich Client Demo" (http://jdevadf.oracle.com/adf-richclient-demo).  With this link, we have a lot of examples, and it is possible to display the source of the pages. But is it possible to have the source of the beans used in these pages?

    Thanks for your help

    User

    Check - How to get the source code of the demo ADF page.

    ADF Faces components demo Install Instructions

    http://docs.Oracle.com/CD/E16162_01/Web.1112/e16181/gs_demo.htm#ADFUI12741

    Ashish

  • ADF faces components internationalization

    Hello

    I need customize my jspx on common language runtime page to show the content of the page in different languages. I need internationalization ADF faces component level as well. For example, I need the recovery message from table, the components panel menus in the indicated language at run time. I am able to do this for languages like french, German etc by doing two simple steps,

    1. in the JSPX page, set the view label to the locals as < f: view local = "fr" >

    2. register the local in the file faces - config.Xml.

    And I am able to see the languages changed in these components.

    But if I put the Chinese < f: view local = "zh_Ch" >... I am not able to see the changes. Please let me know how I can fix it.

    User, tell us your version of jdev, please!

    Should we not locale 'zh_CN '?

    There is no location for a language "zh_Ch".

    Timo

  • Combination of ADF Faces and JSTL is advisable or trap?

    Dear all,

    Our applications(ADF/Webcenter) of fusion using JSTL and ADF Faces inside is advisable or pitfall. ADF Faces features are enough or do we need to rely on the JSTL functions? I prefer to use ADF Faces/JSF functions without the combination with others.

    for example 1


    < jsp:root xmlns:jsp = "http://java.sun.com/JSP/Page" version = "2.1".
    xmlns:f = "http://java.sun.com/jsf/core".
    xmlns:h = "http://java.sun.com/jsf/html".
    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich".
    xmlns:fn = "http://java.sun.com/jsp/jstl/functions" >

    for example 2

    < jsp:root xmlns:jsp = "http://java.sun.com/JSP/Page" version = "2.1".
    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich".
    xmlns:f = "http://java.sun.com/jsf/core".
    xmlns:h = "http://java.sun.com/jsf/html".
    xmlns = "http://java.sun.com/jsp/jstl/core" >


    Best regards
    KT

    Hello

    Our applications(ADF/Webcenter) of fusion using JSTL and ADF Faces inside is advisable or pitfal?

    To suggest a rule: feature edge try ADF Faces before reaching out to the JSTL. The difference between JSTL and JSF in general, is that the JSTL expressions are evaluated in compiling page while JSF expressions are evaluated deferred. This difference can have an impact on the PPR updates and data rendering (which, in many cases I guess you can fix by defining the ADF Faces, content delivery component immediate instead of deferred). On a light background, I scored with a JSTL alert 'heads up' for this reason

    Frank

  • Mix ADF Faces with HTML, JavaScript, CSS, JSTL question

    Dear all,

    The project is now starting to deploy to the production server. When we try to deploy to the production server who made a lot of mistake. As this used widely used project mix ADF faces with
    HTML/JavaScript/CSS/JSTL. I would like to know what are the most error when we have mixed to use each one and how can we overcome them there?
    There is in the project

    1 mix of tags html with ADF Faces components
    2. the use of JavaScript/CSS inline
    3. mix the JSF/ADF Faces and JSTL tags

    Help me how to address this issues as well as links to useful blog.

    JDeveloper IDE version: 11.1.1.5.0 with Webcenter
    WebLogic version: 10.3



    Best regards
    KT

    Published by: KT on May 16, 2013 21:23

    Hello

    In addition to this project widely used mixture ADF faces with HTML, JavaScript, CSS, JSTL.

    JavaScript, CSS, and JSTL is not a problem, whereas - according to the JSF version - HTML is. JSF 2 is the first version of the JSF, which allows you to mix HTML with less side effects, if you use Facelets as view declaration language.

    I would like to know what are the most error when we have mixed to use each one and how can we overcome them there?

    There is in the project

    + 1. mixture of html with ADF Faces components tags +.

    This could ruin your pages, lead to update issues and - in case of frequent use in the trees - even destroy the functionality

    + 2. online use of JavaScript / CSS +.

    Poor performance because of heavy weight pages. If you were using ADF Faces and your JS addresses the DOM instead of the architecture of client cJavaScript ADF Faces then chances are JS will fail for the components that have changed their HTML output (which has an impact on the DOM structure) or changes are not submitted to the server.

    For CSS, CSS inlineStyle not applay to the DOM element that is external, which means for example af:input the background text color will color the lavel

    + 3. mix JSTL and JSF/ADF Faces tags +.

    Dependa on how you do. JSF has postponed EL syntax, which means that EL resolves at run time, whereas JSTL resolves at compile time. So the race conditions could become a problem

    Overall, it is difficult to say if things were coded wrong in the project (although for the use of HTML you can be sure) without seeing the code. It seems that the team that built the application however did not dare to the suite of recommended practices

    Frank

  • How should I do side tabs in ADF Faces?

    A common component in the web pages of today is an element, similar to the af: panelTabbed, but with the tabs on the side (start, end) for the position, instead of above and below only as panelTabbed. I also see this in JDeveloper in the property inspector and other void signs during their layout is horizontal. For example, ADF Faces has a component that does this? How would I do that. Any suggestions?

    The tab item can be on top or below.
    If you want to have the side tabs, you could use af:commandImageLink with an image of the tab. When you press it, you can switch the content on the right, for example by using an af:switcher or a dynamic region.

Maybe you are looking for

  • Moving tabs between windows is broken.

    It is on a Windows 7 64 bit computer with the latest version of Firefox (16.0.2). Older versions of Firefox have never had this problem. If I try to drag a tab from one window to another, the original window keeps tab, but go to the tab shows nothing

  • AIO C309a

    Hello I encountered some problems. What was missing, replaced ink cartridge. Now, when I click on print. It's just a blank page. What should do? Jason

  • BlackBerry smartphones need help w / 8310 does not connect to pc

    I have a curve 8310 and I just spent my Sun. try to get it to come... Ive got jl Commander and the phone will not stay in touch with Device Manager. Ive got the software downloaded and ready to go, and nothing I did with and without battery. It conne

  • PDF Reader does not print the update Post window 10 anniversary

    PDF print worked ok with major update of Windows 10 pre August 2016. Now, it seems to print, through print meters, but no document is entered into the print buffer. I checked the assignments earlier on the Adobe, keep this reader forum was the most r

  • Adobe Premiere installed but where?

    I installed Adobe Premiere through my creative cloud. It is said installed but then I can find it. I searched through programs and I can't open it. My other programs give me an open option. Screenshot below.When I search my computer for first... a fi