SelectOneMenu and custom object

Hi everybody,
i have problems using selectOneMenu component.
<h:panelGroup rendered="#{Navi.rendered}">
                    <h:selectOneMenu id="selPerson" value="#{Navi.user}">
                         <f:selectItems value="#{Navi.list}"/>
                    </h:selectOneMenu>
               </h:panelGroup>Here is the code from the backing bean:
private List list;
private User user;
public List getList() {
          if (list == null){
               loadDefault();
          return list;
     public void setList(List list) {
          this.list = list;
     public User getUser() {
          return user;
     public void setUser(User name) {
          this.user = name;
     }The list is loaded from db as follows:
while (result.next()){
     User user = (User) result.get(0);
     userlist.add(new SelectItem(user,user.getFirstname()+ " 
        "+user.getSurname(),user.getScreenName()));
}I get a validation error when trying to get the value from the list. Can anybody help? Regards,
ak

Hi Sushil,
To write to the activity stream, these are the things you need
1) A service definition in service-definition.xml . Similar to here http://docs.oracle.com/cd/E15523_01/webcenter.1111/e10148/jpsdg_svc_intro.htm#JPSDG506
2) Use the ActivityStreaming API to publish the event. (Note: I have only tried this from within WebCenter Portal so I can't be sure how the API may be called remotely)
     a) oracle.webcenter.activitystreaming.ActivityStreamingService.createActivityElement() to construct the activity element
     b) oracle.webcenter.activitystreaming.ActivityStreamingService.publish() to publish the activity element.
I can try and distil my code into a sample later this week.

Similar Messages

  • How to find all those list of SAP standard and custom objects that are changed from a specific point of time

    Hi all,
    Please let me know the process to track or find all the SAP Standard and custom objects. that got changed from a specific point of time.
    Is there any function module or any table where this change log is maintained.?
    I just only need the details ,wheather that SAP standard or Custom object has got changed or not.
    Thanks in advance

    Hi RK v ,
    I really don't know what your actual requirement is , but if you want to know the objects as per the modification , then transport request will be much help to you .
    Have a look into table E070 and E071 .
    Regards ,
    Yogendra Bhaskar

  • Create a dummy workbench and customizing object as critical object

    Hi!
    I am testing now the transport settings for critical objects.
    what is the easiest way to create a dummy workbench and customizing object, assign them to transport request and try to transport?
    (e.g. Work Bench object: LIMU, DOCU, "Documentation")
    Thank you very much!
    regards
    Thom

    I think i misinterpret my requirement.
    I have various other applications looking into my metadirectory. There is integration between OIM and Metadirectory and we have to update the various priviledges (multi value data) in Meta Resource form for this so that from MetaDirectory they can flow to other systems. For that i was thinking of using dummy resource object for each resource (attached to Meta). To update the various priviledges (group names and other entitlements) in meta collectively , i think we attached the dummy resource to access policies and once the values will update in dummy resource process form we can update the Meta Process Form accordingly (though i am not sure with this part that how can i achieve this). Also can we define the multi value data field in process form. By default child table having lookup is multivalue field (may be its only my conception) can we add it in core process form?
    Pardon me for confusion but i am really patch up between business and technical people requirement :(...
    just a follow up i need a pre-populate kind of functionality managing by access policy but after the value pre-populate in dummy resource object process form how to update the value in other process form and update the target resource.
    Edited by: user10781632 on Jun 19, 2009 7:05 AM

  • JoinFieldValue function and custom object 4,5

    Hi,
    Can JoinFieldValue function be used for custom objects 4 and 5? If I want to update the Account field on custom object 5 based on the Account field in custom object 4, can this be done using JoinFieldValue ? How?
    Regards,
    Ani.

    Hi Ani,
    Currently JoinFieldValue is not supported in Custom Objects 04-15. You will have to use web services for Updating Account field on Custom Object 5 or else you can try the URL method to update the Account field .
    Thanks & Regards
    Sablok

  • Need to Build the report on Campagins and custom object 01

    Hi All,
    I am building the report on campaigns and customobject 01 ,But wen i build the report i was not able to get all the project ID that are associated to the campaigns.
    The issue is when i pull the campaign id it wont fetches all the ID for customobject01 (becoz the relation is M:M)
    Can u please guide how to build the report.
    Regards
    Anu

    Hi,
    you can try to add the metric fields to your report for all involved objects, like # of Campaigns, # of Projects and # of Custom Object 1. Afterwards you can hide these fields from layout. For me this has always helped.
    Regards

  • Help with workflows and custom objects

    Hi!
    I want to create a script or workflow that will inventory computers C: and D: drives. I would like to use a workflow so i can query many computers simultaneously.
    Unfortunately I does not get the right output. I get PSComputerName and PSSourceJobInstanceID instead of my variables.
    PS C:\Windows\system32> Get-HDDInfo -ComputerName Comp1, Comp2
    PSComputerName PSSourceJobInstanceId
    localhost d7c95049-27c5-46e2-970f-7b940a656aa3
    localhost d7c95049-27c5-46e2-970f-7b940a656aa3
    localhost d7c95049-27c5-46e2-970f-7b940a656aa3
    localhost d7c95049-27c5-46e2-970f-7b940a656aa3
    The Workfow!
    Workflow Get-HDDInfo ([string[]]$ComputerName) {
    $Result = @()
    ForEach -Parallel ($Computer in $ComputerName) {
    $WMIComSys = Get-WmiObject -Class win32_computerSystem -Property Name -PSComputerName $Computer
    $WMIDiskDrives = Get-WmiObject -Class Win32_LogicalDisk -Filter "DeviceID = 'C:' or DeviceID = 'D:'" -PSComputerName $Computer
    $tmpOBJ = New-Object psobject
    $tmpOBJ | Add-Member -MemberType NoteProperty -Name "ComputerName" -Value $WMIComSys.Name
    foreach ($DiskDrive in $WMIDiskDrives) {
    $VolumeLetter = ($DiskDrive.deviceID).substring(0,1)
    $VolumeTotalSize = "{0:N2}" -f $(($DiskDrive.Size) / 1GB)
    $VolumeFreeSize = "{0:N2}" -f $(($DiskDrive.FreeSpace) / 1GB)
    $VolumeName = $DiskDrive.VolumeName
    # Variables outputs the correct values to C:\_tmp\test.txt
    "$VolumeLetter $VolumeTotalSize $VolumeFreeSize $VolumeName" | out-file C:\_tmp\test.txt -Append
    $tmpOBJ | Add-Member -MemberType NoteProperty -Name "$($VolumeLetter)_VolumeName" -Value $VolumeName
    $tmpOBJ | Add-Member -MemberType NoteProperty -Name "$($VolumeLetter)_TotalSize" -Value $VolumeTotalSize
    $tmpOBJ | Add-Member -MemberType NoteProperty -Name "$($VolumeLetter)_FreeSize" -Value $VolumeFreeSize
    } $workflow:Result += $tmpOBJ
    return $Result
    Can anyone point me in the right direction?
    Thanks!

    I created a none-workflow version of the script:
    Function Get-TestHDDInfo ([string[]]$ComputerName) {
    $Result = @()
    ForEach ($Computer in $ComputerName) {
    $WMIComSys = Get-WmiObject -Class win32_computerSystem -Property Name -ComputerName $Computer
    $WMIDiskDrives = Get-WmiObject -Class Win32_LogicalDisk -Filter "DeviceID = 'C:' or DeviceID = 'D:'" -ComputerName $Computer
    $tmpOBJ = New-Object psobject
    $tmpOBJ | Add-Member -MemberType NoteProperty -Name "ComputerName" -Value $WMIComSys.Name
    foreach ($DiskDrive in $WMIDiskDrives) {
    $VolumeLetter = ($DiskDrive.deviceID).substring(0,1)
    $VolumeTotalSize = "{0:N2}" -f $(($DiskDrive.Size) / 1GB)
    $VolumeFreeSize = "{0:N2}" -f $(($DiskDrive.FreeSpace) / 1GB)
    $VolumeName = $DiskDrive.VolumeName
    # Variables outputs the correct values to C:\_tmp\test.txt
    "$VolumeLetter $VolumeTotalSize $VolumeFreeSize $VolumeName" | out-file C:\_tmp\test.txt -Append
    $tmpOBJ | Add-Member -MemberType NoteProperty -Name "$($VolumeLetter)_VolumeName" -Value $VolumeName
    $tmpOBJ | Add-Member -MemberType NoteProperty -Name "$($VolumeLetter)_TotalSize" -Value $VolumeTotalSize
    $tmpOBJ | Add-Member -MemberType NoteProperty -Name "$($VolumeLetter)_FreeSize" -Value $VolumeFreeSize
    $tmpOBJ | out-file C:\_tmp\test.txt -Append
    $Result += $tmpOBJ
    return $Result
    This is the output:
    PS C:\Windows\system32> Get-TestHDDInfo -ComputerName Comp1, Comp2
    ComputerName : Comp1
    C_VolumeName : OSDisk
    C_TotalSize : 109,79
    C_FreeSize : 21,59
    D_VolumeName : VMs
    D_TotalSize : 223,57
    D_FreeSize : 55,76
    ComputerName : Comp2
    C_VolumeName : OSDisk
    C_TotalSize : 59,91
    C_FreeSize : 2,26
    D_VolumeName : Data
    D_TotalSize : 51,87
    D_FreeSize : 10,14
    This is how i want it to look.

  • Many to Many with Custom Objects 4 and up

    Hello,
    Pls. I need to define a new CO4 that will have a many to many relationship with Contact.
    From OD help pg.775 I understand that I should use another CO (f.ex. CO5) to be the intersection. Help file indicates how to rename the objects...and put them in the related info. section... but I don´t know what FIELDS (if any) I should define in the intersection CO5.
    Pls. Anyone could help ?
    Txs. a lot.
    Antonio

    Yes. You have to define them in CO5 Layout.
    You should see Name, Contact and Custom Object 04 (you may have renamed it). Not the Id field.
    Then when you add THE CO5 layout to Contact Related section, you can add new association between Contact and CO4.
    Don't forgot to enable the Access Profiles in Contact, CO4 and CO5.

  • Creation of customizing and workbench object

    Hi!
    I am testing now the transport settings for critical objects.
    what is the easiest way to create a dummy workbench and customizing object, assign them to transport request and try to transport?
    (e.g. Work Bench object: LIMU, DOCU, "Documentation")
    Thank you very much!
    regards
    Thom

    Hi,
    Goto SE38, create a program and assign it to a development package/dev class automatically it will popup asking for a workbench request, here say create and a request is created.
    For documentation, goto se38 type in the progrma name and select Documentation radio button and say change and enter the documentation, it will ask for a request (if the program is already there in a request then it will not ask).
    Thanks & Regards,
    Navneeth K.

  • Leads and its associations with Custom Objects 4-15

    I have been trying to create a Real time report with Lead associating with Custom Objects 3 and 5. But the report does not show up any data. I know that we cannot associate Custom objects 1,2 and 3 with Lead. I wanted to know if we can associate Lead with Custom Objects 4-15 or not ?

    Yes. You have to define them in CO5 Layout.
    You should see Name, Contact and Custom Object 04 (you may have renamed it). Not the Id field.
    Then when you add THE CO5 layout to Contact Related section, you can add new association between Contact and CO4.
    Don't forgot to enable the Access Profiles in Contact, CO4 and CO5.

  • Data Loader On Demand Inserting Causes Duplicates on Custom Objects

    Hi all,
    I am having a problem that i need to import around 250,00 records on a regular basis so have built a solution using Dataloader with two processes, one to insert and one to update. I was expecting that imports that had an existing EUI would fail therefore only new records would get inserted (as it says in the PDF) but it keeps creating duplicates even when all the data is exactly the same.
    does anyone have any ideas?
    Cheers
    Mark

    Yes, you have encountered an interesting problem. There is a field on every object labelled "External Unique Id" (but it is inconsistent as to whether there is a unique index there or not). Some of the objects have keys that are unique and some that seemingly have none. The best way to test this is to use the command line bulk loader (because the GUI import wizard can do both INSERT/UPDATE in one execution, you don't always see the problem).
    I can run the same data over and over thru the command line loader with the option to INSERT and you don't get unique key constraints. For example, ASSET and CONTACT, and CUSTOM OBJECTS. Once you have verified whether the bulk loader is creating duplicates or not, that might drive you to the decision of using a webservice.
    The FINANCIAL TRANSACTION object I believe has a unique index on the "External Unique Id" field and the FINANCIAL ACCOUNT object has a unique key on the "Name" field I believe.
    Hope this helps a bit.
    Mychal Manie ([email protected])
    Hitachi Consulting

  • Difference between workbench request and customizing request in transport

    Hi Experts,
    I am new to SAP BI7 work. i am having basic doubt in Transort request creations
    ususally we create  the requests to transport the objects from Development  system to further systems.
    can anyone please clarify me,  what is the main defference between the Workbench request and Customizing request.
    Thanks and Regards
    Mrudula

    Hi ,
           The Transport Organiser maintains Change Requests.These requests record the changes made to the repository and customizing objects.Based on that objects changed they are
    1)WorkBench Request & 2) Customizing Request.
    Workbench Requests are those that involve changes to cross-client Customising and Repository Objects. The objects are independent of the client.Hence the requests are used for transferring and transporting changed Repository objects and changed system settings from cross-client tables.
    Customizing Requests involve changes recorded to client-specific Customizing objects .These client specific requests are used for copying and transporting changed system settings from client-specific tables.
    Refer this links http://www.allinterview.com/showanswers/57910.html
    customising and workbench request
    Difference between Customizing request and Workbench request
    and many more threads available on this.
    Regards,
    Rahul.

  • Is there any way to report on Custom Object 3 other than lists?

    Looks like the answer is no but just wondering if anyone has come up with a brilliant work around. I guess the only chance is with Web Services, or is Custom Object 3 the red headed step child there as well?
    I read in an earlier thread that R15 fix/patch may enable the ablity to report in analytics OD on the Custom Objects, any idea if Custom Object 3 will be included?
    I wish the documentation pointed this out somewhere! It would have been nice to know before I created the Objects funtionality!
    Live and learn...
    Dan D

    It is my understanding that the patch will be applied automatically for all customers. The patch will enable reporting on custom Objects 1, 2 & 3 and will have subject areas for Custom Object, Custom Object & Account, Custom Object & Opportunity, Custom Object & Contact, and Custom Object & Service Request.
    (That is 5 subject areas per custom object for a total of 15 new subject areas!)
    Mike L

  • Vector and my object??

    hi all,
    I am reading a binary file, then creating the object and adding that object in my vector. How can i get it back according to its id? let is say i added all the customers read from file and now i want to get customer 3?
    int thisId=dis.readInt();
    String thisName=dis.readUTF();
    double thisBalance=dis.readDouble();
    Customer cus=new Customer(thisName,thisId,thisBalance);
    cusList.add(cus);
    abdul

    Best possible way is to use Hashtable and put customerid as key and Customer object
    as value.
    Modify your code with,
    Customer cus=new Customer(thisName,thisId,thisBalance);
    some-hashtable-object.put(thisId,cus);
    now if you want to take particular Customer
    use
    Customer c = (Customer)some-hashtable-object.get(any customerid);
    Now if you don't want to use Hashtable and continue with Vector then you have to iterate the,
    Vector and whether object has id 3 .
    like
    for(int i=0;i<Vectorobject.size();i++){
    Customer c = (Customer) Vectorobject.get(i);
    id = c.getCustomerId() // or any method you have to get id;
    // check it....
    But i think Hashtable is the better way to use here.
    I think you understand what i want to say .
    Tarak.

  • Reporting of actual turnover against the budget, via custom objects 4-15

    Is there an solution of reporting metric data between the Opportunity object and custom objects 4-15 ? The forecast module gives us not the desired results, therefore we are using custom objects, but we run into problems trying to get custom object metric data and opportunity metric data in one report.
    Edited by: Peter Tops on 21-jul-2011 11:47

    Hi, Yes, it is weird but that is how it is. May be fixed in next release. To hide the column, choose column properties -> column format tab -> Click the field "Hide this column"
    -- Venky CRMIT

  • Access control for Custom Objects

    Hi,
    I am working with two custom objects: Custom Object 1 and Custom Object 5. There is a team on Custom Object 1.
    The user has access to both and has create access for Custom Object 5.
    The user is not the owner of a record in Custom Object 1, but is on the team for the record with full access.
    When in the related section for the custom object 5 you click on edit I get the following error: "You have read-only access to this record. Click Cancel button or Back link to continue. Access Denied.(SBL-DAT-00284)"
    When you click on the link to the related record and then on edit it works fine, the user can edit and save the changed record.
    I do not understand why this does not work in the related section.
    Thanks for your reply!
    Arnold

    Hi Errol,
    to build your own application authorization scheme around the security model supplied by Apex for administration of the Apex environment would be a bad idea.
    This was never intended for authorization scheme management in custom built Apex applications, it was solely intended to control access in the Apex environment overall. The API for it is not published, and making changes to it, such as adding more roles, would run the risk of breaking the overall Apex security model. It would not be supported by Oracle and Oracle would not guarantee the upwards compatibility of any changes you make in future versions of Apex.
    In short, you should follow Tyson's advice and build your own structure. As he indicated, there are plenty of examples around and provided your requirements are not too complicated, it will be relatively simple.
    Regards
    Andre

Maybe you are looking for

  • How to support non alphanumeric characters when using WORLD_LEXER?

    BASIC_LEXER has an attribute of printjoins which we can specify the non alphanumberic characters as normal alphanumberic in query and included with the token. However, WORLD_LEXER doesn't have this attribute. So in order to use some non alphanumberic

  • Logic Pro Icon?

    I changed my logic pro icon in the dock a while ago and cannot locate the original icon to change it back. Any help appreciated.

  • Problems with Memo data type in access

    I have a Java program which is connected to a Microsoft Access Database. When trying to get a Memo data type field out of the DB and putting it into a StringBuffer, it causes a Function sequence error, even though it does put the field into the said

  • Bug when using Remote Desktop

    I've found a bug that I have replicated on 3 different computers, all running Vista. Listen to a song in iTunes and pause it. Now, remote desktop to that computer from a new computer. After you're connected, simply disconnect and return to the origin

  • Any way of importing from Access to SQL Server?

    I have a huge store of information in Access. But now I'm required to use SQL Server. Is there any way of importing the information from Access to SQL Server by Java programming? Or is there a manual way of doing that? Thank you in advance.