Problem of navigation with UI Patterns

Hi,
I have developed one CAF(Entity Services) application & configured with UI Patterns by using following liink.
http://localhost:50100/webdynpro/dispatcher/sap.com/cafUIconfigbrowser/ConfigBrowser
now i am getting two view pages as follows
1)For Create Employee
http://localhost:50100/webdynpro/dispatcher/sap.com/cafUIptn~objecteditor/ObjectEditor?app.parameter1=&app.parameter2=N&app.configName=createEmployee
2)For Search Employee
http://localhost:50100/webdynpro/dispatcher/sap.com/cafUIptn~objectselector/ObjectSelector?app.configName=employeeSelector
Now i want to navigate from one view page to another , or i want to send  or reterive data to & from database by implementing user defined buttons.
can i do this thing by using UI Patterns.plz reply back ASAP.
Thank You very much
Pawan Mishra

Hi,
I have developed one CAF(Entity Services) application & configured with UI Patterns by using following liink.
http://localhost:50100/webdynpro/dispatcher/sap.com/cafUIconfigbrowser/ConfigBrowser
now i am getting two view pages as follows
1)For Create Employee
http://localhost:50100/webdynpro/dispatcher/sap.com/cafUIptn~objecteditor/ObjectEditor?app.parameter1=&app.parameter2=N&app.configName=createEmployee
2)For Search Employee
http://localhost:50100/webdynpro/dispatcher/sap.com/cafUIptn~objectselector/ObjectSelector?app.configName=employeeSelector
Now i want to navigate from one view page to another , or i want to send  or reterive data to & from database by implementing user defined buttons.
can i do this thing by using UI Patterns.plz reply back ASAP.
Thank You very much
Pawan Mishra

Similar Messages

  • Design flaw in overloading? Problem with visitor pattern

    I have been trying some implementations of the Visitor pattern in Java and have encountered a problem with overloaded methods in Java. It seems that the caller (client) of a overloaded method decides what implementation of that method is chosen. I find that strange from an OO / encapsulation point of view and it gets me into problems when using Visitor. This code shows my problem:
    // a class with overloaded methods
    public class OverLoadingTest {
         public void print(String s) {
              System.out.println("This looks like a String to me:");
              System.out.println("\"" + s + "\"");
         public void print(Object o) {
              System.out.println("This looks like an Object to me:");
              System.out.println("\"" + o + "\"");
    //a client for that class
    public class OverLoadingTestClient {
         public void test() {
              OverLoadingTest test = new OverLoadingTest();
              Object o1 = "String in an Object reference";
              String s1 = "String in a String reference";
              test.print(o1);
              test.print(s1);
         public static void main(String[] args) {
              new OverLoadingTestClient().test();
    //And the output is:
    This looks like an Object to me:
    "String in an Object reference"
    This looks like a String to me:
    "String in a String reference"
    //The output I would have expeced (wanted):
    This looks like a String to me: //it is a String!
    "String in an Object reference"
    This looks like a String to me:
    "String in a String reference"
    Why is this? Is there a work around?

    The specific method is decided on in compile time and by the client of that method, not the provider. I'd expect the client to just invoke the method and let the privider figure out what implementation to choose. Whatever the client thinks that he is providing as argument types.
    I am implementing a slightly different version compared to http://ootips.org/visitor-pattern.html. I find implementing "v.visit(this);" for every subclass of the Visisted superclass strange. Why an abstract method "accept(Visitor v);" when all subclasses will iplement it in the same way ("v.visit(this);")?
    Daan

  • Any Security Problems with Navigation with Short URLs?

    Hi ,
    I want to use Navigation with Short URLs for my users to access the portal. But if the users give that Short URLs to other non-users , will the URL open?
    I will give the role for the users only. Non-users will not have particular role.
    Are these Navigation with Short URLs are safe to use?
    Advise me.

    Hi,
    The iview have "EveryOne Role" and "Super Admin Role".
    The portal will not allow any "anonymous" users, because it needs atleast "EveryOne Role" for the access.
    Will this create any problem.
    I think the "EveryOne Role" is there for the user, if the iview1 assigned for role1 but still in the permissions of iview1 have the "Everyonerole" , it is allowing user to access this right?
    Then I need to remove the EveryOne Role from the permissions.
    Regards
    Kiran

  • Problem with a pattern

    I have a problem with a pattern.
    I want to put a patter to validate an e-mail but i don´t find the way to do it

    Hi Veloki,
    You can drag and drop custom "email Adress" object from Custom Object Library. It includes the script for email validation in the validate event of email area.
    // Validate the email address.
    var r = new RegExp("^[a-z0-9_\\-\\.]+\\@[a-z0-9_\\-\\.]+\\.[a-z]{2,3}$"); // Create a new Regular Expression Object.
    // Set the regular expression to look for an email address in general form.
    var result = r.test(this.rawValue); // Test the rawValue of the current object to see
    // if it fits the general form of an email address.
    if (result == true) // If it fits the general form,
    true; // all is well.
    else // Otherwise,
    false; // fail the validation.
    Asiye

  • Firefox have some promlems and it block when is opeining hotmail, in my laptop always have that problem, so i need check my email using another programs...that problem is in my laptop or it´s a problem of navigator??

    Firefox have some problems and it block when is opening hotmail, in my laptop always have that problem, so i need check my email using another programs...that problem is in my laptop or it´s a problem of navigator??

    I know you can't help with my Yahoo problem, however, apparently at some time in the past I have went to the Sync and tried to figure it out on both my laptop and my desktop, because I have the long snyc key information. However, when I go to try to sync both computers I never get the box to enter that key on either one. That is my problem. So should I try and get a new sync key and see if that works.

  • JTable's Cell navigation with TAB

    Dear ALL
    I have face one problem in JTable's cell navigation with TAB. The problem as describe bellow.
    I have two columns NAME and ADDRESS. Set focus on ADDRESS column's first cell. now if i am press tab key then focus controll comes on second cell which is the ADDRESS column. At the end of row controll comes on first row second column that means focus on ADDRESS column's first cell.
    Please give me some hints.
    Thanks in advance.
    Amit

    Your description doesn't make any sense (to me at least) so I don't know what your problem is or what you are asking to be changed.
    The normal tab order is Left to Right, Top to Bottom. So if the focus is at the top/left normal tabbing would be:
    Row 0, Column 0 (name 0)
    Row 0 Column 1 (address 0)
    Row 1, Column0 (name 1)
    Row 1, Column 1 (address 1)
    Row 2, Column 0 (name 2)
    Row 2, Column 1 (address 2)
    Your question seems to imply that your tab from address to addreass, which doesn't make sense.
    "Set focus on ADDRESS column's first cell. now if i am press tab key then focus controll comes on second cell which is the ADDRESS "

  • h:selectManyListbox creating problem in Navigation.

    Hi ALL,
    I m getting 2 problems while working with selectManyListbox in JSF.
    First Problem:
    My requirement is to transfer values from one List box(ie selectManyListbox) to another, while doing so I m calling the same page in the navigation, but while navigating I m not able to maintain old values of selectItem( ie every time it is initializing � refer java code)
    My jsp code is as follows:
    <f:view>
    <h:form id="frm">
    <h:panelGrid columns="3" border="1">
    <h:panelGroup>
    <h:selectManyListbox id="from" Value="#{up.fromValues} " rendered="#{up.fromFlag} " >
    <f:selectItems value="#{up.fromList} " />
    </h:selectManyListbox>
    </h:panelGroup>
    <h:panelGroup>
    <h:panelGrid columns="4" border="1">
    <h:commandButton value="Left" action="#{up.removeOne} " />
    <h:commandButton value="LeftAll" action="#{up.removeAll} " />
    <h:commandButton value="RightAll" action="#{up.moveAll} " />
    <h:commandButton value="Right" action="#{up.addOne} " />
    </h:panelGrid>
    </h:panelGroup>
    <h:panelGroup>
    <h:selectManyListbox id="to" value="#{up.toValues} " rendered="#{up.toFlag} " >
    <f:selectItems value="#{up.toList} " />
    </h:selectManyListbox>
    </h:panelGroup>
    </h:panelGrid>
    </h:form>
    </f:view>
    And Java code is :
    //fromList � First List from which transferring to 2nd list
    //toList � To list
    //fromString �constant string from which adding options to select box
    private List<SelectItem> fromList;
    private List<SelectItem> toList;
    String[] fromValues;
    String[] toValues;
    String[] fromString = { "1111", "2222", "3333", "4444" };
    String[] toString = {"aaaa","bbbb" };
    public List<SelectItem> getFromList( ) {
    if (fromList == null) {
    fromList = new ArrayList<SelectItem>();
    for (int i = 0; i < fromString.length; i++) {
    SelectItem item = new SelectItem() ;
    item.setValue( fromString[ i]);
    item.setLabel( fromString[ i]);
    fromList.add( item);
    return fromList;
    In the above code initially I m checking for fromList == null, 1st time this condition will be true, but when I call 2ed time ie values are put into fromList, so this condition should become false, but every time this condition is becoming true and initializing fromList all the time.
    Can anyone please tell me where am I going wrong??
    And code to transfer one option from one select box to another is as follows:
    public String addOne() { //This will be called when �Right� button is clicked
    for (int i = 0; i < fromValues.length; i++) {
    SelectItem item = new SelectItem() ;
    item.setValue( fromValues[ i]);
    item.setLabel( fromValues[ i]);
    toList.add(item) ;
    for (int j = 0; j < fromList.size( ); j++) {
    SelectItem it = (SelectItem) fromList.get( j);
    // it.setValue( fromList. get(j));
    if (fromValues[ i].equals( it.getValue( ))) {
    fromList.remove( j);
    return "addOne";
    Second Problem :
    In jsp page as I m using 2 selectManyListbox, until I select one option from both the select boxes, I m not able to submit the form on clicking on commandButton.
    For eg: if I want to transfer �aaa� from first select box ie box1 ={aaa,bbb,ccc} to box2 ={xxx,yyy} , if I select only �aaa� and click on �Right�(commandButton ), it is not submitting the request. IF I select �aaa� and any one of box2 option ( xxx or yyy) and press �Right� then I m able to pass request(ie able to submit the form).
    But I want to submit by selecting only one option from select box (ie box1)
    Can anyone guide me???
    Thanks in advance�.

    First Problem solution:
    Here i did a silly mistake in faces config...ie mananged bean scope I had given was request..so in the next request i was loosing old values...
    "I changed the scope to session"
    Second Problem :
    in commandButton i used another additional attribute ie immidiate = true..
    tht's all................

  • LV 7.1 VI with match pattern fails in LV8

    I am seeing something weird with LabVIEW 8.  Attached
    is a VI that was developed in 7.1 and has been working for the past year and a
    half.  When I upgraded to 8.0 it started exhibiting weird behavior. 
    The very first time it is executed it works fine.  All subsequent
    executions fail.  The problem is that the match pattern VI only matches
    the search string the first time it is executed, after that the offset past
    match is always -1.  Why?
    If I start from scratch in LabVIEW 8 and recreate this VI it seems to work
    fine.
    Joshua
    Attachments:
    Read_RCG_File.zip ‏21 KB

    Thanks for looking at this for me.  Now that you have pointed out
    that the Request Deallocation was causing the problem I need to correct
    what said in my original post.  If I recreate the VI from scratch
    in LabVIEW 8 there is still a problem.  The first time I recreated
    it I neglected to add the Request Deallocation.
    Thanks again for your help.
    Joshua
    PS  This VI is simplier and duplicates the problem.
    Attachments:
    MatchPatternDeallocateBug.vi ‏9 KB

  • Filling an object with a pattern without distortion?

    I have this camo pattern:
    wich already tiles seemlessy but when i turn it into a swatch it won't tile. it distorts the pattern and blows it up instead of using it as is and tiling:
    what is the problem here? can i scale it in some option menu? can i control the orientation? im creating a vector based logo, is this the right way to go about filling the object with this pattern?
    i want it to be scaled and tiled. what is the best way to go about it? what would u do? thanks in advance

    yup i thought so. it HAS to be vector based.
    it does not have to be vector, it can be jpeg or gif, but it has to be embedded...as for not using it in a logo, Scott can explain that.
    255x247 px
    the object is any size as its a vector. How are u filling yours? photoshop then a clipping mask?
    I meant the size of the camo image in relation to your vector object, not the actual size in pixels.
    in this sample I grabbed a GIF, embedded it, dragged it to the swatches palette, sent the image to back, then filled both the small object and the big object with the gif-embedded swatch, just to illustrate what happens with the size position.

  • Cross Site collections navigation with publishing feature enabled into sharepoint 2010??

    Hi,
    Is it possible to cross site collection navigation in share point 2010 with publishing feature enabled? Right now we have a site collection with all the departmental sites within it. We are trying to create separate site collection with separate content
    database for each department for better management. But problem with Global navigation as OOB does not provide cross site collection navigation functionality, So looking for multiple site collections or navigation for more than one site collection under single
    umbrella. i was able to get the cross site collection navigation in my development env without publishing feature enabled using below link. But problem with production environment, as all the site collections and sites are publishing feature enabled. how i
    am gonna do cross site navigation with publishing feature enabled? 
    http://www.itsolutionbraindumps.com/2011/10/sharepoint-2010-cross-site-collection.html
    Any link or suggest will be greatly appreciated !

    Hi,
    According to your description, my understanding is that you want to create cross site collections navigation with publishing feature enabled in SharePoint 2010.
    Publishing sites (sites with publishing infrastructure) have their own navigation API, and it is much more complicated task to preserve cross-publishing sites navigation.
    We need to implement our own custom navigation provider.
    Please refer to the link below about the cross site collections navigation with publishing feature enabled:
    http://sadomovalex.blogspot.com/2010/12/cross-site-and-cross-site-collection.html
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Error on page when navigating with in webdynpro applications

    Hi All,
    I have developed 5 different webdynpro applications. I need to navigate between these webdynpro applications. I am handling the navigation with in the webdynpro applications.
    The problem is after some time ( after navigating to the second or third level) when I try to click on the tabs(top level navigation), the JAVA SCRIPT ERROR is coming.
    And any other tabs are not coming.
    ERROR is: 'Error on page'
    ERROR Description is:'Problems with the web page might prevent it from being displayed properly or functioned properly'
    Any suggestions are appreciated.
    Thanks & Regards,
    Seshu

    Hi !,
    Please can you tell me what to do if you DO NOT want to destroy the source application when navigating away from it?
    For example...  Webdynpro App #1 calls Webdynpro App #2,
    Webdynpro App #1 will always stay visible and available to the user in there toolbar in the portal.  However after I click "Go" to trigger the navigation to Webdynpro App #2, then the next time I hit "Go", Webdynpro Application was destroyed out of memory I believe.

  • 2008 mbp boots up with weird pattern on the screen

    2008 mbp boots up with weird pattern on screen then says needs to restart but won't restart. Saw something about nvidia graphic card went bad and apple was replacing for free. Is that something apple is still doing and does that sound like my issue?

    I know this is an old post, but people reading it may be interested by these two links:
    http://totalpoop.com/apples-2008-macbook-pro-nvidia-graphics-card-recall.htm
    http://support.apple.com/kb/TS2377
    I got this problem with my previous 2008 Macbook Pro, and it appeared just after the recall ended! Here in Canada, Apple is charging close to $500 to replace the motherboard (and the graphics card). Recently, I discovered a computer chop in Montréal where they told me they can replace the GPU for $200. I left them my computer and will get it back in a week or so. I hope it will fix the problem.

  • Designing a smart Swing GUI with design patterns

    Hi !
    I have to build a quite big Swing GUI from
    scratch. I would like to use smart design patterns to :
    * ensure reusability of some components
    * offer a framework-like set of solid classes
    to deal with generic problems
    * try to respect MVC pattern as close as possible
    from the real MVC spirit (not the half MVC
    pattern Swing is build upon)
    Could somebody give me any link towards ressources/docs/articles dealing with how
    to build such a smart Swing GUI ?
    Thanx a lot !

    Hi !
    I have to build a quite big Swing GUI from
    scratch. I would like to use smart design patterns to :
    * ensure reusability of some components
    * offer a framework-like set of solid classes
    to deal with generic problems
    * try to respect MVC pattern as close as possible
    from the real MVC spirit (not the half MVC
    pattern Swing is build upon)
    Could somebody give me any link towards ressources/docs/articles dealing with how
    to build such a smart Swing GUI ?
    Thanx a lot !

  • The problem I have since I upgraded to Mavericks version 10.9.1 The problem appears only with Mail not with other programs, not even with my browser. When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command   to e

    the problem I have since I upgraded to Mavericks version 10.9.1
    The problem appears only with Mail not with other programs, not even with my browser.
    When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command + to enlarge the text, although I can reduce it with Command -.
    As I have a problem with my eyes, This is a serious matter for me.
    When I write an e-mail, if I select text and press Command +, it just displaces the text to the right.
    Now, my husband has a USB keyboard. If he connects it to my computer, his regular Command + does not work either, but  he uses the extended keyboard, then it works. Unfortunately, he needs it for a musical application which does not work with a wireless keyboard.

    Firefox 3.6.4 and 3.6.6 use a process called, "plugin-container.exe" which was using up most of my CPU when I opened up multiple tabs that contained Adobe Flash files, and caused Firefox to lock up.
    My solution was to use Firefox 3.5.10 which you can get from the Mozilla website at [http://www.mozilla.com/en-US/firefox/all-older.html]
    I am using Adobe Flash 10.1.53.64 without any problem in this version of Firefox. Check the release notes, I believe it contains all the latest security fixes in "Firefox 3.6.4".
    Hopefully, they will fix Firefox 3.6 in the next version (e.g. Firefox 3.6.7), until then you should probably use "Firefox 3.5.10".

  • I have an alert message in disc utility. Error: storage system verify or repair failed. Problems were found with the partitian map which might prevent booting.

    While running verify disc in disc utility on 251 GB SSD SM256c Media I came up with this message: Alert system verify or repair failed. In the descriptions box of history it said, problems were found with the partitions map which might prevent booting. This is followed by a message in red reading, Error: Storage system verify or repair failed. At the time I was down loading raw pictures off my camera through a card reader across my computer to a relatively new 2TB Western Digital portable hard drive. after about 13 to 15 pictures downloaded that drive faileded. My Mac Book Air works fine, but i get this message now everytime I run disc verify on this disc. The Macintosh HD checks out fine.

    While running verify disc in disc utility on 251 GB SSD SM256c Media I came up with this message: Alert system verify or repair failed. In the descriptions box of history it said, problems were found with the partitions map which might prevent booting. This is followed by a message in red reading, Error: Storage system verify or repair failed. At the time I was down loading raw pictures off my camera through a card reader across my computer to a relatively new 2TB Western Digital portable hard drive. after about 13 to 15 pictures downloaded that drive faileded. My Mac Book Air works fine, but i get this message now everytime I run disc verify on this disc. The Macintosh HD checks out fine.

Maybe you are looking for

  • Problem with Multisim project

    Dear Community, I had a problem with a Multisim project. My project doesn't work, every time it generates a SPICE Error. I rebuild exactly the same circuit as the ThreePhaseInverter(Example from NI). For testing I add a Four channel oscilloscope and

  • Where do i find go.bat(visual admin) in the trail pack of EHP1 CE 7.1

    Hi, I have installed the trial version of EHP1 CE7.1. I am able to access the portal , config tool etc but i am not able to find go.bat file anywhere in the j2ee folder of the path "C:\usr\sap\CE1\J00\j2ee".Can you please let me know where can i find

  • Can anyone explain the use of PhantomReference

    Can anyone explain the use of PhantomReference( if possible by an example..).

  • Conveting a BO report into XML format

    Post Author: Gunjan CA Forum: Integrated Solutions Hi, We have a requirement to convert BO Report into XML format. Could you please help if there is any tool available to directly convert BO report into an XML based on a predefind XSD. Thanks Gunjan

  • High security encrypt file mountain lion?

    Google's not helping me much. There must be a command line that runs something like common crypto, you give it the filename in and the filename out, and then a long string(s) which will be turned into the encryption bit pattern. It seems simple enoug