[prev in list] [next in list] [prev in thread] [next in thread] 

List:       myfaces-dev
Subject:    [jira] [Commented] (MYFACES-3396) Make an helper class to configure
From:       "Charlie Mordant (Commented) (JIRA)" <dev () myfaces ! apache ! org>
Date:       2011-12-30 17:46:30
Message-ID: 1866539509.54223.1325267190681.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/MYFACES-3396?page=com.atlassian.jira.plugi \
n.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177710#comment-13177710 ] \


Charlie Mordant commented on MYFACES-3396:
------------------------------------------

Forget this, I just tested the injection on the servletConetxt and it's Ok ;).

Thank you so much!
                
> Make an helper class to configure Myfaces validator
> ---------------------------------------------------
> 
> Key: MYFACES-3396
> URL: https://issues.apache.org/jira/browse/MYFACES-3396
> Project: MyFaces Core
> Issue Type: New Feature
> Environment: equinox/Felix
> Reporter: Charlie Mordant
> 
> Hi,
> I made bean validation working well in an osgi environment. 
> The problem is that it need to export the validator 'by hand'.
> As myfaces detects Hibernate validator automatically detected Hibernate \
> implementation, I'm not able to wire these two framework. It would be cool to make \
> and helper class allowing to manually wire jsr 303 implementation and Myfaces. I \
> made an example of a running bean validation implementation in an osgi environment: \
> http://hudson.osgiliath.net/job/orthank-sample%20Tag/ws/ In order to compile, you \
> juste need to have maven 3 and run: mvn clean install -DskipTests=true (integration \
> tests are not stable for now). then, in order to launch run: mvn pax:provision \
> -Dframework=equinox (or -Dframework=felix) and point your browser to \
> http://localhost:8080/net.osgiliath.orthank-sample.java.web.simple_1.0.1.SNAPSHOT \
> You'll be able to say hello with web services. You can désactivate ws client \
> module to run it without ws. To test validation, try to enter an empty text in the \
> input, you'll be redirected to an error page. If Myfaces had this helper, a \
> validation message could be shown to the user. Regards, Charlie (tcharl on twitter, \
> cmordant1@gmail.com on gtalk) 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: \
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more \
information on JIRA, see: http://www.atlassian.com/software/jira

       


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic