seam

How to deployee jboss seam 2.1.2 IN Jboss 7

喜夏-厌秋 提交于 2019-12-12 05:13:17
问题 Now I am using Jboss-seam 2.1.2 ,jsf 2.0 ,richfaces and jpa till now i am used jboss-as 4.2.2 now I want to migrate jboss-as-7.1.1.Final. so now i am make sampleDemo project using seam-gen using jboss- seam 2.1.2 and deplyed in jboss 7 finally I got one issue in jboss 7 its not allow <jta-data-source>sampleDemoDatasource</jta-data-source> its not allow in jboss7 changed to persistence.xml <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema

Picky on Getter/Setter name? JSF/Jboss Seam

这一生的挚爱 提交于 2019-12-12 02:27:28
问题 I'm working on a JBoss seam application (JSF 1.1 and MyFaces Tomahawk) which runs on tomcat 5.0.28. What is bugging me is that at times when i create a variable and the setter and getter for it they don't get picked up resutling in me getting errors like: javax.faces.el.PropertyNotFoundException: Bean: com.sportsMed.Util , property: mappingUID I have to try and change the Setter/Getter name repeatedly and test until it passes through without errors and this can be going through 5-6 different

Image uploader + crop

旧城冷巷雨未停 提交于 2019-12-12 02:17:07
问题 I'm running a web application built on Seam. I would like to have an image upload + crop component.Preferably on client side, so the image uploaded to the server would be the result of the crop. I read this can be made with Flash 10. I was thinking flex is also a possibility. Does anyone has good hints to give me, what component to choose or what is the best way to connect the backing bean I have with the flash/flex? Thank you! 回答1: A search for Flash uploaders shows many: From the

Seam conversation ending suddenly when using Redirect

社会主义新天地 提交于 2019-12-12 01:32:32
问题 Because I get some errors on conversations ending abruptly, I created in my project some test pages that reproduce the issue. The navigation takes place between pageA.xhtml and pageB.xhtml. Please tell me if I am using something in the wrong way. My configuration: Seam 2.2.0.GA WebLogic 10.3.2 (11g) Richfaces 3.3.2 JSF 1.2 Note: the same happens when using annotations to begin / end conversations ======= PAGE A @Name("pageaAction") public class PageaAction { @Out(required = false, scope =

JSF + Seam + a4j Triggering one component ajax from a different component event

怎甘沉沦 提交于 2019-12-11 23:23:26
问题 I wanted to ask just what title says: say we have a inputtext and a button. Well, I wanted to submit an ajax request in the inputtext when button is clicked. for example, from the inputtext perspective, I want to achive something like this: <h:inputtext> <a4j:support event="button.onclick"/> <h:inputtext> <h:button id="button"> or, from the button perspective: <h:inputtext id="input"/> <h:button id="button"> <a4j:support event="onclick" action="input.submit"/> </h:button> Don't know if there

Javamail: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException when sending mail from VPS

有些话、适合烂在心里 提交于 2019-12-11 15:25:54
问题 I have the following problem. I have a Seam web application which features e-mail composition and sending using Javamail. The application sends mail just fine in my local JBoss application server, but it doesn't work on the JBoss server installed in my myhosting.com VPS. I read that the issue may be because the web server or the URL to which I'm trying to connect does not have a valid certificate from an authorized CA, but I run an utility (http://cold-caffein.blogspot.com/2011/07/looks-like

How to disable javamail SSL support?

天涯浪子 提交于 2019-12-11 13:46:56
问题 I receive the following Exception while trying to send an email (using Seam) Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find vali d certification path to requested target at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:285) at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:191) at sun.security.validator.Validator.validate(Validator.java:218) at

How do I check if an <s:message /> has been set in JSF?

[亡魂溺海] 提交于 2019-12-11 09:56:51
问题 I have the following two files (JSF 1.2) to build a form: <!-- segment of form.xhtml --> <s:decorate template="edit.xhtml"> <h:inputText label="First Name" id="firstName" required="true" value="#{contactBean.firstName}"> <f:validateLength minimum="1" maximum="25"/> </h:inputText> </s:decorate> <!-- segment of edit.xhtml --> <s:validateAll> <ui:insert /> </s:validateAll> <h:graphicImage value="/images/errorIcon.png" rendered="#{when we have a message for this input}" /> <s:message /> In edit

How to make a pdf printout occupy the entire A4 page

陌路散爱 提交于 2019-12-11 07:51:49
问题 I use jboss seam iText module to generate a sample pdf file, which by default renders with a page magnification of 143%. When I take a print out, the output doesn't occupy the entire page though. What settings should I modify to make the print out use the entire sheet. 回答1: If seam-pdf is what your are using, settings for document size are in the <document> tag: <p:document type="pdf" pageSize="A4" orientation="portrait" margings="2cm, 2cm, 2cm, 2cm" disposition="attachment" title="Document

Does Seam produce an endless loop?

点点圈 提交于 2019-12-11 05:42:33
问题 I followed this tutorial to configure an application (generated by seam-gen) to use eclipselink instead of hibernate. After that the following messages appear in an endless loop after the first request from a browser ocurred. What could cause this behaviour? I was not able to find the source file which contains the string "Added Library from" to examine the issue with a debugger, any pointers are appreciated. INFO [Server] JBoss (MX MicroKernel) [4.3.0.GA_CP06 (build: SVNTag=JBPAPP_4_3_0_GA