How to add a line break in shortDesc?
How to add a line break in shortDesc?Hey Danny,
I think you can't... but I did two work around to achieve this goal:
1. in IE7 (not Mozilla Firefox) If you type a space between the words will be automatically pass the new line like:
shortDesc = "firstWord... spaces... Second word"/ >
2. you can use popup like a ToolTip like:
Sameh Nassar
Tags: Java
Similar Questions
-
How to add a line break in the message
Hello
I want to add a new line in the message.
So, it looks like this.
Test: line1
Line2
This message is based on the element of text field that is returned by a stored procedure.
I tried with Chr (10), too. Nothing works. Can someone help me with this?
https://Apex.Oracle.com/pls/Apex/f?p=9086:10
My problem was
has been printed as it is somehow.This problem is fixed inside the stored procedure as below.
apex_application.g_print_success_message is capable of printing at the APEX.
Thanks to all who have helped me on this.
p_result: = ' ERROR: failed to update Bugno ' | v_bugno |', question ID ' | p_issue_id | »
'|| SQLERRM;apex_application.g_print_success_message: = p_result;
-
How to add multiple lines when the button is clicked
How to add multiple lines when the click on button now is just add a row .plz give me idea how... waiting for answer
/ public final class screen extends MyScreen
{
/**
* Creates a new object of MyScreen
*/
ObjectChoiceField obj1 obj2, obj3, obj4.
Table of String() = {'101 ', ' 102'};
String of shadow [] = {"Shade1", "Shade2"};
Rolls of string [] = {'101 ', ' 102'};
String cutting [] = {"100-150", "150-200"};
Chain of selectedindex1, selectedindex2, selectedindex3, selectedindex4;
LabelField lbl1 lbl2, lbl3, lbl4;
GFM LinedGridFieldManager;
HFM HorizontalFieldManager, hfm1, hfm2 hfm3;
VerticalFieldManager vfmMain;
public MyScreen()
{
Set the displayed title of the screen
hfm1 = new HorizontalFieldManager (HorizontalFieldManager.NO_VERTICAL_SCROLL |) HorizontalFieldManager.NO_VERTICAL_SCROLLBAR);
hfm2 = new HorizontalFieldManager (HorizontalFieldManager.NO_VERTICAL_SCROLL |) HorizontalFieldManager.NO_VERTICAL_SCROLLBAR);
hfm3 = new HorizontalFieldManager (HorizontalFieldManager.NO_VERTICAL_SCROLL |) HorizontalFieldManager.NO_VERTICAL_SCROLLBAR);
HFM = new HorizontalFieldManager (HorizontalFieldManager.FIELD_RIGHT);
vfmMain = new VerticalFieldManager (Manager.NO_VERTICAL_SCROLL |) Manager.NO_HORIZONTAL_SCROLLBAR);
obj1 = new ObjectChoiceField ("", graph, 0, FIELD_LEFT);
obj2 = new ObjectChoiceField ("", blind, 0, FIELD_LEFT);
Obj3 = new ObjectChoiceField ("", rolls, 0, FIELD_LEFT);
Obj4 = new ObjectChoiceField ("", cuts, 0, FIELD_LEFT);
LBL1 = new LabelField("");
LBL2 = new LabelField("");
lbl3 = new LabelField("");
lbl4 = new LabelField("");
ButtonField btnAdd = new ButtonField ("ADD", FIELD_RIGHT);
GFM = new LinedGridFieldManager (4, LinedGridFieldManager.VERTICAL_SCROLL);
hfm1.setMargin (20, 0, 10, 0);
hfm1. Add (new LabelField ("Chart"));
hfm1. Add (obj1);
hfm1. Add (new LabelField ("Shade"));
hfm1. Add (obj2);
hfm2. Add (new LabelField ("Rolls"));
hfm2. Add (Obj3);
hfm2. Add (new LabelField ("Cuts"));
hfm2. Add (Obj4);
HFM. Add (btnAdd);
GFM. Add (new LabelField ("Chart"));
GFM. Add (new LabelField ("Shade"));
GFM. Add (new LabelField ("Rolls"));
GFM. Add (new LabelField ("Cuts"));
vfmMain.add (hfm1);
vfmMain.add (hfm2);
vfmMain.add (hfm3);
vfmMain.add (hfm);
vfmMain.add (new SeparatorField());
vfmMain.add (gfm);
Add (vfmMain);
btnAdd.setChangeListener (new FieldChangeListener()
{
' Public Sub fieldChanged (field field, int context) {}
TODO self-generating method stub
selectedindex1 = chart [obj1.getSelectedIndex ()];
selectedindex2 = shade [obj2.getSelectedIndex ()];
selectedindex3 = rolls [obj3.getSelectedIndex ()];
selectedindex4 = cuts [obj4.getSelectedIndex ()];
While (LBL1. GetText(). Equals("") | LBL2. GetText(). Equals("") | lbl3. GetText(). Equals("") | lbl4. GetText(). Equals(""))
{
LBL1. SetText (selectedindex1);
LBL2. SetText (selectedindex2);
lbl3. SetText (selectedindex3);
lbl4. SetText (selectedindex4);
GFM. Add (LBL1);
GFM. Add (LBL2);
GFM. Add (lbl3);
GFM. Add (lbl4);
}
}
});
}
}Hi Piya,
I run your code, and according to your logic that it works correctly.
It's adding that line only once because according to your logic that one line can be added to MDT, if you do not want to add line on each click on the button, follow these steps:
selectedindex1 = chart [obj1.getSelectedIndex ()];
selectedindex2 = shade [obj2.getSelectedIndex ()];
selectedindex3 = rolls [obj3.getSelectedIndex ()];
selectedindex4 = cuts [obj4.getSelectedIndex ()];Lbl1 LabelField = new LabelField("");
Lbl2 LabelField = new LabelField("");
LabelField lbl3 = new LabelField("");
LabelField lbl4 = new LabelField("");
If (LBL1. GetText(). Equals("") | LBL2. GetText(). Equals("") | lbl3. GetText(). Equals("") | lbl4. GetText(). Equals(""))
{
LBL1. SetText (selectedindex1);
LBL2. SetText (selectedindex2);
lbl3. SetText (selectedindex3);
lbl4. SetText (selectedindex4);
GFM. Add (LBL1);
GFM. Add (LBL2);
GFM. Add (lbl3);
GFM. Add (lbl4);
} -
Mr President
Jdev worm is 12.2.1
How to add two lines when the second row is not visible, but also gets the first data line too?
I want to add two lines like below picture, but want the second to remain invisible.
I asked this question but my way of asking was wrong, that's why for me once again.
Concerning
Try to follow these steps:
1. in the database table to add the new column "JOIN_COLUMN" and add the new sequence "JOIN_SEQ".
2. Add this new column in the entity object. (You can add this in entity object by right clicking on the entity object and then select "Synchronize with database" then the new column and press on sync)
3. in your bookmark create button to create only one line NOT 2 rows.
4 - Open the object entity--> java--> java class--> on the entity object class generate and Tick tick on the accessors and methods of data manipulation
5 - Open the generated class to EntityImpl and go to the doDML method and write this code
protected void doDML(int operation, TransactionEvent e) { if(operation == DML_INSERT) { SequenceImpl seq = new SequenceImpl("JOIN_SEQ", getDBTransaction()); oracle.jbo.domain.Number seqValue = seq.getSequenceNumber(); setJoinColumn(seqValue); insertSecondRowInDatabase(getAttribute1(), getAttribute2(), getAttribute3(), getJoinColumn()); } if(operation == DML_UPDATE) { updateSecondRowInDatabase(getAttribute1(), getAttribute2(), getAttribute3(), getJoinColumn()); } super.doDML(operation, e); }
private void insertSecondRowInDatabase(Object value1, Object value2, Object value3, Object joinColumn) { PreparedStatement stat = null; try { String sql = "Insert into table_name (COLUMN_1,COLUMN_2,COLUMN_3,JOIN_COLUMN, HIDDEN_COLUMN) values ('" + value1 + "','" + value2 + "','" + value3 + "','" + joinColumn + "', 1)"; stat = getDBTransaction().createPreparedStatement(sql, 1); stat.executeUpdate(); } catch (Exception e) { e.printStackTrace(); } finally { try { stat.close(); } catch (Exception e) { e.printStackTrace(); } } } private void updateSecondRowInDatabase(Object value1, Object value2, Object value3, Object joinColumn) { PreparedStatement stat = null; try { String sql = "update table_name set column_1='" + value1 + "', column_2='" + value2 + "', column_3='" + value3 + "' where JOIN_COLUMN='" + joinColumn + "'"; stat = getDBTransaction().createPreparedStatement(sql, 1); stat.executeUpdate(); } catch (Exception e) { e.printStackTrace(); } finally { try { stat.close(); } catch (Exception e) { e.printStackTrace(); } } }
-
I need to find all of the XML elements and add a line break for the text of each of them
I need to find all XML elements and to add a line break the text of each of them.
Is it possible with a script?
Try this piece of code as it is. I hope that's what you want...
var myDoc = app.activeDocument; var inddRooElement = myDoc.xmlElements.item(0); var xPathElements = inddRooElement.evaluateXPathExpression("//*"); var elementCount = xPathElements.length; for(var eId=0; eId
----------------
Green4ever
-
How to add more line by line?
Hi all
Please let me know how to add addition line by line as the title:
DEPTNO num1, num2, num3 total num
1100 20 30
1200 20 10
1300 40
1400 30
your suggestion would be greatly appreciated.Something like that?
SELECT deptno,num1,num2,num3, num1+num2+num3 "Tot" FROM ....
-
Add a line break, at textItem.contents
Hello
I'm trying to change the contents of a textItem, so I need to add a line break... I am content = '\n' with no luck, it will record a square.
Any ideas? Thank you very much
-Jacques
Use instead the \r
-
How to add directional lines on a map in a phone book to show the destinations?
Directions in iPhoto do not match the real software. How do I add directional lines on a map to show where we left and where are final destination will be?
What version of iPhoto do you use? Or you use 'Photos for Mac', as you post the pictures to Mac forum?
In iPhoto 9.6.1 between that you can add markers place lines by activating the lines in the options for the cards. The value 'Lines' 'Right' or 'curve '.
-
BlackBerry Smartphones SMS text - how to get a line break?
Because unfortunately, the Enter key is programmed to send text, how can I get a line break in the drafting of a text message?
Green-field wrote:
Because unfortunately, the Enter key is programmed to send text, how can I get a line break in the drafting of a text message?
SHIFT-ENTER key
-
Add the line break in the field 'ask '.
Hello
I am trying to create checkbox with a personal message for my iExpense page. The comment to go here is long enough and puts in place a horizontal scroll bar that damages the look and feel. I tried to adjust without wrap to FALSE, but which is overridden somehow. Can someone suggest how I can introduce a line break in the Guest section... I tried html breaks etc obviously, but they are coming as the exact line breaks not as characters.Hello
As I mentioned in my email, this region is a region shared everywhere ebiz, if we programmatically change which will affect all applications.
I've updated the other thread (root problem) soln,.
iExpenses-Help for customization of a Standard of Notification Workflow page. ,Thank you.
With respect,
Kali.
OSSi. -
Dynamic text called XML - how to create a line break
I'm the filling of an area of dynamic text with xml elements that I call
For example, I have two text fields and fill me help
TextTime.texttest.Text = (bktrlXml.Row, [e.currentTarget.Ivar], .tester);
TextTime.textName.Text = (bktrlXml.row [e.currentTarget.ivar]. NAME2);
How do I fill in a dynamic text field using a combination of the two above? I would also like to put a line break between the two elements. I tried something like that and could not understand it
TextTime.texttest.Text = (bktrlXml.Row [e.currentTarget.Ivar] .tester) + "/ n" (bktrlXml.row [e.cur rentTarget.ivar]. NAME2);
Thanks in advance...
-j
Use the back slash, not oblique:
TextTime.texttest.Text = (bktrlXml.Row [e.currentTarget.Ivar] .tester) + "\n" + (bktrlXml.row [e.cu rrentTarget.ivar]. NAME2);
-
How to add a line in Indesign CS4
In Indesign 2.0, add that a line is Document.Lines.add
But in CS4, there is no method of Lines.Add,
So, how do you add a line in ID CS4?
FlexMitchell wrote:
In Indesign 2.0, add that a line is Document.Lines.add
But in CS4, there is no method of Lines.Add,
So, how do you add a line in ID CS4?
In InDesign 2.0 . Lines collection was for graphic lines and . TextLines for lines of text. ID CS1 everything was changed - . GraphicLines has information about the graphic lines and . Lines collection contains information on lines of text.
Robin
www.adobescripts.com
-
MaxL script syntax: how to add comment lines?
How can I add comment lines to the MaxL scripts? REM did not work, "did not work.
http://download.Oracle.com/docs/CD/E10530_01/doc/EPM.931/html_esb_techref/MAXL/DDL/utils/Shell/syntax.htmHello
You add comments and C++ with / * for beginning and * / for the commentary to the end.
Welcome them
Kevin -
Hello
I'm usign a latest version of Application Express 3.1.1.00.09 how do I add a line selector in this version in older versions that I use to make the report can be updated and add a line here selector in this version, I think that we have any option please suggest me adding a line selector
Thank you
Sudhir.Hello
In the header of your column, you can put
Kind regards
Dimitri
----------------------------------
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/
AWARDS: Don't forget to mark correct or useful posts on the forum, not only for my answers, but for everyone! -
How to add a line in a list of control number?
I've created a checklist in number and the model come with 27 lines automatically. I have now completed in each of them and need more lines, as my list grows. However, when I right click, options to add lines Above/Below are faded. Why I can't use them? Is there a limit or have I missed something?
Hi dorotkab,
You probably have a filter applied. Remove the filter and you should be able to add lines.
Another way to add lines is drag the '=' at the bottom left.
Quinn
Maybe you are looking for
-
my phone froze for 2 and a half hours and I cannot reset it, help!
My phone froze for 2 1/2 hours and I can't reset it
-
Pavilion g6 1221et win 7 32 bit driver
Hello world. When I bought pavilion laptop 1221et g6, it came with win7 home basic initial license. But ı formatted my pc and could not find win7 32 bit drivers on the hp website. Can someone find me win7 32-bit drivers for my laptop Pls?
-
I had to install a new hard drive because of a bad virus. I reinstalled windows xp service pack 3 but now seem to be missing audio drivers. I can't play any cd or dvd or any video of music stored on my pc etc. DELL INSPIRON 9400. Help any one please,
-
Why titan of chess is not available in win8.
-
Hi, I just tried to install the TKActionsV4 on Photoshop, have tried all the methods mentioned and it will not be installed. Could someone help.