Same logical outcome from multiple commands

Hello,
I have several command components with the same logical outcome. Is there any way to find out which command supplied the logical outcome after navigation has occured? Perhaps using the command ID?
Thanks

Thanks. That was really helpful, I read the Java EE 5 tutorial (not completely, but I read parts one, three and four) and I believe it didn't mention this, I have to double check that. It would be a strange omission for a 1344 page tutorial.
Unfortunately, what I really need is some programmatic way of checking the source of the outcome. The reason is that the commands aren't static, they're generated dynamically based on data pulled from a database.
Here is a more detailed, real-world description of what I'm trying to do:
I present a number of resources to the user in a tabular way (actually the resources are developers, which are indeed called "resources"), resources taken from a database. After a resource has been inserted it can be modified and deleted. I want to have a separate modify/remove commandButton (or commandLink, doesn't matter) for each resource (row). (I also want a global remove, which removes rows selected with a selectBooleanCheckbox.)
And some time later I want to add pagination to the application, because I'm expecting to see more than a page's worth of resources.
I'm really new to JSF and Java EE in general. My previous Web development endeavors were with PHP and I got used to reinventing the weel. I was wondering is there an "industry standard" solution to pagination using JSF?
Thanks for you response,
Csabi

Similar Messages

  • Consistency check error 38011: Logical tables from multiple subject areas..

    I received multiple 38011 errors when performing a consistency check after merging repositories:
    For example:
    Logical tables from multiple subject areas associated, OHRP and Enterprise Warehouse
    (OHRP and Enterprise Warehouse refer to different business models)
    I'm really not sure what this means, and Metalink and Google aren't turning up anything.
    Thoughts?
    -John

    John,
    Does it say anything about Assertion Failure? Also, this is straight up from help regarding import (through file menu) "Use this option when the objects you import are unrelated to objects already in the repository such as when the business model and physical layer objects do not exist. If an object of the same name and type exists, the import process overwrites the existing object with the new object. When you import objects from one repository into another, the repository from which you are importing must be consistent."
    Sometimes Merge does bring unexpected (and unwanted results) - especially if there're presentation aliases, duplicate business models, or naming conflicts. If it's not too late, I suggest you use Import,rather than Merge, also, preferably starting with a new RPD file. This would enable you to bring items piece-by-piece and hopefully would allow you to isolate the problem.
    Also, depending on the size - it's sometimes preferable to just reproduce missing part(s). I hope this is helpful.
    Also, I forgot to say - the Import is deprecated and not supported. They suggest you use Project Extract and Merge. If Merge isn't working out for you and Import isn't an option - maybe you could try Project.
    Edited by: wildmight on Mar 9, 2009 7:58 AM

  • Need same logical path for multiple objects in a Single project

    Dear All,
    I have a requirement where I wish to ensure that whenever an object is created in the LSMW transaction (In a Single Project), that object has to be created always under the same logical path name.
    This logical path I want to define under the transaction FILE.
    Is it possible to get this done?
    Please help,
    Regards,

    Nimish,
    Please tell me how to ensue that for every object created we get the same logical path without entering any value.
    The path i mean is the one defined in the transaction FILE
    Thanks for your input.
    Regards,

  • Open same UDP port from multiple applications

    I need to write to a local UDP port from one application, and read from that same UDP port from another application. (We're doing two-way communication, but use one port to send from A to B, and another port to send from B to A.) One of the applications is written in C++, and the C++ UDP open includes ReuseAddress in the socket options; there seems to be no way to specify this functionality from LV. Note that these applications are deployed to a Vista (64-bit) system with the LV Runtime (not the LV development environment).
    This used to work when we were using LV 8.5 (as long as we ran the LV application before running the C++ application), but when we updated to LV
    8.6.1 it no longer works -- the second application to be run cannot open the UDP port.
    Sometimes the applications are run on different machines, and then everything works fine. But sometimes we need to run both applications on the same machine, and then we encounter this problem. So whatever solution we come up with, we need to be able to make it work in both configurations (same machine, or different machines).

    I discovered that I can open any port (e.g., 0, and let it allocate a port for me), and then write to the port I want to write to with no problems, bypassing the problem.

  • Send Port to internally hosted IIS web service needs to run on the SAME IIS SERVER from multiple orchestrations

    Hi
    We have a multi-server BizTalk environment. We have an Orchestration with multiple call orchestrations in it. Each called orchestration is calling a web service through a 2 way Send Port (which is hosted in IIS on each BizTalk server in our multi server
    environment). We have to ensure that each called orchestration is calling these web services on the same IIS server.
    I could create a dedicated host instance that the Send Port runs under to run only on one server but then this means that all our DBase traffic is happening on one server. We also thought about using the load balancer some how to achieve this through sticky
    sessions etc.
    This is all necessary because we are using Entity Framework exposed through web services and we need to manage transactions.
    Any ideas on how we may achieve this. I have inserted a picture to try and show the scenario
    Biztalk Developer

    Haha, Entity Framework strikes again!  But seriously, that is a rather odd architectural requirement, double check first. But anyway...
    Try this: Configure the Send Port URI to point to something like http://localservicehost/[yourEFService]
    Then in the local hosts file (the DNS/IP hosts file), define localservicehost to the local IP address where the service is listening.
    That way, the connection will always be made to the local machine.  Essentially the same as localhost.

  • Help! Invoking the same Web Service from multiple mxml components

    Hi,
    I'm building an application that interacts with a Web Service.  The application (App A) has a tabNavigator with two tabs (Tab1 and Tab2).  Tab1 contains a custom component (Comp A) and Tab2 contains another custom component (Comp B). Tab1 is the first tab, and Tab2 is the second tab.
    Comp A and Comp B each handles the "creationComplete" event by invoking an operation, Op1,  of the Web Service.
    The problem is, when App A starts up, Comp B can successfully invoke Op1 in its creationComplete handler, but Comp A cannot.  In fact, Comp A's call to Op1 does not return.  Comp A is created before Comp B.
    If the application has only one tab (either Tab1 or Tab2), each Comp can successfully invoke Op1 at application start-up.
    Comp A and Comp B each has its own declaration section for the Web Service and CallResponder for Op1.
    I'm using the trial version of Flex Builder 4 and new to flex application development.  Any help in debugging this problem would be greatly appreciated.
    Much thanks,
    --Hyong

    I've been shown by a colleague (who is more experienced in .Net than am I) that this can be achieved by adding the target web service's WSDL to my invoking web service as a Web Reference.  The original logic I was using, though working from VB 6 and Active Server Pages, can be simplified through the use of the WSDL definition for implementation in .Net.
    Thank you for your responses,
    -- Chris

  • Finding same column name from multiple database tables

    I am needing to find all tables in a database that contain the same column. ie: which tables in database A have col_a in it.
    Is it possible to do a sql code to qry all of this?
    Thanks

    No, Ignacio did not, at least, not really. ;)
    The usage of ALL_TAB_COLUMNS only has info for tables which the actual user has access to.
    If you need to be sure that you search each and every table, you have to use DBA_TAB_COLUMNS (or the connected user must be a super hero...).
    Just wanted to point that out.
    Regards,
    Guido

  • Manually managing music on iPhone from multiple computers

    Everything I've read 'claims' this can be but I don't think the people who tell you how to do it even bother to see what happens.  This is one of the things that really frustrate me about forums.  It's the complete lack of thoroughness of the people who reply to a question without knowing the outcome.
    It's a simple task.  I want to be able to move music from multitple computers to my iPhone.  When I go into iTunes and select the device, in my case it's the iPhone, and check the box to manually manage music and videos then click 'apply' I get a warning that everything is going to be erased from the phone.  WTH!?!  And no one on ANY forum who suggests this is the proper way manually managing music even has a solution to be able to do this WITHOUT erasing the phone.
    C'mon Apple.  It's a SIMPLE drag-n-drop implementation.  How hard can it be?  I'm not the least interested in syncing with some music library on the computer.  In fact I don't even sync my phone with the iTunes Library.  It's a waste of time because I can't even selectively sync music.  It's either all or nothing.  STUPID.  I simply want to move music on and off the phone.  You know, drag into the window to add and drag off to remove.  And I want to be able to do it from any computer I want that's running iTunes.  I shouldn't have to copy music from a different computer, carry it home and add it from the home system.  That completely defeats the concept of portability.  And if my home computer happens to go south for some reason then what?  Even if I have all my music backed up, I have to wipe out all my music on the phone and start all over because I'm now using a different computer.  Who was the genius that came up with that ludicrous idea?
    Apple you really need to take a page from Sandisk and allow iPhones to be treated as external drives so we can drag and drop our music onto them.  No muss no fuss.  Simple and clean with no hair pulling.  It's already established the you create some very pretty devices.  Now let's work on improving usability.  Because the way I see it, it's a bit backwards.

    Sync iPod/iPad/iPhone with two computers
    Although it isn't possible to sync an Apple device with two different libraries it is possible to sync with the same logical library from multiple computers. Each library has an internal ID and when iTunes connects to your iPod/iPad/iPhone it compares the local ID with the one the device normally syncs with. If they are the same you can go ahead and sync...
    I have my library cloned to a small 1Tb USB drive which I can take between home & work. At either location I use SyncToy 2.1 to update the local copy with the external drive. Mac users should be able to find similar tools. I can open either of the local libraries or the one on the external drive and update the media content of my iPhone. The slight exception is Photos which normally connects to a specific folder on a specific machine, although that can easily be remapped to the current library if you create a "Photos" folder inside the iTunes Media folder so that syncing the iTunes folders keeps this up to date as well. I periodically sweep my library for new files & orphans with iTunes Folder Watch just in case I make changes at one location but then overwrite the library with a newer copy from the other. Again Mac users should be able to find similar tools.
    As long as your media is organised within an iTunes Music or Tunes Media folder, in turn held inside the main iTunes folder that has your library files (whether or not you let iTunes keep the media folder organised) each library can access items at the same relative path from the library folder so the library can be at different drives/paths on different machines. This solution ensures I always have adequate backups of my library and I can update my devices whenever I can connect to the same build of iTunes.
    When working with an iPhone earlier builds of iTunes would remove any file not physically present in the local library, even if there was an entry for it, making manual management practically redundant on the iPhone. This behaviour has been changed but it will still only permit manual management with a library that has the correct internal ID. If you don't want to sync your library between machines on a regular basis just copy the iTunes Library.itl file from the current "home" machine to any other you want to use, then clean out the library entires and import the local content you have on that box.
    tt2

  • How to load data into an ods from multiple info sources.

    hi all...
    i am given a task to load data into an ods from 3 infosources ...
    can someone plz give me the flow .
    thank u in advance..

    Hi Hara Pradhan,
    You have to create 3 update rules by giving the 3 different infosources while creating each update rule. And u have to create the infopackages under each infosource. with this u can load the data to the same data target from multiple info sources.
    Hope it helps!
    Assign points if it helps!

  • Merge iweb sites from multiple user accounts on same computer

    With the previous iweb version, my children created their own iweb sites on their own users, but all under my own .mac account. It worked great.
    But now with the new "upgraded" iweb '08, that isn't allowed anymore.
    So, I created a new user on our computer for all of us to use to maintain our multiple iweb accounts on.
    How can I move multiple iweb sites from multiple users on the same computer into one user?

    Each of the user's work in iWeb will be contained in a single file, Domain.sites2, which can be found in this location on the hard drive for each user account. You will need to copy all of these Domain.sites2 files to an external drive, or, at the very least, burn them to a disk to make them transferable from one user account to another. A flash drive also works great for this.
    Once you have made all of these Domain files accessible from the new user account that you created, you will still have a formidable task ahead of you, i.e., publishing separate sites, from separate Domain.sites2 files, to the same .Mac account/directory. In other words, bringing all of these Domain files together for access by a single user account will not solve the problem. You may very well be able to solve the problem with things the way they are, but it will involve some shuffling of Site's files on the iDisk prior to publishing.
    The method I'm going to give you has worked well for me. So far, here in the forums, I've read posts from (2) other users who were also successful. Conversely, I know of at least (3) other users who have been unsuccessful with this approach. I sure hope it works for you.
    Open System Preferences and go to .Mac. Turn syncing off, if it is on, and leave it off.
    Now, in Finder, navigate to the current Site files on your iDisk, following this path:
    Go/iDisk/My iDisk/Web/Sites/NameOfSiteFolder
    Drag the Site folder that is named for your site, (not the directory Site folder), back one level on the iDisk, into the Web folder. This is where some run into difficulties--you may get an error message that the folder is "in use, and cannot be moved". I have never gotten this message, and am able to move my Site's folders around with no problem on the iDisk.
    If you are successful moving the folder, choose one of your other accounts on your machine, launch iWeb, and Publish all to .Mac. The existing site on the server will not be deleted. Now, go back to the iDisk and move that site folder, (the one you just published), back one level, again, to the root Web directory. Publish your next site, from your next account.
    When you are finished publishing sites, just move the Site folders back to their original location on the iDisk--Web/Sites/SiteFoldersHere. All sites will be accessible from a browser using the web.mac.com/username/nameofsite url.
    It is important to use the Publish all to .Mac command in iWeb. A simple Publish to .Mac command will not put the correct index.html file in place on the server.
    Post back and inform us of your success.
    -Mark

  • Zip'ing files from multiple folders to the same zip file

    Could somebody recommend a method to create a zip file with file contents from multiple folders? Or is there an application I can drag and drop a bunch of files to zip em?

    First highlight all of the folders or files. If they're not right next to each other, or on the same drives, hold down the Command key while clicking to choose the next without losing previous choices.
    Once they're all highlighted, right click on any highlighted item and choose "Compress xxx Items".

  • Accessing the same stateful session bean from multiple clients in a clustered environment

    I am trying to access the same stateful session bean from multiple
              clients. I also want this bean to have failover support so we want to
              deploy it in a cluster. The following description is how we have tried
              to solve this problem, but it does not seem to be working. Any
              insight would be greatly appreciated!
              I have set up a cluster of three servers. I deployed a stateful
              session bean with in memory replication across the cluster. A client
              obtains a reference to an instance of one of these beans to handle a
              request. Subsequent requests will have to use the same bean and could
              come from various clients. So after using the bean the first client
              stores the handle to the bean (actually the replica aware stub) to be
              used by other clients to be able to obtain the bean. When another
              client retrieves the handle gets the replica aware stub and makes a
              call to the bean the request seems to unpredictably go to any of the
              three servers rather than the primary server hosting that bean. If the
              call goes to the primary server everything seems to work fine the
              session data is available and it gets backed up on the secondary
              server. If it happens to go to the secondary server a bean that has
              the correct session data services the request but gives the error
              <Failed to update the secondary copy of a stateful session bean from
              home:ejb20-statefulSession-TraderHome>. Then any subsequent requests
              to the primary server will not reflect changes made on the secondary
              and vice versa. If the request happens to go to the third server that
              is not hosting an instance of that bean then the client receives an
              error that the bean was not available. From my understanding I thought
              the replica aware stub would know which server is the primary host for
              that bean and send the request there.
              Thanks in advance,
              Justin
              

              If 'allow-concurrent-call' does exactly what you need, then you don't have a problem,
              do you?
              Except of course if you switch ejb containers. Oh well.
              Mike
              "FBenvadi" <[email protected]> wrote:
              >I've got the same problem.
              >I understand from you that concurrent access to a stateful session bean
              >is
              >not allowed but there is a
              >token is weblogic-ejb-jar.xml that is called 'allow-concurrent-call'
              >that
              >does exactly what I need.
              >What you mean 'you'll get a surprise when you go to production' ?
              >I need to understand becouse I can still change the design.
              >Thanks Francesco
              >[email protected]
              >
              >"Mike Reiche" <[email protected]> wrote in message
              >news:[email protected]...
              >>
              >> Get the fix immediately from BEA and test it. It would be a shame to
              >wait
              >until
              >> December only to get a fix - that doesn't work.
              >>
              >> As for stateful session bean use - just remember that concurrent access
              >to
              >a stateful
              >> session bean is not allowed. Things will work fine until you go to
              >production
              >> and encounter some real load - then you will get a surprise.
              >>
              >> Mike
              >>
              >> [email protected] (Justin Meyer) wrote:
              >> >I just heard back from WebLogic Tech Support and they have confirmed
              >> >that this is a bug. Here is their reply:
              >> >
              >> >There is some problem in failover of stateful session beans when its
              >> >run from a java client.However, it is fixed now.
              >> >
              >> >The fix will be in SP2 which will be out by december.
              >> >
              >> >
              >> >Mike,
              >> >Thanks for your reply. I do infact believe we are correctly using
              >a
              >> >stateful session bean however it may have been misleading from my
              >> >description of the problem. We are not accessing the bean
              >> >concurrently from 2 different clients. The second client will only
              >> >come into play if the first client fails. In this case we want to
              >be
              >> >able to reacquire the handle to our stateful session bean and call
              >it
              >> >from the secondary client.
              >> >
              >> >
              >> >Justin
              >> >
              >> >"Mike Reiche" <[email protected]> wrote in message
              >news:<[email protected]>...
              >> >> You should be using an entity bean, not a stateful session bean
              >for
              >> >this application.
              >> >>
              >> >> A stateful session bean is intended to be keep state (stateful)
              >for
              >> >the duration
              >> >> of a client's session (session).
              >> >>
              >> >> It is not meant to be shared by different clients - in fact, if
              >you
              >> >attempt to
              >> >> access the same stateful session bean concurrently - it will throw
              >> >an exception.
              >> >>
              >> >> We did your little trick (storing/retrieving handle) with a stateful
              >> >session bean
              >> >> on WLS 5.1 - and it did work properly - not as you describe. Our
              >sfsb's
              >> >were not
              >> >> replicated as yours are.
              >> >>
              >> >> Mike
              >> >>
              >> >> [email protected] (Justin Meyer) wrote:
              >> >> >I am trying to access the same stateful session bean from multiple
              >> >> >clients. I also want this bean to have failover support so we want
              >> >to
              >> >> >deploy it in a cluster. The following description is how we have
              >tried
              >> >> >to solve this problem, but it does not seem to be working. Any
              >> >> >insight would be greatly appreciated!
              >> >> >
              >> >> >I have set up a cluster of three servers. I deployed a stateful
              >> >> >session bean with in memory replication across the cluster. A client
              >> >> >obtains a reference to an instance of one of these beans to handle
              >> >a
              >> >> >request. Subsequent requests will have to use the same bean and
              >could
              >> >> >come from various clients. So after using the bean the first client
              >> >> >stores the handle to the bean (actually the replica aware stub)
              >to
              >> >be
              >> >> >used by other clients to be able to obtain the bean. When another
              >> >> >client retrieves the handle gets the replica aware stub and makes
              >> >a
              >> >> >call to the bean the request seems to unpredictably go to any of
              >the
              >> >> >three servers rather than the primary server hosting that bean.
              >If
              >> >the
              >> >> >call goes to the primary server everything seems to work fine the
              >> >> >session data is available and it gets backed up on the secondary
              >> >> >server. If it happens to go to the secondary server a bean that
              >has
              >> >> >the correct session data services the request but gives the error
              >> >> ><Failed to update the secondary copy of a stateful session bean
              >from
              >> >> >home:ejb20-statefulSession-TraderHome>. Then any subsequent requests
              >> >> >to the primary server will not reflect changes made on the secondary
              >> >> >and vice versa. If the request happens to go to the third server
              >that
              >> >> >is not hosting an instance of that bean then the client receives
              >an
              >> >> >error that the bean was not available. From my understanding I
              >thought
              >> >> >the replica aware stub would know which server is the primary host
              >> >for
              >> >> >that bean and send the request there.
              >> >> >
              >> >> >Thanks in advance,
              >> >> >Justin
              >>
              >
              >
              

  • How can i select some row from multiple row in the same group of data

    I want to select some row from multiple row in the same group of data.
    ColumnA        
    Column B
    1                  OK
    1                   NG
    2                   NG
    2                          NG
    3                          OK
    3                          OK
    I want the row of group of
    ColumnA if  ColumnB contain even 'NG'
    row , select only one row which  Column B = 'NG'
    the result i want = 
    ColumnA         Column B
    1                         NG
    2                   NG
    3                          OK
    Thank you

    That's some awful explanation, but I think this is what you were driving at:
    DECLARE @forumTable TABLE (a INT, b CHAR(2))
    INSERT INTO @forumTable (a, b)
    VALUES
    (1, 'OK'),(1, 'NG'),
    (2, 'NG'),(2, 'NG'),
    (3, 'OK'),(3, 'OK')
    SELECT f.a, MIN(COALESCE(f2.b,f.b)) AS b
    FROM @forumTable f
    LEFT OUTER JOIN @forumTable f2
    ON f.a = f2.a
    AND f.b <> f2.b
    GROUP BY f.a

  • Comparing fields from multiple entities in the same report (report builder 1.0)

    Created a model that contains 2 entities. I open that model in report builder 1.0.  When I drag a field from one of the entities into the design area, i can no longer see the other entity or use any of the fields from that other entity. 
    I need to use fields from both entities in the same report (join tables).  In management studio i would simply write a query and join tables but i cannot figure out how to do this in report builder.  Once i select a field from one entity
    how do i select fields from more than one entity and drag them into the same report.

    Would it be possible for you to send me instructions for this? I am not that familiar with SQL coding but I can definitely figure it out. I have been wanting to get information on reports from multiple entities for a very long time! The only way I can
    currently do it is have our document management software people write the report for me for quite a large fee. I would much rather do this myself. Right now I can select a few fields from one entity (the main one), some from a second entity under that one,
    but I cannot add any fields from a third entity! Quite annoying and hindering! Thank you :)

  • Creating Source systems in two same logical BW systems from single R/3 sys

    Hi All,
    We are facing an issue while creating Source systems in two same logical BW systems, from single R/3 systems. Our Basis team is telling that if we want to connect the single R/3 system into 2 BW systems with same logical name, we will need to delete the source systems from one BW systems and create in another system. Also they told by doing so it will delete all the transfer rules and PSA table existing in the current BW system, which has the source system connectivity with the R3 system now.
    Is this anyway to create the same source systems in two same logical BW systems, from single R/3 systems without deleting the transfer rules?. Also please help us to get anu OSS note or document explaining this in details.
    Regards.
    Muruganand.K

    Hi Muruganand,
    I dont think it is possible as connecting one R/3 Source System to two BW Systems.
    If you could get the possible solution, please do reply to the post.
    Regards,
    Kiran

Maybe you are looking for

  • How to change the data  type of a field in an internal table dynamically ?

    I have an internal table : Data: Begin of itab_data occurs 0, field1 type i, field2 type p decimals 2, end of itab_data. My requirement is to decide the number of decimals of "field2" dynamically . ie. based on the input in selection-screen , the dec

  • Invalid Cursor State

    Hi all, i was using SAPB0 2007A 42Patches, try to use AP Purchase Order and AP Goods Receipt PO together add serial numbers for Item facing this error as below: [Goods Receipt PO - Rows - Warehouse Code][line: 1], '1).[Microsoft][SQL Native Client]In

  • Level1 backup is taking more time than Level0

    The Level1 backup is taking more time than Level0, I really am frustated how could it happen. I have 6.5GB of database. Level0 took 8 hrs but level1 is taking more than 8hrs . please help me in this regard.

  • I have serial key but i lost my adobe acrobat standard cd

    where can i down load adobe acrobat online so i can install it again? i have the version 10 but i dont have the cd i lost it.

  • Copying shipping instruction from STO to Delivery

    Hi Experts , My client wants to copy shipping instructions from STO to Delivery . I would very thankful for any help for configuration. I already made search , but I couldnt find for shipping instructions. Maaany thanks in advance.