[ADF, JDev12.1.3] How to create a page that is read-only or allowing changes according to the menu by which item it is accessible?
Hallo,
I'd like to go to the page that contains an af:table of 2 different menus: "Edit/insert data" and "read data".
Is it possible to make a page that is read-only when the user accesses by "Read data" and that allows for changes when you access it through 'edit/insert data?
Or do I have to create 2 different pages?
Thank you
Federico
If the menu is outside the region, you must pass a parameter in the area and read this parameter passed within the region. You cannot directly access the bean of expanded view of inside the workflow.
You can check out my blog 11.1.1.5.0 JDeveloper: router to use to create new or modify existing line | JDev & ADF Goodies
That uses a router within a workflow to decide which page to display based on the parameter. Using this solution you can easily implement your use case using two different pages to show the table, a read-only, and the other to change.
Timo
Tags: Java
Similar Questions
-
How to create a page that emits a sound when you click on an image or a button?
I am trying to create a page that will be a lot of rectangular images on it. I want that these images make a sound when they are clicked on. I wish that for image power be clicked on as many times as the user needs. the page will be about 58 different images, and each will have its own. Perhaps the images should be buttons. I'm not really sure. Adobe Muse is even the application to create this? I need advice and would be very happy. Thanks in advance.
You must find a suitable Gallery widget that supports click - sounds. Initially there is no way to do it with the options that Muse comes with a default.
Mylenium
-
Hallo,
in my application, I would use SelectOneChoiche components a range of years including start/end of the year can be different based on other values/conditions of display.
I found this thread helpful Andrejus Baranovskis Blog: select a choice with select elements Tag which explains how to fill a PLOUGHSHARE of a managed bean.
Would it be possible (and how) to create a reusable component (something to drag them to the design-time user interface) configurable with expressions of start/end of year?
This would avoid as me to write the code to fill the SOC whenever I need one of them.
Thank you
Federico
You can see this example ADF practice: component example declarative ADF which shows how to create a component declarative which shows a decimal lov.
This Oracle magazine article Oracle ADF: Build Your Own is another example that will guide you throughout the process.
Timo
-
Looking for how to create a page that will recreate self-esteem and image uploader!
Greetings,
Is one know how I can create client-side page that would always recreate yourself when a new customer registers and become a member on my blog site, so that they could manage and add friends to their page and download the image to their album? The idea is to have pages added as if it were on Facebook, when a member signs up.
If I have software server-side is necessary to achieve this goal; What kind of software on the server side need me for this design? Please contact me if you have an idea.
I would also like to receive information on where to find the script that helps visitors to upload images to my site.
I did it with other parts of my web design adding that this idea is what I need to finish. Your help is greatly appreciated.
Joplateau.
You can ask in a forum more generalized as http://forums.adobe.com/community/design_development/webdesign. It is designed for Adobe Contribute (which will not do what you want) and is rarely visited. Good luck.
-
Hallo,
I create a stubborn workflow that begins with a create operation on the table where a new record should be added.
The recording fields must be filled in by the user, but before committing, I have to fill a field of the reocord with the address IP of the PC of the user.
Could you kindly advice me which are the possible recommended approaches to achieve this?
Thank you
Federico
Hello
See this post: Blog of Zeeshan Baig: how to get the IP address of the customer in ADF merge request
You can use a createWithParams operation and to fill in this field.
Reference: Andrejus Baranovskis Blog: CreateWithParams operation for Oracle ADF 11g BC
Kind regards
Ruben.
-
Hallo,
I want to create a method that takes as a parameter the id of an af:table (used to display the search results) and returns:
- the column headings of the af: table
- Visible property (true/false) of the columns af:table
- the actual query of the VO instance used to create the af: table
- the values of real bind variables passed to the query of the instance of VO
I would like to create a servlet which takes the parameters reruns the query and returns a report Excel/PDF file that contains exactly the same columns and same of the af records: table.
I'm a little confused on who use the code to achieve this... you kindly help me?
I did a similar qustion here
but then I guessed that it was preferable to create a new thread.Thank you
Federico
For this, you can use this type of code
Context LocaleContext = _adfTableBinding.getLocaleContext ();
for (attr AttributeDef: attributeDef) {}
Label As String = attr.getUIHelper () .getLabel (context);
_logger.info ("Attritbute name:" + attr.getName () + "column name:" + attr.getColumnName () + "Col4Query name:" + attr.getColumnNameForQuery () +)
"Name:"+ label);
}
which produces this output
Timo
-
Hallo,
I see that default ADF makes all the 100px wide columns and there is the possibility to stretch a column to take full available width.
I would like to know if there is a function / approach in ADF which - occupies all the available space - auto-calcule the width of each column to 1) the width of DB fields and 2) space in the browser window.
I could also set the with columns of table in columns (characters) or (better?) in pixels and the framework should only for reproportion widths according to the available width.
Or track to follow is defining the width of the columns in the table (percentage) property?
Thank you
Federico
There is the possibility to stretch a column to take full available width.
AFAIK, you can stretch several columns (read the docs for this property)
I would like to know if there is a function / approach in ADF which - occupies all the available space - auto-calcule the width of each column to 1) the width of DB fields and 2) space in the browser window.
(1) as far as I know, no
(2) you can add class AFStretchWidth to the styleClass property to af:table (or surround your table with af:panelCollection and add this style class here)
Or track to follow is defining the width of the columns in the table (percentage) property?
Is probably not.
% has different interpretation in different browsers, so you should use the style class AFStretchWidth.
Dario
-
How can I create a pdf file that is read-only as a resume so that no one can change it
How can I create a pdf file that is read-only as a resume so that no one can change it
You require the Acrobat application for this, see this KB document for the parameters to restrict modification of a PDF Acrobat help. Securing PDF files with passwords.
Let me know if you have any additional questions.
Kind regards
Nicos
-
How to create a page in three or more regions
Hi all:
I want to create a page that will have more than three regions as a work of HTML frames that you can put in different parts
How can I make OAFramework?
Help, please
AliHello
In the region of pageLayout create a rowlayout and in rowlayout create two cell formats.
Formats of the neo, you can create two regions on two regions in a different format from cell on the right and left.
In order to give spaces between them use spacer point and define its width.
It will be like
region of pageLayout
region5
RowLayout region
cell format1 spacer cellformat2
RowLayout region rowlayout
Region1 spacer elle3 spacer 4 region.2Thank you
Gerard -
How to create a page with LOV and an OK button that calls a stored procedure
I am new to Apex but not Oracle. I did some VB, C and other emissions.
I read the day 2 + and has worked in most of the advanced tutorials as well as the task of ermployee Apex 3.0 OBE. I am searching an OBE or aid as follows:
I need to create a page that has a dynamic LOV which takes the NAME of the CUSTOMER as d and ID r (what I do).
I need a button on the page 'Go '. Here's the use case.
The user selects a customer in the LOV
The user presses GB
Go calls myschema.go_sproc and passes in selected LOV Cust ID
MySchema.go_sproc did some work and retransmits a status
Status is displayed to the user
Pointers are appreciated.1.
(a) http://apex.oracle.com/ Go and getting started section gives a good overview on the apex.
(b) at the top to just right next to disconnect... you will find the help... link to help on most of the thing
(c) ask your question here2 for above senario, I'll use region HTML.
Kind regards
Shijesh -
How can I convert an incoming call read only an attachment so I can change it?
How can I convert an incoming call reads only attachment so that I can change it? Save in Word does not it, and find research peut t.
So, the problem seems to be that attachments are stored as files read-only by Thunderbird and an application it can open without editing privileges, so you cannot change the. Read-only mode was chosen because these files are kept in a temporary location. For example, if you modify and save the back, they are deleted when Thunderbird is closed, so losing your changes. The idea is to force to save you to a different location. You should be able to do it, then open it from that location with full editing capabilities.
For a permanent change in this behavior, go in the [tools >] Options > advanced > general tab and click on Config Editor there. After you confirm the warning, copy - paste browser.helperApps.deleteTempFileOnExit into the search bar and switch false to true by double clicking on it. Now, saved attachments are created with read/write permissions, but is more removed when Thunderbird is closed (i.e., stored in % AppData%\Local\Temp).
-
Is there a simple solution to create a gallery that welcomes them disturbing pictures portrait and landscape in the Muse Gallery Widgets?
Found a discussion that might help http://answers.squarespace.com/questions/28951/how-can-i-get-the-gallery-to-display-square - portrait - and - landscape-images
You can also use jQuery Plugins for this purpose.
See also the images of landscape and portrait in the lightbox
-
How to unlock my user account. or, how to unlock a document on a read-only mode?
How to unlock my user account. or, how to unlock a document on a read-only mode?
Hi TerriBuckley,
1. what operating system do you use?
2. what happens when you try to connect to the computer?
3. have you made changes on the computer recently?Method 1
If you forgot the password of the computer, then I suggest you to see the following articles.What to do if you forget your Windows password
http://Windows.Microsoft.com/en-us/Windows7/what-to-do-if-you-forget-your-Windows-password
http://Windows.Microsoft.com/en-us/Windows-Vista/what-to-do-if-you-forget-your-Windows-passwordThe Windows password problems
http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-Windows-password-problemsMethod 2
I suggest you try the steps from the following link to open the file or folder.What are the permissions?
http://Windows.Microsoft.com/en-us/Windows7/what-are-permissions
http://Windows.Microsoft.com/en-us/Windows-Vista/what-are-permissions -
How to fix a download that is "a supported file type not or because the file has been damaged"
I downloaded files from an e-mail to SAVE in the Documents and when I went to OPEN it with ADOBE READER, I received a message that "Adobe Reader cannot open this file because it is not a type of file supported or because the file has been damaged (e.g. He was sent as an attachment to e-mail and has not been correctly decoded. I'm a novice at this and do not understand really that. What can I do to fix this so I can play this file? Can you help me?
Nope... I'm not confused.
MP4 is a film format and has nothing to do with
Adobe Reader.You need an application that can read a MP4 video file.
The free VLC Media Player may be worth a try:
(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)VLC Media Player
http://www.filehippo.com/download_vlc/
(works on XP/Vista/7)
(the name of the file to download is: vlc - 2.0.1 - win32.exe)When you have installed... VLC right click of your MP4
file and choose the menu... Play with VLC
Media Player.Information on creating a file association...
Right-click a file... in this case a MP4... and the
menu... Choose... Properties / change button... Choose
the program that you want to use (VLC Media Player) and
Click on... OK / apply / OK.What does that make VLC Media Player default
program for MP4 files.The next time you click left a MP4 file... VLC expected
start and play the file.Let's recap...
Since the MP4s are downloaded on the net...
they are not attachments and my previous instructions
on... File / save attachments... do not apply. -
How do I get Adobe Reader DC? I got the free software Adobe Reader and now I seem to have the DC version, which has a cost and I do not remember change? Why can't I find a phone number to speak directly to Adobe?
Acrobat Reader is free.
Maybe you are looking for
-
My Nano 4th gen battery is dead, is this the end?
My battery Nano 4th Gen does not load, is this the end?
-
Can I connect 220V AC voltage directly at HP Pavilion 8766C?
Hello! I live in Greece and I would like to know if I can connect directly to a Pavilion 8766C 220V AC. Thanks in advance!
-
Satellite L30: Join to the domain takes 10 min
We bought a Tosh Satellite L30 and it came with Vista Basic pre-loaded. On our domain, we use software only supported up to Windows XP Pro, Windows XP Pro SP2 has been installed (formatted HARD drive)I downloaded XP drivers, (I see there is no chipse
-
Application Builder-how to get rid of the savings going to project after generation?
Hello I'm using LabView to project continuous integration with Jenkins. I have a vi that runs test cases is build of the project, then bed information on the results of Jenkins. After a success, there is a warning that I have unsaved changes in the p
-
Ammeter and not agree multimeter.
I created a circuit simple transister four-resistant-biased, using an ammeter to display the current. I expected au and became my. So I pulled the circuit part tried to diagnose the problem and finally thought to add a multimeter. In the attached pic