Subview inside a TabView

I have 5 tabs (UITabViewController), and for one of the tabs I want to have 2 subviews, one view as the default, then when I press a button the view flips to the other view.
I have the Tab View working just fine, and in a separate project I can get the UIViews to flip between each other, I'm just unsure of how to have both these views working together.
If anyone can give me some ideas for the structure and hierarchy of setting this up, it would be greatly appreciated.
Thanks.

Geez, it's called "New to Java" for a reason.
The scopes of methods can take several pages to explain, but there are essentially just four:
"public" - any other class can call the method
"private" - only this class can call it
"protected" - only classes that inherit this class can call it and other classes in the same "package" can call it
package - this is the default scope if no scope is specified. it is almost the same as "protected" except that classes that inherit this class must be in the same "package" to call the method
The idea of "package" might be new to you as well. They're simply a way of grouping classes together. An analogy would be all the files in the same directory would be like all the classes in the same package.

Similar Messages

  • Hiding a subview called in a main view in WEBDYNPRO Application

    Hello Experts,
    I have a scenario in which i am calling a subview inside a main view. I have created a main view in which:-
    1. List of reportee to the manager logged in is getting displayed in the form of a table.
    2. When we select any row of this table ( means selection of any reportee row) and click on a button 'Get Details', then it  should display the detailed personal data of that reportee.
    I have successfully called an already created personal data view inside this main view to display the detailed personal data of any selected reportee. But the issue is in the main view:-
    1. This view has table containing the list of reportee getting displayed.
    2. This view simultaneously also displays the default first row detailed data of the table of reportee.
    Our requirement is:-
    1. To display only table containing the list of reportee in the first load of main view.
    2. Then when any row of this table is selected, then only the detailed data specific to that row should be displayed.
    My approach till now is:-
    1. I have removed the default first row lead selection for the table of reportee.
    2. I have created a node VISIBILITY_DET_DATA and then an attribute IS_VISI BLE under that node of type WDUI_VISIBILITY.
    3. In the layout section i have created a group GROUP_DETAIL_DATA and a view container UI element under that to call the detailed data view when any row of table containing the list of reportee is selected.
    4. I have created a binding for the VISIBLE  property of the group GROUP_DETAIL_DATA to the attribute IS_VISI BLE created in the context of the component contoller.
    5. I have then used the method WDDOINIT of the main view to write code to hide the detailed data view by setting the IS_VISIBLE flag to '02' i.e. NONE.
    But this is causing the entire view to be coming as blank view.
    I am not sure why this is happening, Can any of you suggest if i am missing anything important which is cauing this analomy.
    Rupesh

    Hi ,
    This is a Webdynpro related question. you would have got many repsonses if you posted in webdynpro forum.
    i) I would want to know how to hide Image object or the transparent container which holds the IMAGE object, dynamically through the code inside the MODIFYVIEW method of the view
    You can do a post_exit enhancement in the  MODIFYVIEW method. Get the UI element object  from view and There are methods to set the visibility at runtime.
    Is there an option to dynamically specify diffent image based on the login language with the IMage container?
    i think yes, same procedure as first question's answer. Based on condition you can change the source path of the mime object .

  • UITableView with custom frame size within a UINavigationController... how?

    I've seen similar questions asked all over the web, but so far not a single "real" answer has cropped up, so hopefully you folks will know the way to do this.
    I have a main view that with a UIView subview, inside of which I am programmatically adding a UINavigationController and UITableView that is encapsulated in a +regular UIViewController+, to allow it to be pushed/popped onto the navigation controller. I'm essentially just trying to get a table+navcontroller combination that only takes up about half the screen height.
    The problem isn't that it doesn't work, because I have no problem getting the table and navigation controller working together as expected. The problem is that no matter what I do or try, I cannot get the table view to be smaller (in height), than full-size, meaning that when contained in this ~200px navcontroller-in-subview, there are a large number of rows the user cannot select because attempting to scroll to them immediately "bounces" back. You can see that the rows are there when you "pull" the scroll down, but can never get it to stay.
    As it appears, the table view is too large in height. I've gone as far as setting the table to a height of 10, to no avail. Autoresize masks have no effect.
    Please note that I'm NOT using an instance of UITableViewController, but rather the plain vanilla UIViewController, because creating an instance of the former automatically creates the underlying UITableView, which was always sized to large, as well. I had some advice that I should attempt creating the table and view controller independently, add the former to the latter and then push the view controller onto the navigation controller. Again, this does work, but the size is all out of whack.
    Finally, in quick psuedo-code, this is essentially what I'm doing:
    (this is found in MainViewController::viewDidLoad)
    CGRect frame = subviewContainer.frame;
    frame.size.height = 10;
    frame.origin.x = 0;
    frame.origin.y = 0;
    UITableView* table = [[UITableView alloc] initWithFrame:frame];
    table.autoresizesMask = UIViewAutoresizingNone;
    UIViewController* tVC = [[UIViewController alloc] init];
    tVC.view = table;
    UINavigationController* navC = [[UINavigationController alloc] initWithRootViewController:tVC];
    [subviewContainer addSubview:navC.view];
    Thanks for any tips you might have: this is quite the frustrating problem!

    I have an app that is absolutely kicking my butt. I have a UITabBarController that contains a UINavigationController that contains a custom UIViewController. When the user rotates the iPhone, I want to hide the navigation bar, hide the tab bar and swap out a UIImageView in the custom view controller and I want the image to be full-screen. I've figured out how to get rid of the navigation and tab bars, but making the UIImageView full-screen is what's killing me. When the image shows up, it is the size it would be if the tab bar was visible. In the didRotateFromInterfaceOrientation method, I hide the tab bar by doing:
    tabBar.hidden = YES;
    I've tried resizing the UIImageView by doing:
    img.frame = CGRectMake(0.0, 0.0, 320.0, 480.0);
    but that just screws up the image even more. I tried resizing the tabBarController's view, and I've tried resizing the current view, but alas to no avail.
    Can anyone help me not be stupid?
    Thanks!

  • "please wait" view never appears

    I have an app that downloads some files over the internet.
    As this could be a bit long I want to display a semi-transparent view with an Activity Indicator and a ProgressView.
    I first tried with a ModalView, but the view is only transparent during the animation but then turns opaque no matter the settings in IB.
    So I create a view that I add as a subview to the current view before the job starts, and I remove when it's done.
    The problem is that the view never shows up ! In fact the job starts and seems to lock the process so the display of the view occurs after the job is finished ... not good !
    I've tried to perform the task in a viewDidAppear with no result, I've even tried to subclass UIView and implement the task in the didMoveToSuperview method.
    I always get the same result : nothing !
    If I comment the removeFromSuperview, then I can see my view, but only after the long task is finished ...
    Help would be much appreciated TIA

    iPhil_good wrote:
    I first tried with a ModalView, but the view is only transparent during the animation but then turns opaque no matter the settings in IB.
    I had similar trouble with presenting modal view to do the same thing (present a semi-transparent screen with a progress view). I created the view, progress view, and label in interface builder. But, to get the transparency to actually work, I had to set the background color of the view in code by just setting the backgroundColor field of the view.
    So I create a view that I add as a subview to the current view before the job starts, and I remove when it's done.
    The problem is that the view never shows up ! In fact the job starts and seems to lock the process so the display of the view occurs after the job is finished ... not good !
    I've tried to perform the task in a viewDidAppear with no result, I've even tried to subclass UIView and implement the task in the didMoveToSuperview method.
    I always get the same result : nothing !
    I also have experienced this one too What I found to work is to add the subview inside of a beginAnimations/commitAnimations block, and then set the rest of the code I need to run in the delegate handling animationDidStop.
    Hopefully this helps :)!

  • How do I use f:subview with referance class attributes

    Hi all,
    Any pointer on the below problem will be greatly appretiated....
    I have a "Address" class used in "Customer" for billing and shipping address and "Customer" Class is placed in faces-config.xml as named with "CustomeBean".
    public class Address {
         private String street;
         private String city;
         private String state;
         private String zip;
    // Empty construtor + all getter and setter methods
    public class Customer{
    private String firstName;
    private String lastName;
    private Address billingAddress;
    private Address shippingAddress;
    //Empty Constructor and all getter and setter methods
    public void add(Customer customer){
    // Logic to make this as persitance
    customer.jsp
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <html>
    <head><title>Login</title></head>
    <body>
    <f:view>
    <h:form id="customerForm">
    First Name: <h:inputText id="firatName" value="#{CustomerBean.firstName}" >
    Last Name: <h:inputText id="lastName" value="#{CustomerBean.lastName}" >
    Billing Address
    Street: <h:inputText id="bstreet" value="#{CustomerBean.billingAddress.street}" >
    City : <h:inputText id="bcity" value="#{CustomerBean.billingAddress.city}" >
    State: <h:inputText id="bstate" value="#{CustomerBean.billingAddress.state}" >
    Zip: <h:inputText id="bzip" value="#{CustomerBean.billingAddress.zip}" >
    Shipping Address
    Street: <h:inputText id="sstreet" value="#{CustomerBean.shippingAddress.street}" >
    City: <h:inputText id="scity" value="#{CustomerBean.shippingAddress.city}" >
    State: <h:inputText id="sstate" value="#{CustomerBean.shippingAddress.state}" >
    Zip: <h:inputText id="szip" value="#{CustomerBean.shippingAddress.zip}" >
    </h:form>
    </f:view>
    </body>
    </html>
    Now, what I want to do is "address" part as re-usable with <f:subview> by makeing it in seperate page and make it include in customer.jsp.
    customer.jsp
    <f:view>
    <f:subview id = "bAddress">
    <jsp:include page="address.jsp" />.
    </f:subview>
    <f:subview id = "sAddress">
    <jsp:include page="address.jsp" />
    </f:subview>
    </f:view>
    How do I make refer the CustomerBean.billingAddress.* and CustomerBean.shippingAddress.* values when I use <f:subview> ?
    How to make to access the values of address in managedbean(Custoer.java) in add(customer) method?
    Any help ...
    Thanks
    pvkr

    Martin,
    I'm still bothered by "CustomerBean.shippingAddress".
    Please post a snip of the management of this object
    from your faces-config.xml. You actually name your
    object instance with the first letter captialized
    like your class?
    Sorry for breaking coding convestion ...:-)
    faces-config.xml
    <faces-config>
    <managed-bean>
    <description>Customer Bean Holder</description>
    <managed-bean-name>CustomerBean</managed-bean-name>
    <managed-bean-class>com.my.test2.Customer</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    </faces-config>
    I'm still not sure what you are trying to achieve.
    <f:subview> is mostly like an import of a frag of
    f jsf tags. Does not have runtime storage capability
    but is a way to repeat a frag different places. It
    does not control the workings, serial state of managed
    beans.
    Post more snips...All i am trying to achive is , address(Address.java) part is gona simillar in most of the places in application and it is gona just like an attribute to all other classes like customer, insurance, company etc ...SO when I do create data entry screens for customer, insurance, company etc .. i need to just include address part as a snippet with <f:subvirew> and wire that seamlessly to customerBean, insuranceBean, companyBean etc...
    So in my previous posting what i mention customerBean.billingAddress.*(street,city,state,zip) and customerBean.shippingAddress.* is directly inside customer.jsp
    But when you try to re-use address part as address.jsp, address.jsp knows only some object simillar to Address class. And the address attributes are unchanges extect the prefix of those attributes in valuebinding is changing based who is the parent object of that address attributes.
    So in address.jsp in the place of "???" , i need to find a way to pass the "parentObject.addressObject" (ex: customerBean.shippingAddress , customer.billing Address , insurance.mailingAddress etc ...) so that in process it should look like "parentObject.addressObject.street" , "parentObject.addressObject.city" etc ...
    Street: <h:inputText id="bstreet" value="#{???.street}" >
    City : <h:inputText id="bcity" value="#{???.city}" >
    State: <h:inputText id="bstate" value="#{???.state}" >
    Zip: <h:inputText id="bzip" value="#{???.zip}" >
    Any clue ....

  • How to make subview respond to touches?

    If I make a UIToolbar a direct subview of my ViewController.view, it responds to touches and buttons will call selector methods.
    Now let's say I have a subclass of UIView called myToolbarSubclass.
    I have instantiated a UIToolbar and made it a subview of myToolbarSubclass.
    If I make myToolbarSubclass a subview of my ViewController.view, the UIToolbar no longer responds to touches.
    How do I regain touch capability in my UIToolbar?

    Make sure the frames of all the views and the toolbar are correct. I've seen cases where a button stopped working because its origin was actually outside it's parent view. Even though the button appeared on the screen it appeared to not work. Once the button was moved properly inside the confines of its parent view it worked again.
    So maybe your toolbar isn't positioned properly or the toolbar's parent view isn't positioned properly within the view controller's view.

  • Want to add a jsp inside pager tag library

    Hi,
    I want to add pagination in my web center application, for This I am using pager tag lib
    But I am not able to add jsp page inside *<pg:index >* tag
    I tried it with different ways: e.g.
    A. <jsp:include page="/WEB-INF/jsp/altavista.jsp" flush="true"/>
    b> <f:subview id="subview1">
    <jsp:include page="inc.jsp" />
    </f:subview>
    When I add JSP  inside <pg:index > tag and run my jsp i am getting noting in my UI and also not seeing any error in console.
    <?xml version='1.0' encoding='UTF-8'?>
    <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:pe="http://xmlns.oracle.com/adf/pageeditor"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:tr="http://myfaces.apache.org/trinidad"
    xmlns:pg="http://jsptags.com/tags/navigation/pager"
    xmlns:trh="http://myfaces.apache.org/trinidad/html"
    xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:pageTemplate viewId="/oracle/webcenter/portalapp/pagetemplates/nowTemplate.jspx"
    id="pt1">
    <f:facet name="content">
    <af:group id="g1">
    <af:panelGroupLayout id="pgl1">
    <div class="line topMargin20">
    <div class="unit size1of4">
    <div class="mod mod-sectionTitle">
    <span>Search Results</span>
    </div>
    </div>
    <!-- /unit -->
    <div class="unit size3of4 lastUnit"></div>
    <!-- /unit -->
    </div>
    <!-- /line -->
    <div>
    <pg:pager items="${backingBeanScope.searchClient.searchResults.totalResults}"
    maxPageItems="${backingBeanScope.searchClient.searchResults.maxPageItems}"
    maxIndexPages="${backingBeanScope.searchClient.searchResults.maxIndexPages}"
    isOffset="${backingBeanScope.searchClient.searchResults.isOffset}"
    export="offset,currentPageNumber=pageNumber"
    scope="request">
    <pg:param name="maxPageItems"/>
    <pg:param name="maxIndexPages"/>
    <input type="hidden" name="pager.offset" value="${backingBeanScope.searchClient.searchResults.isOffset}"></input>
    *<pg:index >*
    *</pg:index>*
    <c:forEach items="${backingBeanScope.searchClient.searchResults.results}"
    var="result">
    </c:forEach>
    </pg:pager>
    </div>
    </af:panelGroupLayout>
    </af:group>
    </f:facet>
    </af:pageTemplate>
    </af:form>
    </af:document>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_oracle_webcenter_portalapp_pages_untitled1-->
    </jsp:root>

    PeterBreis0807 wrote:
    Are you having trouble with tabs in a list?
    You haven't said so.
    In lists you have to use option tab, otherwise it just changes the list level.
    Peter
    I guess what you were hoping but you missed the point.
    Yvan KOENIG (VALLAURIS, France) vendredi 20 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
    My iDisk is : http://public.me.com/koenigyvan

  • Tabbar inside a Navigation application

    Hello everyone!
    I'm a new iphone developer, I'm having some problems and I can't find a solution to them despite I've made a deep search in Internet and this forum.
    I have developed a Navigation-based application with table views. Everything goes well.
    Now I want that one of this tables sends the user to a new tab bar view when he clicks in a row.
    My main problem is how can I do that? This is what I've tried:
    1) Create a new ViewController with its own XIB.
    2) With IB Add a Tabbar Controller to this XIB.
    3) Create an IBOUtlet UITabBarController (with its property and synthesize code) in the ViewController I created in 1).
    4) With IB connect this IBOutlet with the TabBarController.
    5) In viewDidLoad method of the new ViewController I add the the new TabBarController's view as a subview of the new ViewController.
    When I run the application everything seems to go OK, except that the tab bar items are only half visible (the upper side is visible, the lower side is hidden and the item title can't be seen).
    I've tried everything but I don't know why the items are not appearing well. It seems to me that all the View (including the tabbar) is displaced some pixels to the bottom of the window so the items are semi-hidden.
    Finally my questions are:
    - Is there any better way to implement a Tabbar view inside a navigation based application?
    - If my solution is correct, why are the items or the view appearing incorrectly?
    Thank you very much for your help!

    Ray gave you the technical; I'll give you the aesthetics:
    I've never seen/used an app that sends users to another tab. The point of the tab bar is to provide different "sections" of the program—like [very] different functionality in a program (think of the Clock app), or to act as a filter for content (think of the iPod/Music app). If you need to send your user to another tab, I can't help but feel that you may want to re-think your structure. It probably won't get you rejected from the app store, but it's something that users aren't expecting. Maybe you should simply load a child view in the nav stack instead.
    What's your specific situation?
    *Check out my blog—Cups of Cocoa*

  • UWL NW7.0 SP13 subview drop down list

    Hi,
    We're trying to get the new web dynpro uwl to work like our uwl worked before it was changed to web dynpro. Currently there are some drop down lists at the top of the uwl that we want to hide. Specifically the subview drop down list, as selecting "No Subview" causes a bunch of tasks to show up in the portal that we don't want to show up.
    Thanks,
    Chris

    Hi Chris,
    create a new xml file for the UWL. Take a look in the "uwl.standard" config file to see the current style.(System Admin/ Sxystem Config / UWL folder in the Detailed Navigation)
    Select the first link under Content-Configuration.
    Everything inside the "NavigationNode tag with attribute name="Main" creates the Tabs, and the more inner the views and it subviews.
    Copy the root tag and remove the unwanted sub views. Upload it again...
    You can also specify what tasks to show in the views...
    Regards,
    Kai
      <NavigationNode name="root" view="" referenceGroup="" visible="yes" keepItemCountUpdated="no">
        <NavigationNode name="Main" view="" referenceGroup="" visible="yes" keepItemCountUpdated="no">
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd'
      >
    <UWLConfiguration version="1.0">
      <NavigationNode name="root" view="" referenceGroup="" visible="yes" keepItemCountUpdated="no">
        <NavigationNode name="Main" view="" referenceGroup="" visible="yes" keepItemCountUpdated="no">
          <NavigationNode name="CombinedTask" view="DefaultView" referenceGroup="" visible="yes" keepItemCountUpdated="no" referenceBundle="tasks">
            <NavigationNode name="task2" view="DefaultView" referenceGroup="UWL_ADD_DYNAMIC_VIEWS" visible="yes" keepItemCountUpdated="no" referenceBundle="new_and_inprogress_tasks">
              <NavigationNode name="PersonalViewPlaceHolderTask2" view="" referenceGroup="UWL_PERSONAL" visible="yes" keepItemCountUpdated="no"/>
            </NavigationNode>
            <NavigationNode name="forwarded2" view="WorkItemsForwardedView" referenceGroup="UWL_ADD_DYNAMIC_VIEWS" visible="yes" keepItemCountUpdated="no" referenceBundle="tasks_forwarded">
              <NavigationNode name="PersonalViewPlaceHolderforwarded2" view="" referenceGroup="UWL_PERSONAL" visible="yes" keepItemCountUpdated="no"/>
            </NavigationNode>
            <NavigationNode name="futureTask" view="FutureTaskView" referenceGroup="UWL_ADD_DYNAMIC_VIEWS" visible="yes" keepItemCountUpdated="no" referenceBundle="tasks_for_resubmission">
              <NavigationNode name="PersonalViewPlaceHolderfuture" view="" referenceGroup="UWL_PERSONAL" visible="yes" keepItemCountUpdated="no"/>
            </NavigationNode>
            <NavigationNode name="completed2" view="WorkItemsCompletedView" referenceGroup="UWL_ADD_DYNAMIC_VIEWS" visible="yes" keepItemCountUpdated="no" referenceBundle="completed_tasks">
              <NavigationNode name="PersonalViewPlaceHolderCompleted2" view="" referenceGroup="UWL_PERSONAL" visible="yes" keepItemCountUpdated="no"/>
            </NavigationNode>
          </NavigationNode>
          <NavigationNode name="CombinedTracking" view="ComboWorkItemRequestsView" referenceGroup="" visible="yes" keepItemCountUpdated="no">
            <Descriptions default="Nachverfolgung">
              <ShortDescriptions>
                <Description Language="de" Description="Nachverfolgung"/>
                <Description Language="en" Description="Tracking"/>
              </ShortDescriptions>
            </Descriptions>
            <NavigationNode name="CombinedTracking2" view="ComboWorkItemRequestsView" referenceGroup="UWL_ADD_DYNAMIC_VIEWS" visible="yes" keepItemCountUpdated="no" referenceBundle="mytracking">
              <NavigationNode name="PersonalViewPlaceHolderComboTracking2" view="" referenceGroup="UWL_PERSONAL" visible="yes" keepItemCountUpdated="no"/>
            </NavigationNode>
          </NavigationNode>
        </NavigationNode>
      </NavigationNode>
    </UWLConfiguration>

  • [iPhone SDK] Events Filtered: UIControl Subclass Inside a UITableViewCell

    I have a control derived from UIControl that needs to respond to drags, similar in some respects to a UISlider. Touch events are handled by implementations of touchesBegan:withEvent:, touchesMoved:withEvent:, touchesEnded:withEvent, and touchesCancelled:withEvent:. The control works very well, unless I make it a subview of a UITableViewCell. Once I do that, I'll get the touchesBegan:withEvent: call, but often no others. Thus, the control responds to an initial touch, but will not respond to drags. Even setting the exclusiveTouch property within the touchesBegan:withEvent: method doesn't help; the events are never reaching my code.
    Interestingly, I can drop a UISlider in my table and it responds to touch events just fine. So obviously there's a way to get these events delivered... but I'm suspecting that the UIScrollView that UITableView inherits from is interfering with the delivery of the touch events. The reference for UIScrollView talks about how to override its event interception in subclasses, but if UISlider can get away without a special subclassed container, well, by golly, I'd like to do that, too.
    This may have a simple solution ("hey Dave, just set this property"), but so far it's eluded me.
    So, does anyone here understand UITableView mechanics enough to guess where the touch messages might be getting filtered, and how to tell the responsible class to knock it off? I will accept source code for UISlider as an answer.

    Hello, there is a much better solution:
    First let me explain what happens:
    The UITableView extends from UIScrollView. UIScrollView intercepts all the events to make the decision if it is a scroll or not, if not it passes the event to the subviews. (Except when you have a UIslider)
    The solution is to extend UITableView and override this method:
    - (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
    UIView *v = [self viewWithTag:999]; //999 is the tag of your subview, that you want to capture events
    CGPoint convertedPoint = [self convertPoint:point toView:v];
    // If the touch is inside the view, let the view handle it
    if ([v pointInside:convertedPoint withEvent:event]) {
    return v;
    } else {
    return [super hitTest:point withEvent:event];
    When you Extend UISlider the hitTest returns the sliderview on a touch event but not when you extend UIControl. That I can not explain.
    Overriding the hitTest you can test if the point argument is inside in your view (converting to its coordinates) and Return it the view like what happens in a UISlider.
    If someone know why the UISlider is an exception in this hitTest method, please tell us.
    Hope this helps you people, trying to capture touches in a UITableView or UIScrollView without the interference of the scrool detection.
    Best regards, João
    http://www.nanoappz.com/

  • Client Listener on subview

    Hi All,
    I have one .jspx page which has <af:document> tag and client Listener , Server Listener on page load action and inside the page i am calling the Page Fragments through <f:subview> tag ,the fragments has <f:form > tag.
    If the fragments has html code inside it , it is giving me the error "the connection to the server has failed:403". My question is where i need to put the Java script , Client Listener and server Listener whether i need to put in page fragments or in .jspx page.
    I am using Jdev 11.1.2.2.0
    Thanks in Advance,
    Suganya.

    Hi Don Kleppinger ,
    Thanks for your reply i tried what you suggested , the main page.jspx look like this
    <af:clientListener method="loadpage" type="load"/>
    <f:facet name="metaContainer">
    <af:resource type="javascript" source="resources/js/pageLoad.js">
    </af:resource>
    </f:facet>
    <af:serverListener type="loadpage_action" method="#{viewScope.login.loadpage_action}"/>
    But still i am receiving the error."A connection to the srever has failed (status:403)
    <RegistrationConfigurator> <handleError> ADF_FACES-60096:Server Exception during PPR, #2
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.webapp.rich.RichWindowManager.getRedirectCookieForPartialRequest(RichWindowManager.java:1222)
         at oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator.__writeRedirectExtension(RegistrationConfigurator.java:547)
         at oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator.__sendRedirect(RegistrationConfigurator.java:526)
         at oracle.adfinternal.view.faces.config.rich.XmlHttpServletResponse.sendRedirect(XmlHttpServletResponse.java:56)
         at oracle.adf.share.http.ServletEnvironment.redirect(ServletEnvironment.java:158)
         at oracle.adf.share.security.authentication.JEEAuthenticationService.login(JEEAuthenticationService.java:79)
         at oracle.adf.share.security.providers.jps.JpsAuthenticationService.login(JpsAuthenticationService.java:67)
         at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:282)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:171)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at weblogic.servlet.internal.ForwardAction.run(ForwardAction.java:22)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.security.internal.FormSecurityModule.sendError(FormSecurityModule.java:395)
         at weblogic.servlet.security.internal.FormSecurityModule.processJSecurityCheck(FormSecurityModule.java:262)
         at weblogic.servlet.security.internal.FormSecurityModule.checkUserPerm(FormSecurityModule.java:213)
         at weblogic.servlet.security.internal.FormSecurityModule.checkAccess(FormSecurityModule.java:96)
         at weblogic.servlet.security.internal.ServletSecurityManager.checkAccess(ServletSecurityManager.java:82)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2213)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Thanks,
    Suganya.

  • Subview and login form

    Since my login form is inside a subview the id assigned for my password field is breaking the container login.
    For example:
    <h:input_secret id="j_password"/>
    would generate
    <input type="password" name="content:loginForm:j_password"/>
    Am I supposed to write the login without using any jsf tags ?

    I suggest that you write the login form as a plain HTML (or plain JSP, if you need some dynamic content) page and don't use any JSF components. You don't gain anything from using JSF when you use container-based authentication any way.

  • Problem with multiple forms and subview

    I have a problem when using NetBean Web Pack (JDK6, Net Beans 5.5, JSF 1.2).
    1) I created a JSF page (hello.jsp) and a page fragment (header.jspf) inside Web Pack, and let the JSF page (hello.jsp) includes the page fragment.
    2) The include instruction is outside of the "form" element id=main_form() of the first JSF page.
    3) Inside the page fragment (header.jspf), I put a form (id=header_form) with some input fields inside the "subview" element.
    4) When running the web application, the form and its children (id=header_form) inside the subview are not rendered.
    It seems to be a problem with multiple forms on a page and the subview.
    Do I use these JSF components incorrectly? Any advice?
    Thanks

    The forms are not nested.
    hello.jsp
    <webuijsf:body ...>
    <!-- BEGIN: include header -->
    <div style="margin: 0px 0px 10px 0px; left: 0px; top: 0px">
    <jsp:directive.include file="Header.jspf"/>
    </div>
    <!-- END: include header -->
    <webuijsf:form ...>
    From above fragment, you can see the header.jspf is outside of the form element.

  • [iPhone] Multi UIWebView inside UIScrollView

    Hi all,
    I design a app has some UIWebView inside a UIScrollView with paging (a page is a UIWebView).
    My problem is can not zoom or scroll content in UIWebView. I understand that the problem is that the scrolling of the webview is conflicting with that of the scroll view but I have no idea how to get around it.
    Please help me.
    Thank you very much

    Hi Doudou, and welcome to the Dev Forum!
    I recently posted step-by-step instructions in how to add an ordinary UIView (a long content view populated with labels) to a scroll view: [http://discussions.apple.com/thread.jspa?threadID=2208349&tstart=15]. Assuming you wish to have other subviews above and below the web view, you might want to build the same xib I described in that thread, then just add your web view to the content view.
    A word of caution, though: It's common to have problems when attempting to add one scrolling view to another. When the scroll bar isn't active in the web view, the user will expect to be able to scroll the content view by swiping the web view. And when the web view is scrollable, the user will expect to scroll it while the content view stays fixed. I've never played with a web view on top of a scroll view, so I don't know how many problems you're looking at. But even after you solve those problems, I don't know if the interface will ever be very intuitive.
    Hope that helps!
    \- Ray

  • Move a UIView below a subview in animation block

    Hi,
    I am moving UIViews inside an animation block [UIView beginAnimations:context:] [UIView commitAnimations] by changing the view's view.frame to a different CGRect values. And I need to move a subview below the subview on its right when swipe movement to the right is detected.
    All subviews are created with a different set of CGRect valudes and added to self.view in viewDidLoad. Is there any way to move a UIView under a subview without using [self.view insertSubview:firstView belowSubview:secondView] inside the animation block?
    Thanks in advance,
    aobs

    I have tried the above code. Unfortunately, it does not work. Can anyone point me in the right direction on how I can move a subview below another subview in an animation block?
    Thanks,
    aobs

Maybe you are looking for

  • How to put a string from one Frame to another Frame?

    Dear all, How can I put a String from one Frame to another Frame? When the application started, the Frame 'WindowX' will be displayed. After you press the 'openButton', a whole new Frame (inputFrame) will be shown. In this Frame )(inputFrame) you can

  • Error while creating asm disk group

    i am trying to convert my database SRAVAN as an ASM instance. so do i need to set ORACLE_SID=+ASM???? r else it wil be SRAVAN?? I WAS ENDED UP WITH FOLLOWING ERRORS WHILE CREATING DISK GROUP. guyz please do help me SQL> CREATE DISKGROUP dgroup1 2 NOR

  • Lion (non-Snow) Leopard Work-Around Question.

    I have a four year old Black MacBook running Snow Leopard 10.6.3  and a Two Year Old MacBook Air running Leopard 10.5.2.  I can't find my Snow Leopard install disk.  If I download Lion to my Black MacBook, can I transfer the install package via Bluet

  • Change of DTP tech name in transport causes error in Process chain

    Hello people, This message was posted before and I do not think there was an answer.  I hope I have better luck. When we transport DTP and process chain, the DTP tech name is changed in the target system while the DTP specified in the transported pro

  • How do i create new mailboxes on ipad

    how do i create a new mailbox on ipad2