JSP tags with java beans !! Design Help needed ..
Hi,
I have three tables State,District,College.
My requirement is to get the fields from three tables one time from the DB and populate them with the JSP(so that the DB connections will not be much).
For that :::
I have designed to have three Beans StateBean,DistrictBean and CollegeBean.
Every row in State table will be a StateBean and will be added to an ArrayList called StateBeanList
similarly I got two other lists DistrictBeanList and CollegeBeanList.
And I am using application.setAttribute() to send all the information to the JSP by using RequestDespatcher..
When I run the servlet on tomcat it is getting OutOfMemory Exception in java Heap..Can I increase the heap size on tomcat ?
Apart from increasing the heap size I want to know good design...
My actual requirement is::: in the forwared JSP I need to populate state text field and after selecting state field I need to get the district fileds populated in other text filed, by the value of district field I need to populate college field... we can see it many websites...
Please suggest me the good design..
Thanks in Advance,
Vidhya...
vidhya517 wrote:
I have three tables State,District,College.
My requirement is to get the fields from three tables one time from the DB and populate them with the JSP(so that the DB connections will not be much).
For that :::
I have designed to have three Beans StateBean,DistrictBean and CollegeBean.
Every row in State table will be a StateBean and will be added to an ArrayList called StateBeanList
similarly I got two other lists DistrictBeanList and CollegeBeanList.I would rather let StateBean have a Set<DistrictBean> property and let DistrictBean have a Set<CollegeBean> property. List instead of Set is also okay.
And I am using application.setAttribute() to send all the information to the JSP by using RequestDespatcher..
When I run the servlet on tomcat it is getting OutOfMemory Exception in java Heap..Can I increase the heap size on tomcat ?
Apart from increasing the heap size I want to know good design...How many states, districts and colleges do you have in total? What is your initial heap size? You can just alter it as startup parameters/arguments.
My actual requirement is::: in the forwared JSP I need to populate state text field and after selecting state field I need to get the district fileds populated in other text filed, by the value of district field I need to populate college field... we can see it many websites...
Please suggest me the good design..
Similar Messages
-
Can I programming smart labels (or tags) with java?
I have a question.
Can I programming smart labels (or tags) with java?
I am doing an investigation over smart tags or label, but I don't know how programming the tags or that lenguage i can use to write or read information in the tags.
please, help me....
contact me:
[email protected]
[email protected]There are 2 approches.
1. you can directly read and write through RFID Programmer or use a middleware. The RFID Programmer probably comes with a driver that you can only access from C. If you want to do it from Java, you will have to use native code. The problem with this approch is that you are tied to one particular hardware.
2. Use a RFID platform like the one Sun has.
http://wwws.sun.com/software/solutions/rfid/
Sun provides an API in Java and you can use the API in your application. The RFID platform supports multiple hardware and so will your application. -
Replace VBX Control with Java Bean
Hi All,
While compiling 6i forms in 10g I got this error of VBX Control (Obsolete)
The document says replace it with JavaBeans.
I don’t know how to replace a VBS Control with Java Bean but this is what I did, I selected the item type as Bean Area.
But the item do have a trigger
begin
control_lib.when_tab_changed(:control.tab_ctl)
end
The Package CONTROL_LIB is coded as below.
Will this code work, technically I think yes, but its always better to ask experts before I move this to test...
package body control_lib is
g_tab_id number := 0
procedure when_tab_changed
(p_tab_id number) is
l_err_txt varchar2(255);
begin
if :system.block_status != 'QUERY' then
if not good_quiet_post(l_err_txt) then
raise form_trigger_failure;
end if
end if
if p_tab_id = 0 then
rpt_ln_lib.new_tab;
elsif p_tab_id = 1 then
stat_lib.new_tab;
elsif p_tab_id = 2 then
per_acc_rl_lib.new_tab;
end if
g_tab_id := p_tab_id
exception
when form_trigger_failure then
:control.tab_ctl := g_tab_id
synchronize
end when_tab_changed
Thanks to all.
HabeebA Java bean is another technology than VBX control.
If some document says: Replace it with java bean it certainly means to use a similar java bean with a similar functionality.
I do not know a java bean, which runs VBX controls.
So you surely have to look at what yout VBX does an than to look after a proper java bean (or to write an own one). -
Need help with Java Beans and PDA
How can I get Java Bean applets to work on a PDA, with either Palm or Pocket PC?
first hit on google
thankyou for using the georgemc google proxy -
Problem with java beans and jsp on web logic 6.0 sp1
HI ,
I am using weblogic6.0 sp1.
i have problem with jsp and java beans.
i am using very simple java bean which stores name and email
from a html form.
but i am getting following errors:
Full compiler error(s):
D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:89:
cannot resolve symbol
symbol : class userbn
location: class jsp_servlet._savename2
userbn ud = (userbn) //[ /SaveName2.jsp; Line: 7]
^
D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:89:
cannot resolve symbol
symbol : class userbn
location: class jsp_servlet._savename2
userbn ud = (userbn) //[ /SaveName2.jsp; Line: 7]
^
D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:94:
cannot resolve symbol
symbol : class userbn
location: class jsp_servlet._savename2
ud = (userbn) java.beans.Beans.instantiate(getClass().getClassLoader(),
"userbn"); //[ /SaveName2.jsp; Line: 7]
^
3 errors
in which directory should i place java bean source file(.java file)
here is my jsp file:
<%@ page language = "java" contentType = "text/html" %>
<html>
<head>
<title>bean2</title>
</head>
<body>
<jsp:usebean id = "ud" class = "userbn" >
<jsp:setProperty name = "ud" property = "*" />
</jsp:usebean>
<ul>
<li> name: <jsp:getProperty name = "ud" property = "name" />
<li> email : <jsp:getProperty name = "ud" property = "email" />
</ul>
</body>
<html>
here is my bean :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
import java.io.*;
public class userbn implements Serializable
private String name ;
private String email;
public void setName(String n)
name = n;
public void setEmail(String e)
email = e;
public String getName()
return name;
public String getEmail()
return email;
public userbn(){}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pls help me.
Thanks
sravana.
You realy can do it like Xiang says, but the better way is to use packages. That's
the way BEA is designed for. If you use packages you can but your bean classes
in every subfolder beneath Classes. Here for example we have the subfolders test
and beans:
You have to declare the package on top of your Bean Source Code:
package test.beans;
In your JSP you don't need the import code of Xiang. You only have to refer the
path of your bean class:
<jsp:useBean id="testBean" scope="session" class="test.beans.TestBean" />
There are some other AppServers that only can deploy Java Beans in packages. So
if you use packages you are always on the right side.
ciao bernd
"sravana" <[email protected]> wrote:
>
>Thank you very much Xiang Rao, It worked fine.
>Thanks again
>sravana.
>
>"Xiang Rao" <[email protected]> wrote:
>>
>><%@ page import="userbn" language = "java" contentType = "text/html"
>>%> should
>>work for you.
>>
>>
>>"sravana" <[email protected]> wrote:
>>>
>>>HI ,
>>>
>>>I am using weblogic6.0 sp1.
>>>
>>>i have problem with jsp and java beans.
>>>
>>>i am using very simple java bean which stores name and email
>>>
>>>from a html form.
>>>
>>>but i am getting following errors:
>>>
>>>________________________________________________________________
>>>
>>>Full compiler error(s):
>>>D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:89:
>>>cannot resolve symbol
>>>symbol : class userbn
>>>location: class jsp_servlet._savename2
>>> userbn ud = (userbn) //[ /SaveName2.jsp; Line: 7]
>>> ^
>>>D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:89:
>>>cannot resolve symbol
>>>symbol : class userbn
>>>location: class jsp_servlet._savename2
>>> userbn ud = (userbn) //[ /SaveName2.jsp; Line: 7]
>>> ^
>>>D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:94:
>>>cannot resolve symbol
>>>symbol : class userbn
>>>location: class jsp_servlet._savename2
>>> ud = (userbn) java.beans.Beans.instantiate(getClass().getClassLoader(),
>>>"userbn"); //[ /SaveName2.jsp; Line: 7]
>>> ^
>>>3 errors
>>>
>>>____________________________________________________________
>>>
>>>in which directory should i place java bean source file(.java file)
>>>
>>>here is my jsp file:
>>>--------------------------------------------------------
>>>
>>><%@ page language = "java" contentType = "text/html" %>
>>><html>
>>><head>
>>><title>bean2</title>
>>></head>
>>><body>
>>><jsp:usebean id = "ud" class = "userbn" >
>>><jsp:setProperty name = "ud" property = "*" />
>>></jsp:usebean>
>>><ul>
>>><li> name: <jsp:getProperty name = "ud" property = "name" />
>>><li> email : <jsp:getProperty name = "ud" property = "email" />
>>></ul>
>>></body>
>>><html>
>>>
>>>-------------------------------------------------------------
>>>
>>>here is my bean :
>>>
>>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>>import java.io.*;
>>>
>>>public class userbn implements Serializable
>>>{
>>>
>>> private String name ;
>>>
>>> private String email;
>>>
>>> public void setName(String n)
>>> {
>>>
>>> name = n;
>>> }
>>>
>>> public void setEmail(String e)
>>> {
>>>
>>> email = e;
>>> }
>>>
>>> public String getName()
>>> {
>>>
>>> return name;
>>> }
>>>
>>> public String getEmail()
>>> {
>>>
>>> return email;
>>> }
>>>
>>> public userbn(){}
>>>}
>>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>>pls help me.
>>>Thanks
>>>sravana.
>>>
>>
>
-
Help with java beans on initialisation
hi
I'm trying to use java beans for the first time
I'm calling a bean from a JSP page; the bean will not exist when the page is first called
<jsp:useBean id="user" scope="session" class="business.User" />I want to use properties/private attributes of the user bean to make a form "sticky" on the page, so that once the user has entered something, their input is there the next time they visit the page (eg back or via an href)
The problem is that the bean creates a user on the first call with properties that are null, which means that "null" is displayed on my form when it first appears
<td><input type="text" name="firstName" value="<jsp:getProperty name ='user' property='firstName' />"></td>I can code this out using a scriptlet but this defeats the beauty of java beans and jsp tags. How do I translate a null property so that nothing is displayed on the form?
Thanks for your helpSo.. my mini-designer should be something like an editor,with a pallette with beans(like JavaBeans) and when a user is dragging a bean into a form,my applicaton should generate the code fr that bean....something like that :)
-
Hi,
I am creating a java bean in a jsp file. I want to pass this bean to a java class in the same jsp file.
eg:
A1.jsp
<jsp:useBean id="customer" class="com.Customer" scope="session"/>
<jsp:setProperty name="customer" property="*"/>
<% Teller teller=new Teller();
int custid=teller.addCustomer("customer");
%>
Teller.java
public class Teller
public int addCustomer(*C*ustomer pcus)
CustomerDb Cdb=new CustomerDb();
return Cdb.addCustomer(pcus);
CustomerDb.java
public class CustomerDb{
int customerid;
public int addCustomer(*C*ustomer pcus){
try{
some code....
When I try to compile Teller.java and CustomerDb.java it is giving error in the lines highlighted with bold.
Please help in this.Problem Description
You are getting
FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-105100.
When you run FileUpload utility
Solution Description
Follow the steps given below to fix and run the FileUpload Bean successfully.
Make sure you have set your System Path similar to following, in the same order:
System PATH:
E:\Dev6i\bin;E:\Dev6i\forms60\java;E:\jdk1.2.2\bin;E:\jdk1.2.2\jre\bin;
E:\jdk1.2.2\jre\bin\classic; %SystemRoot%\system32;%SystemRoot%;
%SystemRoot%\System32\Wbem;C:\Program Files\Oracle\JInitiator1.1.8.16\bin;.
CLASSPATH :
E:\dev6i\forms60\java;E:\dev6i\forms60\java\UploadServer.jar;
E:\jdk1.2.2\jre\bin\classic;E:\jdk1.2.2\jre\lib;E:\Dev6i\TOOLS\COMMON60\JAVA\IMPORTER.JAR;.
Now, Open Form Builder ->Layout Editor->Program menu->Import Java Classes
Check here to make sure that the FileUpload.class is displayed there under
Oracle/forms/demos/uploadclient folder.
Note that the java bean uses the implementation class
file oracle.forms.demos.uploadclient.FileUploader
So, you need to put the FileUploader.class in
<ORACLE_HOME>\FORMS60\java\oracle\forms\demos\uploadclient\FileUploader.class
or you need to change the oracle.forms.demos.uploadclient.FileUploader
in implementation Class property matching to
the class name where you have actually put it.
You need to set archive_jini=f60all_jinit.jar,uploadclient.jar.sig in formsweb.cfg
Open the fileupload.fmb, remove the attached Library.
Open the fileupload.pll from File->Open.
Recompile all the procedure and packages again.
Save this fileupload.pll.
Then reattach this library as a attached library to this form, recompile the form.
This should solve the problem.
If the path is set as explained above solves the PDEUI0001 problem of
Java Importer also.
Explanation
Reason:
This error occurs when the upload button is pressed in the File upload utility
because the attached PLL library is not compiled properly.
Please let me know if this helps.
Regards
Grant Ronald
Forms Product Management -
Hello All,
My problem is.. i have a JSP page in which i have a set of JobID, trainId and Crew.
I can have a multiple rows of jobid, trainid and crew as shown below.
I have to design a java bean for this JSP. One way is to have a get and set methods of all the fields of the JSP. But if i go with this approach there will be so many get and set methods defined for the same type of JobID.
Is it possible to make a object for each row.
if yes then please let me know how to go about it.
JobID TrainId Crew pickup dropOff
JobIDOne TrainIdOne CrewOne pickupOne dropOffOne
please help me out....
thanks and regards,
rajeshyou can look as this set of JobID, trainId and Crew as table's content
so you needn't write all of set and get method
just use table's api to operate.wish that's do it -
Okay... I am trying to solve this problem but no ideas are popping into my head. I will explain my current design and if anyone has any solutions please let me know. The design may need to be reworked.
Currently I have an index.html page split in 3 (A left and right, but the left frame has a top and bottom)
The left top frame has input boxes. I am sending that information to a servlet that creates a webpage to go into the bottom box.
Based on the information that the servlet recieves I also want to update the bottom left with an image dynamically.
Any ideas.... Should I use JSP in anyway ?
Thanks in advance.Use javascript to tell the bottom frame to reload,
getting the new imageOkay, someone at work told me this method... something like including the javascript inside the onload= of the HTML body tag of the right frame.. so when it loads the bottom left will reload. Can the bottom left page by a static HTML page, if so how will I change the picture. If I make it a jsp page or something I can just share a variable with the servlet ? -
How to configure multiple jsp files with diff beans in faces-config.xml??
Hi All,
I have 2 seperate jsp pages one is a login page and the other is the main application page.Now i am handling both the pages with seperate Bean class with respective setter and getter methods.How can i state the same in faces-config.xml file???..
Is the below way correct???
<?xml version='1.0' encoding='UTF-8'?>
<!-- =========== FULL CONFIGURATION FILE ================================== -->
<faces-config version="1.2"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
<managed-bean>
<managed-bean-name>LoginForm</managed-bean-name>
<managed-bean-class>useraccess.LoginForm</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<navigation-rule>
<from-view-id>/login.jsp</from-view-id>
<navigation-case>
<from-action>#{LoginForm.CheckValidUser}</from-action>
<from-outcome>success</from-outcome>
<to-view-id>/success.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-action>#{LoginForm.CheckValidUser}</from-action>
<from-outcome>fail</from-outcome>
<to-view-id>/fail.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<managed-bean>
<managed-bean-name>DSRApplication</managed-bean-name>
<managed-bean-class>DSRApplication.LoginForm</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<navigation-rule>
<from-view-id>/DSR.jsp</from-view-id>
<navigation-case>
<from-action>#{DSRApplication.checkValidDateInAllFields}</from-action>
<from-outcome>alldatasuccess</from-outcome>
<to-view-id>/success.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-action>#{DSRApplication.checkValidDateInAllFields}</from-action>
<from-outcome>datafail</from-outcome>
<to-view-id>/fail.jsp</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>Thanks in advance to all.
regards,
Viswanadh.Thanks ejp for the reply.
Since i am a beginner even i dont know the exact reason to answer you for why am i using JSP with Facelets.Kindly provide me the suggestion and valuable information you have so that i can learn.
Apart from this i want to know whether the way provided in that faces-config.xml is possible or do we have a way to make that possible???
regards,
Viswanadh. -
Problems with Java-Beans-Connectivity
Post Author: dweise
CA Forum: JAVA
I'm new in crystal reports and try to connect a sample bean class to the java beans conectivity. Problem is that i only get JavaServerType=JavaBeans|JavaBeanName= for selection. Can anyone tell me what the problem is with my configuration. I followed the steps of the POJOTutorial.doc and the Configuration-Infos of the java_beans_connectivity.My System is w2k professional and for Crystal Reports i use the developer installation with Product Version 11.5.0.313 Thanks by nowPost Author: pabhijit
CA Forum: JAVA
Could you send me the detailed steps and what point you are stucked.? I recently did something simillar and may be I would be able to help. -
HOWTO? Make JSP tags small in JDev Design
I use the JDev Design view to quickly navigate around my JSP pages. However the visual tags become huge and make it hard to use. Is there a way to make the visual tags small; Say show only the type of tag?
Thanks
ANot sure whether you have turned on the 'Execute Tag in Visual Editor' option in Manager Libraries dialog or not.
If you haven't turned that option on, then there is a way to just show the jsp tag name.
Go to Tools->Preference,
Select JSP and HTML Visual Editor
check the 'Show JSP Tag Name Only' option
Select OK.
Now, go to your jsp page and hit refresh and see whether this helps. -
Learning about Java Beans. Help!.
Hello all.
I want to learn to create and use JavaBeans, but not by where to begin.
Somebody can explain to me that it is a Java Bean and as is used.
Knows some site where it can see examples or it has a tutorial on Beans.
Thank you very much.Hi
I've just started learning Java too on my own. What I know about JavaBeans for the moment is that a JavaBean is a visual component you can create and give methods(setters and getters).
For example: JPanel, JLabel, JTextField, these are examples of JavaBeans, but you can also create them by yourself.
I use JBuilder 5 Enterprise from Borland. You can download JBuilder 6, trial version I belief from www.borland.com. I'm not certain.
How do I create JavaBeans in JBuilder?
First you have to create a new Project. Then you can go to the menu File/New and you choose to create a JavaBean. Then JBuilder asks for some information, which package, name, base class...
I've made a JavaBean, xJTextField. With each JTextField, ussually you also have a JLabel, so I've created a JavaBean xJTextField based on a JPanel. In that panel I've placed two components, a JTextField and a JLabel. I've added some methods and that's it. Now I can place an instance of xJTextField on every frame and automatically I have a JLabel and JTextField.
I have just begon too with Java, I hope I helped you a bit. If you would like it, I can send you my project with my JavaBean and some explanation.
Do you know some interesting websites about J2EE?
Rik -
Crystal report generation with Java Bean AS Data source on RAD
<p>Hi,</p><p> </p><p> Our company wants report generation in IBM RAD 7.0 using crystal reports with a Java Bean as data source. i HAVEN'T FOUND ANY ARTICLES TO WORK ON RAD. Any inputs appreciated..</p><p> </p><p>Thanks,</p><p>Manju</p>
Look for Java POJO in the doc, i'm using RAD 7.0 and it's working like RAD 6.0
-
Customize out-of-box taskflow with java bean.
Hi,
I have created a Taskflow Customization Appl. for changing out-of-the-box Profile (.jsff) pages. I create a Java bean under ‘ViewController’ project. I’ve tried to register the bean in either adfc-config.xml or faces-config.xml file. However, using EL in jsff pages to access the bean’s attribute give me errors. I referenced the bean's attribute by #{EmployeeBean.department} in .jsff file.
Where should I register the bean? What’s the difference between two config files?
<Jan 24, 2012 3:16:22 PM EST> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <ADF_FACES-00009> <Error processing viewId: /edit-basic/view1 URI: /oracle/webcenter/peopleconnections/profile/view/jsf/regions/ootbedit/editbasic.jsff actual-URI: /oracle/webcenter/peopleconnections/profile/view/jsf/regions/ootbedit/editbasic.jsff.
javax.el.PropertyNotFoundException: Target Unreachable, identifier ‘EmployeeBean' resolved to null
at com.sun.el.parser.AstValue.getTarget(Unknown Source)
at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)
adfc-config.xml:
<?xml version="1.0" encoding="windows-1252" ?>
<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
<managed-bean id="__3">
<managed-bean-name id="__1">EmployeeBean</managed-bean-name>
<managed-bean-class id="__4">WCTaskflowCustomization.model</managed-bean-class>
<managed-bean-scope id="__2">request</managed-bean-scope>
</managed-bean>
</adfc-config>
faces-config.xml:
<?xml version="1.0" encoding="windows-1252"?>
<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee">
<application>
<default-render-kit-id>oracle.adf.rich</default-render-kit-id>
</application>
<referenced-bean>
<referenced-bean-name></referenced-bean-name>
<referenced-bean-class></referenced-bean-class>
</referenced-bean>
<managed-bean>
<managed-bean-name>EmployeeBean</managed-bean-name>
<managed-bean-class>xxx.yyy.customization.view.Employee</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
</faces-config>
Employee.java
=========
package xxx.yyy.customization.view;
public class Employee {
public Employee() {
super();
private String userName;
private String department;
public void setUserName(String userName) {
this.userName = userName;
public String getUserName() {
return userName;
public void setDepartment(String department) {
this.department = department;
System.out.println("setDepartment():" + department);
public String getDepartment() {
System.out.println("getDepartment():" + department);
return "Informaton Technology";
Thanks a lot.Hi,
if you want to access the bean from within a bounded task flow then you configure it in the task flow definition. If the El accesses the bean from the unbounded task flow then you configure it in adfc-config.xml. When working with the ADF controller you don't use the faces-config.xml file for defining managed beans
Frank
Maybe you are looking for
-
Proxy to file using dynamic configuration
Hi Frnds, I have a scenario ABAP_Proxy-XI-File, here in the proxy I am getting a pdf file with xml as attachment now I need to save the pdf file to the target folder with the name availble in one of the fields of attached xml file. I have used Adapt
-
Unable to Edit territory structures in WEB UI on SAP 7.0 EHP1
Territory Descriptions are non editable fields for certain Business Roles and can be edited only by certain Busienss Roles on WEB UI. Territory Hierarchies and Levels are able to be created in GUI using TCode u201CCRMM_TERRMANu201D, but not editable
-
Field MWSKZ not filled in VBRP
Dear all, I would like to have the tax code field (MWSKZ) filled in VBRP. Now this field is left empty in my sales flow. On the purchase side (EKPO) this field is filled with the tax code. It would be important, because, afterwards, my Intrastat decl
-
Hi Does anyone know why I keep getting this "resolve" error The complier tells me "cart" cannot be resolved in the line below: <INPUT TYPE="button" name="Product" value="Add to Cart" onClick="<% cart.CartItem(StockID, productName, prodPrice);%>"></TD
-
My zoo application will not load in facebook
When I go to my zoo page on facebook, it will not load, says its done but wont load completely. I have followed all troble shooting instructions. nothing works. emptied cache, ran virus check in windows update. checked java, skye is the only version