NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
samk Posted via mailing list.
|
Posted: Sat Dec 26, 2009 2:39 am Post subject: Dynamic Faces AjaxZone Problem |
|
|
See Thread at: http://www.techienuggets.com/Detail?tx=8394 Posted on behalf of a User
i added the LIFECYCLE_ID and the PARTIAL thing as above but AjaxZone still doesn't work for me.
I read that there are some AjaxZone issues with woodstock ( which i am using ). Is that true?
In Response To:
Hi,
I was just attempting to do a basic test to see things running. I keep
seeing the following javascript error when I have a zone with just one text
field and one button. The error is generated even when I just place the
cursor in the text box.
renderView(null)com_sun_faces_aja... (line 809)
(no name)(XMLHttpRequest channel=[xpconnect wrapped nsIChannel],
null)com_sun_faces_aja... (line 782)
bind()prototype.js (line 6
respondToReadyState(4)prototype.js (line 815)
onStateChange()prototype.js (line 774)
bind()prototype.js (line 6
[Break on this error] var render =
components.getElementsByTagName('render');
The line in which the error occurs in com_sun_faces_ajax.js is:
var render = components.getElementsByTagName('render');
Here is the very basic jsp generated using NB 5.5.1 RC1, Visual Web Pack
5.5.1 and SWDP Version 2
<?xml version="1.0" encoding="UTF-8"?>
xmlns:jsfExt="http://java.sun.com/jsf/extensions/dynafaces"
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 binding="#{Page1.page1}" id="page1">
<webuijsf:html binding="#{Page1.html1}" id="html1">
<webuijsf:head binding="#{Page1.head1}" id="head1">
<webuijsf:link binding="#{Page1.link1}" id="link1"
url="/resources/stylesheet.css"/>
</webuijsf:head>
<webuijsf:body binding="#{Page1.body1}" id="body1"
style="-rave-layout: grid">
<webuijsf:form binding="#{Page1.form1}" id="form1">
<jsfExt:ajaxZone binding="#{Page1.ajaxZone1}"
id="ajaxZone1" style="height: 166px; left: 120px; top: 72px; position:
absolute; width: 502px; -rave-layout: grid">
<webuijsf:textField
binding="#{Page1.textField1}" id="textField1" style="left: 168px; top: 24px;
position: absolute"/>
<webuijsf:button binding="#{Page1.button1}"
id="button1" style="position: absolute; left: 240px; top: 96px" text="GO"/>
</jsfExt:ajaxZone>
</webuijsf:form>
</webuijsf:body>
</webuijsf:html>
</webuijsf:page>
</f:view>
</jsp:root>
This error happens even when I try to set the zone to render with
render="ajaxZone1"
Thanks, S.D.
--
<...> http://www.nabble.com/Dynamic-Faces-AjaxZone-Problem-tf3768406.html#a10653703
Sent from the Netbeans - Users mailing list archive at <...>. |
|
| Back to top |
|
 |
edburns00
Joined: 28 Dec 2009 Posts: 1
|
Posted: Mon Dec 28, 2009 3:30 am Post subject: |
|
|
Thank you very much for using Woodstock and DynaFaces. Unfortunately, DynaFaces is unsupported and I recommend you switch to JSF 2.0.
I'm sorry I can't be more helpful. I hope you can resolve your issue ultimately.
Sincerely,
Ed Burns |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|