ADF Mobile - How to view or hide input text in List View dynamically

I've build ADF mobile Application using Jdeveloper 11.1.2.4
I've added <amx:listView to my page.
This list view shows a list of Employees from web service and beside each employee
amx:selectBooleanSwitch
I want when I switch amx:selectBooleanSwitch to true to display input text beside employee name
I don't know how to make like this behavior

I've build ADF mobile Application using Jdeveloper 11.1.2.4
I've added <amx:listView to my page.
This list view shows a list of Employees from web service and beside each employee
amx:selectBooleanSwitch
I want when I switch amx:selectBooleanSwitch to true to display input text beside employee name
I don't know how to make like this behavior

Similar Messages

  • How can we change the input field on a view stop showing zeros

    Hello,
           To make screen look consistent with other character input field. How can we change the input field on the view stop displaying zeros even though the data type is NUMC and data type should not be change?
    Edited by: sap_learner on Mar 25, 2010 5:44 PM
    Edited by: sap_learner on Mar 25, 2010 5:49 PM
    Edited by: sap_learner on Mar 25, 2010 5:55 PM

    hello Manas Dua,
                           Thanks for your help. I am able to resolve my problem.
    My code will help  the future comers to resolve this kind of issues.
    *The code is applied to method WDDOINIT of the default view.
      DATA lo_nd_terms_input    TYPE REF TO if_wd_context_node.
      DATA lo_nd_terms_input_i TYPE REF TO if_wd_context_node_info.
      DATA lv_zeros             TYPE wdy_attribute_format_prop.
      lv_zeros-null_as_blank = 'X'.
      lo_nd_terms_input = wd_context->get_child_node( name = wd_this->wdctx_input ).
      lo_nd_terms_input_i = lo_nd_terms_input->get_node_info( ).
      lo_nd_terms_input_i->set_attribute_format_props(
        EXPORTING
          name              = `ENTER THE ATTRIBUTE NAME`
          format_properties = lv_zeros     ).
    Edited by: sap_learner on Mar 26, 2010 5:02 PM

  • How to change to Icon View for some folders but and List View for the rest

    I've had a bear of a time with View options in my folders. I'd like some folders to be in Icon view and other to be in List view. For what ever reason if I change the view option of one folder it changes the view option of EVERY folder. What can I do to make this happen?

    I was about to ask the same. I'd like to use icon view normally, but list view for folders containing lots of text documents. It looks like the solution is using View > Show View Options, change the folder to the view you want, and then tick the box at the top fo the dialogue for "Always open in __ view".
    Message was edited by: Adrian Bolt
    Message was edited by: Adrian Bolt

  • Problem with "Input text with List of Value"

    Hi,
    I have a table where i am storing country code using "Input text with List of Value". I want a another non base table item where i would like to show the "Country Name" of the select LOV. Kindly let know a way to implement the LOV where it returns the "Country code" to base table item and "Country name" to the non base table item.
    thanks
    Sanjay

    Hi,
    I am getting lazy in chasing down the JDeveloper release by the ADF Faces component mentioned.. So I ask: Which verson of JDeveloper are you on ?
    Frank

  • ADF Mobile: How to change the font size of an Input Text field in .amx view

    Is there a way to change the font size of the input data (not the label) in a text field? Changing the font size in the Style Font/Text settings doesn't seem to do anything for the label or the value in the input text field. Is this a bug or is there a way to get this to work?

    Hi Anna,
    depending on the UI element there are a range of ways. (and I'm sure people will post plenty of answers to tell you how).
    However, if generically the fonts in you portal/wd applications are too small, you should consider changing your theme so as to have larger texts. Otherwise you will either need to customise all your applications, or you will get quite a lot of inconsistency of presentation between your various WDA applications.
    Do a search on "themes for Web Dynpro ABAP" and you'll find loads of resources.
    Hope this helps,
    Cheers,
    Chris

  • ADF mobile: how to link task flow to a list view item

    Hi
    I am trying to build a mobile app in adf and i created a popup on the left button on the header. this popup has a list view showing few options.
    now the requirement is to click on the option and navigate to that feature (which is created as a task flow).
    so, i am not sure how do like the task flow to the link in the listView of the popup. Please advise

    Well, if that list contains all features, you can use the 'features' from the ApplicationFeatures DC (they contain the ID, name, ... so you can use #{row.id} instead of hardcoding it).
    If that list does only contain a few features, you can make your own list.
    In your own backing bean or data control, you can get all the features by using:
            ApplicationFeatures af = new ApplicationFeatures();
            af.getFeatures();And filter them.
    An example that I made/use myself:
    It uses an commandLink to navigate because I need to be able to 'disable' (= not clickable) some features (it has the same look as an ListView).
    So iff just use the getFeatures(), you can use the ListView for navigation.
    <amx:iterator var="row" value="#{bindings.features.collectionModel}" id="i1">   
            <amx:tableLayout width="100%" id="tl2" inlineStyle="background-color:White;">
              <amx:rowLayout id="rl2">
                <amx:cellFormat width="50px" height="50px" halign="center" id="cf4" valign="middle"
                                inlineStyle="border-bottom:thin solid #b8b9c8;">
                  <amx:image source="#{row.icon}" id="i2" inlineStyle="width:40px;"/>
                </amx:cellFormat>
                <amx:cellFormat width="100%"  height="43px" id="cf3" valign="middle"
                                inlineStyle="border-bottom:thin solid #b8b9c8;">
                  <amx:commandLink text="#{row.name}" id="cl1" inlineStyle="color:Black; font-weight:bolder; font-size:110%;"
                                   disabled="#{!row.enable}">
                    <amx:setPropertyListener from="#{row.id}" to="#{pageFlowScope.feature}" />
                    <amx:actionListener binding="#{bindings.resetFeature.execute}"/>
                  </amx:commandLink>
                </amx:cellFormat>
              </amx:rowLayout>
            </amx:tableLayout>
          </amx:iterator>This my own data control :
    public class MenuDC {
        private ExtendedFeatureInformation[] features;
        private String message;
        public MenuDC() {
        public ExtendedFeatureInformation[] getFeatures()
            ApplicationFeatures af = new ApplicationFeatures();
            this.fillExtendedFeatureList(af.getFeatures());
            return features;
        private void fillExtendedFeatureList(FeatureInformation[] realFeatures)
            message = "";
            ModelController.getSingletonModelController().refreshMinorTables();
            features = new ExtendedFeatureInformation[realFeatures.length];
            for(int i = 0; i < realFeatures.length; i++) 
                boolean enable = true;
                FeatureInformation fi = realFeatures;
    if(fi.getId().equals("be.kpd.newDayReport"))
    if(ModelController.getSingletonModelController().getVarFormLocalDB(HardcodedVarCodes.LAST_SYNC).equals(""))
    enable = false;
    if(fi.getId().equals("be.kpd.overviewDayReport"))
    if(ModelController.getSingletonModelController().getRegisDFromLastSevenDays().size() == 0)
    enable = false;
    if(!enable)
    message = "SYNC_NEEDED";
    ExtendedFeatureInformation efi = new ExtendedFeatureInformation(fi.getId(),fi.getName(),fi.getIcon(),fi.getImage(),enable);
    features[i] = efi;
    public String getMessage() {
    return message;
    I made my own POJO which implements the FeatureInformation interface,
    because I needed an extra boolean attribute for disabling some features.
    public class ExtendedFeatureInformation implements FeatureInformation {
        private String id,name,icon,image;
        private boolean enable;
        public ExtendedFeatureInformation() {
            super();
        public ExtendedFeatureInformation(String id, String name, String icon, String image, boolean enable) {
            super();
            this.id = id;
            this.name = name;
            this.icon = icon;
            this.image = image;
            this.enable = enable;
        public String getId() {
            return id;
        public String getName() {
            return name;
        public String getIcon() {
            return icon;
        public String getImage() {
            return image;
        public boolean isEnable() {
            return enable;

  • ADF mobile : How to insert new rows in shopping cart application

    Hi All,
    I'm developing a shopping cart sample application.
    The first page shows 3 rows(with item and quantity columns) and "Add Row" & "save to shopping cart " buttons . On clicking add row button i want to add 4th row to the table  and on clicking "save" button all the items should add to cart.
    Can somebody tell me how to add dynamic rows in adf mobile and access the data in DC to save the data.
    Thanks,
    Prashanth.

    Are you talking about working with the local SQLite database on the device or with a remote database on the server?
    For local DB - check out the HR ADF Mobile sample.
    http://www.oracle.com/technetwork/developer-tools/adf/adf-mobile-samples-1865088.html

  • ADF mobile: How to pack a third party jars into apk

    Hi Expert,
    I am using Jdeveloper + ADF mobile 11.1.2.4 to develop an android application. In this application, I need to call some functions in the third party jar files.  I need to add the third party jars into my apk so that those classes can be found during runtime.
    I followed section 17.1.1.1 to add the libraries into my project. However, after I deployed my app to the emulator and tried to run it, it reported "encountered error: classes not found". And I also found that the third party jars don't exist in libs/ directory of the apk. Do you know how to solve the problem: How to reference a third party jar files in my app and make sure it works?
    Thanks,
    Yan

    Create a /libs directory within  Android project directory and copy the JAR files to /libs.
    To build.properties add
    external.libs.dir=libs

  • How to Hide Size Column in List View

    My default setting for the Finder is to have folders display in list view with the size column turned off. This works like a charm for every folder except the Applications folder which always displays a size column whenever the finder is re-launched (it's always scrolled to the bottom of the list too, which is weird). It wouldn't bother me if the size values were cached somehow and just updated quietly in the background but it takes quite a while to calculate each value and actually slows down the finder.
    I've tried deleting finder preferences but to no avail.
    Does anyone know what's going on here?
    [The above was originally posted here [http://discussions.apple.com/thread.jspa?messageID=9524102#9524102] but I was asked to move along by a surly faced police officer]

    OK. Problem fixed but unfortunately not completely solved.
    Talking about permissions and administrator issues made me wonder, so I logged in using my admin account and seemed to be having exactly the same issue. I was unable to set a default permamantly for the Applications folder. Except that when I tried to set a default in another folder (Documents I think) and restarted the Finder the setting held for all directories. When I logged back in under my regular user account it also held.
    I have finally eliminated that pesky size column -- for good! (Of course I may want it occasionally, but that's at my discretion). The window also maintains a correct scroll point, corresponding to where it was last positioned.
    I wish I knew exactly what has happened. All I really know is that fiddling (as usual) has fixed it and that it probably has something to do with Administrator privileges.
    Thanks again for your suggestions and especially for being a sounding board.
    Josh

  • How can I set the OS to show list view when I open a file in an application.

    So I know you can chose view options in Finder to always show files in list view there. But how do you set the OS to do the same when opening files in an application.

    Okay, cheers, so I guess it's stored in the application prefs. I just installed Snow L last week and it bothered me that everytime I opened a document I had to set my pref again. I wasn't aware that it was storing it for that particular app though cause I'm using so many differnt apps. But you are right, it does store for the individual app. Cheers for the answer!

  • How do I show scroll bar in itunes list view

    How do I add the scroll bar to Library and other list views in iTunes?
    It is a pain having to use the scroll wheel when I want to quickly scroll to near the bottom of the list.
    Cheers

    How do I add the scroll bar to Library and other list views in iTunes?
    It is a pain having to use the scroll wheel when I want to quickly scroll to near the bottom of the list.
    Cheers

  • How to do image with input text?

    hi,iam using jdveloper 11.1.2.3.0 my requirement as follows...
    i have input text beside of that input text i need to display image of create insert(not below of input text)

    Hi,
    Something like this.
    <af:panelGroupLayout id="pgl1" layout="horizontal" inlineStyle='background-image:url("Convocation.jpg");'>
              <af:inputText label="Label 1" id="it1"/>
            </af:panelGroupLayout>
    thanks
    "thanxs TLanz but the group layout column is getting the width problem(means remaining columns are in same width except group layout column) so how to set with same width.........."
    from my understanding if your layout adjust according to your image you use strecth layout. I failed to get you "(means remaining columns are in same width except group layout column) "
    edited lately,

  • How to maintain focus in input text box?

    I am a complete newbie with Flash MX, ActionScript, and
    everything in between. So here's my situation.
    I want to make it so the user has to type in a password to
    move forward with the Flash presentation. When he presses OK, it
    takes him to further into the presentation (i.e. Frame 20).
    On my login screen, I have a couple of layers that are
    animated. Thus, I need these animations to keep looping. So what
    did I do? At the end of the animation, I put in code to
    GotoAndPlay(1).
    Now here's the problem... When someone's trying to type in
    the password, when it loops (Gotoandplay), the input box loses
    focus. To remedy this situation, for frame 1, I put in the code:
    Selection.setFocus("txtPassword").
    What happens? Everytime it sets focus, everything gets
    highlighted in the input text field.
    As you can imagine, it is a headache for anyone who is trying
    to type in the password because every few seconds, the whole thing
    gets highlighted and he accidently types over it.
    Any suggestions?

    1. copy the frames of your looping animation.
    2. create a new movieclip and paste those copied frames onto
    this movieclip's timeline
    3. from your library drag a copy of the above movieclip to
    frame 1 of your main timeline and attach a stop() to that frame.
    4. place your login textfield and ok button on frame 1 of
    your main timeline.
    5. when ok is pressed (and login) passes some condition
    direct your main timeline to frame 20.

  • How do I get albums to display as list view?

    For the last several "Upgrades" I cannot get iTunes to display my albums in a "list View" only as pictures of the cover art.  I have gone into "Edit>Preferences>General" and checked "Show list views all media" with no result.  It seems they left me in the dust by making it "Better!"  Is there any way to make it display my albums as a list?

    Hi,
    Go to "songs" view and i think you will find what you are looking for.  This view looks a lot like the view i used in the previous version . 
    If you select view -> view options (command-j) you will see all the familiar choices.  BTW - some options may be hidden (collapsed) so you may have to expand them by clicking on the arrow next to the category heading.  Hope this helps.
    I've been looking for this answer since the new version came out. This is the article i found it in.
    http://blogs.computerworld.com/desktop-apps/21414/first-look-apples-pretty-itune s-11s-speed-demon  

  • Conditionally Show and Hide Input Text

    JDev 11.1.1.5.0
    I have two input texts PROFILE and SCORE.
    SCORE is shown only if my value in PROFILE is E or F.
    And if, it should be hidden once the PROFILE value is changed to some other value.
    Also, please note SCORE field should be mandatory if the PROFILE value is E or F.
    Here is the code what I tried so far:
    <af:inputText value="#{bindings.Profile.inputValue}"
                                              label="#{Resources.PROFIL}"
                                              required="true"
                                              columns="#{bindings.Profile.hints.displayWidth}"
                                              maximumLength="1"
                                              shortDesc="#{bindings.Profile.hints.tooltip}"
                                              id="it94" autoSubmit="true">
          <f:validator binding="#{bindings.PsamProfile.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.Score.inputValue}"
                                            label="#{Resources.SCORE}"
                                            required="#{bindings.Profile.inputValue == 'E' or bindings.Profile.inputValue == 'F'}"
                                            columns="#{bindings.Score.hints.displayWidth}"
                                            maximumLength="#{bindings.Score.hints.precision}"
                                            shortDesc="#{bindings.Score.hints.tooltip}"
                                            id="it164"
                                            visible="#{bindings.Profile.inputValue == 'E' or bindings.Profile.inputValue == 'F'}"
                                            partialTriggers="it94"
                                            contentStyle="text-align:left;"
                                            autoSubmit="true">
                                <f:validator binding="#{bindings.Score.validator}"/>
                                <af:convertNumber groupingUsed="false"
                                                  pattern="#{bindings.Score.format}"/>
      </af:inputText>
    I have tried using a parent component and using rendered attribute for the SCORE field as explained in https://blogs.oracle.com/Didier/entry/only_rendered_adf_faces_compon, but it still didn't help.

    Forgot the PROBLEM part
    PROBLEM is: If I change the PROFILE value to some other value than E or F, the SCORE field is not getting hidden as expected and in fact it is throwing a mandatory validation.

Maybe you are looking for

  • PCA line item - urgent

    Hi , I am using ECC 6.0. where document splitting is activated. When an entry is passed in General ledger view shows profit center in all line items. (1 and 2) But if you see pca document only 1 line item is appearing. Other line item is not shown. W

  • External SWF children

    Hello I am loading external swf in main swf using Loader. this external swf has an as class which extends sprite and adds images and sprite to that class sprite.. now when i load this external swf in main swf i get external class sprite... But if i t

  • Using Feedburner

    Having no luck with Feedburner for my blog. Here's the message: "Feed Address: http://feeds.feedburner.com/NoQuillRequired HTTP Error Code: 500 Detail: There was a problem retrieving the feed: com.burningdoor.rsspp.resource.impl.HttpConnectionExcepti

  • My iphone 4 has been working fine but when i try to use music, it wont work. For example i try to put a specific kind of song and it will either not play or skip to another.

    my iphone 4 has been working fine but when i try to use music, it wont work. For example i try to put a specific kind of song and it will either not play or skip to another.

  • External monitor preview not working in CS5

    Well its taken almost a month to get my Production premium suite CS5 working (exit code 7 install error) I finally reinstalled win7 pro after dicking with adobe tech support for weeks (they did try to be helpful and polite) and that "cured" the insta