Get the handler for GUIBB Feeder class from Genil implementation class
Hello,
In BOL based GUIBB, the feeder class will call correspondence Genil implementation class, may I know if it is possible to get the handler or instance of the feeder class in the Genil implementation class, then we can call the method of the feeder class get some information about the feeder, e.g. the value of the parameter.
Thank you very much.
Best regards,
Shumin
Hello,
In BOL based GUIBB, the feeder class will call correspondence Genil implementation class, may I know if it is possible to get the handler or instance of the feeder class in the Genil implementation class, then we can call the method of the feeder class get some information about the feeder, e.g. the value of the parameter.
Thank you very much.
Best regards,
Shumin
Similar Messages
-
Where does firefox get the icons for a web page from to display the page in the aps tab
I notice some web pages when pinned to the apps tab have an icon that reflects their organistation and others just have a blank page Icon. Where does firefox read the icon from i would like to know so when i do a web page I can include an icon
Read about the favicon here: http://en.wikipedia.org/wiki/Favicon
-
Is it possible to get the handle of a HTML UI element in JSPDynpage?
Hi Experts,
I am new to Portal Development and my current requirement is as follows:
User is provided an option to upload a file to KM from the JSP for which i used a HTMLB fileupload UI element. I was able to upload the file to the KM.
But the client wanted their specific theme for the Upload UI element to be set. The default Browse button was to be replaced by the custom image. We tried using CSS for setting the image as the background image, but failed doing it. We used the following code for achieving:
JSP Dynpage:
<hbj:fileUpload id="docupload"
maxLength="125000"
size="50" />
JQuery:
var funcName = htmlb_formid+"_getHtmlbElementId";
func = window[funcName];
var HTMLBElementIdSubmit = eval(func("<UI ID>"));
$("#"+HTMLBElementIdSubmit.id).removeClass("urUpld ");
$("#"+HTMLBElementIdSubmit.id).addClass("<custom class>");
We tried using standard file UI in HTML and we are successful in setting the background image as per the clients requirement using JQuery to replace the standard look using:
$("[type='file']").removeClass("urUpld");
$("[type='file']").addClass("btngrey");
But we are now facing the problem in the controller where the following line is throwing an error as we are unable to get the handle for a standard HTML UI element.
com.sapportals.htmlb.FileUpload.FileUpload imageupload = (FileUpload) getComponentByName("<ID>");
Kindly let me know more if either of the 2 points below:
1. Is there an option to customize the standard HTMLB fileupload UI element as per our choice using Javascript / JQuery?
2. Is there a way to get the handle in Dynpage controller for HTML UI elements?
Regards,
Poojith MVHi Poojith
Not sure if this would solve your requirment but just in case might be helpful:
1. We can mix up the HTML and HTMLB components in the JSP Page. However, can access only the HTMLB components in the controller. The following link refers to what customizations are offered by the HTMLB framework:
[http://www.sapdesignguild.org/resources/htmlb_guidance/]
2. Another option would be to use AbstractPortalComponents or a simple web app if that's feasible. (where custom UI themes, css and layout are more in control of the developers.)
Thanks
Deepak -
Unable to get Window Handle for the 'AxCrystalActivXViewer' control.
Hi,
I have Operating System : Windows 7 and Application developed in VS 2005 and I am using Crystal Report XI licenced version.
But when I am trying to use TTX(Field Defination) based reports it gives me "Unable to get Window Handle for the 'AxCrystalActivXViewer' control. Windowless ActivX Controls are not supported."
Please provide me solution for this ASAP as I am stucked on this from long lomg time.
-Regards
SwapnilAppears you are installing an upgrade version.
Use these links:
http://downloads.businessobjects.com/akdlm/crystalreports/crxir2_sp4_full_bld_0-20008684.exe
http://downloads.businessobjects.com/akdlm/crystalreports/CRYSTALREPORTS06_0-20008684.EXE -
How do I get the refund for a bumper that I bought from a retail store .
I bought an Iphone 4 bumper from an Apple Retail Store and I would like to know what do I need to do to be able to get a refund. Do I go to the store with a receipt and get the refund for it or are they going to give refunds automatically. And what happens if I don't have a receipt for it, would I be able to print my bank statement and get whatever number they need from there?
bcoday wrote:
I went to the local Apple store yesterday, receipt in hand, but was told by the employee that Apple was going to be handling these online. I had just driven about 30 miles so I asked the guy to just honor the refund. I was there, I had a receipt, he knew they were supposed to honor refund. He wasn't budging but before I could get seriously insistent, I received an important phone call.
I was/am not happy at all.
After all that, and not calling ahead of time, you stopped your "serious insistence" to take a call and then just gave up? Couldn't you have continued your discussion with the apple person and returned your personal phone call? -
Getting the objects for a class
I am able to get all live classes of a dynpro by using method cl_gui_cfw=>get_living_dynpro_controls. (Also thanks to this forum).
The resulting table has a reference to a class like ...
How do I use this reference to:
1. Get the objects for it?
2. How can I then free the object from memory by using the "free" method.
I guess I am asking how to dynamically assign it, then make sure it has a free method and then to use the method to actually free it.Hello Uwe
My first reaction was "NO it cannot be that easy!!". It almost was but on the second line I get a short dump. Then I realised why: the other live control in the table was a sub class of the first class and as a result it was cleared on the first call.
So I modified the call to be a recursive call (of the form) as follows...
form clear_live_controls .
DATA:
gt_list TYPE cnto_control_list,
gt_wa like line of gt_list.
REFRESH: gt_list.
CALL METHOD cl_gui_cfw=>get_living_dynpro_controls
IMPORTING
control_list = gt_list.
describe table gt_list lines tab_lines.
if tab_lines = 0.
* Nothing
else.
loop at gt_list into gt_wa.
gt_wa->free( ).
exit.
endloop.
perform clear_live_controls.
endif.
endform. " clear_live_controls
This took care of it.
Many thanks for your help.
Regards -
Hello everyone. I know this is an often asked question, but I still can't get this to work.
Can you tell me why I'm getting the "We had difficulty downloading episodes from your feed" error when I submit
http://davidccook.com/podcasts/praying-for-your-elephant.xml
Thanks!The Store checks only the latest episode of your feed when you submit your podcast. The media file URL for your latest episode, Day 21, is
http://adamstadtmiller.com/wp-content/uploads/podcast/P4YE21DAY121.mp3
and there is no file at this address. This is because you've mistyped it: the actual URL is
http://adamstadtmiller.com/wp-content/uploads/podcast/P4YE21DAY21.mp3 -
I am batch processing in PS 2014 (watermark and saving as jpeg from ps file). I get the message for some but not all 'this file needs to be saved as a copy with this option'. And then I have to save it manually. Does anyone know why this happens? (It is just a plain photoshop file, a watermark is added, then save as jpeg - the jpeg is saved to a different folder than the original photoshop file.) It happens for about 10 of 30/40 files approximately . Thank you, Kathryn
I believe I have figured it out - I need to flatten the image, even though there are no layers except for layer 0, first.
-
Getting falsely charged for in app purchases from a game app and no response nor action taken to be reimbursed for the app as well as iTunes
no and hd as well bash or times response i've itunes. reply yet contacted bingo fifty
-
Hi everyone! I turned on my computer the other day and the icon for Safari was missing from my dock. I looked in the applications folder and it is no longer there. Does anyone know how I can get safari if I have no internet search engine? I
Safari 5.0.6 for Leopard can be downloaded from here:
http://support.apple.com/kb/DL1422
Does anyone know how I can get safari if I have no internet search engine?
How did you post here? -
I want to use my wifi iPad for navigation but now realise it doesn't have gps built in. Is it possible to use hot spot to get the gps location to my iPad from my iphone? Long shot I know!
I thought yes, more like this on the right says no. Why not take the two devices outside and try.
-
I havent received any code after paying for it! Money's been withdrawn from my bank account and all I have now is a transaction code. How can I get the code for Photoshop?
You'll need to call Adobe customer support on the telephone. There's little we fellow users can do to help you.
-Noel -
hi
i didnt get the answer for the security questionI spoke with Apple Support this morning and they believe anything MobileMe related is due to the conversion over to iCloud that's taking place.
As for other email clients, check with your host to see if settings have changed on their end. I use inmotionhosting.com and over the weekend the updated their outgoing requirements so that a password authentication is now needed.
Hope that helps get some on the right path to resolving their issues! -
How to get the values for checked and unchecked chekboxes
Hai i have using the checkbox in for loop.
I need the urgent help from anyone,
for example in the loop there is having 5 checkbox if i checked 3 of the ckeckboxes and 2 of the checkboxes are unchecked. I need to get the values for checked checkboxes and unchecked checkboxes. Because if i checked the checkboxes, those values need to be inserted into the database. Those for unchecked checkboxes values need to be deleted from the database. Can anyone help me for this
i am using the following jsp code for this. If anyone can know about this please post me the sample code.
<form name="confirmcontainer" id="confirmcontainer" method="post" action="submit.jsp">
<% for(int i=0;i<value.length;i++) {%>
<tr>
<td><input name="assigncontainer_chkbox" d="assigncontainer _chkbox" type="checkbox" value="<%=value[0]%>"></td>
<td class="bottomborder"><div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=value[1]%> </font></div></td>
<td bgcolor="#FFFFFF" class="bottomborder"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=value[2]%></font></td>
</tr>
<% } %>
<tr><td><input type="submit" name="submit" value="submit"> </td></tr>
</form>
Thanks & Regards,
TamilvananHey thanks Alex and Catastrophe for the quick response...
I'll be sitting with the functional team and reviewing the roles created.
Thanks for all the help once more
Regards,
Akash. -
How is it posible to get the File name, size and type from a File out the H
How is it posible to get the File name, size and type from a File out the HttpServletRequest. I want to upload a File from a client and save it on a server with the client name. I want to conrole before saving the name, type and size of the file.How is it posible to get the File name, size and type from a File out the HttpServletRequest.
form JSP
<form name="form" method="post" action="procesuploading.jsp" ENCTYPE="multipart/form-data">
File: <input type="file" name="filename"/
Path: <input type="text" readonly="" name="path" value="c:"/
Saveas: <input type="text" name="saveas"/>
<input name="submit" type="submit" value="Upload" />
</form>
proces JSP
<%@ page language="java" %>
<%@ page import="java.util.*" %>
<%@ page import="FileUploadBean" %>
<jsp:useBean id="TheBean" scope="page" class="FileUploadBean" />
<%
TheBean.doUpload(request);
%>
BEAN
import java.io.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletInputStream;
public class FileUploadBean {
public void doUpload(HttpServletRequest request) throws IOException
String melding = "";
String filename = request.getParameter("saveas");
String path = request.getParameter("path");
PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter("test.java")));
ServletInputStream in = request.getInputStream();
int i = in.read();
System.out.println("filename:"+filename);
System.out.println("path:"+path);
while (i != -1)
pw.print((char) i);
i = in.read();
pw.close();
}Thanks it works great.
Here an excample from my code
import org.apache.commons.fileupload.*;
public class FileUploadBean extends Object implements java.io.Serializable{
String foutmelding = "geen";
String path;
String filename;
public boolean doUpload(HttpServletRequest request) throws IOException
try
// Create a new file upload handler
FileUpload upload = new FileUpload();
// Set upload parameters
upload.setSizeMax(100000);
upload.setSizeThreshold(100000000);
upload.setRepositoryPath("/");
// Parse the request
List items = upload.parseRequest(request);
// Process the uploaded fields
Iterator iter = items.iterator();
while (iter.hasNext())
FileItem item = (FileItem) iter.next();
if (item.isFormField())
String stringitem = item.getString();
else
String filename = "";
int temp = item.getName().lastIndexOf("\\");
filename = item.getName().substring(temp,item.getName().length());
File bestand = new File(path+filename);
if(item.getSize() > SizeMax && SizeMax != -1){foutmelding = "bestand is te groot.";return false;}
if(bestand.exists()){foutmelding ="bestand bestaat al";return false;}
FileOutputStream fOut = new FileOutputStream(bestand);
BufferedOutputStream bOut = new BufferedOutputStream(fOut);
int bytesRead =0;
byte[] data = item.get();
bOut.write(data, 0 , data.length);
bOut.close();
catch(Exception e)
System.out.println("er is een foutontstaan bij het opslaan de een bestand "+e);
foutmelding = "Bestand opsturen is fout gegaan";
return true;
}
Maybe you are looking for
-
Problem with logging in Creative Cloud account
Hi, I have a problem with my Creative Cloud account. It seems like I logged out about a week ago and when I tried to log in again just now I didn't succed as the program said I have logged out of the system. My password is correct, I even changed it,
-
Error in creating a Merge Document
Hello, I am creating a merge document and want to use a numbers doc for the data source. I created the numbers document and Saved it. Then created the pages doc. Went to inspector and choose the link, browsed to my numbers doc, selected it, then clic
-
The overall capacity is supposed to be 8 gb, but on itunes it show much less storage space. What is the Reason????
-
Solaris8 : unable to qualify my own domain
This message appears sometimes , is there a patch to bearing to this messages or did you know a workarround ? Tks a lot . Best Rgards
-
Acrobat 9 Pro: Install Problem "not enough disk space"
Hi: I just bought and downloaded Acrobat Pro 9 from the Adobe site and took the following steps: 1) Uninstalled Acrobat Pro 7 & rebooted 2) expanded installation copy onto Desktop 3) Copied Install to CD 4) Installed and chose both "Typical" & "Compl