HOW TO UPLOAD BACKGROUND IMAGES IN SMARTFORMS
HI
HOW TO UPLOAD BACKGROUND IMAGES IN SMARTFORMS
Hi,
goto se78 -> in the menubar click graphic and import to select ur images from ur system .. then click transport button .. it automatically gets into the smartform graphic image list.. then get into transaction smartform and use the image u imported into that..
U can import anykind of image which u have stored in ur pc through se78..
Regards,
Priya.
Similar Messages
-
How to upload background image in Theme Editor
Hi
I want upload an image to theme
I try by the theme edit i'ts not work
I try by Edit "Right to Left" Theme Images
I don't find the button "Upload"
please Help!!!!
How to upload background image in Theme Editor without to entry to the server
Regards
YossiHi
Thank you for response
I want upload to TransparentContainer Image in background
I change the design to Plain
I Try Upload by the browse in the theme
but The image is not upload
even if i delete the chace serever
i'ts not working -
How to upload an image in jsp page
hi,
I want to upload an image file with my jsp page, but i cannot do it,
I have used Jakarta common file upload for this & i have also read following file. But my code isnot working properly? Can you give me any example how to upload an image & how to display it?
Can u give me any source code? Please help me.
http://jakarta.apache.org/commons/fileupload/using.htmlwith regards
BinaHi,
But after writing the following code i have got following error? What's the problem of this code? please help me?
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<%@ page import="org.apache.commons.fileupload.*" %>
<%@ page import ="java.util.*" %>
<%@ page import ="java.io.*" %>
</head>
<body>
<%
boolean isMultipart = FileUpload.isMultipartContent(request);
DiskFileUpload upload = new DiskFileUpload();
List items = upload.parseRequest(request);
Iterator iter = items.iterator();
while (iter.hasNext()) {
FileItem item = (FileItem) iter.next();
if (item.isFormField()) {
String name = item.getFieldName();
String value = item.getString();
//ring name= request.getParameter("")
%>
<%= name %>:<%= value %>
<%
} else {
%>
<%
InputStream stream = item.getInputStream();
OutputStream bos =
new FileOutputStream(getServletContext().getRealPath("/images"+"/"+ item.getName()));
int bytesRead = 0;
byte[] buffer = new byte[8192];
while ((bytesRead = stream.read(buffer, 0, 8192)) != -1) {
bos.write(buffer, 0, bytesRead);
bos.close();
stream.close();
item.delete();
%>
</body>
</html>Error is:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
FileUpload cannot be resolved
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
DiskFileUpload cannot be resolved to a type
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
DiskFileUpload cannot be resolved to a type
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
FileItem cannot be resolved to a type
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
FileItem cannot be resolved to a type
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
FileUpload cannot be resolved
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
DiskFileUpload cannot be resolved to a type
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
DiskFileUpload cannot be resolved to a type
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
FileItem cannot be resolved to a type
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
FileItem cannot be resolved to a type
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)Please help me.
With regards
Bina -
How to upload a image or flash file as blob object in a table.
How to upload a image or flash file as blob object in a table.
What are all the possible ways we can do it.Searching the forum (or google) would be my first choice, as this question pops up every now and then.
Next without knowledge of your environment (jdev version and technology stack) it's hard to give a profound answer.
All I can say is that it's possible.
Timo -
How to Upload Mutilple Images in content repository?
Hi
How to Upload Mutilple Images in content repository?
I have a html which shd be displayed and it has 3 images which shd be displayed
in the same page
Here i am able to display the HTML uploaded in content repository
but the images are not displayed,since the path is not valid for the images.
Can any one hint me in this,
wating for the reply
Thanks in Adv
Regards
SureshSuresh, your html specifies an image at resources/images/privacy.gif - is that
image in your repository at the correct relative position to where yout html is?
Your html and repository structure must match. So if the html you posted is at
/BEA Repository/foo.html
then privacy.gif must be at /BEA Repository/resources/images/privacy.gif
James
"Suresh" <[email protected]> wrote:
>
>
>
Hi James
Here i have attached my sample html and image
My Repository Structure is as follows :
Virtual Content Repository
BEA Repository
MainImage type image
Privacy type i created
----StartDate
----EndDate
----File Upload
My HTML
<HTML>
<HEAD>
<TITLE> New Document </title>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</head>
<BODY>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="norBold"><img src="resources/images/privacy.gif"
width="123"
height="73">Privacy
Policy</td>
</tr>
<tr>
<td class="formHeadBack" height="19"><b> Privacy Policy</b></td>
</tr>
</body>
</html>
and
one image
Thanks in Adv
Suresh
"James Owen" <reply.to@newsgroup> wrote:
Suresh, how is your content structured and what does your html looklike?
If you
could post examples, that would be helpful.
thanks,
James
"suresh" <[email protected]> wrote:
Hi
How to Upload Mutilple Images in content repository?
I have a html which shd be displayed and it has 3 images which shd
be
displayed
in the same page
Here i am able to display the HTML uploaded in content repository
but the images are not displayed,since the path is not valid for the
images.
Can any one hint me in this,
wating for the reply
Thanks in Adv
Regards
Suresh -
How to upload the image and diplay the image in the browser using jsp
How to upload the image and diplay the image in the browser using jsp
thanks
shani'll suggest looking for sample code or tutorial with a relevant query in google, which as far more time than us to answer this type of reccurent question
-
Flex 4 Mdi canvass, how to set background image..?
Hi.,
Now i try to use mdi canvass background image,how to set background image in mdi canvass in flex 4..
With Regards
LinFlex-In the past flex 3 version, there is an attribute call <flexlib:MDICanvas backgroundImage="@Embed(source='/imgFolder/imgFile.png')/>
to set it. However it has problem in Flex 4 because of 'halo' and 'spark' theme library changed.
The following is my post that still haven't found the answer.
Dear all,
We have a project that doing migration from flex 3 to flex 4. We use flexlib the latest version of
flexlib - 2.5 - flex4.zip.
However we confronted problems that several of attributes that flex 4 doesn't support:
Constraints are listed as follows:
1) <flexlib:MDICanvas backgroundImage="@Embed(source='/imgFolder/imgFile.png')/>
2) <flexlib:MDICanvas backgroundSize="auto"/>
3) <mx:ApplicationControlBar barColor="#000000">
original error message:
====================================================
Description Resource Path Location Type
The style 'backgroundImage' is only supported by type 'flexlib.mdi.containers.MDICanvas' with the theme(s) 'halo'. MainView.mxml /osss/flex_src/hk/gov/labour/osss/view line 242 Flex Problem
Description Resource Path Location Type
The style 'backgroundSize' is only supported by type 'flexlib.mdi.containers.MDICanvas' with the theme(s) 'halo'. MainView.mxml /osss/flex_src/hk/gov/labour/osss/view line 242 Flex Problem
Description Resource Path Location Type
The style 'barColor' is only supported by type 'mx.containers.ApplicationControlBar' with the theme(s) 'halo'. MainView.mxml /osss/flex_src/hk/gov/labour/osss/view line 227 Flex Problem
Regards,
Man Pak Hong, Dave
manpakhong
[email protected] -
How to change background image in existing template?
Hi
Current website needs overall change in background image which is already set in template. Is there anyone who knows how to change background image in existing templates?Make a friend with firebug & you could find yourself from where it is getting applied.
For the website you have given the background image it is using is [1] and it is getting set in css of body tag [2]. So Find the css at [3] and modify it OR replace [1] with other image with same file name.
[1] www.hanwha.com/etc/designs/hanwha/images/bg-body.jpg
[2]
body {
background: url("images/bg-body.jpg") repeat-x scroll 50% 0 #FFFFFF;
color: #757373;
font: 14px/18px Arial,Verdana,Helvetica,sans-serif;
margin: 0;
min-width: 979px;
[3]
/etc/designs/hanwha/...../*.css -
How to upload an image to EBS file server (Not store in database) with OAF?
Dear all,
I can upload an image into database with blob type. But I want to know how to upload an image to EBS file server. I try to search the forum but I cannot find the solution I want.
Anybody can reallize it? Please give me some advice or idea?
Thanks.
KennyKenny,
Framework doesn't provide the option of storing the images as files. You can write a javascript to open a popup and provide a standard HTML file upload component which will save the file on specified location.
--Shiv -
How to upload a image file ....
Hi
Need some tips ....
How to upload a image file?
How to limit the size of the file?
if the image is big in size means how to make it small ?
Is it possible of compressing the file before storing ..?
thanks in advance
kumarYou may find the following articles useful for the JSP/Servlet part:
Uploading files: http://balusc.blogspot.com/2007/11/multipartfilter.html
Downloading files: http://balusc.blogspot.com/2007/07/fileservlet.html -
How to edit background image in center destop??
hello
i have a background image in flex 4 by i skinclass to project skin i make.
but when i run that image dont stay center desktop.
it in left
how do i work it??
can u help me please.thanksHi
Thank you for response
I want upload to TransparentContainer Image in background
I change the design to Plain
I Try Upload by the browse in the theme
but The image is not upload
even if i delete the chace serever
i'ts not working -
How to uploag jpeg image for smartforms
how to uploag jpeg image in sap. plz tell me the steps.
Edited by: Matt on Nov 16, 2008 4:15 PMHi
Convert the jpeg into bmp or bitmap...as from se78 jpeg cannot be uploaded. To convert, all you have to do is open the jpeg picture using paint brush and then save it as bmp. When you click save as in paint brush, it will open a window..in that in "Files of Type" select bitmap image and upload it.
In smartform, create a graphic window and give this image name.
Regards,
Vishwa. -
How to reference background image url from css?
Hello,
I have uploaded some images and css files to the "Shared Components > Images".
How can I reference my images as "background-image:url('XXX.gif')" for a css element?
Thanks,
JohnTo make what Tyler said explicit: APEX doesn't perform recursive (or indeed any) substitution on static files, Re: Use uploaded images in uploaded CSS, so images in static files can't be referenced using #APPLICATION_IMAGES# or #WORKSPACE_IMAGES# in style sheets that are themselves static files. The Re: Help with STATIC HTML file reference another STATIC HTML/CSS file..
-
How to print dynamic images in smartforms?
Hi Guys,
We are maintaining images in QM02 similar to the header or item texts. Those images has to be displayed in smartform.
Can anyone know how to read any image from transaction and display the same in smartform. Those images will be different for different notification numbers?
Please let me know if instead of SE78 we can read the image and display the same in smartform?
Or is there anyway we can achieve the same?
Thanks,
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on Dec 28, 2009 2:30 PMHi Naidu,
I Have the same problem with you. I Did a program to put all imagens in SE78. After this, you can use a variable to fill out the name.
Example:
Name: &name&
Object:GRAPHICS
ID:BMAP
Regards,
Marcelo -
How to upload a logo in smartforms
can anybody tell me how to upload logo in Smartorms
Hi,
Inserting Logo in SmartForm
Follow the given steps in order to add a logo,
1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)
2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
4) Select any picture and set its Resolution in DPI
5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo
6) Set any other parameters if required, save and activate.
7) If there is only 1 Window in the forms, set it as Main Window in general attributes.
8) User TCode SE78 to upload new pictures and logos.
or----
u can
Try executing program RSTXLDMC program. There also you can upload a graphic.
Run RSTXLDMC
Enter file name C:\MAIL\COMPLOGO.TIF
Resolution for Tiff file
Absolute X-position
Absolute Y-position
Absolute positioning
Reserved height
Shift to right
UOM = CM
Text title
Line width for text = 132
Text name ZHEX-MACRO-COMPLOGO
Text ID ST
Text language = E
Postscript scaling
Width & Height according to PS scaling
Number of Tiff gray levels (2,4,9) 2
Then Create a new window 'COMP' with attributes;
Window COMP description Company Logo
Window type CONST
Left margin 7.00 CH window width 10.00 CH
Upper margin LN window height 8.00 LN
Finally u can make use of the text name and text id to print the logo.
Please note that if object name is not indicated as 'ZHEX...', the logo may not be printed !
Go thru this,
http://www.zebra.com/id/zebra/na/en/documentlibrary/misc/sap_smartforms_technical.File.tmp/SAPSmartFormsVersion3.pdf
Refer these threads,
How to upload logo in Smartforms.
logo insertion in smartform..
Regards,
Padmam.
Maybe you are looking for
-
Double-click to enter a text frame - selecting text unresponsive
Ok. So frustrating...I haven't been able to find a solution to this anywhere online. Let's say I've got an InDesign document open, and have my selection tool (V). I double click on a text frame (that is full of text), see that there is now a cursor i
-
Why fevicon not displayed in iphone
Hello Everyone, I am stucked at a question that, why iphones are showing fevicon in its browser(safari). I tried it by many ways like - 1. changed .ico file to .png, .jpg 2. put image file in root path but still it isn't working Is there any technica
-
Conneting old iPod to a new iTunes library
My brother got his iPod stolen recently. I have an ancient one, probably one of the first generation iPods, that I never got rid of. I want to give it to him until he can afford a better one. My concern is how this iPod will recognize his iTunes libr
-
How to create dynamic links in one page with div panels
HI I am using Dreamweaver CS3 with developer toolbox. I have a PHP page where I have two separated tabbed div panels. I want to show dynamic summary of data from database in one panel. In the other panel I have a table with dynamic text. I want to cl
-
Appropriate JDBC drivers for 7.0 version and SP16
Hi all we are using XI 7.0 SP 16. what type/verion of JDBC drivers should be used for database connectivity? while i was going through "How to install external JDBC Drivers" it was suggesting to use Oracle 9i and Oracle 10g: ojdbc14.jar u2022 Microso