Messages posted by dammi
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icesoft.org  [Login] Login 
Messages posted by: dammi  XML
Profile for dammi -> Messages posted by dammi [16] Go to Page: 1, 2 Next 
Author Message
Is there an estimate on when this would be fixed?
Another problem:

When sending mail context.wrap() in the scheduleEmailSend method causes an error. Running in the debugger I can see that an InvocationTargetException is thrown
in line 175 in AsynchronousIceFacesMailProcessor.java.

This is the line
Code:
 facesContext.setResponseWriter(new HtmlResponseWriter(writer, "text/html", RIConstants.CHAR_ENCODING, false));
 


And the exception is wrapping
Code:
 java.lang.NoSuchMethodError: com.sun.faces.renderkit.html_basic.HtmlResponseWriter.<init>(Ljava/io/Writer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;)V
 


Any clues?

You are correct:)

I only looked in the normal seam api, and I didn't see that there was a separate doc for the org.jboss.seam.ui.

Thanks
The method renderChildren(FacesContext, UIViewRoot) is undefined for the type org.jboss.seam.util.JSF in version 2.0.2

HtmlResponseWriter cannot be resolved
RIConstants cannot be resolved
ViewHandlerImpl cannot be resolved
The imports

Code:
 import org.jboss.seam.ui.util.JSF;
 import com.sun.faces.RIConstants;
 import com.sun.faces.application.ViewHandlerImpl;
 import com.sun.faces.renderkit.html_basic.HtmlResponseWriter;
 


cannot be resolved.

There is a org.jboss.seam.util.JSF instead of the org.jboss.seam.ui.util.JSF, but this class hasn't got the method renderChildren which is used in line 112

Code:
 JSF.renderChildren(facesContext, root);
 
Can somebody help me with what I need to change in the
http://jira.icefaces.org/secure/attachment/11035/AsynchronousIceFacesMailProcessor.java
in order to get it to work with Seam 2.0.2.SP1?

Maybe somebody who has already got a working solution could just post the file.

thanks
Hi adnan,

I'm having the same problem when using the inputRichText.

The value is not getting set in the bean upon submit when there is an action on the button.

If I make a dummy button, without an action, and push it, the value is getting populated.
Can't get it to work. Maybe he didn't try to give wrong input, and see if the image did update.

In his icefaces example there is no validation tag?

Don't think the decorator template is causing the problem, as I'm not using it in the simple example I gave.
I'm reading the blog like this:

1.Copy the jcaptcha jar during the build

2. Add this to componest.xml
Code:
 <module>
 <ejb>lib/jcaptcha-all-1.0-RC6.jar</ejb>
 </module>
 


Otherwise do the same, as I'm already doing.

Is this really going to produce another CAPTCHA?
And I can't see that this should make a difference, as it uses the CAPTCHA validation incorporated in seam.
I'll do that. An example to copy and paste.

Code:
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
 <html
       xmlns="http://www.w3.org/1999/xhtml"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:s="http://jboss.com/products/seam/taglib" >
 	
 	<body>
 			
 			<h:form id="form">
 				
 				<h:graphicImage value="/seam/resource/captcha" />
 				<s:validateAll>
 					<h:inputText id="verifyCaptcha" value="#{captcha.response}" required="true" />
 				</s:validateAll>
 				
 				<div style="clear:both" />
 				
 				<h:commandButton id="signup" value="CAPTCHA" />
 				
 			</h:form>
 	</body>
 </html>


(Hope the above will show alright, preview just shows the tags)

I just created a richfaces project with seam-gen to test how it worked there. And the CAPTCHA image is updated after clicking the button, when the input field has wrong input.

Thank you.
I'm trying to use the CAPTCHA built into SEAM. However, on wrong input the CAPTCHA image is not reloading. How do I enable the reloading of the image?

I'm including the CAPTCHA as follows:

Code:
 <s:decorate id="captcha" template="layout/edit.xhtml">
   <ui:define name="label">
     <h:graphicImage value="/seam/resource/captcha" />
   </ui:define>
   <h:inputText id="verifyCaptcha" value="#{captcha.response}" />
 </s:decorate>
 



It works. That was easy:)

Now can I customize the control on the inputRichText? E.g. to a basic version like that on the http://www.fckeditor.net/demo/toolbar?toolbar=Basic

And in addition, can I save the text with my own button instead of the save control in the inputRichText?
No, I havn't. I just looked at the component showcase.

I'll take a look at it, and the new version.

Thank you.
I'm trying to get tinyMCE to work.

Unfortunately the property bound to the text field is not set with the content from tinyMCE.

How do I work around the property not getting set when I'm using ICEFaces and tinyMCE?
Yes I have.

In fact if I change the ice:selectInputDate to ice:textField with required="true" when I submit the form without having giving the field a value, it is displayed that this a value is required.

So it is only when I'm using the calendar that I have the problem.
 
Profile for dammi -> Messages posted by dammi [16] Go to Page: 1, 2 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team