Unable to get the output when i run any jsf page in adf
Hi,
I have created one jsf page to access the business components which i had created earlier after that when i drop the another panel splitter into the second facet of the initial panel splitter we created , I was unable to see in the workspace (.jpx) window.can you suggest me on this.
after done all the steps if I tried to run that page it starts the WLS servier and createda URL but the url is taking long time approx more that two hour and still not getting the required output only the loading window I can see.
Please suggest me on this.
Thanks
Chetan
Hi,
the panelSplitter should at least show in the Structure Window. So check if it is there. The runtime issue can be caused by the proxy settings. Go to Tools / Preferences --> Browser and Proxy and add localhost to the list of exclusion
If you are new to ADF I recommend running a tutorial like this: http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe11jdev/ps1/ria_application/developriaapplication_long.htm
Frank
Similar Messages
-
Unable to get the errorlogin.jsp to run correctly in a servlet.
I am attempting to read the users input using jsp and run the servlet LoginServlet to cross check the database to see if that are in the database. The problem i am having is that i can get the login working but am unable to get the errorlogin to run if the details are incorrect. Can anyone see where i have gone wrong? Thanks!
package Login;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;
public class LoginServlet extends HttpServlet {
@Override
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
try {
try {
Connection con = DBConnect.DbConnection.getConnection();
Statement st = con.createStatement();
String user = request.getParameter("t1");
String pass = request.getParameter("t2");
String strSQL = "SELECT username, password FROM users "
+ "WHERE username = '" + user + "' "
+ "AND password = '" + pass + "'";
ResultSet rs = st.executeQuery(strSQL);
String username, password;
HttpSession session = request.getSession();
while (rs.next()) {
username = rs.getString("username");
password = rs.getString("password");
if (user.equals(username) && pass.equals(password)) {
response.sendRedirect("next.jsp");
} else {
response.sendRedirect("errorlogin.jsp");
} catch (ClassNotFoundException cnfe) {
cnfe.getMessage();
} catch (SQLException sqle) {
sqle.getMessage();
}How do You ensure that an exception is raised? Do You see any info in log files?
Not sure if this helps but try:
response.sendRedirect(request.getConextPath()+"/errorlogin.jsp");In this case errorlogin.jsp should be put on the same level as WEB-INF directory is. -
Unable to get the data when capture the BOL object infomation.
Hello All.
I created a Z component.
In that component I created one View.
In that view i have the context node with BOL object - BTAdminH
In configuration also i am selecting the fields.
But I am unable to capture the data.
In that i write like
data: lr_ent type ref to CL_CRM_BOL_ENTITY.
lr_ent ?= me->typed_context->btadminh->collection_wrapper->get_current( ).
I write this code in the EDIT button event.
But lr_ent is not capture any value.
BTADMINH is there in the CTXT class.
In debugging GET_CURRENT( ) method
me->collection_ref->collection
is not having any value.
I do not know why it is not having any value.
When I am using value node it is working fine.
But when i am using BOL object at that time only it is not getting any value.
Can anybody give me suggision to solve this problem.
In stadard it is working fine.
How it is working in Stadard i did not understand.
Why it is not working in Z component.
How we can use BOL objets in Z components.
Please give me some solution.
Regards,
B. Krishna.Hi krishna
Is this a Z component to be used within a standard component?
->then you need to create a usage definition to this component from standard
->expose btadminh as public context through component controller
->create binding to the standard btadminh through the usage initialize method
then it should be okay
If the Z component is standalone , then create Root object BTorder and BTAdminH node should having a hierarchial relationship to this. Initialize BTOrder through cl_crm_bol_core methods. -
hi ppl, iam new to ooabap. I have coded a small report on ALV.But output is not getting displayed.
REPORT y_oops_alv.
TABLES : mara.
DATA: ls_toolbar TYPE stb_button.
DATA : itab LIKE STANDARD TABLE OF mara.
DATA : con TYPE REF TO cl_gui_custom_container,
e_object TYPE REF TO cl_gui_alv_grid,
grid TYPE REF TO cl_gui_alv_grid.
SELECT * FROM mara INTO TABLE itab .
MODULE STATUS_8000 OUTPUT
MODULE status_8000 OUTPUT.
SET PF-STATUS 'ZDEV'.
SET TITLEBAR 'xxx'.
CREATE OBJECT con
EXPORTING
PARENT =
container_name = 'CONT'
STYLE =
LIFETIME = lifetime_default
REPID =
DYNNR =
NO_AUTODEF_PROGID_DYNNR =
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
CREATE_ERROR = 3
LIFETIME_ERROR = 4
LIFETIME_DYNPRO_DYNPRO_LINK = 5
others = 6
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT grid
EXPORTING
I_SHELLSTYLE = 0
I_LIFETIME =
i_parent = con
I_APPL_EVENTS = space
I_PARENTDBG =
I_APPLOGPARENT =
I_GRAPHICSPARENT =
I_NAME =
EXCEPTIONS
ERROR_CNTL_CREATE = 1
ERROR_CNTL_INIT = 2
ERROR_CNTL_LINK = 3
ERROR_DP_CREATE = 4
others = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT e_object
EXPORTING
I_SHELLSTYLE = 0
I_LIFETIME =
i_parent = con
I_APPL_EVENTS = space
I_PARENTDBG =
I_APPLOGPARENT =
I_GRAPHICSPARENT =
I_NAME =
EXCEPTIONS
ERROR_CNTL_CREATE = 1
ERROR_CNTL_INIT = 2
ERROR_CNTL_LINK = 3
ERROR_DP_CREATE = 4
others = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL METHOD grid->set_table_for_first_display
EXPORTING
I_BUFFER_ACTIVE =
I_BYPASSING_BUFFER =
I_CONSISTENCY_CHECK =
i_structure_name = 'MARA'
IS_VARIANT =
I_SAVE =
I_DEFAULT = 'X'
IS_LAYOUT =
IS_PRINT =
IT_SPECIAL_GROUPS =
IT_TOOLBAR_EXCLUDING =
IT_HYPERLINK =
IT_ALV_GRAPHICS =
IT_EXCEPT_QINFO =
CHANGING
it_outtab = itab
IT_FIELDCATALOG =
IT_SORT =
IT_FILTER =
EXCEPTIONS
INVALID_PARAMETER_COMBINATION = 1
PROGRAM_ERROR = 2
TOO_MANY_LINES = 3
others = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDMODULE. "STATUS_8000 OUTPUTdata:it_mara type table of mara,
cont1 type scrfname value 'CONTAINER1',
custom_container1 type ref to cl_gui_custom_container,
grid1 type ref to cl_gui_alv_grid,
set screen 100.
*& Module PBO_100 OUTPUT
module PBO_100 output.
set pf-status 'MAIN100'.
if custom_container1 is initial.
perform select_table_mara.
CREATE OBJECT custom_container1
EXPORTING
PARENT =
container_name = cont1
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
CREATE_ERROR = 3
LIFETIME_ERROR = 4
LIFETIME_DYNPRO_DYNPRO_LINK = 5
others = 6.
CREATE OBJECT grid1
EXPORTING
i_parent = custom_container1
EXCEPTIONS
ERROR_CNTL_CREATE = 1
ERROR_CNTL_INIT = 2
ERROR_CNTL_LINK = 3
ERROR_DP_CREATE = 4
others = 5.
CALL METHOD grid1->set_table_for_first_display
EXPORTING
I_BUFFER_ACTIVE =
I_BYPASSING_BUFFER =
I_CONSISTENCY_CHECK =
I_STRUCTURE_NAME = 'MARA'
IS_VARIANT =
I_SAVE =
I_DEFAULT = 'X'
IS_LAYOUT =
IS_PRINT =
IT_SPECIAL_GROUPS =
IT_TOOLBAR_EXCLUDING =
IT_HYPERLINK =
IT_ALV_GRAPHICS =
IT_EXCEPT_QINFO =
IR_SALV_ADAPTER =
CHANGING
it_outtab = it_mara
IT_FIELDCATALOG =
IT_SORT =
IT_FILTER =
EXCEPTIONS
INVALID_PARAMETER_COMBINATION = 1
PROGRAM_ERROR = 2
TOO_MANY_LINES = 3
others = 4
endif.
endmodule. " PBO_100 OUTPUT
*& Module PAI_100 INPUT
text
module PAI_100 input.
case sy-ucomm.
when 'BACK'.
leave to screen 0.
when 'EXIT'.
leave to screen 0.
when 'CANCEL'.
leave to screen 0.
endcase.
clear sy-ucomm.
endmodule. " PAI_100 INPUT
*& Form select_table_mara
text
--> p1 text
<-- p2 text
form select_table_mara .
select * from mara into table it_mara up to 20 rows.
endform. " select_table_mara
i hope this is useful for you.
Mahesh -
How to get the id of my session in jsf page
hi
i saved the adress of an image in my session
i would like to get this adress in my jsf; the problem is that the key used to save my image is dynamic:it is the id of my session
my java code look like this:
HttpSession s=SessionUtil.getSession();
String adressePagesWeb=s.getServletContext().getRealPath("/")+"pages/";
s.setAttribute(s.getId(), adressePagesWeb+s.getId()+"piechart.png");and my jsf look like:
<h:graphicImage value="#{<%=request.getSession().getId()%>}" id="log"/>but this doesn't work
please help meNo, it doesn't work as you sayed ! every user has it's own session so you can give the same name for an attribute and it will be stored in the user session:
HttpSession s=SessionUtil.getSession();
String adressePagesWeb=s.getServletContext().getRealPath("/")+"pages/";
s.setAttribute("A_CHOOSEN_NAME", adressePagesWeb+s.getId()+"piechart.png");and for the picture you must keep the session id as a part of it's name ! -
Problem in getting the output.
I am able to get the output when i run the report program.But if i run the same program, via T-code ,its going back to the initial screen.
Any help/input regarding this is highly appreciated.
Thanks in advance.
Regards,
Boomahi,
follow the below procedure to create Tcode for Report
1) Go to SE93 and enter transaction name
2) Select 2nd radio button ie program and selection screen (report program)
3) Enter your report Program name in Program
4) Selection screen as 1000
5) Select SAP GUI for Windows checkbox
Reward points if it is helpful.
Regards,
Srilatha. -
I created a quiz.
Created an internal server on my compute rising a MAMP.
When I publish my quiz using the multi-file publishing options...
I am able to use both the "HTML" and the "swf" output files to complete a quiz and reporting the results to the quiz results analyzer.
However, I am unable to get the output .pdf field to reporting to the quiz results analyzer.
Any help? Would this issue have to do with the Acrobat Professional setting? Captivate setting? My internal server setting? or output fuel placement?
I tired to put the .pdf file in the same MAMP root folder location as my "internalserverreporting.php and internalserverread.php files.
Thanks for the help.Hello Varun,
You cqan submit the report as a JOB and export the out put to memory, once the job is complete you can read the list to display the output.
Cheers,
Mano
Cut & Paste form SAP help.
Submit report ....
EXPORTING LIST TO MEMORY
Does not display the output list of the called report, but saves it in ABAP memory and leaves the called report immediately. Since the calling program can read the list from memory and process it further, you need to use the addition ... AND RETURN . Also, since the called report cannot be requested for printing, the addition ... TO SAP-SPOOL is not allowed here. In addition, you must not assign a function code to the ENTER key in the current GUI status. The saved list is read from the SAP memory using the function module 'LIST_FROM_MEMORY' and can then be saved to the database using EXPORT, for example. You can process this list further with the function modules 'WRITE_LIST', 'DISPLAY_LIST' ... of the function group "SLST". -
I use symbolic links and program shortcuts as a way to easily open different Firefox profiles ie. one for casual/personal use and another for work. This works well, but I get the "Firefox is already running, but is not responding" error message if I try to open external links with FF as my default browser. FF is actually open and running fine, but I guess it doesn't acknowledge this fact because of how I'm originally starting the process.
I wasn't able to add the symbolically linked executables to the default program pane. Is there a way to bypass this error or other way to fix this?
The solution to the question linked below is what I'm using to open the different FF profiles.
http://superuser.com/questions/255312/pin-same-app-multiple-times-in-windows-7hello, this is probably happening when you run the default profile with the -no-remote switch.
http://kb.mozillazine.org/Profile_in_use -
'Remote' app requirements are stated as "software version 3.1.3 or later". I am running 4.2.1 and when I try to download it says 4.3 required.
OK, I understand that new versions make use of facilities that come with new versions of IOS, but there is/was a version that runs on 3.1.3 and therefore, I assume 4.2.1. Where can I get the (old) version that runs on my IOS?
The app store seems to ignore all legacy equipment owners, and want me to spend loadsa money to get the latest shiny toy. It probably makes business sense, but I dislike companies that take that approach. This is my first venture into smart phones, and I like the IOS interface, but I'm not sure I can afford the maintenance.The app store seems to ignore all legacy equipment owners, and want me to spend loadsa money to get the latest shiny toy. It probably makes business sense, but I dislike companies that take that approach.
This is standard for Apple. While there is little official mention of the software support lifespan for equipment, typical support has been about 4-5 years for computers. It strikes me that newer items, especially mobile devices, are not built as sturdily nor do they have the hardware upgrade capabilities required to keep up with newer systems. When we bought an iPhone 4S we were told by the person in the store we'd probably be looking at a newer model in two years. The iPhone 3G could be anywhere from 2 to 4 years old, putting it well into.
As for app availability, Apple typically pulls old software versions from its site when new versions appear. If it is a non-Apple app then I guess it is up to the vendor. It is indeed tiresome but it is not at all unusual. Since I only ever run used Macs, I download current versions even though my computer won't run them, stick them on a hard drive, then I have them when I upgrade to a newer used computer. If you run older equipment you have to learn a different mode of operation to exist with the Apple 'new and innovative' but 'forget about the old' philosophy. -
my mac is running 10.5.8, I bought a new Nano, itunes is prompting me to get the current itunes, but my mac will not take it, states I need 10.6.8. How do I get that? When I run a software update, system says there is none. Help
Click here, check that your computer meets the requirements, buy and install the DVD, and then run Software Update.
(73181) -
Unable to get the logon screen when i open the sapgui
Hi gurus,
I have recently installed SAP 4.7 R/3 enterprise with the necessary requirements and after installation i am unable to get the logon screen (i am just getting the navigation bar which cannot be accessd) when i start my sapgui logon.I am getting a message at the bottom of the screen program SAPMS380,i cannot find any client or userid or password screen so can anyone help me...i need the reply as quickly as possible.
Regards,
Arunwhen you first install a system you'll notice that on Windows environment it takes too much to present the logon window because it needs to compile a lot of programs.
What's the status on SAP MMC?
Do you get or net the logon window? that's not clear on your message.
cheers -
I cannot get the Output Module to work. I was able to get the button to show up, but when I click on it, nothing happens. i need to export a PDF asap. I am trying to export 33 PSD files in BRIDGE to a PDF like I used to do on my other computer with bridge.
Let's start with the general things.
When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
(1) Bypass Firefox's Cache
Use Ctrl+Shift+r to reload the page fresh from the server.
Alternately, you also can clear Firefox's cache completely using:
orange Firefox button (or Tools menu) > Options > Advanced
On the Network mini-tab > Cached Web Content : "Clear Now"
If you have a large hard drive, this might take a few minutes.
(2) Remove the site's cookies (save any pending work first). While viewing a page on the site, try either:
* right-click and choose View Page Info > Security > "View Cookies"
* Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
In the dialog that opens, you can remove the site's cookies individually.
Then try reloading the page. Does that help? -
I am trying to create a virtual engine within a timed while loop and am unable to get the loop to run at a speed of less than 1ms (I am currently using the Wait(ms) function). This does not however allow realistic engine speeds. How can I overcome this? I have access to a PCI-MIO-16E-4 board.
andyt writes:
> I am using a timed while loop and am unable to get the loop to run at
> a speed of less than 1ms (I am currently using the Wait(ms) function).
> How can I get a faster response?
>
> I am trying to create a virtual engine within a timed while loop and
> am unable to get the loop to run at a speed of less than 1ms (I am
> currently using the Wait(ms) function). This does not however allow
> realistic engine speeds. How can I overcome this? I have access to
> a PCI-MIO-16E-4 board.
Andy,
Unless you use a real time platform, getting extactly 1 ms loop rate
(or even less) is impossible. It starts getting troublesome at about
0.1 Hz for standard operating systems.
I'd tackle your problem with "if i mod 10 == 0 then sleep 1 ms".
Of
course this is jerky by design.
HTH,
Johannes Nie? -
I have iphone 6 plus (IOS 8.0.2). When i am connecting it to my Hyundai Grand i10 using Bluetooth and trying to call someone, unable to get the ringing sound. Sound comes only when the person receives a call.
Hello Mogulman46,
So what that means is when you have Do Not Disturb turned on, you may have an alert depending on the setting and how you are using your iPhone. So if it is set to Always, then that means that no matter what, your iPhone will not be notified. If it set to Only while the iPhone is locked, then that means that you will not get notification when your iPhone is locked but you will get notifications if your iPhone is being used. Also keep in mind the settings All Calls From can be set to certain contacts like Favorites, Everyone or no one. If you are using Do Not Disturb and you do not need it, then turn it off.
Use Do Not Disturb on your iPhone, iPad, or iPod touch
http://support.apple.com/kb/ht5463
Regards,
-Norm G. -
I have installed CS5 on a macbook pro 10.9.4. I am unable to get the updater to run to update applications to most current version. It tells me there was an error trying to download the update and to try again later.
Getting used to changes in the finder. I finally did see the Adobe Patch installer and am able to update applications individually. Should be able to attend to the main apps I use w/o further difficulty. Thnx for the help.
Maybe you are looking for
-
Problem with fireTableDataChanged in JTable
Hi everybody, i have a really frustrating problem with Jtable. I created a class to display the jtable and a class that extends AbstactTableModel to use as its model. I can update my table after a fireTableDataChanged method in the class that extend
-
Hi Friends, For free goods, system is not automatically determining during sales order creation. Free goods are determined only if manually entered in sales order with item category TANN. what configuration setting should be looked into? Thanks
-
Which is better Ipod Touch 5g or Ipad Air
I want an Ipod Touch 5g but my dad wants me to buy a Ipad because the screen is bigger and it has more benifits. Please tell me some benifets about the Ipod Touch 5g.
-
In IC_Auto business role Toolbar buttons not visible
Hi, In my project for IC_Auto role the buttons in the toolbar is not visible. we have not modified any thing to standard. Any notes to be updated ? With regards, selvam
-
Reg: XI - Message Monitoring
Hi! Gurus, This is Amar Srinivas Eli.I am workig on Production Support project. Here I got one issue related to Message Monitoring. Actually user send one information from Store Front Site to P31 R3 system via XI means XI Production System right