AJAX supported in Oracel Portal ?
Dear all,
Can anyone suggest me some information on AJAX support in Oracle Portal ?
thanks
George (HK)
I am a self taught pl/sql programmer. My client's site does not have any custom JSP. We do everything in PL/SQL.
I created a httpxmlrequest powered page:
1) step one write or find a database query based script that accepts a string from the url and gives results based on that string. The example i used (phone lookup) took a string (ss) from the url and queried a table to find employee names that contained that string.
As the used types in letters the list shortens and zeros in on the desired result.
(In the code I created a two letter length minimum, so no data gets displayed till there is at lease two letters typed in.)
you can test this page by typing &ss='Yor' on the end of the url. It will return all the records that contain 'Yor' like Yorke.
I will leave it to you to build a query.
2) Place the query on a portal page, with no header graphics or any other elements. A naked page. I call this my data page.
3) Create a normal page with all your header and footer decorations. On this page place a item that calls the code that accepts the search string (ss) and calls the httpxmlrequest. It also displays the results of the data page into a div on this page. see paulyorke.com/ajax/ajax_sample.sql.rtf
When you run the page no results should show up till you lift your finger of the second character. A result list should show up.
Similar Messages
-
AJAX supported in Oracle Portal ?
Dear all,
Can anyone suggest me some information on AJAX support in Oracle Portal ?
thanks
George (HK)Duplicate Post:-
AJAX supported in Oracel Portal ? -
What is the best way to add AJAX support in an existing JSF application?
I've done some research and I found several options listed below:
1.Use JSF AJAX components like JBOSS RichFaces
2. Use Client JavaScript Library like DOJO
3. Use JavaScript directly
My question is what is the best way to do that?
And for approach 2, is it possible to mingle DOJO and JSF ?
Thanks a million for your answers.If you can't wait for JSF 2 GA or don't want to use beta, look at project Dynamic Faces. It looks like JSF 2 AJAX support was based on the Dynamic Faces project, so it should be easy to switch from DynaFaces to JSF 2.
-
Adding AJAX support for dynamically created panelGrid components
Hi everyone!
I would like to ask help from anyone who may have encountered similar problem before...
I have a panelGrid whose component is dynamically created by the backing bean. Here is my JSF code:
<h:panelGrid styleClass="panelGrid"
rowClasses="tsPanelGridRowClass" columns="8" cellpadding="0"
cellspacing="2" bgcolor="transparent" style="margin-left: 10px"
id="revCenterItemPanelGrid"
binding="#{pc_Touchscreen_pull_select_item.revCenterItemPanelGrid}">
</h:panelGrid>And here is the code for backing bean that adds content inside the panelGrid:
HtmlOutputText index = (HtmlOutputText) app.createComponent(HtmlOutputText.COMPONENT_TYPE);
index.setId("1");
index.setValue(String.valueOf(1));
index.setStyle("datagridtext");
revCenterItemPanelGrid.getChildren().add(index);On click of a button...
<a4j:commandButton value="Update"
styleClass="commandExButtonPou2" id="button1" reRender="revCenterItemPanelGrid"
actionListener="#{pc_Touchscreen_pull_select_item.doSortActionListener2}">
<f:attribute name="order" value="2"></f:attribute>
<f:attribute name="toggleState" value="off"></f:attribute>
</a4j:commandButton>the backing bean is supposed to update the value of the outputText
doSortActionListener2() {
HtmlOutputText index = (HtmlOutputText) app.createComponent(HtmlOutputText.COMPONENT_TYPE);
index.setId("2");
index.setValue(String.valueOf(2));
index.setStyle("datagridtext");
revCenterItemPanelGrid.getChildren().add(index);
}However, update doesn't seem to work. I have been successful in adding ajax support to a panelGrid that is not dynamically created but not for this one.
Has anyone encountered this error before? Any ideas?
Thanks in advance!Hi everyone!
I would like to ask help from anyone who may have encountered similar problem before...
I have a panelGrid whose component is dynamically created by the backing bean. Here is my JSF code:
<h:panelGrid styleClass="panelGrid"
rowClasses="tsPanelGridRowClass" columns="8" cellpadding="0"
cellspacing="2" bgcolor="transparent" style="margin-left: 10px"
id="revCenterItemPanelGrid"
binding="#{pc_Touchscreen_pull_select_item.revCenterItemPanelGrid}">
</h:panelGrid>And here is the code for backing bean that adds content inside the panelGrid:
HtmlOutputText index = (HtmlOutputText) app.createComponent(HtmlOutputText.COMPONENT_TYPE);
index.setId("1");
index.setValue(String.valueOf(1));
index.setStyle("datagridtext");
revCenterItemPanelGrid.getChildren().add(index);On click of a button...
<a4j:commandButton value="Update"
styleClass="commandExButtonPou2" id="button1" reRender="revCenterItemPanelGrid"
actionListener="#{pc_Touchscreen_pull_select_item.doSortActionListener2}">
<f:attribute name="order" value="2"></f:attribute>
<f:attribute name="toggleState" value="off"></f:attribute>
</a4j:commandButton>the backing bean is supposed to update the value of the outputText
doSortActionListener2() {
HtmlOutputText index = (HtmlOutputText) app.createComponent(HtmlOutputText.COMPONENT_TYPE);
index.setId("2");
index.setValue(String.valueOf(2));
index.setStyle("datagridtext");
revCenterItemPanelGrid.getChildren().add(index);
}However, update doesn't seem to work. I have been successful in adding ajax support to a panelGrid that is not dynamically created but not for this one.
Has anyone encountered this error before? Any ideas?
Thanks in advance! -
How to incorporate a Language that is not supported in Oracle Portal
Hi,
I want to know the preferred way to add support for a new language in Oracle Portal.
If a language is not supported in Oracle Portal, how I can add the content for that language in the Portal?
Please advise.
Best Wishes.I've seen this in a statement of direction presentation as an enhancement for R11. So this should be a R11 feature. In the meantime you might investigate the NLS views and tables and try to find a way to extend this. BUT just in an emergency case and you have to know that is not supported (also you may lose support in general for this installation when hacking the repository). So I cannot recommend this with a clear conscience. You have to know exactly what you're doing.
You can also open a SR to get an official statement from support. Maybe there's a note for this. -
Ajax support in jDeveloper 10.1.3.1 : Please reply
Hi Everyone,
I am supposed to use ADF faces and jDev for my upcoming project as we believe that ADF faces has lot of built in tags to support ajax behavior. But I found that most of the AJAX support is component based (for eg. change the values in one dropdown and values in 2nd drop down refresh).
My application however needs to show different sections (show/hide them as per the response) based on the response we get. For e.g.. , in first page 1st section is "Customer Search", 2nd section is empty search result and one more section say "section 3" which is showing some information, all these sections can be 3 different forms. In customer search section on the hit of "Search" button section 2 & 3 are replaced by new content.
Lets say If I use div then hide section 2 and 3 and replace them by 4 and 5.
Do I have features to implement this kind of behavior in jdev 10.1.3.1? If yes can someone refer me to relevant link?
expecting a reply....
Thanks in advance!!!You can use the af:switcher for this:
http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/switcher.html
Also see: http://technology.amis.nl/blog/?p=1211 -
Ajax Compatibility with Weblogic Portal 10.3.2
Hi,
I'm developing a POC for a large project. We plan to use Ajax functionality in weblogic portal 10.3.2 using Jsf portlets. I'm getting alot of compatibility issues using Jsf libraries like IceFaces or RichFaces. I've even removed the jsf bridge from the workshop and try to make it work but it throws alot of exceptions.
Is there any good Ajax library that works well in weblogic portal 10.3.2 environment ?
Oracle allows Jsf portlets to be created but does not provide any clear direction on Ajax compatibility. The base jsf components are not good enough to buid an enterprise level application.
DAMM .. dev2dev is also down.
Help would be appreciated.
Regards
Edited by: 787605 on Aug 10, 2010 10:28 AM
Edited by: 787605 on Aug 10, 2010 10:48 AMI worked through the document referenced in the previous post and I still cant get Open Faces ajax to work.
I keep getting
java.lang.ClassCastException: com.bea.portlet.container.ResourceRequestImpl cannot be cast to javax.servlet.http.HttpServletRequest errors.
The last thing I tried was to extract the javascript into a resources folder and declared it as a render dependency to the portlet, but that is giving me some issues too.
Another issue I get is Perm Gen out of memory about every 3 redeploys.
I know the library I am using uses a ton of AJAX for the cool form widgets it has, so rewriting the AJAX calls is not an option. -
Clarification on SSXA Support with WebCenter Portal
Hi,
I saw a few threads requesting on this and other forums requesting clarification of SSXA and WebCenter Portal.
To clarify: SSXA is not supported by WebCenter Portal.
Our recommended route is to leverage ADF based templates/Content Presenter for integrating WebCenter Portal,
WebCenter Content and Site Studio.
Thanks,
Ashish
Sr. Director, Product Management
Oracle WebCenter PortalHi Ashish,
Just for curiosity, there's some technical explanation for this?
I know that there's some conflicts in JavaScript functions from SSXA and Composer, there's some more problems already mapped?
Thks -
Ask the Experts Session on AJAX Support in the Java Platform -- June 19-23
Got a question about AJAX support in the Java Platform? Post it on the Ask the Experts page (http://java.sun.com/developer/community/askxprt/) during the week of June 19 and get answers from Sun experts Greg Murray, Mark Basler, and Carla Mott.
Perhaps this explains why Sun removed the crossposting ban from the site "Terms of Use"?
-
I am trying to solve this problem for days but couldn't find a proper solution. People suggested to use Ajax but I couldn't implement it. I have a jspf page in which I am using facelets. I have a form with input values and a button. When user clicks on the button I want to check the validation and give user a feedback.
<?xml version="1.0" encoding="UTF-8"?>
<div class="rave-layout" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
<f:subview id="webfilteroverview">
<webuijsf:form id="form1">
<tr>
<td>
<webuijsf:label for="textField1" text="#{msg.reports_request_name}"/>
</td>
<td colspan="2">
<webuijsf:textField binding="#{report.reportNameField}" columns="26" id="textField1" required="true"
style="margin-left:10px;" styleClass="textfield"/>
</td>
</tr>
<h:commandButton value="push" action="#{report.submitReportRequest}">
<f:ajax execute="@form1" render="@form1"/>
</h:commandButton>
report.java:
public void submitReportRequest() {
if(reportNameField!=null){
submitted=true;
but it is giving:
PWC6143: No tag "ajax" defined in tag library associated with uri "http://java.sun.com/jsf/core"
error. However I am using JSF 2.0 and as far as I know JSF 2.0 has Ajax support included. What am I doing wrong?lamostreta wrote:
People suggested to use Ajax but I couldn't implement it. Are you trying to use that as an argument for something?
I have a jspf page in which I am using facelets.Facelets replaces JSP technology, so you do NOT have a 'jspf' page. Know what and understand what you are using and communicate that clearly or you'll only cause confusion.
but it is giving:
PWC6143: No tag "ajax" defined in tag library associated with uri "http://java.sun.com/jsf/core"
error. However I am using JSF 2.0 and as far as I know JSF 2.0 has Ajax support included. What am I doing wrong?I believe that you think you are using JSF 2.0, but this error right here seems to hint that you are mistaken. Are you sure you don't have both JSF 1.2 and JSF 2.0 floating around on the classpath? -
How to add Ajax support to the dynamic UI componets.
Hi,
I am generating a dynamic table and want to add Ajax support to that table.
How I can do that?Hi,
In my appication, I am using Ajax with Myfaces (JSF 1.2) & Jboss 4.2.1.
I m generating a table having (couple of selectmenu) dynamically by using the binding attribute of <h:panelGrid> and made that table Ajaxed. When i select some item form the select menu its works fine with Myfaces (JSF 1.2) but when I switched to Sun RI implementaion I got "AjaxUpdate component not found for id: :fForm:null" as exception in the console. -
Apple TV (2nd gen) Support WiFi Captive Portals?
I can connect to the WiFi but cannot get to he Internet due to the WiFi captive portal. My iPhone/iPad connect fine. How can one do this via Apple TV? Btw, the provider doesn't support a MAC ACL. It's browser login or nothing.
Sorry, AppleTV does not support conncetion via a browser login.
-
Does OEM Grid Control 10g support monitoring Oracle Portal 10g?
Dear expert,
It seems OEM GC 10g could monitor WebCenter, Weblogic portal and even Websphere portal, but I could not find any info for Oracle Portal. So,
1. Does OEM GC support to monitor Oracle Portal 10g? If not, does it support Oracle Portal 11g?
2. If does not support Oracle Portal, then is there any workaround for it? E.g. if it’s feasible through “web appliation”?
Any comment and docs are welcome.
Thank you in advance.Hi Rob,
Thanks for your help.
BTW, I have another question for your reply, that what do u mean by “You can use Oracle Enterprise Manager to monitor and manage OracleAS Portal”?
Do you mean OEM AS Console or OEM GC? Boz I only find these metrics from OEM AS Console, which mentioned in this doc. http://download.oracle.com/docs/cd/B16240_01/doc/em.102/b25987/oracle_portal.htm#CHDFJHDD
If these metrics only available in AS Console, then how to let the OEM send out email notification if critical threshold is over?
Thank you.
Tony -
Import Support pack in Portal system with ESS & NWDI.
Hi ,
NW Portal system has the current support pack level of JAVA stack 11 which includes ESS business backages SAP_ESS 603 SP1, BP_ERP5***,BP_ERP5COM,BP_ERP5ESS, BP_ERP5HRA, BP_ERP5PSS 1.0 SP12. We are using NWDS for doing some customizing the ESS portal iViews configuration and transporting through NWDI tracks.
If we are upgrading the support pack for netweaver and portal, whether the business packages and the java stack needs to be go through JSPM or through NWDI transport?
At the same time we like to upgrade the SLD system which has only JAVA stack installed separately. What are the thing that we need to do in SLD before & after updating the support packages like CIM model, etc.
As we are having the JAVA stack NETWEAVER 7.0,Eventhough SOLMAN mopz decides the level of SP level, but is it good to go to EHP1 or stay in the current Netweaver 7.0 Java stack and our current ECC are going to be in the Netweaver 7.0 Java.
Thanks
JohnJohn,
If we are upgrading the support pack for netweaver and portal, whether the business packages and the java stack needs to be go through JSPM or through NWDI transport?
JSPM only
At the same time we like to upgrade the SLD system which has only JAVA stack installed separately. What are the thing that we need to do in SLD before & after updating the support packages like CIM model, etc.
May be you want to trigger data push manually once from all system to make sure if everything is working fine , other than this nothing
As we are having the JAVA stack NETWEAVER 7.0,Eventhough SOLMAN mopz decides the level of SP level, but is it good to go to EHP1 or stay in the current Netweaver 7.0 Java stack and our current ECC are going to be in the Netweaver 7.0 Java.
Its good to go with latest , but to be in sync with ECC you can continue with 7.0.
Regards, -
Hi All,
I can create support messages from ABAP systems and from solman using NOTIF_CREATE
Can any of the experts tell me how I can do it from a portal? Are there any available webdynpros or apps from SAP which we can use it? In case I have to develop a custom one, can some one guide me with any tips?
Thanks to all your suggestions!!Dear Jim,
From SAP Solution Mananger :
1. Start transaction SOLMAN_WORKCENTER
2. Go to "Incident Management" tab
3. In Common Task - click on New Message
Hope it help.
Best regards
P. Cuennet
Maybe you are looking for
-
Charged MBP doesn't turn on & charger is not lit up either
Hi all, thanks first of all to everyone who can possibly help me, it regards my shiny new December 2012 MBP 15'' retina. Here's the situation: - I unplugged my MBP - Then put it to sleep mode by closing it (then unplugged the mouse) - When I wanted t
-
After five years of problem free usage, my Logic Pro mixer pots have suddenly come down with palsy -- that is, jiggle up and down within a tiny range -- sometimes one, sometimes several, etc., no pattern that I've been able to grok. And any pot that
-
WMV Files Not Playing In Powerpoint For Mac 2011 (Lion OS)?
Hi guys! I recently upgraded to Lion (and I think I like it) BUT I have been putting together a Power Point presentation for work (I'm a University Lecturer) and trying to embed some movies with no luck... I insert the files and go to play them, but
-
Want to create multiple button based on no.of rows
sir, I have one table and it has two columns. First column has Title and second column has Yes / No My page should display the no.of buttons with tittle based on the creteria of Yes. For example I have 5 rows. second columns has Yes in 3 Rows and No
-
I can't hear sound but audiwaves are showing up
I recently had this problem. My program was working perfectly but one day, when I plugged my headset, there was absolutely no sound. What i don't understand is that the audiowaves are moving but I hear nothing. I tried: the bars and tones things, cha