How to display many Links like text with multi lines?
I need to:
1)display many links in one container like text
2)each link have onClick event Handler
Example:
Link1 SomeLink2 Link3 \*
Link4 AnatherLink5 \*
AndOneMoreLink6 \*
\* - right border of container
i'v tried TileGroup, but it has colums.... Group - overlapped links in one place.... and so on.
Any ideas how to do it?
I think you overlooked some of the possibilities provided by Apex.
For instance you can create a simple HTML region where you put the links as you prefer (makes sense if they are a fixed number and you need a special formatting).
You can also create Lists (see shared components). Lists are specifically meant for links, like Task lists in the Apex Builder itself, but you cannot build them dynamically, so you must know in advance each and every static link.
Or you can create a report if links come as result of a query which is good for building them dynamically.
A fourth option is a PL/SQL region outputting HTP calls where you have total control over every aspect.
Flavio
http://oraclequirks.blogspot.com
Similar Messages
-
Cell.text with multi line content
Hello anybody.
Here is my code .
story_title = [[NSMutableArray alloc] init];
scripture_location = [[NSMutableArray alloc] init];
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
cell.text = [story_title objectAtIndex:indexPath.row];
cell.lineBreakMode = UILineBreakModeWordWrap;
cell.text = [scripture_location objectAtIndex:indexPath.row];
return cell;
How can i make multi line in single cell . My code is diplayed last array list content. The line break is not working.
Please help me with example
Nalan.Double click on the text box and look in properties. There are many different options there including text wrap.
(of course I'm referring to a form field and not a bunch of text that was included in the original document) -
Hi All,
How to display selected Month like jan,feb,march in single page with different webparts.
I created 3 webparts and selected(jan,feb,march) but when page refreshes all webparts are displaying current month(December).
Here i attached the screen shot, where December should be shown as (January and February)
Kindly check and guide me in right track.
Thanks
Prabhat.
Madhu PrabhatHi,
To develop a custom web part, you can take a look at the links below with steps in detail for a start:
Creating Web Parts for SharePoint
http://msdn.microsoft.com/en-us/library/ee231579.aspx
Sharepoint 2013 Create a Visual Web Part
http://raquelalineblog.wordpress.com/2013/04/25/sharepoint-2013-create-a-visual-web-part/
Another three links for your reference:
http://www.learningsharepoint.com/2012/12/24/how-to-create-a-custom-webpart-in-sharepoint-2013/?goback=%2Egde_3911588_member_198759022#%21
http://www.youtube.com/watch?v=9iK8IPUB87w
http://sptechbytes.blogspot.com/2013/10/sharepoint-2013-creating-visual-webpart_26.html
Here are some samples of custom calendar web part for your reference:
http://www.codeproject.com/Articles/108676/SharePoint-Custom-Calendar
http://gunnarpeipman.com/2009/01/creating-sharepoint-global-calendar/
https://blog.metrostarsystems.com/2013/10/21/creating-a-custom-sharepoint-calendar-rollup/
You can also do more customization by adding your own logic in it.
Best regards
Patrick Liang
TechNet Community Support -
How to display more than one column with for each
Hi guys,
how to display more than one column with for each like below?
for each
Item1
Item2
Item3
Item4
Item5
Item6
Item7
Item8
Item9
Item10
End for each
for each
Item1 Item2 Item3
Item4 Item5 Item6
Item7 Item8 Item9
Item10
End for eachTake a look at this to see if the solution provided would work for you: https://blogs.oracle.com/xmlpublisher/entry/multi_column_row_woes
Won't you have more than 10 records in your data file ? If you are going to have only 10 items then you may be able to use position() function to limit it to 3 each..
Take a look at this: https://blogs.oracle.com/xmlpublisher/entry/turning_rows_into_columns
Thanks,
Bipuser -
How to display archive link picture in pdf
Hi, Experts
I create a pdf form using tcode SFP, and create a graphics element in the form,
but i don't want to use the MIME object to disaplay,because our pictures are archive link.
How to display archive link picture in pdf form?
Thanks you very much!
Ken.li
Edited by: Ken.Li on Nov 17, 2009 3:50 AM
Edited by: Ken.Li on Nov 17, 2009 4:30 AMHello,
I can recommend you go through the tutorial called How Tou2026 Integrate ADOBE form on WebdynPro for ABAP and Deploy it on portal by Bhawanidutt Dabral. Ignore the fact it uses WD, I have tried the proposed solution how to load in the picture on a simple offline/ print form. Look around for this tutorial.
It propose to use the FM as follows:
CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
EXPORTING
p_object = c_graphics
p_name = lv_pernr1
p_id = c_bmap
p_btype = c_bcol
RECEIVING
p_bmp = ls_z_if_test_cv-im_photo
EXCEPTIONS
not_found = 1
internal_error = 2
OTHERS = 3.
It passes the picture as XSTRING into the form and there you bind this data stream to a Image Field (not an Image!!! check this twice). Don´t forget to check the checbox to include picture data into the form file.
Hope this helps, Otto -
My friend has an iPhone but doesn't use iMessage. How can I send her regular texts with the new iOS 7 update?
That's because her phone is recognized in the Apple database as an iPhone. It should eventually convert to SMS but that's above my level of expertise here so hopefully someone else can come along and help you further. She could just turn on iMessage and solve the problem. Ha!
Good luck! -
How do I make PowerPoint-like handouts with Keynote?
How can I make PowerPoint-like handouts with Keynote? I want to create "three slides per page with lines for notes" handouts.
Keynote provides printed handouts as follows:
File > Print:
in the chooser; click on the Handouts option
click the drop down menu and select 3 per page
select the other options required -
How can display the link Personalize
In the portal I am displaying the links:
I have the role of admon.
Help, Logoff in Head Area(MastHead) How can display the link Personalize?
RegardsAssign yourself eu_role.
Thanks
Prashant -
How do I get a white background with black lines
How do I get a white background with black lines and characters on my screen. To run the program, copy it out and delete the ` and it should go. If it does not compile on your machine, I would like to know. There is a test on about line 34 for changing the colors.
`//Simple program to test Graphics2D.setBackground(white) obtained from BufferedImage.getGraphics()
`import java.awt.Frame; //Object>awt.Component>Container>Window>Frame
`import java.awt.Insets; //Object>awt.Insets
`import java.awt.image.BufferedImage; //Object>awt.Image>awt.image.BufferedImage
`import java.awt.Graphics; //Object>awt.Graphics
`import java.awt.Graphics2D; //Object>awt.Graphics>Graphics2D
`import java.awt.Color;
`import java.awt.BasicStroke;
`public class TstBgCol { //frame & BufferedImage in pixels & BasicStroke in points ????????????
` TstBgCol tstBgCol;
` public static void main(String[] args) {
` TstBgCol tstBgCol=new TstBgCol(); tstBgCol.tstBgCol=tstBgCol;
` tstBgCol.main2(); tstBgCol.byteBinary();
` }
` Graphics fgcontext;
` Frame fram; Insets insets; //borders of the Frame, Container.getInsets
` int bIWid=1272,bIHgt=876; //set for 1280x1024 screen on windows XP & matches paper ratio 10.6x7.3
` int unusedPixHgt=84;
` void main2() {
` fram=new Frame();
` fram.addWindowListener(new java.awt.event.WindowAdapter() { //anonymous inner class
` public void windowClosing(java.awt.event.WindowEvent e) { System.exit(0); }
` });
` fram.setVisible(true);
` insets=fram.getInsets(); //(Container)getInsets() works after displayable
` System.out.println("Insets l,t,r,b:"+insets.left+","+insets.top+","+insets.right+","+insets.bottom);
` fram.setSize(insets.left+bIWid+insets.right,insets.top+bIHgt+unusedPixHgt+insets.bottom);
` fgcontext=fram.getGraphics(); //creates Graphics context for this component
` }
` void byteBinary() {
` BufferedImage buIm=new BufferedImage(bIWid,bIHgt,BufferedImage.TYPE_BYTE_BINARY); //can be resized
` Graphics2D bIG2=buIm.createGraphics(); //returns Graphics2D context
` //change to if(true) to use either of the following two lines
` if(false) bIG2.setBackground(Color.white); //does not change the background color to white
` if(false) bIG2.setColor(Color.black); //does change the foreground color to black
` edgeLinesAndX(buIm,bIG2);
` fgcontext.drawImage(buIm,insets.left,insets.top,fram);
` }
` private void edgeLinesAndX(BufferedImage bI,Graphics2D bIG2) { //really on the edge
` BasicStroke strk=new BasicStroke(10f); bIG2.setStroke(strk);
` int x0,y0,xmx,ymx;
` x0=bI.getMinX(); y0=bI.getMinY(); xmx=bI.getWidth()-1; ymx=bI.getHeight()-1;
` bIG2.drawLine(x0+xmx,y0,x0,y0+ymx); //lo-left to up-right
` bIG2.drawLine(x0,y0,x0+xmx,y0+ymx); //up-left to lo-right
` bIG2.drawLine(x0,y0,x0+xmx,y0); //up-left to up-right
` bIG2.drawLine(x0,y0,x0,y0+ymx); //up-left to lo-left
` bIG2.drawLine(x0,y0+ymx,x0+xmx,y0+ymx); //lo-left to lo-right
` bIG2.drawLine(x0+xmx,y0,x0+xmx,y0+ymx); //up-right to lo-right
` bIG2.drawString("("+x0+","+y0+") wid="+(xmx+1)+" hgt="+(ymx+1),(xmx+1)/5,(ymx+1)/5);
` }
`} //the result on my screen is a black background, why?????How do I get a white background with black lines and characters on
my screen.Contrary to what you might think, the linebIG2.setBackground(Color.white);does not give the buffered image a white background. The API docs
http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Graphics2D.html#setBackground(java.awt.Color)
say: "Setting the background color in the Graphics2D context only
affects the subsequent clearRect calls... " So adding a line to your
if blocks we getif (false) {
bIG2.setBackground(Color.white);
bIG2.clearRect(0, 0, buIm.getWidth(), buIm.getHeight());
if (false) {
bIG2.setColor(Color.black);
}Changing the false to true results in a white background (and black
X and text). -
Printing Text with multiple Lines
Hello,
i want to print a list and in that is text with multiple lines.
In the PrintPreview and in the Printout i get only one line.
How is the best way to do this?
Thank you,
Markus
Private Function Print_Remarks_Control_Get(ByVal pstrText As String) As TextBox
Dim TextBox_Out As New TextBox
With TextBox_Out
.Text = pstrText
.HorizontalAlignment = Xaml.HorizontalAlignment.Left
.VerticalAlignment = Xaml.VerticalAlignment.Top
.FontSize = 16
.Margin = New Thickness(15)
.AcceptsReturn = True
.MinWidth = 800
.MinHeight = 600
End With
Return TextBox_Out
End Function
Sub PrintPageList_Prepare()
Dim i As Integer
Dim objVM As clsTextVM
Dim lstText_List As ObservableCollection(Of clsText)
Dim ctrPrint_StackPanel As StackPanel
Dim ctrPrint_Title As TextBox
Dim ctrPrint_Description As TextBox
Dim ctrPrint_Remarks As TextBox
Dim objText As clsText
mPrintPageList.Clear()
objVM = DirectCast(Me.DataContext, clsTextVM)
lstText_List = objVM.CustomClass_List
ctrPrint_StackPanel = Print_StackPanel_Get()
For i = 0 To lstText_List.Count - 1
objText = lstText_List.Item(i)
If objText.Name.Length > 0 Then
ctrPrint_Title = Print_Title_Control_Get(objText.Name)
ctrPrint_StackPanel.Children.Add(ctrPrint_Title)
End If
If objText.Description.Length > 0 Then
ctrPrint_Description = Print_Description_Control_Get(objText.Description)
ctrPrint_StackPanel.Children.Add(ctrPrint_Description)
End If
If objText.Remarks.Length > 0 Then
ctrPrint_Remarks = Print_Description_Control_Get(objText.Remarks)
ctrPrint_StackPanel.Children.Add(ctrPrint_Remarks)
End If
Next
mPrintPageList.Add(ctrPrint_StackPanel)
End Sub
Private Sub OnGetPreviewPage(sender As Object, e As GetPreviewPageEventArgs)
' Das ist die MessageBox
' Windows.UI.Popups.MessageDialog()
PrintPageList_Prepare()
mPrintDok.SetPreviewPage(e.PageNumber, Me.mPrintPageList(e.PageNumber - 1))
End SubYes, not only RichEditBox but also RichTextBlock can also do this. Besides TextBox also have TextWrapping functionality.
-James
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
The color of text item with multi-line in web
I tried to change the background color of text item with multi-
line, but it does not work when I run in the web, if some body
knows that, please give a hint.
Thanks
Frank
nullI tried to change the background color of text item with multi-
line, but it does not work when I run in the web, if some body
knows that, please give a hint.
Thanks
Frank
null -
How to make fields required in an updateble multi line form?
How to make fields required in an updateble multi line form?
You need to create a validation item that is triggered when the user clicks the submit button.
Set the validation type to "Function Returning Error Text".
Then add your validation into the "Validation Expression 1" field. Something like:
BEGIN
FOR I IN 1.. HTMLDB_APPLICATION.G_F02.COUNT LOOP
IF HTMLDB_APPLICATION.G_F02(I) IS NULL THEN
RETURN 'Please enter in a value for xxxxx on line ' || TO_CHAR(I,'0');
END IF;
END LOOP;
RETURN NULL;
END;
As long as the function returns a string, an error is generated - as there is no single field where this error can be displayed, it will need to be displayed "On Error Page".
If the return value is NULL, then the fields are valid and the submit process can continue.
Andy -
Print JTable with multi line header
I need to print a JTable with multi line header, I want to know if I can use the method jTable.print(int, MessajeFormat, MessageFormat) by manipulation of the MessageFormat. How I can manipulate it?
Otherwise, How I can print this?hi again,
To print pdf in a swing application you don't need servlet.jar.
You'll only need itext.jar and a printer connected to your pc.
Download the iText source code and unzip it. See the following classes:
com.lowagie.tools.LPR and com.lowagie.tools.BuildTutorial. This latter is the main class of a swing tool that you can run.
Silent Print:
You have only to embed this javascript code in your pdf:
writer.addJavaScript("this.print(false);", false);
document.add(new Chunk("Silent Auto Print"));Then, you have to send the document to the printer.
Google : java print pdf
http://forum.java.sun.com/thread.jspa?threadID=523898 or
http://www.exampledepot.com/egs/javax.print/pkg.html for printing task.
Under unix system, I used this:
String PRINTER = ...;
try {
String cmd = "lp -d " + PRINTER + " " + PDF_PATH;
Runtime.getRuntime().exec(new String[] { "sh", "-c", cmd });
} catch (Exception e) {
//handle the exception
e.printStackTrace();
}hth -
How to display G/L Account code with separation symbol
Hi, there
I got a problem that I want to show formated account code in one column in grid, which formated with separation symbol, and i'd like to binding this column to one user defined field in UDT, user can input Acount code in this column. who knows if there is a simple way to show the formated Account code. I am using SBO 2004 and VB .Net.
I did not find any function about it in SBO 2004 SDK, the "FormatCode" property in ChartOfAcctounts object only show Account code with out separator, so am I need find out the segment and separator information and format using code?
Thanks for any help.
KathyHi Kathy
Not sure what you asking.
The one part you asking "how can I show the link button in the Account code column". The answer to this is if you are using the xml form made by the screen painter you must open the xml file outside of screen painter and make that column of type 116 instead of 16. Obviously you still need to do the usual like bind the column and set LinkedObject = APbouiCOM.BoLinkedObject.lf_GLAccounts
Then to the second part of your question
A linked button for a gl account with dashes which are "-" should pull the chart of accounts window open. The format code with the dashes is CORRECT! You must make sure there is no unwanted spaces or any funny characters. Also i did the linked button in Screen Painter. Make your arrow, link it to a edit box.Then set linkedObject value to 1.
Just for testing purposes make a edit text with the linked button linked to it. Type a gl account manualy in the box with dashes and then press the orange arrow. You'll see that it works with the dashes.
Hope this helps -
How to display a linked multi-page pdf?
I am a DW newbie building a small website for my book design business. I would like to show book design samples as spreads in a multi-page pdf (set up with page display set to two-up) linked to thumbnail images on a web page. I have created the links, but the pdf either opens in another window as single page, or (in Firefox) triggers a dialog box which asks to either dowload or open in Acrobat. Is the display of pdfs always dictated by the client browser settings or is there a DW behavior or widget that can accomplish this? Any other ideas on how best to display these samples? DW CS5.5, Mac OS 10.6.8.
Thanks for your reply. I think I have what I need now: I can export pdfs out of InDesign as spreads, and then the pdf reader in the browser sees that spread in the linked pdf as a single page. Should have thought of that sooner. Would be nice if there was some way to control the display of linked pdfs with code rather than be at the mercy of the client browser.
Maybe you are looking for
-
Wont let me open final cut studio-missing hardware
when i try to open final cut studio a message comes up saying missing hardware 512mb ram, but i have this on my computer. do i need more ram? what will make it work? any help would be greatfully appreciated
-
How to display local HTML file in web-view?
Hello everyone, we have no problem with showing of remote HTML content from server in box on page in web view. But how we can show such a content when included in HTMLResources? In guide is just "Display a local HTML file in an in-app browser", which
-
Printing Long text in Send Mail Task
Hi All, My requirement is to print the long text of particular error message in the send mail task, which will be sent to outlook. for this i have an activity beforr the mail task, where i have filled the multiline parameter called 'TEXT' and this is
-
Is there any information about the E2E form daily operations to TSW mov,
HI, I need information about how PRA handles daliy operations and how does it reflect stocks that afterwards must be be availiable to TSW nominations, Is there any graphic or complete process flow from wells movements to MMstock registration and acc
-
Button Redirect to New Tab Window Question
I would like to have a button that when clicked once, redirects the page to a URL in a new tab. The URL is based on a sql query from a dynamic action linked to the button. Way 1: I have tried to use redirect_url() in the dynamic action itself. <pre>