What is Face Less Component?
Hi Friends,
I just wanna to know about Face Less Components in WebDynpro ABAP.
I have read the Sap Help documents but i cannot understand,
What is Faceless Components and what is the Use of that.
Regards,
Pradeep
Hi Pradeep,
The faceless WDA component is a component without any views,windows. It has only component controller and custom controller if any.
Use of faceless component:
Let us say we have a very complex requirement where in lot of components need to developed and integrated to work each other.
If there is a need to common data and attributes need to mapped and used in many components,
We separate the common data into a faceless component which just holds the common data / key data which can be used further e.g.: zwd_input_parameters
Now, we use this component inside other components ZWDA_SALES, ZWDA_PURCHASE and map the context using external mapping
If we want to re-use component with views & windows again and again in other components, it will be heavy component as it has graphical elements like views , windows in it.
So,faceless components com into picture without views/windows.
Hope this helps you
Regards,
Rama
Similar Messages
-
Tomcat warning - [ComponentRule]{faces-config/component}
Hi,
then i start the Tomcat (with my JSF app) in console i see the WARNING
23.08.2007 15:33:24 com.sun.faces.config.rules.ComponentRule end
WARNUNG: [ComponentRule]{faces-config/component} Merge(javax.faces.ViewRoot)
what is that? How to avoid it? Make i something wrong?It's letting you know that some other parsed faces-config.xml is providing an
override to the default component associated with the ViewRoot.
I believe add-ons like shale do this. -
WHAT ABOUT FACE TIME? I'D LIKE TO KNOW IF YOU NEED A PHONE NUMBER FOR YOURSELF TO USE IT TO CALL FROM YOUR COMPUTER
Do you have iMessage? I think as long as that person has iMessage you can use Face Time to call each other.
-
I am trying to create a declarative component with the following code:
<?xml version='1.0' encoding='UTF-8'?>
<af:componentDef xmlns:af="http://xmlns.oracle.com/adf/faces/rich" var="attrs" componentVar="comp" definition="private"
xmlns:afc="http://xmlns.oracle.com/adf/faces/rich/component">
<af:xmlContent>
<afc:component>
<afc:display-name>DoubleClickTableDialogClientServerListener</afc:display-name>
<afc:component-extension>
<afc:component-tag-namespace>org.mskcc.crdb.common.declarativecomponent</afc:component-tag-namespace>
<afc:component-taglib-uri>http://www.mskcc.org</afc:component-taglib-uri>
</afc:component-extension>
</afc:component>
<af:clientAttribute name="serverListenerType" value="TableDoubleClickEvent"/>
<af:clientListener method="handleTableDoubleClick" type="dblClick"/>
<af:serverListener type="TableDoubleClickEvent"
method="#{EditAddDialogTemplateBean.handleTableDoubleClick}"/>
</af:xmlContent>
</af:componentDef>
At runtime I recieve the following error:
javax.faces.view.facelets.FaceletException: ADF_FACES-60023:Component: DoubleClickTableDialogClientServerListenerComponent[oracle.adf.view.rich.component.fragment.UIXInclude$ContextualFacesBeanWrapper@7170a7, id=dctdcsl1] does not support client listeners.
at oracle.adfinternal.view.faces.facelets.rich.BaseClientListenerHandler.apply(BaseClientListenerHandler.java:53)
This component was intended to be dropped off within an af:table component. I would like to hear suggestions on workarounds, one other way I thought about was to create a code template for the three tags, however, the con to this approach is each developer would need to configure this template within jdeveloper. Ideas are appreciated.
Also a side question, how can I embed code properly with the new forum? [code] tag does not seem to work now.Wes, can't help with the real question, but can tell you how to format code
Change to the advanced editor (top right over the editor field), then you get more options. The one you are looking for is behind the blue '>>'. Here you select the language you want to insert and you get nice code formatting and color.
Timo -
How to add adf faces in component pallete of jdeveloper 11g?
how to add adf faces in component pallete of jdeveloper 11g?
Hi,
the replacement of ADF Faces HTML components in JDeveloper 11 is Trinidad. For existing applications, a migration path will be provided in JDeveloper 11 production. I wouldn't recommend configuring ADF Faces in JDeveloper 11.
You an configure ADF Faces Components in JDeveloper 11 by :
- Tools --> Manage Libraries
- Create a User Library
- select ADF Faces adf-faces-impl.jar
- Enure the namespace is not af or afh but something different to not cnflic with teh ADF Faces RC components
Note that adding the ADF Faces components to the component palette will not make them show in the ADF binding context menu nor will it automaticaly set up the web.xml file. The components are available as any other JSF library set
Again, I wouldn't go this way ;-)
Frank -
What is the standard component configuration for tuition fee reimbursement in sap webdynpro?
what is the standard component configuration for tuition fee reimbursement in advance claims in hrms in webdynpro?
Hi Debo,
What is your exact requirement?
Are you trying to find the standard configurations available for a webdynpro application? then, use t-code SE15 and open the application name and use the tree structure to find out the available configurations under WD application.
sample:
Regards,
Rama -
What is the application component no fico & asset
what is the application component no fico & asset
Can you explain your question?
Do you want to know where in the application component hierarchy you can find datasources for FICO and Asset ? -
What is page processor component
Hi friends,
Can anyone tell me whats the page processor component and what is abstract portal component , jspdyn page, dynpage and difference among each?
Thanks in advance.
Regards
Sireesha.Hi,
This give a good overview:
http://help.sap.com/saphelp_nw2004s/helpdata/en/68/ff3c41325fa831e10000000a1550b0/frameset.htm
AbstractPortalComponent is a Standard portal application.
DynPage/JSPDynPage(PageProcessorComponent) are HTMLB portal application
Also check this:
Abstract Portal Component VS Dynpage
Greetings,
Praveen Gudapati
[Points are welcome for helpful answers] -
TP 2 generates unknown ADF Faces RC component
JHeadstart 11g TP 2 generates an unknown ADF Faces RC component af:inputHidden when the Display Type of an item is set to Hidden in de JHS application definition.
fragment from generated jsff:
<af:inputHidden id="UserPreferencesuprfDummy" value="uprfDummy"/>
fragment from default/item/form/formHiddenField.vm:
<af:inputHidden #ITEM_ID_IN_FORM() #ITEM_VALUE_IN_FORM()/>
Furthermore, when inspecting the used template via JHS Application Definition Editor, I find that the FORM_HIDDEN_FIELD entry is listed 2 times under the Forms Items category.
Hope this feedback helps in wrapping up the production version of the promising 11g release.
(JDeveloper 11g build 5407, JHeadstart 11g TP2 build 46).
Regards,
EricFor further info and in case it helps with the debugging, we're finding that a JHS item defined as Display Type=hidden will generate this Trinidad tag in the JSFF file. tr:inputHidden No hidden fields are generated in the JSPX file.
As a workarond, we're changing these items to Display Type = textInput and Display in Form Layout and Display in Table Layout = "false." That generates an inputText item in the JSPX (not JSFF) file.
Peter -
ADF Faces menuTree component example
I am new to faces technology and I would appreciate if someone can give or point me to a demo creating and managing ADF faces menuTree component. How to dynamically create menus from SQL?
Regards, SimonHello,
an example of an ADF Faces Tree component you can find in SRDemoSample. It's used in SRManage.jspx
hope it helps you a bit, MenuTree should work similar.
Cheers, Stefan -
Unable to implement Programmatic ADF Faces Tree component in jdev 11g
I have referred to the posts " [Back to programming: Programmatic ADF Faces Tree component|http://one-size-doesnt-fit-all.blogspot.com/2007/05/back-to-programming-programmatic-adf.html] " and " [Follow-up: Programmatic ADF Faces Tree in JDev 11g|http://one-size-doesnt-fit-all.blogspot.com/2007/05/follow-up-programmatic-adf-faces-tree.html] ",
The first post showed how to construct the elements in the tree programmatically rather than relying on bindings (in JDeveloper 10.1.3)
and the second post tells the only difference in 11g .
I am trying to implement the elements of the tree programatically in Jdev 11g(specifically 11.1.1.0.2) but no result is coming .
There is no compilation/run time error , its just that the tree is not visible.
Can anyone suggest any key points which should be focussed during this implementation?Hi,
follow the description
http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html
to install the ADF Faces RC component demo in JDeveloper. It has a tree example. Have a look at their implementation and dapt it to your needs
Frank -
What does mean "2 component active for validations"?
Hi Gurus,
I want to activate cost center component in a controlling area(tcode okkp). So I want to know what does mean " 2 component active for validations", and the difference with " 1 component active". It seems that co document will not be created when I choose "2 component active for validations".
Thanks in advance,
--AlexHello Alexander,
1 - Active
CCA is active without limitation. Cost centers are validated against the cost center master. They can be used as account assignment objects. The CO files are updated on posting.
2 - Active for validations
CCA is not active. Cost centers are validated against the cost center master. The cost centers can be used as account assignment objects but the relevant CO files are not updated on posting. If CCA is implemented at a later date, you can subsequently post the cost-relevant business transactions in cost centers to the relevant CO files (OKBA, OKBB, OKBC).
So when you set the activation status to 1, you can post CO documents, and when you set the status to 2, co CO documents will be created but you can set CO objects on posting lines and these CO objects will be validated. This ensures, when you activate CCC at a later date, then these postings can be re-posted to CO.
Cheers,
Daniela -
What is CUSTOM CONTROLLER & COMPONENT CONTROLLER
hI ALL
1)what is CUSTOM CONTROLLER & COMPONENT CONTROLLER
GIVE DIFFRENCES AND ADVANTAGES OF EACH
REGARDS
BABUHi,
Custom Controllers -
A controller that can be defined by application development and used to share common data over several views. Custom controllers are defined for purposes that cannot be assigned to view controllers or component controllers, and serve as structuring element of a Web Dynpro application. Custom controllers use their context to communicate with their surroundings. They are used for manipulating data, or connecting to the back end.
Leaving content frame
Component Controllers-
Each Web Dynpro component contains exactly one component controller. This controller is automatically created during the component creation and contains a context, events, and methods. Unlike a view controller, the component controller is visible for all views in a component. This means, the controllers of different component views can access context elements or methods of the component controller. For this purpose, the component controller usage is automatically created for every view controller.
See this link for more details -
http://help.sap.com/saphelp_erp2005/helpdata/en/eb/e1cb5eea012b4481f8077c6023a70e/frameset.htm
The definitions explain the difference between these 2 types of controllers.
Hope this helps.
ashish -
Compare between component id in adf faces and component id in html.
Hi all,
[Oracle ADF Faces 11g]
When I design layout and set ID for ADF Component such as:
<af:inputText id="*itCalendar*" />
After I run and view HTML source, I saw:
<INPUT class=x25 id=*j_id_id7:itCalendar* name=*j_id_id7:itCalendar*/>
My question:
1. Why ID changed after I run ?
2. How to away: ID don't change ?
3. Why all atributes of Javascript attributes in adf faces 11 don't show? such as:
onchange
onclick
...etc.,
Can you help me, please?
thanks all.User,
1). The ID changes because your af:inputText is inside another component that is a naming container. the *j_id_id7 is the (apparently auto-generated) ID used by the naming container.
2). Don't put your component inside of a naming container (tongue-in-cheek, as that's usually not very possible). The best thing is to put ID's on all of your components, then you can know what the final ID in the HTML will be
John -
Binding to Faces Client Component (Tree view)
Hi experts,
I am trying to build a hierarchical tree and display it in a page.
The data I need to display is hierarchical.
/A
/B
/A/1/a
/A/2/k
/B/1
etc....
I need to display the above data in a tree format. I am using Rational Application Developer.
The problem is, I can t figure out in what way I have to store the data in the bean making it available to the page, and in what way I have to bind it to the faces tree - client component.
Please helpReference your UIData component in the a backing bean.
In the action event handler, for one of the columns,
you can call UIData.getRowData() and it will return the object
of the currently selected row data.
Maybe you are looking for
-
DVD Drive Module on Pismo sticks out of expansion bay. Any way to fix?
I just picked up a Pismo the other day and found a DVD drive for it on ebay, which works perfectly, but the drive sticks out of the expansion bay a little unless I put some pressure on the bottom or the top of the computer. Of course, when I release
-
Vulnerability identifier: APSB09-15
I have Adobe Acrobat Pro 6.0. I'm trying to determine if the critical vulnerability"Vulnerability identifier: APSB09-15" at http://www.adobe.com/support/security/bulletins/apsb09-15.html applies to my version. There are updates available but they
-
Cannot add ringtone - weird problem
So I'm running Mac OS Snow leopard, and iTunes 10.5 with an iPhone 4Gs. In iTunes' preferences I have sources / Ringtones checkbox checked. I have an .m4r ringtone that I created. When I drag this file into the iTunes library, the library gets the "g
-
How to pass dynamically generated string value as array name in TestStand?
Hi All, I have a string variable which holds an array name as its value. The string value is a dynamically generated one. Now my problem is how to retrieve the values within the array where as the array name is stored in a string variable.
-
I have lost my apple i pod touch . Apple id is [email protected] and serial no is CCQHGBT8DNQW .Is there any posibility of tracking my ipod .pleas help me to find my ipod. It is being used by some other person. Pleas help me and reply me to [email pr