[jira] [Commented] (EXTVAL-138) Make an helper class to configure Myfaces validator

2011-11-10 Thread Gerhard Petracek (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/EXTVAL-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13147765#comment-13147765
 ] 

Gerhard Petracek commented on EXTVAL-138:
-

hi charlie,

if you request this feature for myfaces-core (the jsf impl itself), you have to 
file the issue at https://issues.apache.org/jira/browse/MYFACES

regards,
gerhard

 Make an helper class to configure Myfaces validator
 ---

 Key: EXTVAL-138
 URL: https://issues.apache.org/jira/browse/EXTVAL-138
 Project: MyFaces Extensions Validator
  Issue Type: New Feature
  Components: Bean Validation
 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, cmorda...@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




[jira] [Commented] (EXTCDI-239) Expire RestScoped beans if it's used in different views

2011-11-10 Thread Gerhard Petracek (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/EXTCDI-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13147779#comment-13147779
 ] 

Gerhard Petracek commented on EXTCDI-239:
-

#1
please add more details about the big benefit compared to the view-scope 
(besides the support of jsf 1.2).
losing the state after a navigation in any case violates the idea of 
conversations and it's actually one of the biggest issues with the view-scope.

#2
we don't need RestParameters#isPostback.
we already have RequestTypeResolver#isPostRequest

#3
please add the reason for using // as separator - that's yet another new 
separator in the code-base

 Expire RestScoped beans if it's used in different views
 ---

 Key: EXTCDI-239
 URL: https://issues.apache.org/jira/browse/EXTCDI-239
 Project: MyFaces CODI
  Issue Type: Bug
  Components: JEE-JSF12-Module, JEE-JSF20-Module
Affects Versions: 1.0.2
Reporter: Marcus Büttner
Assignee: Mark Struberg
Priority: Minor

 I have to views (viewA and viewB) and both use the same model. If I change 
 the view from A to B via GET the old model should be expired.

--
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




Re: [VOTE] release of myfaces-builder-plugin 1.0.10

2011-11-10 Thread Leonardo Uribe
Hi

Note this vote is necessary to release myfaces core 2.0.10 and 2.1.4.
As soon as myfaces-builder-plugin be released, the release procedure
for core will start.

Leonardo

2011/11/8 Leonardo Uribe lu4...@gmail.com:
 +1

 2011/11/8, Leonardo Uribe lu4...@gmail.com:
 Hi,

 I was running the needed tasks to get the 1.0.10 release of Apache
 MyFaces Builder Plugin out.

 This release includes some changes necessary to build myfaces core 2.0.x
 and
 other improvements like:

 - MYFACES-3384 Cache lastModified info in myfaces-builder-plugin to
 prevent unnecessary executions
 - MYFACES-3381 Add @JSFFaceletFunction annotation
 - MYFACES-3282 Update myfaces-builder-plugin unpack goal to maven 3
 - MYFACES-3347 Improve web config param logging and enhance
 @JSFWebConfigParam

 Testing instructions are available at [3].

 Please note that this vote concerns all of the following parts:
  1. Maven artifact group org.apache.myfaces.buildtools artifact
 myfaces-builder-plugin v1.0.10 [1]
  2. Maven artifact group org.apache.myfaces.buildtools artifact
 myfaces-builder-annotations v1.0.9 [1]
  2. Maven artifact group org.apache.myfaces.buildtools artifact
 myfaces-plugin-parent v1.0.6 [1]

 The artifacts were deployed to a nexus repository ([1]).

 Please take a look at the 1.0.10 artifacts and vote!

 Please note: This vote is majority approval with a minimum of three
 +1 votes (see [3]).

 
 [ ] +1 for community members who have reviewed the bits
 [ ] +0
 [ ] -1 for fatal flaws that should cause these bits not to be released,
  and why..
 

 Thanks,
 Leonardo Uribe

 [1]
 https://repository.apache.org/content/repositories/orgapachemyfaces-167/org/apache/myfaces/buildtools/

 https://repository.apache.org/content/groups/staging/org/apache/myfaces/buildtools/
 [2] http://www.apache.org/foundation/voting.html#ReleaseVotes
 [3] http://wiki.apache.org/myfaces/BuilderPluginRelease1010




Re: [VOTE] release of myfaces-builder-plugin 1.0.10

2011-11-10 Thread Grant Smith
+1

On Thu, Nov 10, 2011 at 8:50 AM, Leonardo Uribe lu4...@gmail.com wrote:

 Hi

 Note this vote is necessary to release myfaces core 2.0.10 and 2.1.4.
 As soon as myfaces-builder-plugin be released, the release procedure
 for core will start.

 Leonardo

 2011/11/8 Leonardo Uribe lu4...@gmail.com:
  +1
 
  2011/11/8, Leonardo Uribe lu4...@gmail.com:
  Hi,
 
  I was running the needed tasks to get the 1.0.10 release of Apache
  MyFaces Builder Plugin out.
 
  This release includes some changes necessary to build myfaces core 2.0.x
  and
  other improvements like:
 
  - MYFACES-3384 Cache lastModified info in myfaces-builder-plugin to
  prevent unnecessary executions
  - MYFACES-3381 Add @JSFFaceletFunction annotation
  - MYFACES-3282 Update myfaces-builder-plugin unpack goal to maven 3
  - MYFACES-3347 Improve web config param logging and enhance
  @JSFWebConfigParam
 
  Testing instructions are available at [3].
 
  Please note that this vote concerns all of the following parts:
   1. Maven artifact group org.apache.myfaces.buildtools artifact
  myfaces-builder-plugin v1.0.10 [1]
   2. Maven artifact group org.apache.myfaces.buildtools artifact
  myfaces-builder-annotations v1.0.9 [1]
   2. Maven artifact group org.apache.myfaces.buildtools artifact
  myfaces-plugin-parent v1.0.6 [1]
 
  The artifacts were deployed to a nexus repository ([1]).
 
  Please take a look at the 1.0.10 artifacts and vote!
 
  Please note: This vote is majority approval with a minimum of three
  +1 votes (see [3]).
 
  
  [ ] +1 for community members who have reviewed the bits
  [ ] +0
  [ ] -1 for fatal flaws that should cause these bits not to be released,
   and why..
  
 
  Thanks,
  Leonardo Uribe
 
  [1]
 
 https://repository.apache.org/content/repositories/orgapachemyfaces-167/org/apache/myfaces/buildtools/
 
 
 https://repository.apache.org/content/groups/staging/org/apache/myfaces/buildtools/
  [2] http://www.apache.org/foundation/voting.html#ReleaseVotes
  [3] http://wiki.apache.org/myfaces/BuilderPluginRelease1010
 
 




-- 
Grant Smith - V.P. Information Technology
Marathon Computer Systems, LLC.


[jira] [Created] (TOBAGO-1048) Access keys doesn't work with webkit browsers

2011-11-10 Thread Udo Schnurpfeil (Created) (JIRA)
Access keys doesn't work with webkit browsers
-

 Key: TOBAGO-1048
 URL: https://issues.apache.org/jira/browse/TOBAGO-1048
 Project: MyFaces Tobago
  Issue Type: Bug
  Components: Themes
Affects Versions: 1.5.0-beta-2
Reporter: Udo Schnurpfeil
Assignee: Udo Schnurpfeil
Priority: Minor




--
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




Re: [VOTE] release of myfaces-builder-plugin 1.0.10

2011-11-10 Thread Gerhard Petracek
+1

regards,
gerhard

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces



2011/11/10 Grant Smith work.gr...@gmail.com

 +1


 On Thu, Nov 10, 2011 at 8:50 AM, Leonardo Uribe lu4...@gmail.com wrote:

 Hi

 Note this vote is necessary to release myfaces core 2.0.10 and 2.1.4.
 As soon as myfaces-builder-plugin be released, the release procedure
 for core will start.

 Leonardo

 2011/11/8 Leonardo Uribe lu4...@gmail.com:
  +1
 
  2011/11/8, Leonardo Uribe lu4...@gmail.com:
  Hi,
 
  I was running the needed tasks to get the 1.0.10 release of Apache
  MyFaces Builder Plugin out.
 
  This release includes some changes necessary to build myfaces core
 2.0.x
  and
  other improvements like:
 
  - MYFACES-3384 Cache lastModified info in myfaces-builder-plugin to
  prevent unnecessary executions
  - MYFACES-3381 Add @JSFFaceletFunction annotation
  - MYFACES-3282 Update myfaces-builder-plugin unpack goal to maven 3
  - MYFACES-3347 Improve web config param logging and enhance
  @JSFWebConfigParam
 
  Testing instructions are available at [3].
 
  Please note that this vote concerns all of the following parts:
   1. Maven artifact group org.apache.myfaces.buildtools artifact
  myfaces-builder-plugin v1.0.10 [1]
   2. Maven artifact group org.apache.myfaces.buildtools artifact
  myfaces-builder-annotations v1.0.9 [1]
   2. Maven artifact group org.apache.myfaces.buildtools artifact
  myfaces-plugin-parent v1.0.6 [1]
 
  The artifacts were deployed to a nexus repository ([1]).
 
  Please take a look at the 1.0.10 artifacts and vote!
 
  Please note: This vote is majority approval with a minimum of three
  +1 votes (see [3]).
 
  
  [ ] +1 for community members who have reviewed the bits
  [ ] +0
  [ ] -1 for fatal flaws that should cause these bits not to be released,
   and why..
  
 
  Thanks,
  Leonardo Uribe
 
  [1]
 
 https://repository.apache.org/content/repositories/orgapachemyfaces-167/org/apache/myfaces/buildtools/
 
 
 https://repository.apache.org/content/groups/staging/org/apache/myfaces/buildtools/
  [2] http://www.apache.org/foundation/voting.html#ReleaseVotes
  [3] http://wiki.apache.org/myfaces/BuilderPluginRelease1010
 
 




 --
 Grant Smith - V.P. Information Technology
 Marathon Computer Systems, LLC.




Re: [VOTE] release of myfaces-builder-plugin 1.0.10

2011-11-10 Thread Bernd Bohmann
-1
the filemyfaces-plugin-parent-1.0.6/src/site/apt/index.apthas no license.
I fixed it on trunk.
One question the NOTICE.txt of parent, myfaces-builder-annotations
andmyfaces-builder-plugin contains a oracle copyright is this
stillvalid?
Regards
Bernd
On Thu, Nov 10, 2011 at 8:03 PM, Gerhard Petracek
gerhard.petra...@gmail.com wrote:
 +1
 regards,
 gerhard

 http://www.irian.at

 Your JSF powerhouse -
 JSF Consulting, Development and
 Courses in English and German

 Professional Support for Apache MyFaces



 2011/11/10 Grant Smith work.gr...@gmail.com

 +1

 On Thu, Nov 10, 2011 at 8:50 AM, Leonardo Uribe lu4...@gmail.com wrote:

 Hi

 Note this vote is necessary to release myfaces core 2.0.10 and 2.1.4.
 As soon as myfaces-builder-plugin be released, the release procedure
 for core will start.

 Leonardo

 2011/11/8 Leonardo Uribe lu4...@gmail.com:
  +1
 
  2011/11/8, Leonardo Uribe lu4...@gmail.com:
  Hi,
 
  I was running the needed tasks to get the 1.0.10 release of Apache
  MyFaces Builder Plugin out.
 
  This release includes some changes necessary to build myfaces core
  2.0.x
  and
  other improvements like:
 
  - MYFACES-3384 Cache lastModified info in myfaces-builder-plugin to
  prevent unnecessary executions
  - MYFACES-3381 Add @JSFFaceletFunction annotation
  - MYFACES-3282 Update myfaces-builder-plugin unpack goal to maven 3
  - MYFACES-3347 Improve web config param logging and enhance
  @JSFWebConfigParam
 
  Testing instructions are available at [3].
 
  Please note that this vote concerns all of the following parts:
   1. Maven artifact group org.apache.myfaces.buildtools artifact
  myfaces-builder-plugin v1.0.10 [1]
   2. Maven artifact group org.apache.myfaces.buildtools artifact
  myfaces-builder-annotations v1.0.9 [1]
   2. Maven artifact group org.apache.myfaces.buildtools artifact
  myfaces-plugin-parent v1.0.6 [1]
 
  The artifacts were deployed to a nexus repository ([1]).
 
  Please take a look at the 1.0.10 artifacts and vote!
 
  Please note: This vote is majority approval with a minimum of three
  +1 votes (see [3]).
 
  
  [ ] +1 for community members who have reviewed the bits
  [ ] +0
  [ ] -1 for fatal flaws that should cause these bits not to be
  released,
   and why..
  
 
  Thanks,
  Leonardo Uribe
 
  [1]
 
  https://repository.apache.org/content/repositories/orgapachemyfaces-167/org/apache/myfaces/buildtools/
 
 
  https://repository.apache.org/content/groups/staging/org/apache/myfaces/buildtools/
  [2] http://www.apache.org/foundation/voting.html#ReleaseVotes
  [3] http://wiki.apache.org/myfaces/BuilderPluginRelease1010
 
 



 --
 Grant Smith - V.P. Information Technology
 Marathon Computer Systems, LLC.





Re: [VOTE] release of myfaces-builder-plugin 1.0.10

2011-11-10 Thread Gerhard Petracek
as i see: [1] doesn't have a license header. bernd fixed it with r1200467
- i've to take back my +1

regards,
gerhard

[1]
https://svn.apache.org/repos/asf/myfaces/myfaces-build-tools/tags/myfaces-plugin-parent-1.0.6/src/site/apt/index.apt

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


2011/11/10 Gerhard Petracek gerhard.petra...@gmail.com

 +1

 regards,
 gerhard

 http://www.irian.at

 Your JSF powerhouse -
 JSF Consulting, Development and
 Courses in English and German

 Professional Support for Apache MyFaces




 2011/11/10 Grant Smith work.gr...@gmail.com

 +1


 On Thu, Nov 10, 2011 at 8:50 AM, Leonardo Uribe lu4...@gmail.com wrote:

 Hi

 Note this vote is necessary to release myfaces core 2.0.10 and 2.1.4.
 As soon as myfaces-builder-plugin be released, the release procedure
 for core will start.

 Leonardo

 2011/11/8 Leonardo Uribe lu4...@gmail.com:
  +1
 
  2011/11/8, Leonardo Uribe lu4...@gmail.com:
  Hi,
 
  I was running the needed tasks to get the 1.0.10 release of Apache
  MyFaces Builder Plugin out.
 
  This release includes some changes necessary to build myfaces core
 2.0.x
  and
  other improvements like:
 
  - MYFACES-3384 Cache lastModified info in myfaces-builder-plugin to
  prevent unnecessary executions
  - MYFACES-3381 Add @JSFFaceletFunction annotation
  - MYFACES-3282 Update myfaces-builder-plugin unpack goal to maven 3
  - MYFACES-3347 Improve web config param logging and enhance
  @JSFWebConfigParam
 
  Testing instructions are available at [3].
 
  Please note that this vote concerns all of the following parts:
   1. Maven artifact group org.apache.myfaces.buildtools artifact
  myfaces-builder-plugin v1.0.10 [1]
   2. Maven artifact group org.apache.myfaces.buildtools artifact
  myfaces-builder-annotations v1.0.9 [1]
   2. Maven artifact group org.apache.myfaces.buildtools artifact
  myfaces-plugin-parent v1.0.6 [1]
 
  The artifacts were deployed to a nexus repository ([1]).
 
  Please take a look at the 1.0.10 artifacts and vote!
 
  Please note: This vote is majority approval with a minimum of three
  +1 votes (see [3]).
 
  
  [ ] +1 for community members who have reviewed the bits
  [ ] +0
  [ ] -1 for fatal flaws that should cause these bits not to be
 released,
   and why..
  
 
  Thanks,
  Leonardo Uribe
 
  [1]
 
 https://repository.apache.org/content/repositories/orgapachemyfaces-167/org/apache/myfaces/buildtools/
 
 
 https://repository.apache.org/content/groups/staging/org/apache/myfaces/buildtools/
  [2] http://www.apache.org/foundation/voting.html#ReleaseVotes
  [3] http://wiki.apache.org/myfaces/BuilderPluginRelease1010
 
 




 --
 Grant Smith - V.P. Information Technology
 Marathon Computer Systems, LLC.





Re: [VOTE] release of myfaces-builder-plugin 1.0.10

2011-11-10 Thread Leonardo Uribe
Ok, I'll fix the proposed artifacts and send another vote. Note that
some parts of myfaces-builder-plugin where taken from
trinidad-faces-plugin. I don't see any problem with that.

2011/11/10, Gerhard Petracek gerhard.petra...@gmail.com:
 as i see: [1] doesn't have a license header. bernd fixed it with r1200467
 - i've to take back my +1

 regards,
 gerhard

 [1]
 https://svn.apache.org/repos/asf/myfaces/myfaces-build-tools/tags/myfaces-plugin-parent-1.0.6/src/site/apt/index.apt

 http://www.irian.at

 Your JSF powerhouse -
 JSF Consulting, Development and
 Courses in English and German

 Professional Support for Apache MyFaces


 2011/11/10 Gerhard Petracek gerhard.petra...@gmail.com

 +1

 regards,
 gerhard

 http://www.irian.at

 Your JSF powerhouse -
 JSF Consulting, Development and
 Courses in English and German

 Professional Support for Apache MyFaces




 2011/11/10 Grant Smith work.gr...@gmail.com

 +1


 On Thu, Nov 10, 2011 at 8:50 AM, Leonardo Uribe lu4...@gmail.com wrote:

 Hi

 Note this vote is necessary to release myfaces core 2.0.10 and 2.1.4.
 As soon as myfaces-builder-plugin be released, the release procedure
 for core will start.

 Leonardo

 2011/11/8 Leonardo Uribe lu4...@gmail.com:
  +1
 
  2011/11/8, Leonardo Uribe lu4...@gmail.com:
  Hi,
 
  I was running the needed tasks to get the 1.0.10 release of Apache
  MyFaces Builder Plugin out.
 
  This release includes some changes necessary to build myfaces core
 2.0.x
  and
  other improvements like:
 
  - MYFACES-3384 Cache lastModified info in myfaces-builder-plugin to
  prevent unnecessary executions
  - MYFACES-3381 Add @JSFFaceletFunction annotation
  - MYFACES-3282 Update myfaces-builder-plugin unpack goal to maven 3
  - MYFACES-3347 Improve web config param logging and enhance
  @JSFWebConfigParam
 
  Testing instructions are available at [3].
 
  Please note that this vote concerns all of the following parts:
   1. Maven artifact group org.apache.myfaces.buildtools artifact
  myfaces-builder-plugin v1.0.10 [1]
   2. Maven artifact group org.apache.myfaces.buildtools artifact
  myfaces-builder-annotations v1.0.9 [1]
   2. Maven artifact group org.apache.myfaces.buildtools artifact
  myfaces-plugin-parent v1.0.6 [1]
 
  The artifacts were deployed to a nexus repository ([1]).
 
  Please take a look at the 1.0.10 artifacts and vote!
 
  Please note: This vote is majority approval with a minimum of three
  +1 votes (see [3]).
 
  
  [ ] +1 for community members who have reviewed the bits
  [ ] +0
  [ ] -1 for fatal flaws that should cause these bits not to be
 released,
   and why..
  
 
  Thanks,
  Leonardo Uribe
 
  [1]
 
 https://repository.apache.org/content/repositories/orgapachemyfaces-167/org/apache/myfaces/buildtools/
 
 
 https://repository.apache.org/content/groups/staging/org/apache/myfaces/buildtools/
  [2] http://www.apache.org/foundation/voting.html#ReleaseVotes
  [3] http://wiki.apache.org/myfaces/BuilderPluginRelease1010
 
 




 --
 Grant Smith - V.P. Information Technology
 Marathon Computer Systems, LLC.






[jira] [Resolved] (TRINIDAD-2156) Enhancements to the upload framework to support multiple files

2011-11-10 Thread Scott O'Bryan (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/TRINIDAD-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Scott O'Bryan resolved TRINIDAD-2156.
-

   Resolution: Fixed
Fix Version/s: 2.0.2-core

 Enhancements to the upload framework to support multiple files
 --

 Key: TRINIDAD-2156
 URL: https://issues.apache.org/jira/browse/TRINIDAD-2156
 Project: MyFaces Trinidad
  Issue Type: Improvement
  Components: Components
Affects Versions: 2.0.2-core
 Environment: linux x86
Reporter: Kentaro Kinebuchi
Assignee: Scott O'Bryan
 Fix For: 2.0.2-core

 Attachments: ER10348530-trinidad.patch


 The attached patch file contains several enhancements to the upload framework:
 1. Support the ability to configure the maximum file size which can be 
 uploaded. There is currently a parameter 
 org.apache.myfaces.trinidad.UPLOAD_MAX_DISK_SPACE which controls how large 
 the request can be. However, a request can potentially include multiple files 
 so this parameter is insufficient. Add a new parameter called 
 org.apache.myfaces.trinidad.UPLOAD_MAX_FILE_SIZE.
 2. Enhance UploadedFiles to be able to support multiple files. Currently, 
 FileUploadConfiguratorImpl already supports parsing multiple files in a 
 single request but UploadedFiles does not contain the necessary APIs to grab 
 those files. Add the new methods:
 public ListUploadedFile getUploadedFileList(String name)
 public MapString, ListUploadedFile getUploadedFileMap()
 3. Add the ability to upload multiple files across requests. The upload 
 framework currently disposes of all the uploaded files in a request once the 
 request completes. This means that it is unable to support the behavior of 
 some of the newer upload frameworks which upload files across several 
 requests which enables monitoring of individual file upload progress, retry, 
 cancel, etc. Enable this ability by being able to specially denote multiple 
 file uploades across several requests and save those in the Session so they 
 persist across requests. Add the new APIs below to UploadedFiles:
 static public UploadedFiles getSessionUploadedFiles(FacesContext context)
 public static void retrieveSessionUploadedFiles(ExternalContext context, 
 String name)
 getSessionUploadedFiles() simply returns all the files currently in the 
 Session. retrieveSessionUploadedFiles() will retrieve and remove all the 
 files in the Session and is meant to be called once we have uploaded all the 
 files and are ready to make them available to Faces lifecycle.
 4. Update FileUploadConfiguratorImpl to support the additional processing of 
 multiple files uploaded across requests. Those files will have a parameter 
 called org.apache.myfaces.trinidad.UploadedFiles which will have the value 
 of multipleAdd or multipleDelete depending on whether we want to add 
 files to the session or delete them.

--
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




[VOTE] release of myfaces-builder-plugin 1.0.10

2011-11-10 Thread Leonardo Uribe
Hi,

I was running the needed tasks to get the 1.0.10 release of Apache
MyFaces Builder Plugin out.

The file with the missing license header was fixed.

This release includes some changes necessary to build myfaces core 2.0.x and
other improvements like:

- MYFACES-3384 Cache lastModified info in myfaces-builder-plugin to
prevent unnecessary executions
- MYFACES-3381 Add @JSFFaceletFunction annotation
- MYFACES-3282 Update myfaces-builder-plugin unpack goal to maven 3
- MYFACES-3347 Improve web config param logging and enhance @JSFWebConfigParam

Testing instructions are available at [3].

Please note that this vote concerns all of the following parts:
 1. Maven artifact group org.apache.myfaces.buildtools artifact
myfaces-builder-plugin v1.0.10 [1]
 2. Maven artifact group org.apache.myfaces.buildtools artifact
myfaces-builder-annotations v1.0.9 [1]
 2. Maven artifact group org.apache.myfaces.buildtools artifact
myfaces-plugin-parent v1.0.6 [1]

The artifacts were deployed to a nexus repository ([1]).

Please take a look at the 1.0.10 artifacts and vote!

Please note: This vote is majority approval with a minimum of three
+1 votes (see [3]).


[ ] +1 for community members who have reviewed the bits
[ ] +0
[ ] -1 for fatal flaws that should cause these bits not to be released,
 and why..


Thanks,
Leonardo Uribe

[1] 
https://repository.apache.org/content/repositories/orgapachemyfaces-174/org/apache/myfaces/buildtools/
   
https://repository.apache.org/content/groups/staging/org/apache/myfaces/buildtools/
[2] http://www.apache.org/foundation/voting.html#ReleaseVotes
[3] http://wiki.apache.org/myfaces/BuilderPluginRelease1010


[VOTE] release of myfaces-builder-plugin 1.0.10 (again)

2011-11-10 Thread Leonardo Uribe
Hi,

I was running the needed tasks to get the 1.0.10 release of Apache
MyFaces Builder Plugin out.

The file with the missing license header was fixed.

This release includes some changes necessary to build myfaces core 2.0.x and
other improvements like:

- MYFACES-3384 Cache lastModified info in myfaces-builder-plugin to
prevent unnecessary executions
- MYFACES-3381 Add @JSFFaceletFunction annotation
- MYFACES-3282 Update myfaces-builder-plugin unpack goal to maven 3
- MYFACES-3347 Improve web config param logging and enhance @JSFWebConfigParam

Testing instructions are available at [3].

Please note that this vote concerns all of the following parts:
 1. Maven artifact group org.apache.myfaces.buildtools artifact
myfaces-builder-plugin v1.0.10 [1]
 2. Maven artifact group org.apache.myfaces.buildtools artifact
myfaces-builder-annotations v1.0.9 [1]
 2. Maven artifact group org.apache.myfaces.buildtools artifact
myfaces-plugin-parent v1.0.6 [1]

The artifacts were deployed to a nexus repository ([1]).

Please take a look at the 1.0.10 artifacts and vote!

Please note: This vote is majority approval with a minimum of three
+1 votes (see [3]).


[ ] +1 for community members who have reviewed the bits
[ ] +0
[ ] -1 for fatal flaws that should cause these bits not to be released,
 and why..


Thanks,
Leonardo Uribe

[1] 
https://repository.apache.org/content/repositories/orgapachemyfaces-174/org/apache/myfaces/buildtools/
 
https://repository.apache.org/content/groups/staging/org/apache/myfaces/buildtools/
[2] http://www.apache.org/foundation/voting.html#ReleaseVotes
[3] http://wiki.apache.org/myfaces/BuilderPluginRelease1010


Re: [VOTE] release of myfaces-builder-plugin 1.0.10 (again)

2011-11-10 Thread Leonardo Uribe
+1

2011/11/10 Leonardo Uribe lu4...@gmail.com:
 Hi,

 I was running the needed tasks to get the 1.0.10 release of Apache
 MyFaces Builder Plugin out.

 The file with the missing license header was fixed.

 This release includes some changes necessary to build myfaces core 2.0.x and
 other improvements like:

 - MYFACES-3384 Cache lastModified info in myfaces-builder-plugin to
 prevent unnecessary executions
 - MYFACES-3381 Add @JSFFaceletFunction annotation
 - MYFACES-3282 Update myfaces-builder-plugin unpack goal to maven 3
 - MYFACES-3347 Improve web config param logging and enhance @JSFWebConfigParam

 Testing instructions are available at [3].

 Please note that this vote concerns all of the following parts:
  1. Maven artifact group org.apache.myfaces.buildtools artifact
 myfaces-builder-plugin v1.0.10 [1]
  2. Maven artifact group org.apache.myfaces.buildtools artifact
 myfaces-builder-annotations v1.0.9 [1]
  2. Maven artifact group org.apache.myfaces.buildtools artifact
 myfaces-plugin-parent v1.0.6 [1]

 The artifacts were deployed to a nexus repository ([1]).

 Please take a look at the 1.0.10 artifacts and vote!

 Please note: This vote is majority approval with a minimum of three
 +1 votes (see [3]).

 
 [ ] +1 for community members who have reviewed the bits
 [ ] +0
 [ ] -1 for fatal flaws that should cause these bits not to be released,
  and why..
 

 Thanks,
 Leonardo Uribe

 [1] 
 https://repository.apache.org/content/repositories/orgapachemyfaces-174/org/apache/myfaces/buildtools/
     
 https://repository.apache.org/content/groups/staging/org/apache/myfaces/buildtools/
 [2] http://www.apache.org/foundation/voting.html#ReleaseVotes
 [3] http://wiki.apache.org/myfaces/BuilderPluginRelease1010



[jira] [Commented] (EXTVAL-138) Make an helper class to configure Myfaces validator

2011-11-10 Thread Leonardo Uribe (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/EXTVAL-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13148157#comment-13148157
 ] 

Leonardo Uribe commented on EXTVAL-138:
---

In JSF 2, there exists a key over application map to do that:

/**
 * The key in the ServletContext where the Bean Validation Factory can be 
found.
 * In a managed Java EE 6 environment, the container initializes the 
ValidatorFactory
 * and stores it in the ServletContext under this key.
 * If not present, the manually instantiated ValidatorFactory is stored in 
the ServletContext
 * under this key for caching purposes.
 */
public static final String VALIDATOR_FACTORY_KEY = 
javax.faces.validator.beanValidator.ValidatorFactory;

I checked myfaces-bundle to see if javax.el package is imported (detect UEL) 
and it is correct, so in theory I don't see why a helper class could be 
necessary here.

But I see that in myfaces-bundle there is no optional entry for 
javax.validation as import in MANIFEST.MF file . Checking api/pom.xml it is 
there, but on bundle/pom.xml it is not, so I suppose that's the cause of the 
problem.

 Make an helper class to configure Myfaces validator
 ---

 Key: EXTVAL-138
 URL: https://issues.apache.org/jira/browse/EXTVAL-138
 Project: MyFaces Extensions Validator
  Issue Type: New Feature
  Components: Bean Validation
 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, cmorda...@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




[jira] [Updated] (MYFACES-2552) TagValueExpression.getType() returns null if the property in the managed bean is null and the expression points to a facelets composite component attribute

2011-11-10 Thread Leonardo Uribe (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/MYFACES-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonardo Uribe updated MYFACES-2552:


   Resolution: Fixed
Fix Version/s: 2.1.4
   2.0.10
   Status: Resolved  (was: Patch Available)

 TagValueExpression.getType() returns null if the property in the managed bean 
 is null and the expression points to a facelets composite component attribute
 ---

 Key: MYFACES-2552
 URL: https://issues.apache.org/jira/browse/MYFACES-2552
 Project: MyFaces Core
  Issue Type: Bug
  Components: JSR-314
Affects Versions: 2.1.0
Reporter: Jakob Korherr
Assignee: Leonardo Uribe
 Fix For: 2.0.10, 2.1.4

 Attachments: MYFACES-2552-4.patch, MYFACES-2552-spec-proposal.patch, 
 spec745mf.patch.txt


 if you have a facelets composite component with an attribute test that 
 points to a property in a managed bean (e.g. #{myBean.property}) which is 
 currently null and you refer to that attribute in the implementation via 
 #{cc.attrs.test} you can get the current value (null) or set a new value but 
 you cannot get the type of the property (e.g. String[]). However if the 
 property in the managed bean is non-null you can get the type.
 For example:
 cc:interface name=mycomponent
 cc:attribute name=test required=true/
 /cc:interface
 cc:implementation
 h:selectManyListbox value=#{cc.attrs.test}
 f:selectItems value=#{some select items}/
 /h:selectManyListbox
 /cc:implementation
 -- calling #{cc.attrs.test}.getType() will fail if #{cc.attrs.test} resolves 
 to null, but will work if #{cc.attrs.test} resolves to some valid value.
 This currently results in a NullPointerException in 
 _SharedRendererUtils.getConvertedUISelectManyValue().

--
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




Re: [VOTE] release of myfaces-builder-plugin 1.0.10 (again)

2011-11-10 Thread Bernd Bohmann
Here is my +1

Regards

Bernd

On Thu, Nov 10, 2011 at 9:43 PM, Leonardo Uribe lu4...@gmail.com wrote:
 +1

 2011/11/10 Leonardo Uribe lu4...@gmail.com:
 Hi,

 I was running the needed tasks to get the 1.0.10 release of Apache
 MyFaces Builder Plugin out.

 The file with the missing license header was fixed.

 This release includes some changes necessary to build myfaces core 2.0.x and
 other improvements like:

 - MYFACES-3384 Cache lastModified info in myfaces-builder-plugin to
 prevent unnecessary executions
 - MYFACES-3381 Add @JSFFaceletFunction annotation
 - MYFACES-3282 Update myfaces-builder-plugin unpack goal to maven 3
 - MYFACES-3347 Improve web config param logging and enhance 
 @JSFWebConfigParam

 Testing instructions are available at [3].

 Please note that this vote concerns all of the following parts:
  1. Maven artifact group org.apache.myfaces.buildtools artifact
 myfaces-builder-plugin v1.0.10 [1]
  2. Maven artifact group org.apache.myfaces.buildtools artifact
 myfaces-builder-annotations v1.0.9 [1]
  2. Maven artifact group org.apache.myfaces.buildtools artifact
 myfaces-plugin-parent v1.0.6 [1]

 The artifacts were deployed to a nexus repository ([1]).

 Please take a look at the 1.0.10 artifacts and vote!

 Please note: This vote is majority approval with a minimum of three
 +1 votes (see [3]).

 
 [ ] +1 for community members who have reviewed the bits
 [ ] +0
 [ ] -1 for fatal flaws that should cause these bits not to be released,
  and why..
 

 Thanks,
 Leonardo Uribe

 [1] 
 https://repository.apache.org/content/repositories/orgapachemyfaces-174/org/apache/myfaces/buildtools/
     
 https://repository.apache.org/content/groups/staging/org/apache/myfaces/buildtools/
 [2] http://www.apache.org/foundation/voting.html#ReleaseVotes
 [3] http://wiki.apache.org/myfaces/BuilderPluginRelease1010