Java components installed to the AAU can be called under certain conditions?

Hi all

I developed a java component to unzip a file and documentation of all the files and folders individual in Complutense University of MADRID when a zip file is recorded.
Once the component is installed, it works as expected and it is invoked and executed when a zip file is recorded.
So, if:
-Connection at the University Complutense of MADRID, navigate to a folder and run New-> new content and archiving of zip, the component file is called and executed.
-Use the integration of desktop and drag-and - drop or copy-and - paste a file zip, the component is called and executed.

Is it possible to call the component only when integrating office is used and not to invoke the component when
the user connects via the AAU homepage? OR even if the component is called, y at - it a setting that I can query (using binder.getLocal) that would help me to determine if it is invoked by the integration of office or via UCM Homepage

Thank you
Benhamdia

As others have said, you must empty the DataBinder by a binder.toString (). You can see all the variables and what are those which may indicate WebDAV / TELL.

I think that some variables WebDAV / SAY can be as follows:
WebdavRequest
IS_WEBDAV_REQUEST
WebdavSessionID

Jonathan
http://redstonecontentsolutions.com
http://corecontentonly.com

Tags: Fusion Middleware

Similar Questions

  • How can I activate under certain conditions a timed pulse?

    Hello

    I need to repeatedly pass a system to test.  To do this, I need to take six switches entry.  When they are all active, I need to generate a digital high about 1 second in time to restart the cycle.  I have to do this 1000 times.

    I have a loop that displays a True value when the six input switches are closed.  The problem is to get that signal to generate a second pulse on my DAQ and increment a counter of some sort.

    Once more, a task that you could train a chimpanzee to do in five minutes takes me hours to understand in LabView.

    Running LabView 8.6 with one NOR cDAQ-9172.  Digital NI 9423, output digital input module is a NI 9472.

    Since you have already a Boolean output, simple solution like just this wiring up an instruction box with the DAQmx written inside. Because the module is timed, you write a logic, a software, wait and then write a logic 0.

    If the simple solution below is not what you need, please provide details. Join your code would help.

  • imaqReadAVIFrame retrieves the empty image under certain conditions?

    Hello

    I'm having a problem where imaqReadAVIFrame (.) is the white recovery (all black images) under certain conditions.  The conditions seem to be when the height of the AVI file is equal to or greater than the width and the height is an odd number.  AVI files created by using the various AVI NI Vision (IMAQ 4.6.1, IMAQdx 4.6.1) functions in an application created in CVI 2012 on a computer running Windows 7 64 bit.  AVI files use MJPEG compressor, and they play back fine in an external program like VLC or Windows Media Player.  Any ideas on what this could be?  My solution for now is to not to allow the creation of AVI files where the height is odd and equal to or greater than the width that is not a boring restriction, but it seems like there's something weird happens with imaqReadAVIFrame().  I can provide some AVI files if necessary, but they are 16 + MB each.

    TStanley,

    I managed to reproduce what you see with your .avi files in a program I wrote.  I built a LabVIEW program that creates an AVI file which can be saved to memory and then uses code from the example finder to read who created the file.  I build the file to your specifications at the height is greater than the width, and the height being an odd number of pixels.  Something interesting about this, however, is that it seems to be a point where an odd height is acceptable.  Once you go below the height of 291 pixels, any odd height then works.  The files that I used are written as read in LabVIEW, but that the configuration should be irrelevant because we are seeing the same issue.  In addition, LabVIEW and LabWindows CVI calling the same dll to actually set up the code.

    In this, I think this question arises from the nature of the way you compress the. AVI file.  If you are interested to read a bit more about it, a useful link can be found here:

    http://www.manifest-tech.com/media_pc/avi_formats.htm

    However, what I think is happening, is it that MJPEG file compression format translates into creating files that cannot be read by our software unless the height in pixels is a multiple of 2 or the size of the file is below a certain limit.  To fix that, there is a simple solution. Compress the file with any of the other compression methods available (DV video, Cinepak Codec, codec Intel IYUV, Microsoft RLE, Microsoft Video) and you will be able to open the file without the black screen.  This worked for me and should solve all your problems.  I hope this gives you a bit of insight.

    Kind regards

    Keith M

    Technical sales engineer

  • hide the text label in the section report IR under certain conditions

    Hello
    We have a textlabel and a calculated field in a section of report to the IR 11.1.2.1. Is it possible (in a script) to hide the textlabel and field based on certain conditions, like for example, if the field computes to 'zero '?
    Thank you.

    Use a field instead of the text label. In the Expression Editor you can use the function if() {} else {}

    HTH

    Wayne

  • How can I add a page under certain conditions?

    Hello

    I'm trying to find a way to add a page to my form under certain conditions. I tried to create this sequel to 'action', but failed to locate the correct action.

    To sum up, I am trying to add a separate page to my existing form with instructions when a specific check box is selected. The separate page is text only and does not form any entries/field. Is there a relatively simple way to accomplish this task?

    You can enter the code in the script editor. If you do not show you can get it by pressing on (on PC) Ctrl + Shift + F5.

  • Under certain conditions see the popup on page (fragment) charge

    Hi Experts,

    We have an obligation to show a popup on the page load, if a certain condition is true.

    I have two fragments (home.jsff and profile.jsff). Initially when the user login, home.jsff is indicated and that there should be no popup.

    When the user goes to profile.jsff and save the changes, it must first redirect to home.jsff and show a popup with the confirmation message.

    I can't create a fragment separated for the popup where we need to redirect to profile.jsff and then redirect to home.jsff as said the requirement that the popup should display the content of home.jsff in the background.

    Also I can't use showPopup behavior during the loading of the page because it's a jsff.

    Please suggest how to implement this.

    Thanks in advance.

    Best regards

    Saurabh

    ... There's an even simpler option

    1. Add a hidden from the fragment output text element

    2 bind the output components text 'value' property to a bean property of manage (pair of getter/setter)

    3. when the getter of the value method is called, check the indicator that you defined for if you want to display the context menu or not

    4. If the indicator is such that the popup needs to be displayed, run the Java Popup

    4.a search the component RichPopup

    4.b set flags of the popup

    4.c unset flag to display the pop-up window (for the next time you need to put it)

    4.d see the popup

    Frank

  • Under certain conditions of shooting the ValidateEntity in OT

    I have a VO, inspired by the EO. There are 2 pages based on the original Version. Initially data entered page 1 then the data entered in page 1 are displayed in RO format and some additional data is entered on page 2. Now since the same EO and VO is involved for both pages, how can I prevent the entity level validation, all that data is stored in the first case. In other words, I want to fire conditionally code in validateEntity to EOIMpl.java, depending on whether the data is stored in the first case, or are updated in the second case (page 1 or page 2).

    How to achieve this?

    Concerning
    Ravi.

    Hello

    In the first page, based on the event to record, places the value of the transaction.

    Suppose that the ID of the button Save or "Save". Code something like this in the first Page Controller processFormRequest

    If (pageContext.getParamter ('Save')! = null)
    {
    pageContext.getRootApplicationModule () .getOADBTransaction () .putValue ("saved", "Y");
    }

    Now, in EOImpl, you override the validateEntity like that

    {
    Transaction OADBTransaction = getOADBTransaction();
    If (transaction.getValue ()! = null)
    {
    return;
    }
    on the other
    {
    super.validateEntity ();
    }
    }

    Now in the second page controller, in the processRequest

    Delete the value of the transaction

    pageContext.getRootApplicationModule () .getOADBTransaction () .removeValue ("Saved");

    Hope this helps

    Thank you

    Joseph

  • Under certain conditions the filling of a column (country code) according to the context

    This is the task given to me

    I have conditionally to the filling of a column (country code) based on the context selected in ODI


    What is this mean and how to get a solution for this

    No, the context is not that.
    Context is an environment. For different implementations, it may be different. Let me share how we use them.
    We use 4 contexts - DEV (development), INT (integration), TCT and the PRD.
    Each interface can be run in any context. The ODI will provide information from schema/information of physical server during execution to the enforcement process depending on what context has been chosen.
    The executions in the following contexts can be controlled using the ODI Security Module.

    Other implementations I've seen are that each context represents a different location (server) of the company. Thus, interfaces can be run on different machines depending on the configuration. ODI translates this information during execution.
    Context1 (Server1) may be used to run an interface1 during the day and Context2 (Server2) may be used to run the interface1 overnight.

    In your case, it seems that each frame is another country. So, depending on the context, the field must be filled in by the country_code.

    PS don't forget to award the useful points or correct answers that helped you.
    Thank you

  • How to prevent the entry of the data in the cells that don't meet certain conditions

    So, the question is that I have to warn the data to enter into the cell that does not conform '< 500' condition or, on the other hand, satisfy the condition «> 500 "»

    I noticed that the link was broken.

    Here is the example:

    for (r = currentDataGrid.startRow; r)<=currentDataGrid.endRow; r++)="" {="" search="" all="">
    for (c = currentDataGrid.startCol; c)<=currentDataGrid.lastVisibleCol; c++)="" {="" search="" all="">
    Val = getCellVal (r, c); Get the value in the cell (the cube value)
    If ( <= 10="" ||="" val="">20 val) {/ / my rule to block}
    currentDataGrid.readOnly [r] [c] = 1; Block cell
    } //END IF
    } //END SECOND "FOR".
    } / / END FIRST "FOR".

    This isn't a good solution if your form is too large. I use this function while the page is loading (CustomOnLoad() I think).

    Good luck

  • Run previous versions of the components installed on the same machine

    I upgraded to PSE14 of PSE12 on Win10 (64-bit). The Kodak Digital ROC plug-in is not working (other plugins are working ok), I want to run PSE12, always installed on my pc, because the ROC plugin has worked in PSE12. The PSE12 Organizer will work but not the Publisher. Y at - it something I have to do to be able to access the editor PSE12. Also, I still have PSE9 on my pc and would be happy to use that if it was easier.

    Make a new shortcut. Hold down the Windows key and press D to quickly get to your desktop.

    Click anywhere on the desktop and click on

    New > shortcut

    Click on the Browse button and navigate to:

    C:\Program Files (x 86) \Adobe\Photoshop elements 12

    Select (highlight) PhotoshopElementsEditor

    Click next and finish

    You should be able to use the new desktop icon to launch the PSE12 Editor directly.

  • How to print under certain conditions the façade at the end?

    I have a system in which I want to print the front end of the VI * if the user press the button "PRINT."  I can set it to print all the time, in the menus, but I can't find how to control printing through LabView.   At present, the "print" button "my eyes!"  The button does nothing! »

    See PDF attached for what I have in mind.  It's the same PDF as a previous assignment.

    Thanks, Scrx

    Sorry, I forgot to whack "Sovled!" on it.   Scrx

  • Images do not appear in the preview pane in Windows Explorer under certain conditions

    I use Win 7 Prof - under Display Options in Windows Explorer, I have pictures (not "icons"). The pane is open.

    If I open a folder in Windows Explorer by double clicking the folder icon on the desktop, the preview pane works very well, showing the content of the image.  However if I navigate to a folder by using the folder tree pane in the Explorer Win itself, the preview pane does not display the pictures when you click on the image file.

    However, this problem occurs only for photos, as there is no problem of visualization of the contents of other files, such as Word, Excel, PDF, etc.

    Thanks for your advice. However, as a result of someone of another tip, I restarted in safe mode, and then again in Normal mode and the problem disappeared.

    What was the problem, I don't know, but it can help someone else, if the race in the same thing.

    Kind regards.

  • Get the value of the following line in the game ordered under certain conditions

    Do not know if my best subject line sums up what I do :)


    Oracle DB 12 c (I think 12.1.2)


    I have a table with the names of people and DOB with a few keystrokes. It is assumed that this person is the 'same' first_name, last_name, birth_day/month/year are identical

    drop table people;

    create table persons

    (

    first name varchar2 (30),

    VARCHAR2 (30) last_name,.

    birth_month varchar2 (2),

    birth_day varchar2 (2),

    birth_year varchar2 (4).

    keyVal number

    );

    insert into values('JOHN','SMITH','10','10','1974',1) people (first_name, last_name, birth_month, birth_day, birth_year, keyval);

    insert into values('JOHN','SMITH','10','10','1974',2) people (first_name, last_name, birth_month, birth_day, birth_year, keyval);

    insert into values('JANE','SMITH','10','10','1974',3) people (first_name, last_name, birth_month, birth_day, birth_year, keyval);

    insert into values('JANE','DOE','10','10','1974',4) people (first_name, last_name, birth_month, birth_day, birth_year, keyval);

    insert into values('JANE','DOE','10','10','1974',5) people (first_name, last_name, birth_month, birth_day, birth_year, keyval);

    insert into values('ERIC','DOE','11','10','1975',6) people (first_name, last_name, birth_month, birth_day, birth_year, keyval);

    insert into values('ERIC','DOE','11','10','1975',7) people (first_name, last_name, birth_month, birth_day, birth_year, keyval);

    insert into values('ERIC','DOE','11','10','1975',8) people (first_name, last_name, birth_month, birth_day, birth_year, keyval);

    I want to see the following output:

    first_name, last_name, birth_month, birth_day, birth_year, keyval_min, keyval_other

    JOHNSMITH101019741 2
    JANEDOE101019744 5
    ERICDOE111019756 7
    ERICDOE111019756 8

    1. the output will display only those who appear at least twice in the original table

    2. If the person appears twice in the original table, the output will only one result where first keyval will be min two; second keyval will be the other value;

    3. If the person has 3 times or more (n times, for example), each line of output will be keyval_min of all keyvals followed by the other value keyval. Total of n-1 lines

    It's very large 100 + M and the processing time is important.

    Hope I explained it well.

    Hello

    This sounds like a job for analytical functions.

    If the same person has N rows in the table, the output should be N - 1 lines.  You can use the ROW_NUMBER analytic function to assign numbers (1, 2, 3,...) to each line and do not display the lines nuimbered 1.

    On each line, you must prove the keyval lowest for this person.  The analytical MIN function can do this.

    Here's one way:

    WITH got_analytics AS

    (

    SELECT first_name, last_name, birth_month, birth_day, birth_year, keyval

    , ROW_NUMBER () OVER (PARTITION BY first_name, last_name, birth_month, birth_day, birth_year)

    ORDER BY keyval

    ) AS r_num

    , MIN (keyval) OVER (PARTITION BY first_name, last_name, birth_month, birth_day, birth_year)

    ) AS keyval_min

    AMONG the people

    )

    SELECT first_name, last_name, birth_month, birth_day, birth_year

    keyval_min

    keyval AS keyval_other

    OF got_analytics

    WHERE r_num > 1

    ORDER BY first_name, last_name, birth_month, birth_day, birth_year

    r_num

    ;

    Use the data DATE to the date information type.  With the help of 3 columns separate NUMBERS will result in complicated, ineffective, code errors and invalid data.

  • under certain conditions allow the update of an item in 10g

    Hi all, I'm a total newbie to Oracle forms and I need to develop a base of to display the data in a table.

    The logic that is needed is to allow the update one field and that too that it has one of two possible values.

    For example, consider the following two documents:

    Record 1:

    Name: Naren

    Status: NEW REQUEST

    Sheet 2:

    Name: Ravi

    Status: REQUEST for CONVERSION


    Only the status of the file 2 column can be updated on the "PROCESSING REQUEST' to 'NEW APPLICATION'.

    I create a list box to the Status column with values of TREATMENT of DEMAND and the NEW REQUEST.

    But that allows me to update the status of 'PROCESSING REQUEST' to 'NEW APPLICATION' and 'NEW APPLICATION' to "SEEK treatment".

    I want to enable the update of status only when its value = "PROCESSING REQUEST"

    Can someone help me please? Maybe that trigger to use.

    Thank you.

    Your code is wrong.

    IF: UP_TEM_PAYCARD_REQUESTS. STATUS <> 'TREATMENT of the REQUEST' THEN

    SET_ITEM_INSTANCE_PROPERTY('UP_TEM_PAYCARD_REQUESTS.) STATUS, UPDATE_ALLOWED, PROPERTY_FALSE);

    END IF;

    SET_ITEM_INSTANCE_PROPERTY accepts FOUR arguments (take a look at the online help.

    Plan to retry the EXCHANGE WHEN LIST and POST-QUERY-approach with the correct code.

  • Under certain conditions (by program) make MessageCheckBox read-only for the specific rows in a table

    Hello

    I have a table (on a custom page) which includes the columns MessageStyledText and MessageCheckBox column, I want to put the MessageCheckBox to read-only if the value of the column MessageStyledText of the line is "XYZ", could someone give me some advice on how this can be achieved?

    Oracle EBS: 12.1.3

    JDEV: 10.1.3.3.0.3

    Kind regards
    Carl

    Sorting using SPEL (according to https://forums.oracle.com/message/1815932#1815932).

Maybe you are looking for