How to display the images in the custom pluggable navigation.
Hi,
I have created a custom pluggable navigation and i need to show my custom images for the tabs in the primary navigation. where do i need to put my images and how will i need to render the images. Any thoughts will be helpful.
Thanks in advance - Emmanuel
1- put your images in a directory under the web app directory. Example: app/images/
2- in your jsp, use: String file = application.getRealPath("/images/"); to get the images directory. See http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#getRealPath(java.lang.String)
3- it's not the right forum to post this kind of question. Post them in the JSP/Servlet JSTL forum instead
Similar Messages
-
How to display the customer VAT TIN number in the PLD
Hi All,
Can anybody tell me how to get the customer's VAT TIN number in the PLD.
Plz help me, i will reward u with max points.
Thanks,
Suresh YerraHi Suresh Yerra,
Pls do this.this will surely help you.
Go to concerned PLD. eg: AR Invoice
draw one database field.In table field use alt + click in drop down
this will give u all the tables in the database.
Now u choose the AR Invoice tax extension table - choose tax id 11 for TIN and tax id 1 for CST
like this yu can get any tax information.check the tax info. is filled in the BP master data ( accounting tab-tax information)
Reward points if helpful
Rgds,
Suresh Kannan -
How to display the Customer Name in the Sales invoice form
Hi All!
May I know the table from which I select the customer name for a certain customer number?
Thanks in advance!Hi,
Kna1 is the customer master table there you can find the name1 filed
Thanks,
NN. -
How to display thumbnail image of file in KM navigation layout
Hi, I'm using a km nav iview to display some files to my users. The files are all images and it would be more useful if the images could be displayed right upfront instead of clicking on the file name and having the page reload with preview.
I am aware of the layout "TreeList preview explorer", does anyone know of another way to add a thumbnail next to the file name just in a new column instead of in the preview area?
Thanks and regards,
ScottScott,
Check this http://help.sap.com/saphelp_nw04/helpdata/en/03/bd7440036f6d1de10000000a1550b0/frameset.htm :
Thumbnails
You use the Thumbnails layout profile to display folders that contain images or documents for which thumbnails are supported.
Regards,
Andrei -
Display the Customer/Vendor Name in the General Ledger Report
**I have Questions about General Ledger Report in SAP Business One. How can Display the Customer/Vendor Name in the General Ledger Report.**
*Just would like to ask if its possible to display the Customer/Vendor Name in the General Ledger Report? The format simply have the Customer/Vendor Code on the said report. Is there a work around on this?*If ur selection creteria by g/l account,u can display customer/vendor name by including
offset account from form settings. -
How to display the image which in KM folder using url iview
Hi Friends
How to display the image, which is under KM folder structur using the url iview.
i trying using url iview url as \document\testfolder\abc.jpg as url for the iview.
but its now working .. so please help me how to slove this problem
If is not the correct way then please suggest me best way to achive this.
Thanks
MukeshHi Mukesh,
I think this may work,
1, Create a HTML Layout.
You can put your image wherever u want with HTML Codes.
Check this, [Article|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3915a890-0201-0010-4981-ad7b18146f81] & [Help|http://help.sap.com/saphelp_nw04/helpdata/en/cc/00c93e9b2c3d67e10000000a114084/frameset.htm]
With this, u can use the standard KM commands also.
2, U need to use KM Navigation iView for this rather than KM Doc iView.
3, In the Nav iView, u can use &rndLayoutSet=nameOfUrHTMLLayout to force the view with this new layout.
Regards
BP -
How to find the customer ledger account display for profit centerwise
Dear All,
how to find the customer ledger account display for profit centerwise
Pleas give your valuable suggestion
Regards
Vishwajeet SharmaHi
check the tables
A959
A962
A997
The assignment depends on so many things
with respect to which transaction you wants the PRCTR field for KUNNR?
Regards
Anji -
How to display the header data on different position in alv report
hi all,
how to display the header data on different position in alv report.
for example ,
customer name
xxxx xxxx
vendor name street
xxxx xxxx xxxxx
pls help me .hi
as per my understanding you need to trnasfer header internal table data to pdf..
please check the following links for internal table to pdf..
Convertion of Internal table data to PDF
This link is related to ur issue
Re: how to insert the calling of the FM: OTF to PDF
Thanks -
How to display the text as a Bold in the Text Element of a Smart Form
Hi,
I created one Smart Form.
In that i created the Text element.
I provide some data also in that.
It is coming as a MS WORD.
I executed my smart form.
Customer Number: &WA_KNA1-KUNNR&
it display the data of the particular customer.
But i need to display the Customer Number as BOLD or else Increase the Size.
For this also I created one SMARTSTYLE.
In that I created the Paragraph and Character Formats also.
Now i assignee that SMARTSTYLE in the Output Option Tab of the Text Element also.
But i unable to get the CUSTOMER NUMBER in Bold.
In MS WORD we have BOLD button.
I selected the Text and Press the BOLD button. At that time it is Highlighted.
Whenever i press the SAVE Button.
Then it is not saved with BOLD.
It is coming in Normal Format.
In the ECC 6.0. I am unable to get the Text as a BOLD.
This text Element is like a MS WORD.
Can you please tell me how to display the Data with BOLD. please tell me. I am unable to get that one.
Thank You.
Regards,
B. Krishna.Hi,
Check where u have given BOLD. In character Format or in Paragraph format.
In SMART FORM,
1. Change to OLD EDITOR if u are confused with the new one.
(This can be done by clicking the button left to new editor ).
2. If it is PARAGRAPH FORMAT,
Give the name of paragraph format in the editor.
P1 &WA_KNA1-KUNNR&
If it is CHARACTER FORMAT,
<C1> &WA_KNA1-KUNNR&
Thanks,
Nithya. -
How to display the content of a region on a different page
Hello,
Does anyone knows how to display the content of a region on an other page. I try to make page that displays content that resides somewhere else in my portal, so I can give a summarization of some hot topics. I really want to display the whole content of some regions (not a display with custom search).
Thanks a lot,
HansSet that page as portlet, include it in a region in another page and in the edit defaults decide which regions you want to display.
Mere. -
How to display the content of a BLOB column in a ADF/BC pages ?
How to display the content of a BLOB column in a ADF/BC pages ?
There is some image in database table blog column. And we want to display image on the screeen.
There is some example about upload and dowload blog columns.
(steve not yet document example page etc...)
But We want to display blog picture in a image component...
is there any basic way to do it ?
Thanks a lot...Ali,
You could just download the sample app... but... here is the servlet code from the demo (look at it just for technique - you'll obviously have to change it for your needs)...
John
package oracle.fodemo.storefront.servlet;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import javax.servlet.*;
import javax.servlet.http.*;
import oracle.jbo.ApplicationModule;
import oracle.jbo.Key;
import oracle.jbo.Row;
import oracle.jbo.ViewObject;
import oracle.jbo.client.Configuration;
import oracle.jbo.domain.BlobDomain;
import oracle.jbo.domain.DBSequence;
import oracle.jbo.domain.Number;
import oracle.jbo.server.ViewObjectImpl;
public class ImageServlet
extends HttpServlet
private static final String CONTENT_TYPE =
"image/jpg; charset=windows-1252";
public void init(ServletConfig config)
throws ServletException
super.init(config);
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException
response.setContentType(CONTENT_TYPE);
response.setContentType(CONTENT_TYPE);
String detailProductId = request.getParameter("detail");
String thumbnailProductId = request.getParameter("thumbnail");
boolean thumbnail = true;
String productId = null;
OutputStream os = response.getOutputStream();
String amDef = "oracle.fodemo.storefront.store.service.StoreServiceAM";
String config = "StoreServiceAMLocal";
ApplicationModule am =
Configuration.createRootApplicationModule(amDef, config);
ViewObjectImpl vo =
(ViewObjectImpl) am.findViewObject("ProductImages"); // get view object (the same as used in the table)
if (detailProductId != null)
productId = detailProductId;
thumbnail = false;
else
productId = thumbnailProductId;
vo.defineNamedWhereClauseParam("paramThumbnail", null, null);
vo.defineNamedWhereClauseParam("paramProductId", null, null);
vo.setWhereClause("DEFAULT_VIEW_FLAG = :paramThumbnail AND PRODUCT_ID = :paramProductId");
vo.setNamedWhereClauseParam("paramThumbnail", (thumbnail? "Y": "N"));
vo.setNamedWhereClauseParam("paramProductId", productId);
vo.executeQuery();
Row product = vo.first();
BlobDomain image = (BlobDomain) product.getAttribute("Image");
InputStream is = image.getInputStream();
// copy blob to output
byte[] buffer = new byte[10 * 1024];
int nread;
while ((nread = is.read(buffer)) != -1)
os.write(buffer, 0, nread);
os.close();
vo.setWhereClause(null);
vo.removeNamedWhereClauseParam("paramProductId");
vo.removeNamedWhereClauseParam("paramThumbnail");
Configuration.releaseRootApplicationModule(am, false);
} -
How to download the custom Tables to xls from the system?
Hi
How to download the custom Tables to xls from the system?
VijayHi,
Goto SE11, in the table name field give Z*, and click on display. You will get the list of Z tables.
Regards,
Prabu -
How to display the JSP output in the same page....
im new to JSP..... can anyone tell me how to display the output of a particular JSP page in the same page itself...... if anyone could send a small sample code it will be very useful for me....
thanks in advance
regds
Krish......Hi Robert -
When you say you are writing a template-based Renderer, do you mean that you are creating a custom look and feel and replacing the header Renderer? If so, I'd recommend instead simply creating your own template (not template-based Renderer), and reference your template directly from your uiXML pages where you want to insert the timestamp.
You'll probably want to write a method data provider which calls System.currentTime(), convert the result to a date, and then use Java's date formatting capabilities (see java.text.format.DateFormat) to produce a user presentable String that you can return from your data provider.
For more info (and samples) on templates and data binding, see the "Templates and Data Binding" section of the "Includes and Templating in ADF UIX" help topic:
http://tinyurl.com/5b7bf
Andy -
How to access the Custom Data type variable given in Expression edit control To and From LabVIEW
Hello, I would like to know how to access the custom data type variable given in the Espression Edit Control from LabVIEW and vice-versa
Say, the FileGlobals.Reference_Handle (Custom Data Type Variable) contains the
VISA I/O session (Which in turn contains VISA_DeviceName: String, Session: Number),
Channel1: Number and
Channel2: Number
I am expecting the user to give FileGlobals.Reference_Handle as the input at the ExpressionEdit Control in the edit screen of the VI Call.
I would like to know how to get the values of this custom data type to LabVIEW?
Say, if I have the Cluster in LabVIEW like VISA I/O session (Deive Name and Session Number), Channel1 and Channel2
how do i need to set this cluster to the Custom Data type variable in TestStand?
Thanks and Regards
PrakashHi,
TestStand to LabVIEW: i didnt understand what you r trying to achieve. But if you are using references, Use Property nodes and Invoke nodes to achieve what you want in LabVIEW.
LabVIEW to TestStand: check the image below: You need to click the button next to 'container'. I have used a cluster output in the VI.
Hope this helps
.......^___________________^
....../ '---_BOT ____________ ]
...../_==O;;;;;;;;_______.:/
Attachments:
1.JPG 187 KB -
Displaying the customized Title message in a page
Hi all,
How do I display the customized Greeting in a page?
For eg.If I put Hello #user# in the greeting and it will show me Hello and the userid.Instead of this I want to display Hello and last_name and first_name(I have the values of last_name and first_name).How can I do this?
Regards,
RanjitAnswer was posted in your forum in the PDK section
Maybe you are looking for
-
Hey Everyone, I'm in need of assistance in either Photoshop CS6, After Effects CS6, or Premiere Pro CS6. I just installed the trials after seeing Russell Brown demo the GoPro Lens Profile correction feature in Camera Raw. Basically what I'm looking
-
Where are the iPhone backups stored?
I am completely reformatting my aging iMac in order to clean the years worth of stale data... However, although the applications can all be re-installed, I need to be sure I save all my iTunes info. I have saved off all of the folders contained withi
-
Hi, I saw some code for a class which extended JFrame at the end of the constructor it says: this.setVisible(true); but of course it works when we have just: setVisible(true); I know how to use 'this' in other ways but what is the point of having it
-
Hi I have just brought the Snow Leopard box set, about to start install then I find out that it requires 11GB of free disk space and I only have 7.42GB free - what can I do???? Please help Thanks
-
Best way to reset iPad 1 back to factory settings?
I never use my iPad and have decided to sell it. I was wondering what is the best way to reset it to the factory settings? Thru iTunes or just straight from the iPad itself?? Thanks in advanced.