Strike through line meaning

Jdev 11g release2, ADF BC.
hi, I am coding some program, but got some strike through lines on some words. eg. my code like: ValueBinding vb = fc.getApplication().createValueBinding(expr)
then the strike through lines on "ValueBinding" and "createValueBinding". May you let me know what's the meaning it is? Thanks!

R N V Prasad ,
Actually I followed the sample from smuenchadf's example #85. the whole program as following:
++++++++++++++++++++++++++++++++++++++++++++++++++++++
package olfms.view.backing;
import OnlineTnT.model.framework.ExampleModule;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Reader;
import java.io.Writer;
import java.sql.SQLException;
import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;
import javax.faces.event.ValueChangeEvent;
import oracle.adf.view.rich.component.rich.input.RichInputFile;
import org.apache.myfaces.trinidad.component.core.input.CoreInputFile;
import org.apache.myfaces.trinidad.model.UploadedFile;
import oracle.binding.BindingContainer;
import oracle.binding.OperationBinding;
import oracle.jbo.domain.BlobDomain;
import olfms.view.util.EL;
public class UploadFileToBlob {
CoreInputFile inputFileComponent;
private BindingContainer bindings;
private RichInputFile fileInputComponent;
public UploadFileToBlob() {
public void onFileUploaded(ValueChangeEvent event) {
Reader in;
Writer out;
UploadedFile file = (UploadedFile)event.getNewValue();
if (file != null && file.getLength() > 0) {         
FacesContext context = FacesContext.getCurrentInstance();
FacesMessage message = new FacesMessage("Successfully uploaded file '" +
file.getFilename() + "' (" +
file.getLength() + " bytes)");
context.addMessage(event.getComponent().getClientId(context), message);
System.out.println("yxs 1");
try {
System.out.println("yxs 2");
ExampleModule exampleModule =
(ExampleModule)EL.get("#{bindings.BlobBkgCfmIterator.dataControl.dataProvider}");
exampleModule.saveUploadedFile(newBlobDomainForInputStream(file.getInputStream()),
file.getFilename());
System.out.println("yxs 7");
} catch (IOException e) {         
e.printStackTrace();
throw new RuntimeException(e);
} catch (SQLException s) {         
s.printStackTrace();
throw new RuntimeException(s);
private BlobDomain newBlobDomainForInputStream(InputStream in) throws SQLException,
IOException {
BlobDomain b = new BlobDomain();
OutputStream out = b.getBinaryOutputStream();
writeInputStreamToOutputStream(in, out);
in.close();
out.close();
return b;
private static void writeInputStreamToOutputStream(InputStream in,
OutputStream out) throws IOException {
byte[] buffer = new byte[8192];
int bytesRead = 0;
while ((bytesRead = in.read(buffer, 0, 8192)) == -1) {
out.write(buffer, 0, bytesRead);
in.close();
public String onUploadFileButtonClicked() {
if (this.getFileInputComponent().getValue() == null) {
FacesContext context = FacesContext.getCurrentInstance();
FacesMessage message =
new FacesMessage(FacesMessage.SEVERITY_ERROR,
"Please supply a valid file name to upload",
null);
context.addMessage(this.getFileInputComponent().getId(), message);
} else {
OperationBinding ab =
(OperationBinding)EL.get("#{bindings.RefreshLastFiveBlobBkgCfmList}");
ab.execute();
return null;
public BindingContainer getBindings() {
return this.bindings;
public void setBindings(BindingContainer bindings) {
this.bindings = bindings;
public void setFileInputComponent(RichInputFile fileInputComponent) {
this.fileInputComponent = fileInputComponent;
public RichInputFile getFileInputComponent() {
return fileInputComponent;
+++++++++++++++++++++++++++++++++++++
but somehow the " ((bytesRead = in.read(buffer, 0, 8192))" is red underlined. i have no idea whether it is correct or wrong. i am using Jdev 11g r2.

Similar Messages

  • Strike through line is not coming up in PDF output

    I have to strike through some data in my report. I tried in design time as well as in run time. In run time I used SRW.SET_FONT_STYLE(SRW.OVERSTRIKE_STYLE) method to strike through the data. It is displaying overstrike line in screen, printer, RTF and HTML outputs, but not in PDF output. Plain data is coming up in PDF format without strikethrough line.
    Thanks

    This works in Reports 6i Patch 10(6.0.8.19).

  • Strike Through in ADOBE appears in the subsequent line items

    Hello ADOBE Forms creators;
    I am using the functionality of Strike through(line through) in my PO line items if the line item is deleted. However, in the following line item which is not marked as deleted if some of the fields have the same value as the deleted item, for example: if the quantity in the previous line(the deleted line item) is 5 and in the current line is also 5, this quantity in the current line item which is not marked as deleted gets the strikethrough as well. But if the value is not the same it will not get the strike through.
    Can anyone put some light into this issue. The points will awarded to the correct answer(s).
    Thanks,
    Cyrus

    What you are seeing is exactly as you described....ie. when the fields match in value, it applies to all. This has do to how you are navigating your DOM there in your Javascript. You are not making use of any indexing....just simply saying "any of my field values for quantity, apply this style". You are "referencing by name" to your fields.
    You have:
    this.parent.items.QUANTITY.blah.blah
    when it should look something like (forgive me but off top of my head....look/search for correct syntax)....
    this.parent.list.items[index].QUANTITY.blah.blah
    basically you need to find the index of your "QUANTITY" children (and other like named fields). They are all "named" the same, so they will have some kind of index to resolved them correctly. It might be an index after "QUANTITY". I am guessing you will look at the index for IND_TXT and then find all other fields with that same index (ie. same row?).
    Hope this helps.

  • How do I record through Line in on Macbook Pro 13"?

    How do I record through Line in on Macbook Pro 13"?
    Do I need special software?
    How to change the setup?
    Shlomo

    Shlomofromoh wrote:
    How do I record through Line in on Macbook Pro 13"?
    Let me be sure I understand what you need. You want to connect an audio device to the Audio In port of your MBP and record its output with the MBP.
    If that's correct, what you need is audio editing software. You can use GarageBand, which probably came bundled with your MBP, but it's a bit heavy for that purpose alone. A better tool is the free audio editor Audacity. It's powerful and cross-platform, which means that it's a little rougher around the edges than is usually the case with Mac software, but you can't beat the price. There are others (Sound Studio, Amadeus Pro, TwistedWave, Wave Editor, and more), but you can get going with Audacity.

  • How can I get my TextBlock to have a "strike-through"?

    I already have a template where I have been using a line to strike-through a Combobox items in its popup listbox.
    But now I have the case where I have the same item in a datagrid row.  And the column can be resized.  The TextBlock allows wrapping and does, but how can I use that template when the text wraps?  The line is only on one line of the wrapped
    text.
    The template I'm using is:
    <DataTemplate x:Key="EO_ActionItemPersonAssignedTemplate2">
    <Grid>
    <Line
    Stroke="Gray"
    StrokeThickness="1"
    VerticalAlignment="Center"
    HorizontalAlignment="Stretch"
    Stretch="Fill"
    X1="0"
    X2="{Binding ActualWidth, ElementName=text1}"
    Visibility="{Binding AssignedToPersonEnabled, Converter={StaticResource EO_BooleanToVisibility}, ConverterParameter=Reverse}"
    />
    <TextBlock
    x:Name="text1"
    Text="{Binding LastnameFirstname}"
    ToolTipService.ToolTip="{Binding EnabledTooltip}"
    VerticalAlignment="Center"
    HorizontalAlignment="Left"
    TextWrapping="Wrap"
    />
    </Grid>
    </DataTemplate>

    A better solution.
    You need a fixed width font for the textblocks.
    <UserControl x:Class="SilverlightApplication1.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
    xmlns:sys="clr-namespace:System;assembly=mscorlib"
    xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
    xmlns:local="clr-namespace:SilverlightApplication1"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400"
    FontFamily="Courier New"
    >
    <Grid x:Name="LayoutRoot" Background="White">
    <Grid.Resources>
    <local:UnderlineConverter x:Key="underlineConverter"/>
    <DataTemplate x:Key="TestTemplate">
    <Border HorizontalAlignment="Left" Loaded="Border_Loaded">
    <Grid VerticalAlignment="Center">
    <TextBlock TextWrapping="Wrap"
    Text="{Binding Name}" Foreground="Gray" />
    <TextBlock TextWrapping="Wrap"
    Text="{Binding Name, Converter={StaticResource underlineConverter}}" Foreground="Black" Margin="0,-6,0,0" />
    </Grid>
    </Border>
    </DataTemplate>
    </Grid.Resources>
    <StackPanel>
    <sdk:DataGrid ItemsSource="{Binding Items}" AutoGenerateColumns="False">
    <sdk:DataGrid.Columns>
    <sdk:DataGridTemplateColumn Header="Name" CellTemplate="{StaticResource TestTemplate}" Width="100"/>
    </sdk:DataGrid.Columns>
    </sdk:DataGrid>
    <ComboBox Name="cbo"
    ItemsSource="{Binding Items}"
    ItemTemplate="{StaticResource TestTemplate}" Height="30" Width="300"
    />
    </StackPanel>
    </Grid>
    </UserControl>
    Converter:
    public class UnderlineConverter : IValueConverter
    public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
    if (value != null)
    string str = value as string;
    string underLines = new String(str.Select(r => r == ' ' ? ' ' : '_').ToArray());
    return underLines;
    return "";
    public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
    throw new NotImplementedException();
    Hope that helps.
    Technet articles: Uneventful MVVM;
    All my Technet Articles

  • Error in strike through

    hi,
      there is a particular text in a smartform. i have to strike through the text. the 'S1 strike through' character format cannot be used as the printer is not supporting the same.
    when i am uding the 'S1 strike through' character format, i am getting a line under the word instead of strikethrough. but in print preview it is showing a strikethrough....
    could someone tell me the solution to this .... or is it possible that I create a bitmap image and pull it to the smartform window.... but that would be a very crude method .....
    please help .....
    thanks..
    paul

    Strike through shows  up in preview but wont print on the printer if the device type used in the printer definition is PCL, try POST2 device type, it works.
    Regards
    Sridhar

  • Mail: only Strike-Through refuses to work

    All the rest of the style formattings are working fine when composing a Mail message, except "Strike Through," no matter what I try (successfully creating the style to work in TextEdit), see below...  I'm not interested in a keyboard shortcut since I don't use it that much, but I wonder why the rest of the styles show up and actually WORK in Mail, except Strike-Through....

    ...So I guess the ONLY way to go is to select the text, click Command-T and chose the single line strikethrough.... OK, not the end of the world....

  • Can't highlight, underline, strike through or select text in iOS 7 Adobe Reader

    I have enjoyed using Adobe Reader to proofread clients' documents, but since the last two iOS 7 updates I can't highlight, underline, strike through or select text in PDFs generated by the same source that previously presented no problems.
    The drawing and insert text functions do work.
    I am using an up-to-date iOS 7 iPad 4. The latest Adobe Reader update and a hard reset, as advised elsewhere on the forum, didn't help.
    I have read What's New and looked at the Help manual. I am aware of the new long tap to select one word followed by another tap.
    What am I doing wrong? Adobe Reader used to work so easily. I won't be paid for the time lost while I try to fix this. Any help would be appreciated.

    Hi Krissy,
    I found it extremely frustrating and I don't have a technically sensible answer for you.
    Mine started working again suddenly, but slowly, after many hours of not working, and then improved in speed and responsiveness with use.
    The conventional wisdom is to ensure you have the latest update of Adobe Reader first. There has been more than one since the iOS 7 change.
    The first time it started working again for me was when I was trying in a pdf that I had previously edited in Adobe Reader before the problem began, where I know all the tools used to work (i.e. no problems caused by the file itself) but it is now also working in the new doc that wouldn't work the other day.
    Shradha above gave me the clue that triggered it. I usually go straight to the "Pick a Tool" comment/annotate button in the main/first toolbar at the top, then use the toolbar at the bottom, where the highlight, underline and strikeout tools wouldn't work.
    These functions started working when I tried selecting text directly from the first screen that has the toolbar for "View Modes" (an eye), save/export options, "Pick a Tool", share options and search, without selecting any of these options.
    So, instead of choosing the Pick a Tool button at the top, try just holding down some text for a while, as if to select it (mine wouldn't even select for a long time) and see if the grey tool menu pops up right above that text.
    Initially, I only got the options that were already working to pop up ("Note, Text, Freehand and Signature"). I tried a few different spots in the file and eventually the "Copy/Highlight/Strikeout/Underline/Define" menu popped up. The first time it apppeared was after holding down the text selection action for about 20 seconds, and it didn't appear every time, but then it became quicker and more reliable, and then these functions also started to work from the bottom toolbar that I usually use after choosing Pick a Tool.
    Even today, checking that it still works, it was a bit stuttery to start with and then it came good.
    Perhaps any of the technically-minded members could explain this or perhaps tell us if there is a difference in the action that is supposed to bring up the "Note" etc versus the "Highlight" etc pop-up menus. I'm stumped.
    So try holding down text to select as soon as you open the file, and see if that grey menu will start to appear with the "Highlight" etc options after several attempts. I hope it starts working for you soon.
    C

  • Cannot record through line-in in bootcamp MBP late summer '09 model

    cannot record through line-in in bootcamp MBP late summer '09 model
    audio source (mp3 player) <3.5mm male input-------------3.5mm male input>  line-in to macbook pro late summer 2009 model bootcamp windows xp sp2
    when i select microphone in the audio panel - it works
    when i select line-in and plug in the 3.5mm jack input to 3.5mm jack input to a fm radio for ex. it doesn't work
    how do i make the line-in work?
    i remember that when i first installed mac osx sl and windows xp bootcamp - the first couple of times around when partitioning the hd - the line-in worked a couple of times, in between times somewhere along the line i made some change to the spdif settings ?? or driver / to make the red light that comes on in the line-in jack go away -  the other method was to use a toothpick to push a tiny button inside the jack, did that once -but the redlight came back again after a restart on bootcamp side.
    thanks in advance,
    -r

    Although I don't use it, the Line-Input jack should require a signal about 40dB higher than what a microphone alone puts out. If your cable only adapts the connector and does not provide amplification, I'm not surprised you get nothing. If you are lucky, you MIGHT get a low signal by going into System Prefs/Sound/input/line-in and turning the input level slider all the way up. But the real answer to to get a mike preamp or mixer, or a mike with line-level output. Some products take a mike input and convert it to digital into the USB port.

  • How to strike-through words in Pages on iPAd?

    How to strike through words in Pages on iPAd? Can't find out how to do it.........

    Click on the words to select them, then click on the "i" icon in the upper right, then select the style tab the select the s button. 

  • Content is crossed out (strike through) in alert but not inside list

    I can't find the pattern...why all of the content in a 'description' type text field is crossed out when the alert is sent.  It is not all items in a list that behave this way...just a few.  There is no strike through on the actual content
    in the list field....just in the actual MS Outlook alert.
    ideas?

    Hi laughingtooomuch,
    Normally, whenever we receive an Alert notification on something that has changed. The email will indicate exactly what has changed by crossing out the old value and
    replacing it with the new value. It is by design.
    Regards, Rock Wang Microsoft Online Community Support

  • PL/PDF bold words, strike-throughs

    Need help from those who have created complex reports/forms using PL/PDF.
    Has anybody done strike through sentences and words in bold within paragraphs?
    Pls share your knowledge.

  • How to allocate space for headers in reports through line size r line count

    hi ,
    may i know how to allocate space for a header ( we do the same for footer through line-count ( footer space ) ) through line size or line count in reports...
    thanks in advance..

    Hi..,
    There is no need to reserve any space for the header. TOP-OF-PAGE can by default allocates the space for the header.
    If you still having confusion just  go ahead with this link. This is the research on same thing in defferent way.
    [Link|lines reservation for TOP-OF-PAGE & END-OF-PAGE;
    Thanks,
    Naveen.I

  • Is there a Strike through in notes for the iPhone?

    Is there a Strike through in notes for the iPhone?

    oh, sorry. I'm pretty sure there is not anything out yet like that.
    There are other apps like that you will just have to use them for each job you are doing.
    Another one is called Text Editor, Write Pad, etc...
    Message was edited by: Dynamite DJs

  • What does a gray icon with grid lines mean? It looks like a bullseye.

    What does a gray icon with grid lines mean? It looks like a bullseye.

    It's an app icon that didn't load properly .... If it looks like this.

Maybe you are looking for