Add multiple objects to a Deque to be retrieved in that order?

All:
We are using a LinkedBlockingDeque in a classic producer/consumer setup -- multiple threads may post "commands" to the Q, and the consumer retrieves and executes each command in a separate thread.
We have very rare cases where we need to post more than 1 command which must be executed by the consumer in the order posted (with no intervening commands).
Something like addAll(Collection c) represents what we need, but as far as we know does not guarantee that all of the elements in 'c' will be added to the Deque without the presence of intervening elements being posted from other threads. (If this understanding is not correct, then addAll(..) does what we want and there is no problem.)
We understand that we could use a LinkedList with a concurrency wrapper, and handle synchronization where required. But do really like the functionality provided by a LinkedBlockingDeque and hate to have to handle all the complexity in our own code. (Not to mention the ton of existing code that would have to be retrofitted!)
We also understand that we can define a new "commandSet" object which represents the list of primitive commands that must be processed in order. But this also seems like a lot of unnecessary clutter.
Is there another way to pass a set of "commands" into the Deque and be assured that they will be retrieved in that order by the consumer?
If there is no such mechanism, would it be worth requesting such an enhancement -- something like addAllTogether(Collection c) which would synchronize internally so that all the elements in 'c' are added in sequence?
Thanks.

Thanks for your response, and yes you are correct -- CommandSet is misleading and it should have been CommandList.
It still seems to me that in general with all the Concurrent... implementations it might be useful to have some form of atomic addAll(Collection c) method -- maybe addSynchronized(Collection c). (There's got to be a better name!)
This method would guarantee that all of the elements of 'c' are added to the Concurrent.... object without any conflicting adds or removes posted by any other thread.
I understand the CommandList construct, and this is in fact how we resolved the issue. But in general this has some limitations. Using a Deque as an example, but applying this to all Concurrent.... classes:
1) Our design is not as clean as the structure you have in your response, and it really can't easily support that type of interface. The purpose of the Consumer is to interrogate each X in the queue, and act as an interface to "perform" that logical operation on a specific device. So it invokes many methods of X in order to perform it's job. I.e. are you inbound or outbound, how much data, what device address should this go to, etc, etc.
I also understand that we could define another interface and pass an 'execute' object into the 'execute' method -- something like 'execute(theExecuteInstance(this))' to get around this -- but now we're really starting to add complexity!
2) You are now adding a different object type to the Deque. If it was instantiated as, say LinkedBlockingDeque<X> then the only way to add a List of X objects is to declare class ListOfX extends X which would really be a confusing structure. This one has kludge stamped all over it! (But, hey, that's what we did!)
3) Clearly, the whole approach only works if you have access to the code for the Consumer side and can modify it to understand the ListOfX instance and handle it correctly.
If we had realized at the start that the situation would arise in which multiple Xs would need to be Consumed in sequence, then we would have defined ListOfX (more cleanly than above) and declared the Deque as LinkedBlockingDeque<ListOfX>, and written the Consumer to handle this.
But as happens so often, we were well down the road before this situation arose .... with the inevitable patchwork solution.
On the other hand, you could probably still make a case for some form of addSynchronized in general. It does seem like a natural situation that should be supported cleanly.
If we weren't using a Concurrent ... object, and handling our own synchronization, then this structure follows naturally because you would just synchronize on the object, run an iterator through 'c' and add each instance returned. With one of the Concurrent... objects, this pattern has been lost.
Even if we had realized the need earlier, and defined a ListOfX right from the start, it still clutters up the situation (the Consumer really just wants to process X's), and adds the overhead of instantiating ListOfX, and adding a single X to the list, for 99% of the actual cases.
But thanks for your response and insight. Maybe next time we'll figure out all the use cases before we start (LOL).

Similar Messages

  • Adding multiple objects

    Hi.
    I'm trying to add multiple objects to my universe, but i'm not sure how to do it. What i was thinking was to create a for loop and create the object within it.The z value refers to the z vector point.The code is below.I'm new to java 3D so if anyone could help me, that would be great.
    Thanks
    Sharon.      
    for (float z = 0f; z < 20f; z = z + 2){
              Cylinder cylinder = new Cylinder( 0.8f,10f );
              Color3f col = new Color3f(8f, .15f, .15f);
              ColoringAttributes ca = new ColoringAttributes (col,ColoringAttributes.NICEST);
              app.setColoringAttributes(ca);
              cylinder.setAppearance(app);
              Transform3D transform = new Transform3D();
              Vector3f vector = new Vector3f(0f, 0f, z);
              transform.setTranslation(vector);
              tg.setTransform(transform);
              tg.addChild( cylinder );
              bg.addChild( tg );
    }

    Hi.
    I have two programs, BGroup.java, which creates a rotating sphere and coloring attributes etc. and some1Canvas3D.java which creates a canvas and simple universe and panel with buttons and works on the BGroup.java program by adding it as a branchgraph to the simple universe "simpleU.addBranchGraph(new BGroup());". what i'd like to do is that if one of the buttons in some1Canvas3D.java is pressed then i want to decrease/increase the radius size of the sphere in BGroup.java. and see this within the canvas.
    I'm not sure how this will work.
    If anyone has any ideas how to do this, that'd be great.
    The code for the two programs is below . i'm quite new to Java3D so i hope it makes sense.
    Thanks for you help.
    Sharon
    /********BGroup.java****************
    import com.sun.j3d.utils.geometry.*;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    import com.sun.j3d.utils.image.TextureLoader;
    public class BGroup extends BranchGroup
    public BGroup()
    /*create the transformGroup and set the capability to write.needed for rotation*/
    TransformGroup someGroup = new TransformGroup();
    someGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    //add the transform group to the branchgroup
    this.addChild(someGroup);
    //create the sphere and add it to the scene
    Sphere mysphere = new Sphere(0.5f);
    someGroup.addChild(mysphere);
    // Create a light that shines for 100m from the origin
    Color3f light1Color = new Color3f(7f, 2.6f, 4.1f);
    BoundingSphere bounds = new BoundingSphere(new Point3d(0.0,0.0,0.0), 100.0);
    Vector3f light1Direction = new Vector3f(9.0f, -7.0f, 5.0f);
    DirectionalLight light1 = new DirectionalLight(light1Color, light1Direction);
    light1.setInfluencingBounds(bounds);
    someGroup.addChild(light1);
    Transform3D yAxis = new Transform3D();
         Alpha rotationAlpha = new Alpha(-1, 4000);
         RotationInterpolator rotator =
         new RotationInterpolator(rotationAlpha, someGroup, yAxis,
                        0.0f, (float) Math.PI*2.0f);
         rotator.setSchedulingBounds(bounds);
         someGroup.addChild(rotator);
    this.compile();
    *********************some1Canvas3D.java******************/
    import java.awt.*;
    import java.awt.GraphicsConfiguration;
    import com.sun.j3d.utils.applet.MainFrame;
    import com.sun.j3d.utils.universe.*;
    import com.sun.j3d.utils.geometry.*;
    import javax.media.j3d.*;
    import java.applet.*;
    import java.awt.event.*;
    import java.awt.event.WindowAdapter;
    public class some1Canvas3D extends Applet {
    private Button go = new Button ("Forward");
    private Button go2 = new Button ("Left");
    private Button go3 = new Button ("Right");
    private Button go4 = new Button ("Back");
    private Button go5 = new Button ("Do it for me !!!");
    public void init()
    setLayout(new BorderLayout());
    GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
    Canvas3D c1 = new Canvas3D(config);
    c1.setSize(256,256);
    add("Center", c1);
    SimpleUniverse simpleU = new SimpleUniverse(c1);
    simpleU.getViewingPlatform().setNominalViewingTransform();
    simpleU.addBranchGraph(new BGroup());
    Panel p = new Panel();
    p.add(go);
    p.add(go2);
    p.add(go3);
    p.add(go4);
    p.setBackground(Color.blue);
    p.setForeground(Color.red);
    add("North",p);
    Panel p2 = new Panel();
    p2.add(go5);
    p2.setBackground(Color.blue);
    p2.setForeground(Color.red);
    add("South",p2);
    public void start() {
    public void destroy() {
    public void run() {
    //Explains what happens when the Mouse is clicked on the Applet
    public void actionPerformed(ActionEvent e) {
         if (e.getSource()==go ) {
    /*when this button is pressed i want to be able to decrease the radius size of the sphere in BGroup.java*/
    public static void main(String []args)
    System.out.println("Program Started");
    new MainFrame(new some1Canvas3D(), 750,500);
    Thanks again.
    Sharon.

  • Add Multiple Detail Items Using the Same Query String Parameter

    I am using InfoPath 2010 and SharePoint 2010. 
    I have 2 forms libraries - Expense and Expense Details. 
    The 2 libraries are linked via a custom site column Expense ID. 
    The Expense form contains the main header type info you would typically find on an expense report; e.g., name, purpose, department, etc. 
    The Expense Details form contains multiple detail expenses related to the main expense report such as airfare, rental car, etc. 
    I have created a page that displays an expense report with all of the related expense detail items. 
    The page contains a link to add a new expense detail and passes the Expense ID of the Expense form to the Expense Detail form. 
    This all works fine.  The problem comes in after the first expense detail form is submitted. 
    I can successfully submit the first detail item.  However, the expense detail form loses the Expense ID that was passed to it after the first expense detail form has been submitted. 
    The parameter still shows in the URL but the detail form no longer shows the value of the parameter. 
    What do I need to do in order to be able to add multiple expense detail items using the same Expense ID that was passed to the form? 
    I have tried using a Submit Behavior of Open a new form, Close the form, and Leave the form open. 
    None of these options give me what I need.  Thanks for your help.
    pam

    Laura Rogers Blog
    In case anyone stumbles upon this looking for an answer. Laura Rogers has the answer found in the comments section of her blog above.  It’s not the best but it
    does work. You have to add an extra Info Path Web Form for it to work. I know, you can roll your eyes.<o:p></o:p>
    Steps.<o:p></o:p>
    1. Add Query String<o:p></o:p>
    2. Add the extra Info Path form to the page. This form will be a hidden on the page and will receive the value from the query string.<o:p></o:p>
    3. Add your original Info Path form and have it receive a parameter from the hidden Info Path form.<o:p></o:p>
    Now, when you hit save and it opens a new form the 3 Info Path form will function properly. <o:p></o:p>

  • Opening multiple objects in Photoshop

    Sorry but I'm new to the wonderful world of Macs having been dancing with the PC devil for too long!
    When using Photoshop, in the PC world, when opening any image, the background to the workspace is a uniform grey. On my shiny new Mac, the background to any image that I open is actually the desktop background. What this means is that my photoshop images "float" over what ever stuff is still open on my desktop and this can be extremely distracting.
    When I open Word (yes the Mac Word), I also get the same transparent background workspace.
    Is there a way I can set my Mac so that when I open up Photoshop (and any other program that can have multiple objects of different sizes open at once) so that the workspace default background is some sort of uniform grey and not the clutter of the other programs that are open on my desktop?
    Thanks, and sorry if this is a really obvious question.
    Chris

    There are several things you can do:
    1. In Photoshop itself you can choose Full Screen mode from the Tools Palette, it is the middle icon of the three little screen icons in the next to last row of goodies at the bottom. There is a variant (the last one) which also hides the menu bar and displays on a black background. Full Screen mode displays on a 50% gray background.
    2. If you want to keep the ability to quickly access other PS windows or the Finder Desktop items with a mouse click, you can simply hide other applications. Click hold on a running application in the Dock and choose hide.
    3. I have my main monitor set at a neutral gray, and keep Desktop clutter to a bare minimum. I also routinely hide applications I'm not using by using Option click into the one I'm currently using. You bring back an application by a click or option click on its Dock icon (the Option click hides the application you are leaving).
    The black screen option in Photoshop is kinda neat: if you hit the tab key after selecting it the tool palettes are hidden too. If you have rulers turned on you can toggle them off with Command-R, and see your image in splendid isolation from anything at all.
    Francine
    Francine
    Schwieder

  • Apply multiple effects to multiple objects with single click box

    I would like to click on a click box and have one object appear and another object disappear. I guess what I'd like to do is apply effects to multiple objects with a single click box. Is that possible?
    Thank you.

    Welcome to our community
    Sure it can be done but you won't use effects to do it.
    When you insert an object in Captivate, you have an option to enable or disable Visibility. You also have an option to name the object. So you would give the object a meaningful name and clear the Visibility option to "hide" it until needed.
    Then you would create an Advanced Action that would hide some objects and show others.
    After that, you would assign the Advanced Action to a Click Box or a Button or some other event.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Find(String pkey) method returns multiple object of the same row

    I'm not quite sure what i've done or havent done, but I've implemented updating a row using the em.persist(Object) method.....works great, but after i did that a few times the find(String pkey) method returns multiple copies of 1 row in the db
    here are two rows in the db
    personid(PK) firstName lastName
    1234 joe jones
    2345 rachel jones
    when i execute any query looking for people with the last name jones, ie
    select object(p) from Person p where p.lastName='jones'
    it returns multiple objects of each row ie
    1234 joe jones
    1234 joe jones
    1234 joe jones
    1234 joe jones
    2345 rachel jones
    2345 rachel jones
    2345 rachel jones
    2345 rachel jones
    There is only one row for both rachel and joe in the db, but why is the entity manager returning multiple objects of each, and how do i prevent that without using DISTINCT?
    Thanks for the help in advance

    Sorry, i forgot to mention i'm using ejb 3 and jboss

  • Add multiple people using Javascript Client Object Model

    I am trying to add multiple people to a SP column of type Person/Group i.e. people picker. I am able
    to add one successfully using their userId, but HAVE no clue how to do that for multiple people. Here is the code for one user:
    function UserDrop(e, toElement, listGuid, columnName) {
    //EcmaScript Client Object Model
    var ctx = new SP.ClientContext.get_current();
    var list = ctx.get_web().get_lists().getById(listGuid);
    var item = list.getItemById(elementId);
    //columnName is of type person/group and I am adding user //whose userId is 7
    item.set_item(columnName, 7);
    item.update();
    // asynchronous call
    ctx.executeQueryAsync(
    function () { toElement.innerHTML = userLinkHtml; },
    function () {alert ("Error")}
    return false;
    This works great and I can add user whose userId is 7, however I want to add multiple people like let's say users of user Ids 7 and 8. 
    Any ideas or help will be greatly appreciated. 
    There is a thread on this one but that's from .net COM which could accessed here: http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/5183e87c-ee1d-4594-9492-0dfdf6616cce
    7929

    Hi ,
    Can somebody let me know how the same(assigning the array values to lookup value field) can be achieved with multi-select lookup value. SP.FieldLookUpValue do not have any such methods like fromUser. Please help. Please find my code block below
    clientContext = new SP.ClientContext.get_current();
    if (this.clientContext != undefined && clientContext != null) {
    var webSite = clientContext.get_web();
    oList = webSite.get_lists().getByTitle("Add New User");
    $.urlParam = function(name){
    var results = new RegExp('[\\?&]' + name + '=([^&#]*)').exec(window.location.href);
    return results[1] || 0;
    var itemid = parseInt($.urlParam('ID'));
    var item = oList.getItemById(itemid);
    var users = new Array();
    users.push(SP.FieldLookupValue.set_lookupId(1));
    users.push(SP.FieldLookupValue.set_lookupId(2));
    item.set_item('Responsibility', users);
    item.update();
    clientContext.executeQueryAsync(Function.createDelegate(this, this.success), Function.createDelegate(this, this.failed));
    also i cant use managed client object model.. so pls let me know how to achieve the same using javascript client object model
    Ranjani.R

  • Add multiple textures to a collada object

    Hi,
    I am trying to add textures and materials to a collada object. My problem is, that the collada-type only has one property for textures as a "string".
    I need to know whether it is possible to add multiple texture files to a single collada object and - if it is - how to add them.
    Thanks and regards,
    Marc

    Hello Marc,
    in the backend the VBI application object has a method GET_INITIAL_ZIP_ARCHIVE. This method returns a Base64 encoded ZIP archive including an XML file and all required resources, e.g. DAE-Files. This ZIP archive needs also to include the Texture with the right path relative to the DAE-Files.
    When calling this method you can specify additional resources to be added to the archive via table IT_ADDITIONAL_RESOURCES. This table holds resource entries with a name and the binary content. I checked it and you can just add the path to the name:
    - Texture.jpg will be in the root of the ZIP archive
    - Image/Texture.jpg will create a sub folder Image and place the texture there
    Best regards,
    Uwe

  • Is it possible to  add multiples dimension objects in Webi Ranking ?

    As per the project requirement we need to convert custom sqls to reporting sql in webi 3.1 sp5 .
    Is it possible to  add multiple dimension objects while applying ranking (Webi query panel ).
    Or is there any other way to achieve this feature in BO ?
    Regards,
    Pranay

    Hi ,
    There is a way if you want to apply ranking within a ranking . Below are the steps:
    First on the outer side we can use the Rank feature which is available directly
    Then use the Rank Function (=rank ()) and reset your dimension accordingly .
    This kind of Ranking is possible.
    Regards,
    Rahul

  • Add multiple smart object images to PS CC? (Win7)

    I'd like to be able to load quickly several layers of the same image (all as smart objects) to blend exposures. A recent J. Kost blog entry demonstrates opening such layers directly from Lightroom but she discovers from reader feedback that Adobe never programmed a Windows version of this process that would allow me to open seeveral images in one Photoshop CC document as separate smart object layers.
    I have tried to figure out the exact steps to make this happen with Bridge, too. It worked once, but there seemed to be delay in display of the smart object corner icon in the layer thumbnail. That's weird. "Place Image" -- from Photoshop -- seems to work the best.
    This is so common to my needs that I am looking for a fast and simple way to build the layers. Has anyone found a work around to do this -- on Windows -- in LR5.3 DIRECTLY to Photoshop CC (updated to 14.2)? I'd do it from Bridge if necessary but spemd all my time in Lightroom for asset management as well as usual post processing.
    When I search for this action/technique all I get are demos of opening *linked* smart object layers.
    Thanks, in advance,
    jonathan7007
    Win7 64bit
    Ivy Bridge i7, 32Gig RAM
    LR 5.3
    Photoshop CC

    To my knowledge Illustrator does not support smart objects. However it does support image linking. Which means if you update a image in photoshop, Illustrator will know the file has changed.
    When placing the file, you will see a checkbox at the bottom of the open dialog box for link, make sure it is checked. When you update the file when Illustrator is running with that file opened, you will get a promt telling you the file has changed and asked you if you want to update the image.
    If you choose not to update the image at that time, you can click on the linked file text in the top tool bar and update the image from there.
    If the file is not open or Illustrator is not running then the file will update the next time you open the file.
    Also you will find a edit original button in the top tool bar to take you back to what ever image editor is assigned to that file format.
    To assign a file format to photoshop:
    For this example we will use jpeg extention
    1) Open windows explorer
    2) Menu options tools>folder options>File types tab>scroll to jpeg and click on it
    3) Click the advanced tab
    4) see what actions are listed odds are only open and printo are listed
    5) If Edit is not listed, click on the new button
    6) For the action type EDIT
    7) For the application used to perform action click the browse button
    8) Browse for photoshop.exe
    9) The following should now be in the application used to perform action box:
    "C:\Program Files\Adobe\Adobe Photoshop CS3\Photoshop.exe" %1
    The above file location is assuming you have CS3 and you used the default installation edit original button in Illustrator and the right mouse button menu in windows explorer will take you to photoshop to edit the file.
    10) After you click OK you will see the new EDIT action in the list
    11) Click OK  and then click close to get out of all the dialog boxes
    The action can be removed at any time or edited to use another application.

  • How do I add multiple images into one file?

    I'm sure this is something that's been covered in another post (or even in the help portal) but I think my wording in my search terms are not correct or... I don't know, because I just can't find what I'm looking for.
    I want to know how to add multiple images into one file/one image, both horizontally and/or vertically. To give you an idea of what I mean, check out :
    http://www.best10apps.com/apps/comic-story,531596060.html
    If you scroll down, you'll see a heading entitled : Screenshots of Comic Story. Notice how there's 3 pictures (divided by borders). 2 of those pictures are side by side, and 1 of them is below the first 2 pictures.
    I want to know how to add different pictures/images and put them into one picture.

    One way is to create template PSD files and populate them with your images using Photoshops scripts.
    Photo Collage Toolkit UPDATED June 12, added Picture Package Support via PasteImageRoll and BatchPicturePackage scripts.
    The package includes four simple rules to follow when making Photo Collage Template PSD files so they will be compatible with my Photoshop scripts.
    There are eleven scripts in this package they provide the following functions:
    TestCollageTemplate.jsx - Used to test a Photo Collage Template while you are making it with Photoshop.
    CollageTemplateBuilder.jsx - Can build Templates compatible with this toolkit's scripts.
    LayerToAlphaChan.jsx - Used to convert a Prototype Image Layer stack into a template document.
    InteractivePopulateCollage.jsx - Used to interactively populate Any Photo Collage template. Offers most user control inserting pictures and text.
    ReplaceCollageImage.jsx - use to replace a populated collage image Smart Object layer with an other image correctly resized and positioned.
    ChangeTextSize.jsx - This script can be used to change Image stamps text size when the size used by the populating did not work well.
    PopulateCollageTemplate.jsx - Used to Automatically populate a Photo Collage template and leave the populated copy open in Photoshop.
    BatchOneImageCollage.jsx - Used to Automatically Batch Populate Collage templates that only have one image inserted. The Collage or Image may be stamped with text.
    BatchMultiImageCollage.jsx - Used to Automatically Batch Populate Any Photo Collage template with images in a source image folder. Easier to use than the interactive script. Saved collages can be tweaked.
    BatchPicturePackage.jsx - Used to Automatically Batch Populate Any Photo Collage template with an image in a source image folder
    PasteImageRoll.jsx - Paste Images into a document to be print on roll paper.
    Documentation and Examples

  • How do I add multiple text block records from text file?

    The data manager documentation (page 151) for MDM 5.5 SP3 indicates that one or more new text blocks can be added to the Text Blocks object table from files. It is noted that the files must be plain text files.
    I use notepad and create a text file with two lines as follows:
    Test 1
    Test 2
    When I try to add the text blocks following documentation mentioned above, it only adds one record for the Data Group I have chosen and the record contains the entry "Test 1" from the first line in the text file.
    How can I add multiple records to the data group from a file?

    From my testing it appears that you need to have one text file per text block record in Data Manager.
    I wrote VBA macro to so that I could input my text blocks into an Excel spreadsheet and then the macro will take the contents of each cell in a highlighted column and create one text file per cell.
    Then using Data manager, I can select all of the text files at once and it will import them, creating one record per text file.

  • Using Multiple Object Types in a FIM Managed Criteria Distribution Group

    Is it possible to use multiple object types in a criteria based distribution group. So when building your criteria filter, "Select (object type) that match (all/any) of the following condiftions". Currently you can only choose 1 object type and
    I want to be able to choose object type "user" and a custom object type I create for my contacts 

    You can create main condition as "any" and later add two sub-conditions - one that object in set "All People" and other sub-condition that object in set "All Contacts" or "All Groups".
    If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer.

  • Error while doing multiple object updation from EP ! object lock error

    HI all,
    I am doing multiple  object updation using a standard RFC(BAPI_PROJECT_MAINTAIN). The RFC i am calling from Enterprise portal. I am sending data to RFC one by one. But the error i am getting is object is locked by user so data can't be save.
    Though i am using Lock and unlock method before and after calling RFC the project lock error comes up.
    What might be the reason
    regards
    sandeep

    Hi Sandeep,
    Is the RFC you use for locking in the same model as the bapi BAPI_PROJECT_MAINTAIN? If it is not then you are using two connections for communication with the sap R/3 backend.
    You can do 2 things.
    1. You could add the RFCs for locking in the same model as the BAPI_PROJECT_MAINTAIN
    2. Instead of adding the RFCs in one model synchronize the connections the models use as follows:
    IWDDynamicRFCModel model1 = (IWDDynamicRFCModel) WDModelFactory.getModelInstance(Model1.class);
    IWDDynamicRFCModel model2 = (IWDDynamicRFCModel) WDModelFactory.getModelInstance(Model2.class);
    model1.setConnectionProvider(model2);
    You can do this in the wdDoInit. This will make sure both models use the same connection but closing a connection will close both at the same time.
    The same problem applies to commit/rollback functionality.
    Regards,
    Jeschael

  • How to add multiple test conditions in 'test' attribute expression of xsl:if tag

    Hi all,
    How to add multiple test conditions in 'test' attribute expression of <xsl:if> tag ?
    I have 2 parameters and I want To skip the massage if this 2 conditions happened I tried to write it :
            <xsl:when test="($TransferToCompany = 0 and $ObjectInclide=1 )">
            <b1im_skip xmlns="" info=" Obect Will Not Transfer To company">
            </b1im_skip>
          </xsl:when>
    But I get an error while I am trying to transfer The object (Account) true B1if
    I am working with SBO 9 PL 13
    thank you
    shachar

    Hi saado
    Check this link:
    http://stackoverflow.com/questions/318875/can-you-put-two-conditions-in-an-xslt-test-attribute
    Kind regards,
    Radek

Maybe you are looking for

  • Mutiprovider not visible in RSSM (Table RSSTOBJDIR)

    Hi guys, we are facing out a problem with Custom Authorization Object. We defined an Object (in RSSM) that works right with InfoCubes, ODSs ... Than we decided to build a MultiProvider and discovered that authorization check insn't carried out. So we

  • XI Mapping - create one Field after crashing

    HI, we have a big problem cause our XI Mapping (ORDERS IDOC) crashes in (only) PARTN in Segment E1EDKA1. If i open it in graphical layout my systems runs to 100% CPU-Usage but nothing will be displayed. The XI Mapping freezes and is only to be killed

  • Basics of PXI system architecture

    Hi Can anyone suggest some links wher i would have the information about the PXI systems, its bus architecture and how this is useful in instrumentation.

  • Adobe Acrobat 10 will not Save As.. using Lion

    We have Acrobat 10 Pro installed on our MacBook running Lion. When we open the PDF form and enter data, the file will "Save As..." the first time. Leaving the file open, we can add additional information and try to "Save As..." and the option is no l

  • Windows 7 does not recognize Aiport Extreme and Express

    My Windows 7 operating system (service pack 1) no longer recognzes my Airpot Extreme and Express after I upgraded to AirPort Utility 5.6.1. Could anyway one help me find a solution. The Macbook Pro version of Airport Utility works fine.