Can hide us a view particular criteria under certain conditions
Hello
In our application, we want to have multiple criteria of view that will be displayed in the query Panel and table of the JSF page. But the display criteria are controlled based on user roles.
So we want to hide certain criteria of view for any particular user who should not use this criterion of the view. On the object view if we change a criterion for the view and go to UI tips tab there is a 'Show on list' option which when checked/unchecked will show/hide criteria in the saved search drop down. I want to do the same thing programmatically based on condition.
I'm not find examples of it.
If anyone has done this before or would help pointers examples or documentation.
I use JDev - 11.1.2.4
Thank you
Finally found the solution to my requirement-
How to hide the viewcriteria from the Panel of af: query | They show me the finger... again!
Exactly what I was looking for.
Tags: Java
Similar Questions
-
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 allow a Feedback
We use integrated installation of APEX flow back. We love this feature but, we will only use it in development. Is that anyway, apart from the use of JavaScript to hide or remove the link, we can have this under certain conditions depending on the environment in which the application is running?
I know we can go turn off in the properties of the Application, but we have a ton of environments and having to manually press this switch whenever get us a new version of the application becomes tedious. I expect something more by program / data driven. For example, is it possible to return this switch integrated with PL/SQL?
Thank you
-Joe
Create a compilation Option. In the development environment has defined the status on Includeand by default on export to exclude.
Apply the Option to build on the entry page and the navigation bar of your comments. When the application is imported into a different environment the comments link and the page will not be returned.
-
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
-
Under certain conditions create script
Hi, I want to put a redirect code in my stsytem to help, it is possible to build under certain conditions one < script type = "text/javascript" > tag?
Any help would be great appricieated
oooo and meta tags as well!
You are wanting to add a Javascript within a topic and then conditionalise it so it appears only in some outings? If so, check out this part of the aid for the addition of scripts. Once it is in, you should be able to add a tag of conditional compilation to exclude required results.
I'm not sure you can conditionalise however meta tags. Maybe if you elaborate a bit on what you're trying to reach.
-
AF:query of automatic execution under certain conditions the search form based on user input
I read the post 160 in "not yet documented ADF application examples.
I have a question. How can I create a view criteria according to ListOfValidDnames with a parameter that is the chosen filter Loc in ListOfValidLocs.
Let me explain. The numbers the user or chooses 1700 in field Loc using ListOfValidLocs. I want to filter ListOfValidDnames with 1700.
Thank youSee this demo:
http://blogs.Oracle.com/Shay/2011/01/dependent_lovs_in_an_afquery_c.html -
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, update a table based on the comparison with a SQL statement
I have a table (table 1) that has 4 columns:
UID. THE NEST | VALUE1 | VALUE2
I have another statement SQL (STMT) that returns the 3 columns of a few other tables:
UID. THE NEST | VALUE1
Now this is the condition of the way in which I want to put up-to-date TABLE1:
First, to compare a pair of UID and PID of STMT with those in TABLE1,
-1, for any new pair UID and PID not in TABLE1, insert a new line of STMT in TABLE1 set TABLE1. Value2 = 0 (I already did this).
2, for an existing UID and PID pair in STMT and TABLE1, do:
a. in TABLE1. Value2 > 0, update TABLE1. VALUE1 = STMT. VALUE1
b. to TABLE1. Value2 = 0 and if TABLE1. VALUE1! = STMT. Value1, update of TABLE1. VALUE1 = STMT. Value1, otherwise nothing to do.
I can't seem to come with a solution for condition 2. Any help is appreciated!Hello
Here's one way:
MERGE INTO table1 dst USING ( SELECT ... -- your stmt query goes here ) src ON ( src.uid = dst.uid AND src.pid = dst.pid ) WHEN MATCHED THEN UPDATE SET dst.value1 = CASE WHEN dst.value2 > 0 OR ( dst.value2 = 0 AND dst.calue1 != src.value1 ) THEN src.value1 END WHERE dst.value2 > 0 OR ( dst.value2 = 0 AND dst.calue1 != src.value1 ) ;
This assumes that the combination (uid, pid) is unique in stmt. It doesn't have to be unique in table1.
sb92075 wrote:
-1, for any new pair UID and PID not in TABLE1, insert a new line of STMT in TABLE1 set TABLE1. Value2 = 0 (I already did this).
FUSION could also do parts 1 and 2 together, in the same statement.
2, for an existing UID and PID pair in STMT and TABLE1, do:
a. in TABLE1. Value2 > 0, update TABLE1. VALUE1 = STMT. VALUE1
b. to TABLE1. Value2 = 0 and if TABLE1. VALUE1! = STMT. Value1, update of TABLE1. VALUE1 = STMT. Value1, otherwise nothing to do.
Why are they not simply your needs ' uid and pid that already exist in stmt and table1, if table1.value2 > = 0, then the value table1.value1 = stmt.value1 "? Are you concerned about shooting triggers unnecessarily? It has something to do with null values? The MERGE statement above does exactly what you asked, but, depending on your needs, something simpler and more efficient could do it as well.
I hope that answers your question.
If not, post a small example data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and also publish outcomes from these data.
If you ask on a DML statement, such as UPDATE, the sample data will be the content of the or the tables before the DML, and the results will be the State of the or the tables changed when it's all over.
Explain, using specific examples, how you get these results from these data.
Always tell what version of Oracle you are using.
See the FAQ forum {message identifier: = 9360002}Published by: Frank Kulash, June 6, 2012 14:51
-
How to hide and reveal content under certain conditions?
With the help of Acrobat X Pro.
I have a load of text on a form I want to obfuscate in certain circumstances and to reveal to others.
I tried to use a text box and put a script in the custom format field to switch between white and transparent fill colors, but it does not work reliably.
In the meantime, I have a hack with a gazillion overlapping of checkboxes... but there must be a better way. I can't change the underlying text for various reasons.
Thanks in advance for any help.
You can use several read-only buttons that all have the same name and can show/hide them all with a single statement by controlling their visibility:
getField("cover").display = bYourVar? Display.visible: display.hidden;
Where the "cover" is the name of the buttons and the bYourVar is a variable which is true when you want that text to be hidden and false when you want to the text to display.
You can show/hide text by placing it on a separate layer (BCG) and control the visibility of the layer via JavaScript, but setting this up is not possible in this case, given your current constraints on editing.
-
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
BenhamdiaAs 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
WebdavSessionIDJonathan
http://redstonecontentsolutions.com
http://corecontentonly.com -
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.
-
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.
-
Application process, under certain conditions fires on the evolution of the Group page
Hello world
I need to start a process of application when the user switches to a different page group. Is there a way to access the Group page by alias or something like that.
Thank you
MichaelMichael Erlekam says:
I need to start a process of application when the user switches to a different page group. Is there a way to access the Group page by alias or something like that.
Page for the current page group can be determined using the view of apex_application_pages :
select page_group from apex_application_pages where application_id = :app_id and page_id = :app_page_id
-
Under certain conditions add value in table
Hi all
I have two tables 2D of the string data in my VI (taken from the .mdb using ADO & SQL file). The "Window list" table on the left, that's what I want to add values to. The 'List of glass' table on the right contains the values that I want to add to the main table according to the values in other cells.
For example:
1 component ID window are 2191 and 2001. Under the thickness of the component 1/component 2 in the table "window list", I would add the thickness appropriate for stream ID 2191 and 2001 table "list of glass".
Here's a snip of the two tables in question.
This should be simple enough, but as I am a rookie LV I am not very well how to do.
Thank you very much
Laura
Joint must be what you want. Let me know if you have any other questions.
Maybe you are looking for
-
Bad Apple ID after matching Apple Watch
Hello I have a Apple Watch, but last week I gave it to my friend to try it. I forgot to turn off pairing the watch simply reset it and give it. Now I get the watch back and after I have paired the device and agreed to the terms and services, I can co
-
NO ONE KNOWS HOW TO STOP THOSE WHO HACK YOUR ADDRESS E ~ MAIL ACCOUNT AND USE IT TO SEND VIRUSES TO YOUR MAILING LIST WHICH EVENTUALLY DESTROY YOUR COMPUTER...? How can you recognize an e ~ mail that was sent by a good friend who in fact has not been
-
virtualw1f1miniport adapterDevice player
computer shows message that this device ubder epson perfection v750 pro does not work
-
System worked well until I upgraded to Windows 10. Have uninstalled and reinstalled the software of the printer without success. My printers are connected to the PC, portable usb wireless but problem occurs on both. Using the Clipboard to MS Word 200
-
Problems of restoring a backup of Windows Vista backup and restore program
I recently had to completely reinstall Windows XP, then the Vista upgrade, to fix a problem with updates of Microsoft.NET and ATI graphic driver. In may, I made a full backup of my laptop using Vista resident backup and restore program, using an ext