Disable Delete/Edit from Browse form?
Hi,
How could i remove or disable Delete/Edit/New from Wizard created jsp Browse form?
Thanks
You should be able to edit the DataTableComponent.jsp file and remove them from there.
You could also just remove the DataTable tag and build your own table. You should only have to use the RowsetIterate and Row tags to traverse the ds. Then use the showValue/renderValue to display the attributes.
Similar Messages
-
How to disable delete button in a form
HI
can anyone show me the procedure to disable the delete button from oracle forms seeded and custom form oracle applications 11i. We are on form patch set level 18
RegardsHi ,
there are various ways of doing it..
You can try as the previous post says or also you can try When new block instance trigger and disable the item
using set_item_property , it all depends on when and how you want to diable that item. -
Delete record from the form and from the database
hi,
i want delete record from the form and the database ,but the record is only delete from the from !!!
this is my code :
if //condition then
delete_record;
commit;
end if ;
Any solutions ??
thnxYou have unique key field(s) on the table you are trying to insert which actually restricts you from inserting the same value again.
When you are deleting the record and issue commit there is a record to be inserted in the table which is a duplicate that's why you are getting this unique error.
As oracle is not able to insert your commit fails and stops your deletion of record from table -
Hi,
Anyone knows how dynamicly delete rows from Tabular Form (on button click, button is as item)?
Thanks.I am in a great fix. We had a test instance.. and we had a version apex 3.2.. But when the same application has been uploaded to prod.. we used apex 4.0.Why on Earth would you do this? The whole point of the testing is to verify that the application will work in the production environment: the first requirement for this is that the test and production environments are equivalent.
has any body is facing the same issue as mine..Yes, as is easily discovered by searching the forum...see Delete button doesn't work in tabular form after upgrade from APEX3.2 to 4. -
Disable delete option from Monitor shopping cart role
Hi,
Currently when we check the SC details using the Monitor shopping cart option, the delete button is also activated. The person using monitor shopping cart can delete any SC with this option. Can we disable this Delete icon from the montior SC, we need to have that in display mode. Is it possible to acheive with the help of authorisation or how can we get this working.
Regards
GGLHi
can you do shoppping with that user? since you get that message?
run this report bbp_chec_consistency for that user for sc.
check what is the result red or green
br
muthu -
I attempted to delete a clip from the browser. I was told to click on the clip and hit shift D,but it didn't work. I then hit the delete key and the clip disappeared from the browser. Have I removed the clip from the scratch disk,or do I need to do something further to delete the scratch disk. Also, I went to the FCX folder to try to delete the clip,but I was unsucesful,but now I have a new tab in my browser that duplicates my original project and the timeline has 8 sequences instead of 4. The 4 new sequences are dups of the original 4. Hope I made this understandable. Thanks to all who reply.
Shift-D does not work in the current version of the application. It worked in earlier versions as, perhaps unintentional, hold over from FCP. The delete key simply removes the clip from the browser and does not affect the scratch disk at all. To delete media from the drive you have to go to the capture scratch folder and trash it. This will delete it for all clips that use that use that file in all projects. Not sure how you duplicated the project, but if you have two project tabs you have two open projects.
-
HT4890 Is it possible to retrieve deleted contacts from a former backup?
I am trying to retrieve deleted contacts, but I do not see them in my iCloud account. Is there any way to retrieve them? Thanks!
Welcome to the Apple communities.
iCloud data is not part of your iCloud backup, therefore restoring your phone will not help recover your deleted contacts.
If your iCloud contacts are synced with your computer, then you can recover any deleted contacts from the backup you keep of your computer. Unfortunately if you do not sync your iCloud contacts to a computer or you do not keep a backup of the computer you will be unable to recover them. -
How to delete columns from process form table
hi,
I have a process form UD_FN_USR. I created one column userid with type long and later the requirement got changed and I need to change the type to string.I am able to delete the column from design console but in the table the column exits so that I coulnt create the column with same name as type string , its tellling same column name exits with different datatype in current version or previous versions.can anybody please tell me how to solve this issueSorry for late response. Got stuck in work.
This time it will answered ;-)
ALTER TABLE UD_ABCD DROP COLUMN UD_ABCD_UID
DELETE FROM SDC WHERE SDC_NAME='UD_ABCD_UID';
COMMIT;
Thanks
Rajiv Dewan -
Failing to delete, edit from resultset
Please help me gurus, I am failing to insert and delete resultset data from ms access database. Invalid cursor state is given when I try to run delete button.
class Application
{ public static void main(String argv[])
{ Application dummy = new Application();
//Instance variables
private GUI gui;
import javax.swing.table.*;
import java.sql.*;
import java.util.*;
import java.lang.Exception;
import javax.swing.*;
class Model extends AbstractTableModel
//Variables/constants for model
private Application application;
Connection con;
Statement stmt;
//PreparedStatement pstmt;
ResultSet rs;
ResultSetMetaData rmd;
List rows = new ArrayList();
List columnNames = new ArrayList();
List dummy;
//Constructor
public Model(Application a)
{ application = a;
//public Model()
{ try
{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
catch(ClassNotFoundException e){System.out.println(e.getMessage());}
try
{ con = DriverManager.getConnection("jdbc:odbc:jdbcExample");
stmt = con.createStatement();
rs = stmt.executeQuery("SELECT * FROM birthdays ");
rmd = rs.getMetaData();
for (int i = 1; i <= rmd.getColumnCount();i++)
{ columnNames.add((String)rmd.getColumnName(i));
while(rs.next())
{ List cols = new ArrayList();
for(int col = 1; col <= columnNames.size(); col++)
{ cols.add(rs.getString(col));
rows.add(cols);
catch(SQLException e){System.out.println(e);}
//public instance methods for AbstractTableModel
public int getRowCount()
{ return rows.size();
public int getColumnCount()
{ dummy = (List)rows.get(0);
return dummy.size();
public Object getValueAt(int row, int col)
{ dummy = (List)rows.get(row);
return dummy.get(col);
public String getColumnName(int col)
{ return (String)columnNames.get(col);
public void newPerson() {
//Connection con = DriverManager.getConnection
try {
ResultSet rs = stmt.executeQuery
("SELECT * FROM birthdays WHERE familyName LIKE '%ro%' ");
while (rs.next())
{ String entry = rs.getString("givenName") +
rs.getString("familyName") +
rs.getString("birthday");
} catch( SQLException se ) { System.out.println( se ); }
public void deletePerson()
try{
rs.deleteRow() ;//throws SQLException;
catch( SQLException se ) { System.out.println( se ); }
Application dummy= new Application();
public void addText(int column,int row){
public void givenNameSort(){
try {
ResultSet rs = stmt.executeQuery
("SELECT givenName FROM birthdays");
catch( SQLException se ) { System.out.println( se ); }
public void lastNameSort(){
try {
ResultSet rs = stmt.executeQuery
("SELECT * FROM birthdays order by givenName");
catch( SQLException se ) { System.out.println( se ); }
public void dateOfBirthSort(){
try {
ResultSet rs = stmt.executeQuery
("SELECT * FROM birthdays WHERE familyName order by to_date(givenname,'MMYY' ");
catch( SQLException se ) { System.out.println( se ); }
public void saveChanges(){
private Model model;
// Constructor
public Application()
model = new Model(this);
gui = new GUI(this);
//Interface methods
public void newPerson()
{ model.newPerson();
public void deletePerson()
{ model.deletePerson();
public void editPerson(int column,int row)
{ model.addText(column,row);
public void givenNameSort()
{ model.givenNameSort();
public void lastNameSort()
{ model.lastNameSort();
public Model getModel() {
return model;
public void dateOfBirthSort()
{ model.dateOfBirthSort();
public void saveChanges()
{ model.saveChanges();
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
class GUI
//Instance variables
private Application application;
private Model model;
//GUI components
private JButton helpButton = new JButton("Help");
private JButton newPersonButton = new JButton("New Person");
private JButton deletePersonButton = new JButton("Delete Person");
private JButton editPersonButton = new JButton("Edit Person");
private JButton givenNameSortButton = new JButton("Sort Givename");
private JButton lastNameSortButton = new JButton("Sort Lastname");
private JButton dateOfBirthSortButton = new JButton("Sort MoB");
private JButton saveChangesButton = new JButton("Save Changes");
private JTextField givenNameTF = new JTextField(12);
private JTextField lastNameTF = new JTextField(6);
private JTextField addressTF = new JTextField(20);
private JLabel wordCountLabel = new JLabel("Word count: 0");
//private JTextArea wordList = new JTextArea(
//private JTable dbTable = new JTable(Model());
private JTable dbTable;
//Panels, Panes and Boxes
private Box mainBox = new Box(BoxLayout.X_AXIS);
private Box controlBox = new Box(BoxLayout.Y_AXIS);
//private Panel inputBox = new Panel();
//private JScrollPane scrollingWordList; // to make wordList scroll
private JScrollPane scrollTable;
//Window.
private JFrame frame = new JFrame("JTable and TableModel");
private Container pane = frame.getContentPane();
//Constructor
public GUI( Application a)
{ this.application = a;
dbTable = new JTable( application.getModel() );
scrollTable = new JScrollPane(dbTable,
JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
pane.add(scrollTable);
// pane.add(inputBox);
controlBox.add(new JLabel(" "));
//inputBox.setLayout(new GridLayout(4, 2));
controlBox.add(helpButton);
controlBox.add(new JLabel(" "));
controlBox.add(newPersonButton);
controlBox.add(deletePersonButton);
controlBox.add(new JLabel(" "));
controlBox.add(editPersonButton);
controlBox.add(new JLabel(" "));
// controlBox.add(wordCountLabel);
controlBox.add(new JLabel(" "));
controlBox.add(givenNameSortButton);
controlBox.add(lastNameSortButton);
controlBox.add(dateOfBirthSortButton);
controlBox.add(new JLabel(" "));
controlBox.add(saveChangesButton);
controlBox.add(new JLabel(" "));
// inputBox.add(givenNameTF);
// inputBox.add(lastNameTF);
// inputBox.add(addressTF);
newPersonButton.addActionListener(new NewPersonButtonListener());
frame.addWindowListener(new WindowClose());
helpButton.addActionListener(new HelpButtonListener());*/
deletePersonButton.addActionListener(new DeletePersonButtonListener());
editPersonButton.addActionListener(new EditPersonButtonListener());
givenNameSortButton.addActionListener(new GivenNameSortButtonListener());
lastNameSortButton.addActionListener(new LastNameSortButtonListener());
dateOfBirthSortButton.addActionListener(new DateOfBirthSortButtonListener());
saveChangesButton.addActionListener(new SaveChangesButtonListener());
mainBox.add(controlBox);
mainBox.add(scrollTable);
// mainBox.add(inputBox);
pane.add(mainBox);
frame.addWindowListener(new FrameListener());
frame.setLocation(100, 100);
frame.setSize(300, 150);
frame.setResizable(true);
frame.setVisible(true);
frame.pack();
//Instance methods
//Listeners
class FrameListener extends WindowAdapter
{ public void windowClosing(WindowEvent evt)
{ System.exit(0);
class NewPersonButtonListener implements ActionListener
{ public void actionPerformed(ActionEvent evt)
{ application.newPerson();
class DeletePersonButtonListener implements ActionListener
{ public void actionPerformed(ActionEvent evt)
{ application.deletePerson();
class EditPersonButtonListener implements ActionListener
{ public void actionPerformed(ActionEvent evt)
{ application.editPerson(1,1);
class GivenNameSortButtonListener implements ActionListener
{ public void actionPerformed(ActionEvent evt)
{ application.givenNameSort();
class LastNameSortButtonListener implements ActionListener
{ public void actionPerformed(ActionEvent evt)
{ application.lastNameSort();
class DateOfBirthSortButtonListener implements ActionListener
{ public void actionPerformed(ActionEvent evt)
{ application.dateOfBirthSort();
class SaveChangesButtonListener implements ActionListener
{ public void actionPerformed(ActionEvent evt)
{ application.saveChanges();
}My observations:
* I cannot see your resultset being declared as updatable anywhere.
* You should print out the stack trace while developing an application. It is usually more informative than just printing the exception message.
* Your JDBC resources are not being handled properly.
The first observation pertains to the problem at hand, I suppose. -
Disabling Name/Email from Web Form
Our client, who is a doctor, had us create a patient survey form. However, he would like it to be submitted anonymously, therefore I need to take the Name and Email off of the form. I know this is not possible within the web form options on the back end of the site.
Any tips?Hello Design054atAlphagraphics,
You would just give each input field a value so that the form does vailidate. Here is an example of how I would go about this:
http://jsfiddle.net/chaddidthis/FZnvW/1/
I removed the inputs from the table since they no longer have anything to do with the information I'm trying to collect and you don't need the labels any longer. And placing them in a div that is hidden so the user doesn't have to worry about them.
I hope this helps you.
Chad Smith | www.bcgurus.com/Business-Catalyst-Templates for only $7 -
How do I disable/delete Yahoo from FireFox 3.6.10?
Yahoo search toolbar is present. How do I delete/remove.
Also "new tab" brings up a Yahoo Search window.Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
You can also try "Reset all user preferences to Firefox defaults" on the [[Safe mode]] start window.
There is also (security) software like AVG that can add toolbars to Firefox. -
How to disable "Edit in browser" button in office documents that open in browser
guys,
Environment:
sharepoint 2010
installed Office Web app
i installed office word apps and integrated it with sharepoint 2010 and all the office documents now open in the browser. but this also give the qualified users access to the button "Edit in Browser" while viewing the document in the browser (and if the user
selects to do this and saves then it creates an office 2010 document in the document library), is there any way to disabled the "edit in browser" option completely for all the users, i dont want any users to edit documents online.
thanks
sameer.Ok so i came up with hack to 'hide' the edit link ..
You need to edit the css file here on your server
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\INC\1033\WordViewer\WordViewer.css
and add this
div [title="Edit in Browser"]{display:none};
And to hide the edit capabilties for Powerpoint app - add this jquery
$('iframe[id*="MSOPageViewerWebPart"]').ready(function () {
$('iframe[id*="MSOPageViewerWebPart"]').contents().find('.ms-cui-ctl-medium').each(function () {
if ($(this).text() == "Edit in Browser")
$(this).hide();
Obviously not great solutions, but works for now. -
Fragment fields suddenly become editable from within the FORM
When we added a schema to a form that contains fragments, suddenly the fragment fields became visible and editable from the FORM. The fields in the fragment are normally not editable unless you edit the fragment. (Designer)
This is a huge concern for us, especially as we have new developers coming and going on this project. It is my understanding that fragments should only be editable within the fragment xdp, not from within a form that the fragment is on.
This is a problem that we can repeat / reproduce. Would like to know if it's a bug.
Please advise,
Thanks,
ElaineHi Elaine,
I thought this was a good thing that you can override fragment properties in the document that uses it. Do you get a message "This fragment reference has local overrides to one or more properties of the source fragment" in the Warnings tab.
If you don't want the fragments properties to be override you could wrap the fragment in a custom object.
We have a fragment that has a multiline textfield with a character count and we use the ability to override the properties to update the databinding, caption, traversal, etc., this is then wrapped in a custom object so they can't update what they shouldn't.
The custom object looks something like this;
<subform usehref="..\..\Fragments\MultiLineTextField.xdp#som($template.form1.multiLineTextField)" name="name" x="0in" y="0in">
<bind match="dataRef" ref="$"/>
<draw name="questionNumber">
</draw>
<field name="value">
<traversal>
<traverse operation="next" ref="$"/>
</traversal>
</field>
</subform>
Bruce -
Unable to delete anything on page/form
Hi,
I seem to be having a problem with deleting objects from my form in application developer mode and in multi row deletes in form mode.
I am able to add and amend objects such as buttons to the form etc but when I try and delete, nothing happens.
In application developer, in other apps I have created if I create a button and then delete I am prompted with the usual "are you sure you want to delete" which I guess is done through Javascript?? When I try and delete an object from my current application, nothing happens. The prompt doesn't come up and the object is not deleted (in app developer) or the data is not deleted in the form.
I think I am missing a piece of javascript in the application processes or somewhere like that but when I have looked in my other apps that work, I haven't been able to find what is missing.
ThanksI must first state that I am not very conversant with 2.2.
Take a look at the URL in the MultiRow Delete button. It will be something like this code that I picked up from 3.2
javascript:confirmDelete(htmldb_delete_message,'DELETE');This code calls the ConfirmDelete function in one of Apex supplied .js files. This javascript function always ends with a doSumbit('DELETE'); which causes the page to be submitted with DELETE as the REQUEST. The ApplyMRD or Automatic Row Processing process is triggered using the Request = DELETE.
If none of this is happening then possibly a js file is not being loaded, either because you customized the template omitting it , its not in the i/javascript folder or some such reason.
Regards, -
On my iPhone 5, upgraded to iOS 7, the lists in Reminders are impossible to delete. When I press Edit button in the right corner of the app, the button Delete list is supposed to be at the bottom, but it's empty there, the deal is I could delete some of the lists, but most of them I can't. I tried delete iCloud account from iPhone, but they are still there, and still no Delete button. In the Browser I don't see those lists, so cannot delete them from the Browser as well. Could you help me?
Read on another thread here that you now swipe in the opposite direction. Try swiping right to left.
Maybe you are looking for
-
I have contacted EA about this and can find no help. I had this Scrabble on my iPad2 and began to have connection problems, it would lock in the "connecting" position. This is not the first time Scrabble has had problems with interface. Typically cus
-
Creating Properties and Methods for an exe built in LabVIEW
Hi all, How do we create properties and methods for an executable built in LabVIEW. I know when building an exe, the "Enable ActiveX server" option in advanced has to be enabled. But after that how do we create Properties and methods for the activeX
-
Add Text Field in ME38 and ME39
Hi gurus, I would like to ask if we can add a text field in ME38 / ME39. Please see details below. - Run tcode ME33L - Enter Scheduling Agreement number - Check the display, there's a column for text in the table. - Run tcode ME38 / ME39 - Enter Sche
-
Installing windows XP on Portege R600
I have a pre-installed XP downgrade disk, but I'd really like to install a fresh windows XP instead. So I insert a winXP disk, and install. (a) Installing straight at boot doesn't work: it claims that I have no hard disks! See here: http://www.proble
-
Programaticaly add Table in CR database fields
Hi to all, I'm using CR 11.5, Visual Studio 2005-C#,asp.net and SQL server 2005. My work is during runtime to add the Fieldobjects in crystal report now i can do it but during design time i added the Table in Crystal Report ->Fi