Updating the contents of a text item only if ......
Hi ,
Suppose that we have a text item which can host up to 500 characters. On double-clicking on this item an lov is activated and a description of a parameter table appears in it....
I want this item's content not to be updated .... but simultaneously the end-user can add (only add) more characters on it......
To be more specific.... assume that:
the words "sample data" appear in this item -as its contents , when the user select a record in an activated lov- but the user cannot alter these words....-sample_data- or deleted them...
He can only put a period ('.') and add more info/notes e.t.c......
Is it achievable somehow...???
Note: I use Dev10g....
Many thanks,
Sim
Yes... i was aware of 'indirect' solutions...-i mean solutions which use of additional variables or non-db based item.....
Is it possible , anyway, to achieve my requirement without using an 'indirect' solution.... I mean that the user cannot update the value returned by an lov , but he can add - only add some characters , as notes to this particular text item.....
Thanks.....anyway,
Sim
Similar Messages
-
Update the content through Rich Text Editor
dear all,
Once i enter the content through the Rich Text Editor data are inside the datebase, but when want to update the things the data are not coming inside the Rich Text Editor, b'caz single quote, double quote,<> symbol is coming,Have you consider use Site Studio + Content Presenter?
http://docs.oracle.com/cd/E17904_01/webcenter.1111/e10149/content_cp.htm
http://george.maggessy.com/2012/05/inline-editing-in-content-presenter-for_10.html
[]'s -
Error while updating the content in workflow
Hi,
I'm getting an error while updating the content in workflow thru the checkout option. i.e. contributor checks in the content - reviewer rejects the content - then contributor checks out and modifies the content as per the reviewer's remarks and while checking in the following error occurs
Content Server Request Failed
Unable to check in content item 'HO000128' for workflow. Unable to execute service method 'checkInUpdateRevByID'. (System Error: Runtime error: java.lang.NullPointerException
at intradoc.server.DocServiceHandler.checkInRevByID(DocServiceHandler.java:248)
at intradoc.server.DocServiceHandler.checkInUpdateRevByID(DocServiceHandler.java:240)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
at intradoc.server.Service.doCodeEx(Service.java:490)
at intradoc.server.Service.doCode(Service.java:472)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
at intradoc.server.Service.doAction(Service.java:452)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
at intradoc.server.Service.doActions(Service.java:447)
at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1071)
at intradoc.server.Service.executeSubServiceCode(Service.java:3497)
at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:942)
at intradoc.server.Service.executeServiceEx(Service.java:3492)
at intradoc.server.Service.executeService(Service.java:3476)
at intradoc.server.DocServiceHandler.determineWorkflowCheckin(DocServiceHandler.java:3833)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
at intradoc.server.Service.doCodeEx(Service.java:490)
at intradoc.server.Service.doCode(Service.java:472)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
at intradoc.server.Service.doAction(Service.java:452)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
at intradoc.server.Service.doActions(Service.java:447)
at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1071)
at intradoc.server.Service.executeSubServiceCode(Service.java:3497)
at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:942)
at intradoc.server.Service.executeServiceEx(Service.java:3492)
at intradoc.server.Service.executeService(Service.java:3476)
at intradoc.server.Service.doSubService(Service.java:3465)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:279)
at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:264)
at intradoc.server.Service.doCodeEx(Service.java:507)
at intradoc.server.Service.doCode(Service.java:472)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
at intradoc.server.Service.doAction(Service.java:452)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
at intradoc.server.Service.doActions(Service.java:447)
at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1121)
at intradoc.server.Service.executeActions(Service.java:433)
at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:635)
at intradoc.server.Service.doRequest(Service.java:1707)
at intradoc.server.ServiceManager.processCommand(ServiceManager.java:359)
at intradoc.server.IdcServerThread.run(IdcServerThread.java:197))
Please help to resolve.
Thanks in advance
PrasadI also get error while updating the content in workflow thru the checkout option as reviewer. i.e. contributor checks in the content - then reviewer either updates the metadata or checks out and modifies the content and while checking in the following error occurs
Content Server Request Failed
Unable to update the content item information for 'HO000128'.
The content ID must be specified.
Please help to resolve.
Thanks in advance
Prasad -
Update the change history for line items in CDHDR/CDPOS
Hi,
I have a problem in updating the sales order and line items in CDHDR/CDPOS when there is change in header level custom field..
Actually i have a custom field in VBAK which added in additional data A in the header level of sales order.When we have change in that field only some line items only updating in the change history tables(CDHDR/CDPOS),but we need to capture all the line items when the custom field in the header level is changed.
i have added change document flag in the data element of the custom field.
Please advice me how to get all the line items will reflect in CDHDR/CDPOS when the header level custom field has change .
Thanks & Regards
KiranThe purpose of CHANGE DOCUMENT tables is to flag the changes with Old and New values. So when Header data is changed only Header details will be tracked and same for Item tables too.
If you need anything addtional from this then that would customizing.
I am not sure what is your requirement but to make it simple and achive requirement add same field with same setting to line item tables VBAP, VBKD.. (as required, if that's doesnt impact your Order. These fields no need to be on screen). While changing your Custom field of Header level change the item level field too. Then CHANGE DOCUMENT will generate automatically for all the line item including header. -
4s with latest software update will not power off, text will only vibrate, iPod only works with earphones. When I sync it with iTunes it works until power save mode starts, then back to not powering down, making text sounds, or playing iPod out loud.
The Basic Troubleshooting Steps are:
Restart... Reset... Restore from Backup... Restore as New...
Restart / Reset
http://support.apple.com/kb/ht1430
Backing up, Updating and Restoring
http://support.apple.com/kb/HT1414
If you try all these steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
Be sure to make an appointment first... -
Approval Workflow does not update the Content Approval status if started automatically
Hi,
I’m using a simple Approval Workflow associated with
Content Approval on site pages. It works fine when I set it to be started manually (by using
Allow this workflow to be manually started by an authenticated user with Edit Item permissions
option) and on the completion of the workflow the
Content Approval status is updated accordingly. But when I set it to be started automatically (by using
Start this workflow when a new item is created
/ Start this workflow when an item is changed
options), it does not updates the Content Approval status. Note that I’ve set the
Update the approval status after the workflow is completed (use this workflow to control content approval)
option to true.
RegardsHello,
It is recommended to select "Start this workflow to approve publishing a major version of an item" when you want to use the workflow to manage content approval for
a library.
According to the Notes for “Enable Content Approval” option in
this reference:
If you are using this Approval workflow to manage content approval (moderation) for a library, and you selected the Start this workflow to approve publishing a major version
of an item check box on the Add a Workflow page..
If you did not select the Start this workflow to approve publishing a major version of an item check box on the Add a Workflow page because you do not want this workflow to
be the default content approval workflow for a library, you can select the Update the approval status (use this workflow to control content approval) check box to make this workflow a secondary content approval workflow that specific users can
start manually.
That means having an approval workflow start automatically when a document is changed or created is not a good practice when you want to use the workflow to manage
content approval for a library. You should either select "Start this workflow to approve publishing a major version of an item" or give users the option to start the workflow manually at the time they want to submit for an approval.
Thanks & Regards.
Lily Wu -
Updating a value of a text item in a multi record block based on a change
Hi,
I need to change the value of a text item in a multi record block based on a change to another item's value in the same block.
Suppose there's a text item in a multi record block called dt1 which is of type date, which is changed in a particular record. I want to change the values of the another item in the same multi record block, for all other records by running a loop through all the records in multi record block. I dont want to do it on the press of a button, it should do automatically on change. Help me resolve this issue.Hi,
I need to change the value of a text item in a multi record block based on a change to another item's value in the same block.
Suppose there's a text item in a multi record block called dt1 which is of type date, which is changed in a particular record. I want to change the values of the another item in the same multi record block, for all other records by running a loop through all the records in multi record block. I dont want to do it on the press of a button, it should do automatically on change. Help me resolve this issue. -
How to read the content of a text file (by character)?
Guys,
Good day!
I'm back just need again your help. Is there anyone knows how to read the content of a text file not by line but by character.
Please help me. Thank you so much in advance.
Jojohttp://java.sun.com/javase/6/docs/api/index.html
package java.io
InputStream.read(): int
Reads the next byte of data from the input stream.
Implementation:
InputStreamReader
An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes them into characters using a specified charset. The charset that it uses may be specified by name or may be given explicitly, or the platform's default charset may be accepted. -
How to store the contents of a text file directly in to a clob field
Hi All,
Could anyone help me to store the contents of a text file (*.txt,*.xml etc)directly in to a clob field.
Thanks in advance
Jayaram.One way is to use sqlloader. Three files are used. A control file, an xml data file, and a file with the path of the xml data file. Here's the control file. It reads load.file, which is the file with the path of the xml data file. It names the path ext_path, and inserts the xml into field xml_field.
CONTENTS OF CONTROL FILE:
load DATA
INFILE 'load.file'
APPEND
INTO TABLE xml_table
( ext_path FILLER CHAR(13),
"XML_FIELD" LOBFILE(ext_fname) TERMINATED BY EOF
CONTENTS OF FILE LOAD.FILE:
/tmp/load.dat
The xml is in the file /tmp/load.dat.
null -
Is it possible to print the content of a text entry box
I would like to print the content of a text entry box as I've created a 'notepad' in captivate 6. Is it also possible to save content of a text entry box to a word document/web page using javascript?
The content is stored in the associated variable of the TEB. Have a look at Jim Leichliter's website for instructions to get that variable out of Captivate.
-
Want to display the contents of a text file in a jsp
hi
i am new to jsp, i want to display the contents of a text file in a jsp file ,whenever jsp file is loaded from browser.
-thanxi had come up with the code
<!-- form.jsp -->
<%@ page import="java.io.*, java.lang.*" %>
<%@ page language="java" %>
<html>
<head>
<title>Display</title>
</head>
<body>
<%
String sample[100];
String line;
%>
<%! int i=0; %>
<%!File f1 = new File("c:\\file.txt"); %>
<% try { %>
<%!FileReader fi = new FileReader(f1); %>
<% } catch(FileNotFoundException io) { } %>
<%!BufferedReader in = new BufferedReader(fi); %>
<%
while((line=in.readLine())!= null)
sample= line;
i++;
in.close();
%>
i will display sample here
</body>
</html>
but i am getting error
display_jsp.java:16: unreported exception java.io.FileNotFoundException;
must be caught or declared to be thrown
FileReader fi = new FileReader(f1);
^
plz help
-thanx -
How to update the table when change list item in classic report
hi ,
i worked with apex 4.2 and i create normal classic report with one select list(named loved)Column ,now i want to update table when user change the list with new value ,i can't create dynamic action to do this,i create check box with primary key and loop for check item to update the table but i can't get the value of list item. and for more speed the user want to do this when change the list value.
my question
1- how to do this by javascript and get the value from list item and update the table with new value
2- is i must use API to create list item so i can get the value of item in report or what.
Thanks
AhmedI coded the following to give you direction:
1. In the "Element Attributes" section of the DEPTNO column, I call a javascript function as:
onchange = "javascript:updateTable(this);"2. I wrote a simple javascript function that shows an alert when the user changes the select list as:
<script language="JavaScript" type="text/javascript">
function updateTable(pThis)
var vRow = pThis.id.substr(pThis.id.indexOf('_')+1);
alert('Row# - '+ vRow + ' has the value - ' + pThis.value);
</script>Now, you can call a AJAX on-demand process inside the javascript function to update the database value. -
How to modify the contents of a text file stored along with a midlet
Hi,
I have been developing a application in j2me wherein i need to first read the contents of the text file stored along with the midlet and later erase the existing content and update it with some text.
I was able to read the file in the following manner
InputStream is = getClass().getResourceAsStream("myfile.txt");
Now i need to erase the contents and then update it the new content, how do i do it. Kinldy please help me out. It is very urgent.
ThanksDidn't you hear me the first time?
http://forum.java.sun.com/thread.jspa?threadID=701360&messageID=4068435#4068435 -
Adobe Content Viewer in iPad dont update the contents on mi Folio Builder! Help!
Please, someone have de same problem?!
When i update my folio through the Folio Builder in Indesign 5.5, the Content Viewer in iPad dont update de folio.
In Acrobat.com i see the contents update, but in iPad/Adobe Content Viewer not.
Why this problem happens?
Tanks.As I wrote on another thread (and this was directed at Adobe employees)
"I have been closely monitoring many threads here at DPS (and DPS Private Beta Forums) in the last few weeks, and yes I am new to this particular product group having only been in it since March. But I wonder if there is some way that Adobe can be made aware of how serious this issue is with Builder and Viewer and tools "not lining up" with Apple.
"To keep putting this problem on Apple is somewhat of a shopworn technique (and I say this with all due respect.). Still, Apple commands fully 80+ % of the tablet market. They are the big dog.
"Suggestions for the future: Perhaps there will be a way to choose a tools/viewers workflow at startup -- or to put a bigger "red flag" before installing any update that is not yet supported by Apple. Approaching this from the engineering side, you may have forgotten just how many disclaimer screens the average designer/production person faces every week! Many of us don't read them carefully. (Richard Dreyfuss reads them).
"I have nothing but admiration for what Adobe software engineers are trying to do -- and these are nascent times to be sure. But it certainly seems like this launch is going poorly.
-- Jeff -
Display the content of a text file in a browser
I am new to servlet, I have written a java servlet code which can read a file and display its content in command prompt only(resin),i would like to ask how can i display the content on the browser and i also want to ask how to write a servlet which can display the conetent from a web browser( e.g. whatever i type in a form) and produce the result in the text file.
import java.io.FileReader;
import java.io.IOException;
import javax.servlet.*;
import javax.servlet.http.*;
public class read extends HttpServlet
public void doGet (HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException
String applicationPath =
getServletContext().getRealPath ("");
String filePath =
getServletContext().getRealPath ("/WEB-INF/text.txt");
FileReader fr = new FileReader (filePath);
for (int chr = fr.read(); chr != -1; chr = fr.read())
System.out.print ((char) chr);
}You have to create an object of PrintWriter and use that to display the output on the browser.
PrintWriter out = response.getWriter();
out.println(chr);
Hope this helps..
Arun
Maybe you are looking for
-
Do I need to partition storage space for windows 7 software?
I'm still debating if I should sell my Alienware and buy a MB Pro Ret and my main questions is concerning storage space. I know that MBP can't compare to an Alienware gaming system but I hardly have time for that stuff anymore. I might play Skyrim ev
-
How to get Header in Downloaded .xls file using GUI_Download function
How to get Header in Downloaded .xls file using GUI_Download function ??? How to use the the Header parameter available in GUI_Download function .
-
I am wondering if this is possible to do in mail and if yes how?
-
Live Cycle Form problems - bug or user error?
At work my assistant and I have created an interactive form from an Excel spreadsheet and then proceeded to add drop down boxes in numerous locations on the form. However, when we try to create a pdf in live cycle (8), the drop down boxes pre-populat
-
User profiles for analyzer and query designer
Hello, I have one short question about user-profiles. Which user-profile should I best use for a user, who should just use the BEx Analyzer and which profile does a user need for using BEx Analyzer + BEx Query Designer. Thanks