Adding multiple expander objects
Hello guys,
I have a form in which I need to add couple of expanders to group my objects. Since expander is not listed in toolbox, I added it on xml file. The problem is when the expander above is collapsed, the below ones don't move up. What I need is the expanders
below to start after the previous ones instead of setting 'top' property.
Now, I tried to use stackpanels to house expanders but somehow it didn't respond the way I wanted and since I wasn't even sure that using stackpanels was the answer to my problem, I decided to ask you guys.
I also saw that on default forms an object named ScrollViewer is being used under expanders but I couldn't add one to my form.
Thanks for your help,
Burak
Hi all,
I finally figured it out. I added only one stack panel outside of expanders, set margin values of stack panels to "0" and set height/width values to "Auto" and it worked. :) Anyway, if anyone face a similar problem and needs help, feel free to
ask.
Here is an example;
<AddControl Parent="Grid_1" Assembly="PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Type="System.Windows.Controls.StackPanel" Left="0" Top="0" Right="432" Bottom="1229" Row="0" Column="0" />
<AddControl Parent="StackPanel_1" Assembly="PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Type="System.Windows.Controls.Expander" Left="0" Top="0" Right="0" Bottom="0" Row="0" Column="0" />
<AddControl Parent="Expander_1" Assembly="PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Type="System.Windows.Controls.Grid" Left="0" Top="0" Right="0" Bottom="0" Row="0" Column="0" />
<PropertyChange Object="Grid_2" Property="Width">
<NewValue>600</NewValue>
</PropertyChange>
<PropertyChange Object="Grid_2" Property="Height">
<NewValue>300</NewValue>
</PropertyChange>
<PropertyChange Object="Grid_2" Property="HorizontalAlignment">
<NewValue>Left</NewValue>
</PropertyChange>
<PropertyChange Object="Grid_2" Property="VerticalAlignment">
<NewValue>Top</NewValue>
</PropertyChange>
<PropertyChange Object="Expander_1" Property="HorizontalAlignment">
<NewValue>Left</NewValue>
</PropertyChange>
<PropertyChange Object="Expander_1" Property="VerticalAlignment">
<NewValue>Top</NewValue>
</PropertyChange>
<PropertyChange Object="Expander_1" Property="MinHeight">
<NewValue>0</NewValue>
</PropertyChange>
<PropertyChange Object="Expander_1" Property="MinWidth">
<NewValue>0</NewValue>
</PropertyChange>
<PropertyChange Object="Expander_1" Property="Height">
<NewValue>Auto</NewValue>
</PropertyChange>
<PropertyChange Object="Expander_1" Property="Width">
<NewValue>Auto</NewValue>
</PropertyChange>
<PropertyChange Object="Expander_1" Property="IsExpanded">
<NewValue>True</NewValue>
</PropertyChange><AddControl Parent="StackPanel_1" Assembly="PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Type="System.Windows.Controls.Expander" Left="0" Top="0" Right="0" Bottom="0" Row="0" Column="0" />
<AddControl Parent="Expander_2" Assembly="PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Type="System.Windows.Controls.Grid" Left="0" Top="0" Right="0" Bottom="0" Row="0" Column="0" />
<PropertyChange Object="Grid_3" Property="Width">
<NewValue>600</NewValue>
</PropertyChange>
<PropertyChange Object="Grid_3" Property="Height">
<NewValue>300</NewValue>
</PropertyChange>
<PropertyChange Object="Grid_3" Property="HorizontalAlignment">
<NewValue>Left</NewValue>
</PropertyChange>
<PropertyChange Object="Grid_3" Property="VerticalAlignment">
<NewValue>Top</NewValue>
</PropertyChange>
<PropertyChange Object="Expander_2" Property="HorizontalAlignment">
<NewValue>Left</NewValue>
</PropertyChange>
<PropertyChange Object="Expander_2" Property="VerticalAlignment">
<NewValue>Top</NewValue>
</PropertyChange>
<PropertyChange Object="Expander_2" Property="MinHeight">
<NewValue>0</NewValue>
</PropertyChange>
<PropertyChange Object="Expander_2" Property="MinWidth">
<NewValue>0</NewValue>
</PropertyChange>
<PropertyChange Object="Expander_2" Property="Height">
<NewValue>Auto</NewValue>
</PropertyChange>
<PropertyChange Object="Expander_2" Property="Width">
<NewValue>Auto</NewValue>
</PropertyChange>
<PropertyChange Object="Expander_2" Property="IsExpanded">
<NewValue>True</NewValue>
</PropertyChange>
Similar Messages
-
Adding Multiple Opportunity Objects to a Contact Object
According to the documentation, the Contact Object has the following Child components: Account, Activity, Address, Asset, Attachment, Book, Campaign, CustomObject3, Interests, Lead, Note, Opportunity, Related Contact, Revenue, Service Request and Team.
Via the Contact WSDL, I see that there are properties for everything else BUT Opportunity. How would I associate multiple Opportunity objects to a Contact if there isn't a ListOfOpportunity property?
ListOfAccount
ListOfAccountRole
ListOfActivity
ListOfAddress
ListOfAttachment
ListOfClaim
ListOfContactBestTimes
ListOfContactLicense
ListOfCoverage
ListOfCustomObject10
ListOfCustomObject11
ListOfCustomObject12
ListOfCustomObject13
ListOfCustomObject14
ListOfCustomObject15
ListOfCustomObject4
ListOfCustomObject5
ListOfCustomObject6
ListOfCustomObject7
ListOfCustomObject8
ListOfCustomObject9
ListOfDealRegistration
ListOfFinancialAccount
ListOfFinancialAccountHolder
ListOfFinancialPlan
ListOfInterests
ListOfInvolvedParty
ListOfLead
ListOfNote
ListOfObjectives
ListOfPlanContact
ListOfPolicy
ListOfPolicyHolder
ListOfRelatedContact
ListOfRevenue
ListOfServiceRequest
ListOfSignature
ListOfTeamThat is exactly what I did. It worked! Thank you.
Here's how I did it:
using (Opportunity proxy = new Opportunity())
proxy.Url = Session.WebserviceUrl;
OpportunityWS_OpportunityInsertChild_Input parent = new OpportunityWS_OpportunityInsertChild_Input();
parent.ListOfOpportunity = new Opportunity1[1];
parent.ListOfOpportunity[0] = new Opportunity1();
parent.ListOfOpportunity[0].ExternalSystemId = claimant.ExternalSystemId;
parent.ListOfOpportunity[0].ListOfContact = new Contact[physicianList.Count];
foreach (Physician physician in physicianList)
int i = physicianList.IndexOf(physician);
parent.ListOfOpportunity[0].ListOfContact[i] = new Contact();
parent.ListOfOpportunity[0].ListOfContact.ExternalSystemId = physician.ExternalSystemId;
}//end foreach
proxy.OpportunityInsertChild(parent);
}//end using -
Adding multiple schemas to a workspace
We use Oracle Applications for our ERP, and I've just had our DBA set up APEX. One of the first things I noticed, however, was that the object browser only shows the schema(s) that have been explicitly assigned to the workspace. I found in the help how to add another schema to the list (have the DBA log in to the admin page and create the new link), but it looked like there wasn't any support for adding multiple schemas at once. Since the applications use a lot of schemas (AP, AR, INV, PO, ONT, WSH, etc., etc.), it'd be great if I didn't have to have him doing all of this manually.
Suggestions?
Or do we just need to do it, secure in the knowledge that we should only have to do it a few times?
(Also, is there any way to have the object browser filter down to tables/views that the APEX user has grants on?)
Thanks,
-DavidPeter,
Thanks, that gave us what we wanted. Though now I'm not sure if it's what we should actually have. After adding the schemas, we found that we could manipulate anything we wanted in those schemas (create tables, view and update data, etc.) without having to do explicit grants. This is an obvious security issue...
My first thought is to remove almost all of the schemas and create views in the APEX schema to the other tables that we're going to need, but I'm concerned that doing so will be a development and maintenance headache as our toolbase expands to include more and more of the Oracle Application tables. Is there a better solution that I'm not aware of?
-David -
*Help Needed* Adding multiple emails/mailing list in the email subscription
Help Needed
Hi,
Can someone help me in adding multiple email address/mailing list in the email subscription for interactive reports in Apex 4.
pls mail me at [email protected]
Regards,
SunnyThe doc does not mention a separator for the email addresses because we only support one email address per subscription. I have logged a task for our next release to look at expanding it and allowing multiple.
-- Sharon -
BRFplus: Adding Intermediate Data Objects to Expression Workarea
Hi all,
running BRFplus on NW 70105.
I have a Step Sequence Expression with multiple steps calling various Functions. Some of the Functions return intermediate results which must be stored in the context workarea.
I would like to add these Data Objects to the workarea. However the system will not allow me to do this without first adding the Data Objects as signature parameters of the calling Function, even though this does not make sense for intermediate values.
Clicking the "Add existing Data Object" button for the workarea only allows me to add Data Objects which are in the context of the calling Function.
Conversely if a Data Object is deleted from the calling Function's signature, then when checked the Function issues error message "Assigned expression uses Element CUSTOMER/Customer which is not in the context".
Is the requirement to add all Expression workarea Data Objects to the calling Function's signature intended, or is this a bug ? Or is there some other way of doing it that I am missing ??
Thanks & regards,
GroganThis is a restriction in NW 701. This restriction is removed in NW 702.
-
How would I go about adding multiple rectangles using the same lines of code?
How would I go about adding multiple rectangles using the same lines of code? I would prefer to just run through a set of code every time I need a polygon. If I just have to create multiple polygon adding statements that's fine but I'd prefer just 1.
>>How would I go about adding multiple rectangles using the same lines of code?
You could create a method that creates and returns x number of Rectangle elements:
public IEnumerable<Rectangle> CreateRectangles(int numberOfRectsToCreate)
for (int i = 0; i < numberOfRectsToCreate; ++i)
Rectangle rect = new Rectangle();
rect.Fill = Brushes.Blue;
rect.Width = 100;
rect.Height = 100;
yield return rect;
..and then call this method from anywhere in your code:
IEnumerable<Rectangle> rects = CreateRectangles(5);
foreach (Rectangle rect in rects)
//add to StackPanel or do whatever with the Rectangle elements:
yourStackPanel.Children.Add(rect);
>>If I just have to create multiple polygon adding statements that's fine but I'd prefer just 1.
When adding Point objects to a Polygon you can only add one per call to the Add method but you could call the Add method inside a loop, e.g:
for(int i = 0; i < 10; ++i)
//add to StackPanel or do whatever with the Rectangle elements:
Polygon p = new Polygon();
p.Points.Add(new Point());
Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't post several questions in the same thread. -
Sample payload to include multiple Data objects in BAM
Hi,
We are using BAM 12c in our project. We have a requirement to insert/update data into multiple data objects as part of an EMS [Enterprise Message Source] request. As part of the request, I have some Dimensions data and Fact data. When I submit the request to server, I need to insert dimensions data when there is no data available for the specific dimension key, otherwise update the dimension meta data. Then I need to insert Fact data in to another data object along with the reference of the dimension data.
From the Oracle documentation, https://docs.oracle.com/middleware/1213/bam/BAMUG/bam-enterprise-message-src.htm#BAMUG10589 I found sample payload for one data object operations, under the text: Use Self-Described Payload.
Please share a sample payload to submit it to BAM so that data will be created in multiple configured BAM data objects in one EMS request.
Thanks in Advance.
SatyaDeepan:
Thank you for the fast response, the xml file you have given below will clear all the DO rows specified in that file.
+<?xml version="1.0" encoding="utf-8"?>+
+<OracleBAMCommands>+
+<Clear name="/folder/do1" />+
+<Clear name="/folder1/do2" />+
+</OracleBAMCommands>+
But in an organization in long run when data objects keep on increasing. should we also keep on adding the "Clear" statement into the xml file.
i.e. like to ask the developer to create an entry in this xml file each time he creates a data object in BAM console?
do we have any command like
<Clear type = "dataobject" all="1" />
Thanks you very much in advance -
New technique to place multiple anchored objects in InDesign story
Hello,
For a while I have been trying to figure out how to insert multiple anchored objects into an Indesign story. As far as I can tell, you cannot copy multiple objects that have already been placed in a document (such as a multi-page pdf) into an InDesign story, but must copy and paste them one-by-one into the story. This is a problem for a project I am working on where I want to have a large number of 340x52 pt pdfs to flow throughout a document in a master text frame interspersed with text.
I have now found a solution for this issue that I thought I would share in case it would be helpful for anyone. It utilizes Automator actions for Mac OS X and Microsoft Word 2011 [2008 may work also, but I don't have a copy of that to test]; I am not good with scripting but perhaps similar solutions could be found for other systems and programs.
1. If you want to place a multipage pdf within a text frame, first it into individual files for each page (with Acrobat Pro or pdftk or something similiar).
2. Create an Automator service or program with the action "Create New Word Document". You can also use another automator action to save the document, or save it manually (to change the filename). In the finder, select the items you want, then run the service or drag them into the Automator program you have created.
3. Place the word document into your InDesign story. Your items will now be anchored objects ordered in your text frame as they were in the finder.
Please let me know if this is helpful or if anyone has suggestions for doing this process is a more efficient way. I am not sure, but it may be the case that this approach would only work on Macs, as I gather from this thread.I might note that I am using InDesign CS 5, and importing from a document stored in docx format.
-
Adding multiple same-name nodes from one xml into another
Hi,
Following on from my question the other day (Adding multiple different nodes from one xmltype into another), I now have a slightly more complex requirement that I cannot work out where to start, assuming that it's something that can reuse some/all of yesterday's work (thanks again, odie_63!). ETA: I'm on 11.2.0.3
So, here's the (slightly amended) xml along with yesterday's solution:
with sample_data as (select xmltype('<root>
<xmlnode>
<subnode1>val1</subnode1>
<subnode2>val2</subnode2>
</xmlnode>
<xmlnode>
<subnode1>val3</subnode1>
<subnode2>val4</subnode2>
</xmlnode>
</root>') xml_to_update,
xmltype('<a>
<b>valb</b>
<c>valc</c>
<d>
<d1>vald1</d1>
<d2>vald2</d2>
</d>
<e>vale</e>
<f>valf</f>
<g>
<g1>valg1</g1>
<g2>valg2</g2>
</g>
<h>
<h1>valh1</h1>
<h2>valh2</h2>
</h>
<multinode>
<name>fred</name>
<type>book</type>
<head>1</head>
</multinode>
<multinode>
<name>bob</name>
<type>car</type>
<head>0</head>
</multinode>
</a>') xml_to_extract_from
from dual)
select xmlserialize(document
xmlquery(
'copy $d := $old
modify (
insert node element extrainfo {
$new/a/b
, $new/a/d
, $new/a/f
, $new/a/h
} as first into $d/root
return $d'
passing sd.xml_to_update as "old"
, sd.xml_to_extract_from as "new"
returning content
indent
from sample_data sd;
That gives me:
<root>
<extrainfo>
<b>valb</b>
<d>
<d1>vald1</d1>
<d2>vald2</d2>
</d>
<f>valf</f>
<h>
<h1>valh1</h1>
<h2>valh2</h2>
</h>
</extrainfo>
<xmlnode>
<subnode1>val1</subnode1>
<subnode2>val2</subnode2>
</xmlnode>
<xmlnode>
<subnode1>val3</subnode1>
<subnode2>val4</subnode2>
</xmlnode>
</root>
However, I now need to add in a set of new nodes based on information from the <multinode> nodes, something like:
<root>
<extrainfo>
<b>valb</b>
<d>
<d1>vald1</d1>
<d2>vald2</d2>
</d>
<f>valf</f>
<h>
<h1>valh1</h1>
<h2>valh2</h2>
</h>
<newnode>
<name>fred</name>
<type>book</type>
</newnode>
<newnode>
<name>bob</name>
<type>car</type>
</newnode>
</extrainfo>
<xmlnode>
<subnode1>val1</subnode1>
<subnode2>val2</subnode2>
<type>book</type>
</xmlnode>
<xmlnode>
<subnode1>val3</subnode1>
<subnode2>val4</subnode2>
<type>car</type>
</xmlnode>
</root>
If it's easier, I *think* we would be ok with something like:
<newnode>
<type name="fred">book</type>
<type name="bob">car</type>
</newnode>
The closest I've come is:
with sample_data as (select xmltype('<root>
<xmlnode>
<subnode1>val1</subnode1>
<subnode2>val2</subnode2>
</xmlnode>
<xmlnode>
<subnode1>val3</subnode1>
<subnode2>val4</subnode2>
</xmlnode>
</root>') xml_to_update,
xmltype('<a>
<b>valb</b>
<c>valc</c>
<d>
<d1>vald1</d1>
<d2>vald2</d2>
</d>
<e>vale</e>
<f>valf</f>
<g>
<g1>valg1</g1>
<g2>valg2</g2>
</g>
<h>
<h1>valh1</h1>
<h2>valh2</h2>
</h>
<multinode>
<name>fred</name>
<type>book</type>
<head>1</head>
</multinode>
<multinode>
<name>bob</name>
<type>car</type>
<head>0</head>
</multinode>
</a>') xml_to_extract_from
from dual)
select xmlserialize(document
xmlquery(
'copy $d := $old
modify (
insert node element extrainfo {
$new/a/b
, $new/a/d
, $new/a/f
, $new/a/h
, element newnode {
$new/a/multinode/name
,$new/a/multinode/type
} as first into $d/root
return $d'
passing sd.xml_to_update as "old"
, sd.xml_to_extract_from as "new"
returning content
indent
) fred
from sample_data sd;
Which produces:
<newnode>
<name>fred</name>
<name>bob</name>
<type>book</type>
<type>car</type>
</newnode>
- obviously not right!
Can anyone provide any hints? I've tried searching for similar examples, but I mustn't be putting in the right search terms or something!odie_63 wrote:
or, similarly, to get the alternate output :
copy $d := $old
modify (
insert node element extrainfo {
$new/a/b
, $new/a/d
, $new/a/f
, $new/a/h
, element newnode {
for $i in $new/a/multinode
return element type {
attribute name {data($i/name)}
, data($i/type)
} as first into $d/root
return $d
So we're going with the second method, but I've discovered that the "$i/name" node is not always present. When that happens, I would like to use a default value (for example, "george"). I promise I've searched and searched, but I'm completely failing to turn up anything that sounds remotely like what I'm after (seriously, I can't believe my google-fu sucks this badly!).
Is there a simple way of doing it? The only thing that I've found that looks vaguely relevant is "declare default namespace...." but I'm not sure that that's the correct thing to use, or if it is, how I'm supposed to reference it when populating the attribute value. -
Adding multiple e-mail alias addresses to an account
Can someone please tell me how to add another e-mail address to my Mail account. I have tried using info from the Mail Help file, both "adding another account" and "adding multiple e-mail alias addresses to an account". Each time when I try to send a test message to or from the added e-mail address, I get the same message: "Cannot send message using the server mail.bellsouth.net. Use the Pop-up menu below to try a different outgoing mail server". The only pop-up is smtp .Mac.
I have tried both methods shown in the HELP file and get the same message. I would really appreciate your help.Are you trying to add a second email account to Mail, or just add a second "(apparently) from" address to an existing account?
If the former, we need to know some more detail, like:
(1) who is the existing account, .mac or bellsouth?
(2) Which are you trying to add, .mac or bellsouth?
(3) I assume your ISP is Bell South?
(4) What are the names of the smtp servers and what are their respective smtp server port numbers?
(5) Are either of them using SSL on the smtp server?
(6) I don't remember whether Tiger Mail has it or not, but in Leopard Mail, on the menu bar under "Window" there is a selection "Connection Doctor." If applicable to Tiger Mail, what does it say about your connections?
(7) Which account can you send mail through and which one can't you send mail through?
(8) Are your receiving mail okay through either or both accounts? Which one(s)?
Now if you are trying to add a second "(apparently) from" address to an existing account, in Mail Prefs > Accounts > mail account > Email Address, just add a second email address separated by a comma like so:
[email protected], [email protected]
You could have an issue with bellsouth or .mac requiring the domain name in the apparently from email address to match the domain name of the smtp mail server. -
Not possible to store multiple fileReference object in same array?
Hi all,
I'm trying to store multiple fileReference object in one array. But everytime I push() in a new object the old objects that's already in the array gets set to the latest object.
I'm letting the user select an image. Then I push the selected fileReference object into an array like my_array.push( FileReference(event.target) );
If I then run a loop on "my_array" to check it's content I'm getting the latest pushed fileReference object for every index in the array.
With one object pushed in:
1. Image1.jpg
With two objects pushed in:
1. Image2.jpg
2. Image2.jpg
Anyone have any thoughts on this?
Thank you so muchThis is basically what I'm doing. The code is cut out from a larger portion so there might be errors, but hopefully not.
// Local Files
private var localFiles:FileReference = new FileReference();
private var fileList:Array = new Array();
private function browse(event:MouseEvent)
trace("[Browse] Using local files");
localFiles.addEventListener(Event.SELECT, onLocalFilesSelected);
localFiles.browse(getAllowedTypes());
* LOCAL FILE
private function onLocalFilesSelected(e:Event)
localFiles.addEventListener(Event.COMPLETE, localFileHandler);
localFiles.load();
private function localFileHandler(event:Event):void
localFiles.removeEventListener(Event.COMPLETE, localFileHandler);
fileList.push(FileReference(event.target));
showFileList();
private function showFileList():void
for(var $x:int=0;$x<fileList.length;$x++)
var file:FileReference = FileReference(fileList[$x]);
trace($x+": " + file.name);
Thank you -
Querying for a script insert multiple selected objects...
Is there a script or plugin which insert multiple selected objects in one new text frame with one click?
And is there a script or plugin which extract the content of anchored text frame out it's frame and replace it with it's frame. and extract selected text and insert it inside a new anchored text frame in it's place? (like convert text to table - convert table to text, but instead table we use text frame)Hi,
Using OMB scripting to set attribute properties in a data mapping sort of defeats the purpose of utilizing a graphical user interface to define and set properties for a data mapping? Surely the GUI data mapping tool was created to get away from writing scripts and scripting would also require that you know the name of the data mapping, table operator and the set of attribute names for which you have to write one line of script to set each property value, i.e. 90 lines to set 90 attribute values.
Cheers,
Phil -
RE: multiple named objects with the same name andinterface
David,
First I will start by saying that this can be done by using named anchored
objects and registering them yourself in the name service. There is
documentation on how to do this. And by default you will get most of the
behavior you desire. When you do a lookup in the name service (BindObject
method) it will first look in the local partition and see if there is a
local copy and give you that copy. By anchoring the object and manually
registering it in the name service you are programmatically creating your
own SO without defining it as such in the development environment. BTW in
response to your item number 1. This should be the case there as well. If
your "mobile" object is in the same partition where the service object he is
calling resides, you should get a handle to the local instance of the
service object.
Here is the catch, if you make a bind object call and there is no local copy
you will get a handle to a remote copy but you can not be sure which one!
It end ups as more or less a random selection. Off the top of my head and
without going to the doc, I am pretty sure that when you register an
anchored object you can not limit it's visibility to "User".
Sean
-----Original Message-----
From: [email protected]
[<a href="mailto:[email protected]">mailto:[email protected]]On</a> Behalf Of David Foote
Sent: Monday, June 22, 1998 4:51 PM
To: [email protected]
Subject: multiple named objects with the same name and interface
All,
More than once, I have wished that Forte allowed you to place named
objects with the same name in more than one partition. There are two
situations in which this seems desirable:
1) Objects that are not distributed, but are mobile (passed by value to
remote objects), cannot safely reference a Service Object unless it has
environment visibility, but this forces the overhead of a remote method
call when it might not otherwise be necessary. If it were possible to
place a copy of the same Service Object (with user visibility) in each
partition, the overhead of a remote method call could be avoided. This
would only be useful for a service object whose state could be safely
replicated.
2) My second scenario also involves mobile objects referencing a Service
Object, but this time I would like the behavior of the called Service
Object to differ with the partition from which it is called.
This could be accomplished by placing Service Objects with the same name
and the same interface in each partition, but varying the implementation
with the partition.
Does anyone have any thoughts about why this would be a good thing or a
bad thing?
David N. Foote
Consultant
Get Your Private, Free Email at <a href=
"http://www.hotmail.com">http://www.hotmail.com</a>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>David,
First I will start by saying that this can be done by using named anchored
objects and registering them yourself in the name service. There is
documentation on how to do this. And by default you will get most of the
behavior you desire. When you do a lookup in the name service (BindObject
method) it will first look in the local partition and see if there is a
local copy and give you that copy. By anchoring the object and manually
registering it in the name service you are programmatically creating your
own SO without defining it as such in the development environment. BTW in
response to your item number 1. This should be the case there as well. If
your "mobile" object is in the same partition where the service object he is
calling resides, you should get a handle to the local instance of the
service object.
Here is the catch, if you make a bind object call and there is no local copy
you will get a handle to a remote copy but you can not be sure which one!
It end ups as more or less a random selection. Off the top of my head and
without going to the doc, I am pretty sure that when you register an
anchored object you can not limit it's visibility to "User".
Sean
-----Original Message-----
From: [email protected]
[<a href="mailto:[email protected]">mailto:[email protected]]On</a> Behalf Of David Foote
Sent: Monday, June 22, 1998 4:51 PM
To: [email protected]
Subject: multiple named objects with the same name and interface
All,
More than once, I have wished that Forte allowed you to place named
objects with the same name in more than one partition. There are two
situations in which this seems desirable:
1) Objects that are not distributed, but are mobile (passed by value to
remote objects), cannot safely reference a Service Object unless it has
environment visibility, but this forces the overhead of a remote method
call when it might not otherwise be necessary. If it were possible to
place a copy of the same Service Object (with user visibility) in each
partition, the overhead of a remote method call could be avoided. This
would only be useful for a service object whose state could be safely
replicated.
2) My second scenario also involves mobile objects referencing a Service
Object, but this time I would like the behavior of the called Service
Object to differ with the partition from which it is called.
This could be accomplished by placing Service Objects with the same name
and the same interface in each partition, but varying the implementation
with the partition.
Does anyone have any thoughts about why this would be a good thing or a
bad thing?
David N. Foote
Consultant
Get Your Private, Free Email at <a href=
"http://www.hotmail.com">http://www.hotmail.com</a>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>> -
Best practice for linking fields from multiple entity objects
I am currently transitioning from PHP to ADF. I'm looking for the best practice for linking data from multiple entity objects.
Example:
EO 'REQUESTS' has fields: req_id, name, dt, his_stat_id, her_stat_id
EO 'STATUSES' has fields: stat_id, short_txt_descr
'REQUESTS' is linked to EO 'STATUSES' on: STATUSES.stat_id = REQUESTS.his_status_id
'REQUESTS' is also linked to EO 'STATUSES' on: STATUSES.stat_id = REQUESTS.her_status_id
REQUESTS.his_status_id is independent of REQUESTS.her_status_id
When I create a VO for REQUESTS, I want to display: REQUESTS.name, REQUESTS.dt, STATUSES.short_txt_descr (for his_stat_id), STATUS.short_txt_descr (for her_stat_id)
What is the best practice for accomplishing this? It appears I could do it a few different ways:
1. Create the REQUESTS VO with a LOV for his_stat_id and her_stat_id
2. Create the REQUESTS VO with the join to STATUSES performed within the query for the VO. This would require joining on the STATUSES EO twice (his_stat_id, her_stat_id)
3. I just started reading about View Links - would that somehow do what I'm looking for?
I also need to be able to update his_status_id and her_status_id through the by selecting a STATUSES.short_txt_descr from a dropdown.
Any suggestions on how to approach such a stupidly simple task?
Using jDeveloper 11.1.2.2.0 if that makes a difference in the solution.
Thanks ahead of time,
CJCJ,
I vote for solution 1 as it's just your use case. As you said you what to update the his_status_id and her_status_id through the by selecting a STATUSES.short_txt_descr by a drop down. This is exactly the LOV solution.
ViewLinks are used fro master detail navigation (which you don't do here) and Joining the data make it difficult to update (and you still need a LOV for the drop down box.
Timo -
Multiple resource objects provision issue in OIM10g
Hi Team,
We're facing an issue regarding multiple access policy trigger for a specific resource object in OIM.
The scenario is whenever we try to process the enablement or creation of users through flat file recon, users are created / enabled with multiple resource objects in their resource profiles.
When we checked in User Resource Access History report, we observe that the access policy has been triggering multiple times for these users resulting in users with multiple resource objects. Amongst these one shows provisioned/Enabled and the other shows provisioning/in some cases Provisioned/Enabled.
Please advise as this has become an ongoing issue and also has led into data mess-up.
Appreciate your help on this one..
Regards,
SagarThe terminology sounds a little confusing to me:
If you mean you wanna create multiple IT Resources for a single IT Resource Instance so that the user can select the appropriate IT Resource during request creation -> All good upto here. But then since the Object/Request Form attached to a resource would be the same, so any user would always see the same form fields for creationg request.
Example: Users creating request for Oracle Database Accounts but different server locations
If it means you just need to create multiple Resource Objects then its a straighaway standard requirement and could be handled with normal Connector Development methodology.
Example: Users creating requests for different resources like Oracle Database Accounts & Active Directory Accounts
Maybe you are looking for
-
How to restrict user rights so they can add list items but cannot edit them once saved?
I appreciate if you can help me with this. My beloved company uses SP2010, and I got the task to solve this issue using it, though I am not a programmer (basic html is still ok). I need a simple annual leave list with the following capabilities: 1. G
-
How to set portal authorization in ABAP Webdynpro application
Hi All, Do you have an idea how to set the visibility for Group UI element based on the Portal user authorization in ABAP Webdynpro , for example if the portal user A(or group A), logins into the portal on click of the ABAP Webdynpro IView then we ne
-
Display on a 3600 Slide goes on and off without to...
Having a 3600 slide about 7 months ago, I never had a problem with it. But lastly the phone has a strange behaviour. Normally, when open the slide, the display goes on, and after a delay it goes off again, that's normal. But actually my phone has its
-
TS2529 having problems with my iphone 3gs
i cant charge my iphone 3gs is been like that since i was trying to update the new ios but i didnt see that my phone was having not enough battery so i couldnt download and then keep on turn in on and off all the time , please help me
-
How do I transfer my documents from my old iPad to my new one?
The Adobe app transferred from my old iPad 2 to my new iPad Air but the app was empty when I signed in on my new device.