Could not display Alert component in Visualweb JSP page
Hi All,
I am having difficulty getting the Ajax Autovalidation Alert Component to work in Netbeans Visualweb 6.5 on Windows XP with the following steps:
( i ) Set autoValidate attribute of firstnametextField and lastnametextField to "true" from property windows of Page1.jsp.
( ii ) Drag the Alert component of Page1.jsp and modified it's default id attribute to "form1:autoValidateAlert". Some how Netbeans change this attribute in the property window to "form1_autoValidateAlert" instead.
( iii ) Add notify="form1:autoValidateAlert" to Page1.jsp file for both firstnametextField and lastnametextField as follows:
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
<f:view>
<webuijsf:page id="page1">
<webuijsf:html id="html1">
<webuijsf:head id="head1">
<webuijsf:link id="link1" url="/resources/stylesheet.css"/>
</webuijsf:head>
<webuijsf:body id="body1" style="-rave-layout: grid">
<webuijsf:form id="form1">
<webuijsf:button actionExpression="#{Page1.button1_action}" binding="#{Page1.button1}" id="button1"
style="left: 130px; top: 144px; position: absolute" text="Submit"/>
<webuijsf:textField autoValidate="true" binding="#{Page1.firstNametextField}" columns="10" id="firstNametextField" label="First Name"
notify="form1:autoValidateAlert" required="true" style="left: 52px; top: 48px; position: absolute" text="#{SessionBean1.page1FirstName}"/>
<webuijsf:textField binding="#{Page1.middleNametextField}" columns="10" id="middleNametextField" label="Middle Name"
style="left: 47px; top: 71px; position: absolute" text="#{SessionBean1.page1MiddleName}"/>
<webuijsf:textField autoValidate="true" binding="#{Page1.lastNametextField}" columns="10" id="lastNametextField" label="Last Name"
notify="form1:autoValidateAlert" required="true" style="left: 53px; top: 94px; position: absolute" text="#{SessionBean1.page1LastName}"/>
<webuijsf:dropDown id="salutationdropDown" items="#{Page1.salutationdropDownDefaultOptions.options}" label="Salutation"
selected="#{SessionBean1.page1Salution}" style="left: 75px; top: 118px; position: absolute"/>
<webuijsf:alert id="autoValidateAlert" style="position: absolute; left: 96px; top: 216px"/>
</webuijsf:form>
</webuijsf:body>
</webuijsf:html>
</webuijsf:page>
</f:view>
</jsp:root>However, the Alert Component does not pop up after leaving First Name or Last Name text field blank prior to entering the field such as middlenametextField...
Your suggestion would appreciated.
Thanks,
Jack
timo
Please be patient and wait for an answer in the other thread...
how can i display the declarative components on the jsp page, am not able to diplay in runtime but can see decalarative components in design
Edited by: Tshifhiwa on 2012/06/26 8:26 PM
Similar Messages
-
Not displaying decalritive component in my jsp page
i delete my adf libarary jar in my deploy folder and it works fine,but now
not able to dislay decalartive components in my jsp page
hi i have decalarative components page which am calling from another jsp page,the thing is when irun my jsp page am not able to display my decalartve components but in design of my jsp page i can see my decalartive components
my decalaritive components xml is
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:f="http://java.sun.com/jsf/core">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<af:componentDef var="attrs" componentVar="comp" definition="public">
<af:panelGroupLayout id="dc_pgl1" inlineStyle="width:736px;" layout="horizontal" valign="middle"
halign="center">
<af:panelFormLayout id="dc_pfl1" rows="1" maxColumns="10"
inlineStyle="width:376px; height:33px; border-color:Navy; border-style:ridge;">
<af:commandLink text="Home" id="dc_cl1" action="Home"/>
<af:commandLink text="TaskPool" id="dc_cl2" action="toPool"/>
<af:commandLink text="LogOut" id="dc_cl3" action="logout"/>
<af:selectOneChoice label="Skin" id="dc_soc1" value="#{SkinHelper.currentSkin}">
<f:selectItems value="#{SkinHelper.currentSkin}" id="dc_si1"/>
</af:selectOneChoice>
<af:commandButton text="Select" id="dc_cb1" action="#{SkinHelper.switchSkin}"/>
</af:panelFormLayout>
</af:panelGroupLayout>
<af:xmlContent>
<component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
<display-name>SmscomponentDef</display-name>
<component-class>component.SmscomponentDef</component-class>
<component-extension>
<component-tag-namespace>component</component-tag-namespace>
<component-taglib-uri>/componentLib1</component-taglib-uri>
</component-extension>
</component>
</af:xmlContent>
</af:componentDef>
</jsp:root>
when i drag and drop my decalaritive components from my components platter i get the below xml in my jsp page
<sms:SmscomponentDef id="sd1"/>
reference
error running running application with decalaritive componentstimo
Please be patient and wait for an answer in the other thread...
how can i display the declarative components on the jsp page, am not able to diplay in runtime but can see decalarative components in design
Edited by: Tshifhiwa on 2012/06/26 8:26 PM -
Could not resolve mx:Component to a component implementation
Hi everyon
I am trying to add a ItemRender to a datagrid column but the following compilation error comes up..
Could not resolve <mx:Component> to a component implementation
I am actually using the exact same code as in this web http://www.adobe.com/devnet/flex/quickstart/using_item_renderers
Any ideas in what Im doing wrong?If you are using Flex 4, it is now fx:Component
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui -
Windows could not display the images available for installation
I am trying to perform unattended installation of windows which I created with Windows AIK. When I add answer file on USB's with windows installation root I get "windows could not display..." message. Problem is there even when there are just a
few simple lines (oobe, microsoft international core-WinPe).
I replaced install.wim file of standard windows installation iso with customized install.wim and then created catalog file with windows system image manager.
Kind people of world, please help!Hi bugili,
Could you help us post the complete error information, it will more helpful when we locate the issue. I am not quite understand “add answer file on USB's with windows
installation root”, do you mean the answer file and install file on the external device? Please try to confirm this image has the same Security permission with
others image in WDS image share folder, the WDS default image location is like
x:\RemoteInstall\Images.
If it not work please post the WDS error log,
How to enable logging in Windows Deployment Services (WDS) in Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, and in Windows Server 2012
http://support.microsoft.com/kb/936625/en-us
The simlar thread:
Windows could not display the images available for installation.
https://social.technet.microsoft.com/Forums/windowsserver/en-US/07fe03dd-9798-4583-8d0b-dc963c95434c/windows-could-not-display-the-images-available-for-installation?forum=winserversetupMore
information:
How to Add a Boot Image to WDS Server
https://social.technet.microsoft.com/wiki/contents/articles/11643.how-to-add-a-boot-image-to-wds-server.aspx
I’m glad to be of help to you!
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
DPM2010 - DPM could not enumerate application component ID:964 & ID:966
Got a DPM2010 server and trying to protect my sql server with 4 instances. 3 Instances will get protected. One instance gives the following messages and isn't visible in the modifying or creating a protection group. Messages are listed below. Anyone have
experience with this issue?
DPM could not enumerate application component MER1-SRV025\SCCM\master on protected computer mer1-srv025.zorg.local. (ID: 964)
DPM could not enumerate application component MER1-SRV025\SCCM\model on protected computer mer1-srv025.zorg.local. (ID: 964)
DPM could not enumerate application component MER1-SRV025\SCCM\msdb on protected computer mer1-srv025.zorg.local. (ID: 964)
DPM could not enumerate application component MER1-SRV025\SCCM\ReportServer$SCCM on protected computer mer1-srv025.zorg.local. (ID: 964)
DPM could not enumerate application component MER1-SRV025\SCCM\ReportServer$SCCMTempDB on protected computer mer1-srv025.zorg.local. (ID: 964)
DPM could not enumerate application component MER1-SRV025\SCCM\SMS_Z00 on protected computer mer1-srv025.zorg.local. (ID: 964)
DPM could not connect to SQL server instance MER1-SRV025\SCCM on the protected computer mer1-srv025.zorg.local. (ID: 966)
yours sincerly, Robin E. Turpijn Microsoft Manageabilty Specialist @ Wortell, Lijnden NL.Hi,
As this issue is related to DPM, I suggest discussing it in our DPM newsgroup. They are the best resource to troubleshoot this issue.
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.dataprotectionmanager
Tim Quan - MSFT -
The graph dose not shown after running the Customize JSP Page.
Hi All,
While creating customize JSP I am facing one problem - The graph dose not shown after running the Customize JSP Page.
What are the possibilities ? any body has any Idea Please help meHi all,
I have the same issue! Any solution??
Thanks
BI Beans Diagnostics(v1.0.2.0) 11/10/06
=========================================================
JDEV_ORACLE_HOME .......................... = D:\jdev1012b1913
JAVA_HOME ................................. = D:\ORDB10gR2Home\jdk
JDeveloper version ........................ = 10.1.2.1.0.1913
BI Beans release description .............. = BI Beans 10.1.2 Production Release
BI Beans component number ................. = 10.1.2.67.0
BI Beans internal version ................. = 3.2.2.0.24.2
Connect to database ....................... = Successful
JDBC driver version ....................... = 10.1.0.4.2
JDBC JAR file location .................... = D:\jdev1012b1913\jdbc\lib
Database version .......................... = 10.2.0.2.0
OLAP Catalog version ...................... = 10.2.0.2.0
OLAP AW Engine version .................... = 10.2.0.2.0
OLAP API Server version ................... = 10.2.0.2.0
BI Beans Catalog version .................. = 3.2.2.0.24
OLAP API JAR file version ................. = "10.1.0.5.0"
OLAP API JAR file location ................ = D:\jdev1012b1913\jdev\lib\ext
Load OLAP API metadata .................... = Successful
Number of metadata folders ................ = 1
Number of metadata measures ............... = 23
Number of metadata dimensions ............. = 8 -
I am trying to print a fillable form - - an application for a Chinese visa. It will not print and I get two error messages: "document could not be printed" and "there were no pages selected to print." The latter is not true. Won't print at all, the page I am on, nor any series of pages inserted.
Am using a MAC desktop and a Cannon PIXMA MX922 printer.
I need to print this form now that it is filled out? What can I do?Hello PW, I am having this problem and all suggestions haven't worked yet. Where is the Preferences|Documents you are referring to? I am on a PC and using Windows.
EDIT: I found it and did, but still not working. -
Has anybody found a fix to "The document could not be printed" and "There were no pages selected to print" error?
I am using a Mac and I'm running the latest versions of OS X 10.6.8 and Adobe 11.0.10 but I'm unable to print. I need REAL HELP not a suggestion or a get around! and NO print as an image doesn't work, nor do I see that as a fix!
Please help!Hello PW, I am having this problem and all suggestions haven't worked yet. Where is the Preferences|Documents you are referring to? I am on a PC and using Windows.
EDIT: I found it and did, but still not working. -
Displaying Crystal reports in a JSP Page
hello,
Can anybody help me out in displaying Crystal reports on a JSP page.
which needs to be deployed on weblogic server and oracle database.
i am new to crystal report and dont have much idea how to proceed.
if you can give me a pointer how to start then i can proceed.
waiting for the reply eagerlyStart with the Crystal reports site.
[url http://www.businessobjects.com/products/dev_zone/java/default.asp?ref=devzone_main] Java zone has some documentation and basic examples on how to do it -
OLE Objects are not displayed properly-overlap characters and empty page
I'm using CR4E 12 Runtime libraries to load and view reports that are created in CR designer v10. Some of the OLE Objects (not all) are not displayed properly.
1) A full page contains terms and conditions as ole object is not at all displayed and just shown as black image.
2) Some data in a table (OLE Object) shown as overlapped characters.
Any body know the reason and is there any workaround to solve this issue?
Thankyou very much for your time.Your problem seems to be with the character encoding you are using for your text. A quick google search for ColdFusion character encoding should turn up the answer. In case you are interested in learning more:
http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?cont ext=ColdFusion_Documentation&file=00001201.htm
Hope that helps!
- Michael -
Help!!! How to make quicktime plugin do not display on top of the web page?
Any one knows how to make quicktime plugin do not display on top of the web page??? I've tried to change the zIndex property using javascript, but it doesn't work.
Because we have some widgets which are required to be moved to anywhere on the page, we use iframe to implement that, so it can display on top of quicktime plugin, but the plugin flickers sometimes when we do some operation on the widget which is on top of it.
Anyone can helps me? Thanks in advance!!!
Windows XP Pro> Can you tell me how to set the script so that the
lightbox image is
> displayed
> on mouseover instead of mouse click.
Check the docs. Trent is usually very thorough in his
instructions.
Hint: I haven't studied it but it probably involves modifying
one of DW's
built-in Behaviors.
Walt
"ducati1" <[email protected]> wrote in
message
news:gkb906$qrd$[email protected]..
> Wow that DW extension is just what I needed.
> Thanks..
> Can you tell me how to set the script so that the
lightbox image is
> displayed
> on mouseover instead of mouse click.
> I currently have the thumbnails set to insert the ALT
text into a text box
> on
> mouse click.
> -
On startup of Thunderbird pop up window says "could not initialize security component"
Hi,
Starting up Thunderbird the following window suddenly pops up. No problem during the morning session.
Alert
"Could not initialize the application security component.
The most likely cause is problems with in your application's profile directory.
Please check that this directory has no read/writerestrictions. ETC"
I checked in the T / B profile folder.
"Certificate Mgr." window is empty (no listings).
So is the "Device Mgr." window.
I could not find the mentioned 'read/write' restriction.http://kb.mozillazine.org/Could_not_initialize_the_browser_security_component
-
SWF Player in AIR - not displaying window component and Popup ..?
Hi Friends.....
I have developed SWF Player in AIR,but getting some error when swf playing....
Popup or window components are not displaying properly when swf is playing ,
please give me a solution to solve this....?
i think swf playback taking high memory that why preventing new component creation ...right...?
Thanks..Hi Jim,
for application with application sandbox and for top-most html documents you could for example:
<script type="text/javascript">
function clicked()
if(window.runtime)
var app = window.runtime.flash.desktop.NativeApplication.nativeApplication;
if(app) app.exit();
return false;
</script>
<a href="#" onclick="clicked();">CLOSE</a>
or even:
if(window.nativeWindow)
window.nativeWindow.close();
I think this works without installing any additional javascript sources, see:
http://livedocs.adobe.com/flex/3/html/help.html?content=AboutHTMLEnvironment_4.html
kind regards,
Peter -
Date can not display correctly in excel from .jsp
Hi,
I create a .jsp report to export the data to excel. the report run OK, except the date field can not display correctly.
for example in database :start date ='01-oct-2003'
in the except it displays to 02/06/02.
It seem all the date field can not be control in the report, and control by somthing else
Doese anyone come accross this problem?
ThanksHi Rong,
Are you using the following demonstration to build your JSP?
http://otn.oracle.com/products/reports/htdocs/getstart/demonstrations/index.html
(Output to Excel with Oracle9i Report)
I tried to do the same, and inserted a database date field in the JSP using Reports. I found the following:
While making the template inside Excel, if I make sure that the format of the date cells is "Date" - some particular date format, the date field values from Reports does not get exported correctly.
However, if you make sure that inside the template, the format of the date cells is not date, but "General", then the date field values are correctly exported to Excel.
Pl try it and let us know.
Navneet. -
Could not resolve sparks component with Air 3.6 Beta
Description
Resource
Path
Location
Type
Could not resolve <s:SolidColor> to a component implementation.
ExpandingItemRenderer.mxml
/ProjectTest/src/renderers
line 59
Flex Problem
Could not resolve <s:State> to a component implementation.
ExpandingItemRenderer.mxml
/ProjectTest/src/renderers
line 33
Flex Problem
Could not resolve <s:State> to a component implementation.
ExpandingItemRenderer.mxml
/ProjectTest/src/renderers
line 34
Flex Problem
Could not resolve <s:Transition> to a component implementation.
ExpandingItemRenderer.mxml
/ProjectTest/src/renderers
line 38
Flex Problem
Could not resolve <s:Transition> to a component implementation.
ExpandingItemRenderer.mxml
/ProjectTest/src/renderers
line 47
Flex Problem
This is what i get with the latest Air 3.6 Beta SDK with a mobile project !
FB 4.7 shows the <mx:Transition> potential match but not the <s:Transition>. Its the same for all the other errors it shows the potential matches
Can someone provide a solution I even tried to add sparks.swc as external SWC but it doesn t work.I Still have theses errors :
Description
Resource
Path
Location
Type
Could not resolve <s:State> to a component implementation.
MessageBox.mxml
line 129
Flex Problem
Could not resolve <s:State> to a component implementation.
MessageBox.mxml
line 130
Flex Problem
Could not resolve <s:State> to a component implementation.
MessageBox.mxml
line 131
Flex Problem
Even if I added the spark.swc
But the other errors are gone !
Maybe you are looking for
-
Is There An App For That?
Just received my new iPhone 4S Friday. This is my first iPhone. I've been a Verizon customer for many years (GTE MobleNet) and this is the first time I been able to get an iPhone. Two quick app questions. I had the first Motorola Droid and instal
-
Getting a heap error while opening the BI Publisher Console login page
Hi, I have installed BI Publisher 10.1.3.4.2 on OC4J on Windows 7 OS and getting the following error on opening the BI Publisher Login Console. *2013-04-30 20:44:31.921 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page* *: Exception:oracle.jsp.p
-
I am connected to the internet but it keeps on dropping all the time, same with my email accounts. Other hardware is running well without any issues. I have gone through the Wi_Fi faultfinding tree but still the same. I have also spoken to a Apple
-
How to get the path of placed plugin location
hi all, I want to get the path of my placed plugin location in my custom plug-in code. supporse my custom plugin at : C:\Program Files\Adobe\Adobe Illustrator CS5.1\Plug-ins\MyCustomPlugin\MyCustomPlugin.aip Is any API is there that can tell me my pl
-
Saving a Form with a Different Name
I created a 2 forms in Adobe LiveCycle ES2 and saved it. I also opened it in Adobe Pro and extended the rights for end users to save the form. When a user inputs information into the text fields and tries to save it as a different name, the form do