PMC chair of Apache MyFaces changed

2011-03-17 Thread Matthias Wessendorf
Hi,

I am stepping back from being the Apache MyFaces PMC chair.
The MyFaces PMC did vote (internally) that Gerhard Petracek would
be a very good PMC chair.

Yesterday, during the board meeting, this has been made official.

Please join me in welcoming Gerhard as being the new PMC chair of
Apache MyFaces!

Congrats, Gerhard!

-Matthias

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: MyFaces CODI and Weld 1.0.1

2011-03-09 Thread Matthias Wessendorf
Try to unzip the jar into web-inf/classes and add its beans.xml content to
the one in web-inf.

This was suggested to my by the glassfish team... :-)

sent from my Android phone
On Mar 9, 2011 1:31 PM, Christian Kaltepoth christ...@kaltepoth.de
wrote:
 Hey all,

 we are currently developing an application based on Weld 1.0.1 and
 MyFaces CODI. Unfortunately we have some strange problems regarding
 CODI's @Transactional not always being applied correctly. It seems to
 be completely ignored in some situations.

 I've reproduced this problem with Matthias' Modern-EE-JSF2.0 example
 application. I did just two modifications:

 1. Weld doesn't support to inject the EntityManager via
 @PersistenceContext. So I created a class named EntityManagerProducer
 to create request scoped EntityManager instances. Then I replaced
 @PersistenceContext in the DAO with @Inject. This works fine with
 OpenWebBeans.

 2. Then I removed OpenWebBeans and added Weld 1.0.1 to the
 dependencies. After that @Transactional immediately stopped working.
 It seems like the TransactionalInterceptor doesn't get invoked at all.
 No transactions are started and changes to the database aren't
 persisted any more.

 You can get the example application here:

 https://github.com/chkal/modern-ee-app20

 Here are the modifications I made to the application:

 https://github.com/chkal/modern-ee-app20/commits/master

 Does anyone have an idea what is causing this? I'm not really sure if
 it is a CODI or a Weld issue.

 Thanks

 Christian


 --
 Christian Kaltepoth
 Blog: http://chkal.blogspot.com/
 Twitter: http://twitter.com/chkal


Re: [trinidad] 2.0 download not working

2011-02-25 Thread Matthias Wessendorf
Hi Me Self,

thanks for finding this. Scott did upload it to the wrong folder:
http://www.apache.org/dist/myfaces/binaries/trinidad-2.0.0-beta-2-dist.tar.gz

The URL on the download page is supposed to be correct (since
alpha/beta releases
should be stored on myfaces.apache.org/dist, not www.apache.org/dist).

Greetings,
Matthias

On Fri, Feb 25, 2011 at 10:34 AM, Me Self wmso...@gmail.com wrote:
 I get http 404 when I try to download trinidad 2.0 from this URL:

 http://myfaces.apache.org/dist/binaries/trinidad-2.0.0-beta-2-dist.zip

 The tar.gz is also 404.




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [TRINIDAD] Downloading Trinidad 1.2.13

2011-02-03 Thread Matthias Wessendorf
Right, only the last one

Simple pattern.

Take the 1.2.14 URL:
http://www.apache.org/dyn/closer.cgi/myfaces/binaries/trinidad-1.2.14-dist.zip

change it to be 1.2.13 compliant:
http://www.apache.org/dyn/closer.cgi/myfaces/binaries/trinidad-1.2.13-dist.zip

That should do the trick ;-)

-Matthias


On Thu, Feb 3, 2011 at 7:47 AM, Gururaj, Sandeep
sandeep.guru...@in.pega.com wrote:
 Hi,



 I would like to download Trinidad 1.2.13. However, the Download page
 http://myfaces.apache.org/trinidad/download.html only lists 1.2.14
 http://myfaces.apache.org/trinidad/download.html%20only%20lists%201.2.1
 4 . I was able to see v1.2.13 on this page last month but the same is
 not available this time. Could one of you point me to the URL where I
 can download the archived versions?



 Thanks

 ~Sandeep







-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] Digital signature capture for Trinidad browser-based mobile applications

2011-02-02 Thread Matthias Wessendorf
Walter,

Please share the patch!  I will review/commit it.

sent from my Android phone
On Feb 2, 2011 11:05 PM, Walter Mourão walter.mou...@gmail.com wrote:
 Hi Andy,
 I don't think you will find such a kind of component... I suggest you
 capture the signature using a native application and send the data to the
 server application using http (simulating an image upload for example) or
 another protocol.

 By the way, some time ago I had some troubles because Trinidad didn't
 recognize Windows mobile 5. I'm not sure if I submitted the patch, so let
me
 know if you get the same issue.

 Cheers,

 Walter Mourão
 http://waltermourao.com.br
 http://arcadian.com.br
 http://oriens.com.br



 On Wed, Feb 2, 2011 at 3:27 PM, William Burdick andy.burd...@oracle.com
wrote:

 Hello Trinidad developers and users,



 I am part of a project at Oracle building PeopleSoft Inventory
 browser-based mobile applications in the Oracle ADF middleware
development
 environment, using Java, JavaScript and Trinidad components, and
deploying
 on an Oracle WebLogic server to Windows Mobile 5.0/6.0/6.5 devices. For
one
 of the applications in that project, we would like to provide the ability
to
 capture and save a digital signature. Does anyone know of a way to
capture a
 digital signature using Trinidad components?



 I would greatly appreciate any assistance anyone could provide.



 Thanks,

 Andy Burdick



 [image: Oracle] http://www.oracle.com/
 Andy Burdick | Principal Applications Engineer
 Phone: +1 3126518071
 Oracle PeopleSoft Development
 233 S Wacker Dr, 45th Floor | Chicago, IL 60606

 [image: Green Oracle] http://www.oracle.com/commitment

 Oracle is committed to developing practices and products that help
protect
 the environment







[COMMUNITY] MyFaces += Andy Schwartz

2011-01-31 Thread Matthias Wessendorf
The Myfaces PMC is proud to announce a new addition to our community.

Please welcome Andy Schwartz as the newest MyFaces committer!
Andy is an active member of the myfaces community, especially on
the Trinidad subproject.

@Andy: Please add yourself to the Master-POM at
https://svn.apache.org/repos/asf/myfaces/myfaces-master-pom/trunk/pom.xml

-Matthias

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] 2.0.0-beta-1: Lightweight dialogs broken with Firefox 3.6 and Chrome

2011-01-27 Thread Matthias Wessendorf
Hey Roland,

can you file a new jira issue for this problem?

Thanks!
Matthias

On Thu, Jan 27, 2011 at 9:01 AM, Krebs Roland / BWO Systems AG
roland.kr...@bwo.ch wrote:
 Hello Matthias

 Sorry, my quick guess was wrong. The symptoms are similar as they were with 
 the old version without this patch: PPR works in IE and Opera, but neither in 
 Firefox (3.6.13) nor Chrome (8.0.552.237). The PPR events (e.g. next and 
 previous on tr:table or selecting a tab in tr:panelTabbed) are submitted to 
 the server, but the page is not refreshed.

 I used Firebug to step through the code, but my JavaScript know-how is too 
 limited to find anything helpful.

 Regards
 Roland

 -Ursprüngliche Nachricht-
 Von: mwessend...@gmail.com [mailto:mwessend...@gmail.com] Im Auftrag von 
 Matthias Wessendorf
 Gesendet: Mittwoch, 26. Januar 2011 10:26
 An: MyFaces Discussion
 Betreff: Re: [Trinidad] 2.0.0-beta-1: Lightweight dialogs broken with Firefox 
 3.6 and Chrome

 The fix for TRINIDAD-1695 is inside the Core.js, in trunk (Trinidad 2.x):
 http://svn.apache.org/repos/asf/myfaces/trinidad/trunk/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Core.js

 If you need a different fix, please feel free to provide a patch.

 Thx,
 Matthias

 On Wed, Jan 26, 2011 at 9:47 AM, Krebs Roland / BWO Systems AG 
 roland.kr...@bwo.ch wrote:
 I've tested the new 2.0.0-beta-1 and noticed, that there are as in 
 2.0.0-alpha-1 still many problems with Firefox, due to the issue described 
 in TRINIDAD-1695.
 I hoped I could move from my special 2.0.0-alpha-1 with a patched Core.js to 
 an official version.
 Could somebody implement the fix TRINIDAD-1695 on the 2.0 tree, please?

 Regards
 Roland




 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] 2.0.0-beta-1: Lightweight dialogs broken with Firefox 3.6 and Chrome

2011-01-26 Thread Matthias Wessendorf
The fix for TRINIDAD-1695 is inside the Core.js, in trunk (Trinidad 2.x):
http://svn.apache.org/repos/asf/myfaces/trinidad/trunk/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Core.js

If you need a different fix, please feel free to provide a patch.

Thx,
Matthias

On Wed, Jan 26, 2011 at 9:47 AM, Krebs Roland / BWO Systems AG
roland.kr...@bwo.ch wrote:
 I've tested the new 2.0.0-beta-1 and noticed, that there are as in 
 2.0.0-alpha-1 still many problems with Firefox, due to the issue described in 
 TRINIDAD-1695.
 I hoped I could move from my special 2.0.0-alpha-1 with a patched Core.js to 
 an official version.
 Could somebody implement the fix TRINIDAD-1695 on the 2.0 tree, please?

 Regards
 Roland




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Is it possible to do extensionless URLs with JSF?

2011-01-26 Thread Matthias Wessendorf
Use PrettyFaces

On Thursday, January 27, 2011, mraible m...@raibledesigns.com wrote:

 I'm trying to integrate extensionless URLs in my app using the
 UrlRewriteFilter. I'm using a technique similar to the one expressed in the
 following blog post:

 http://raibledesigns.com/rd/entry/extensionless_urls_in_java_web

 However, I'm using path-mapping instead of suffix-mapping, but can't get it
 to work. In web.xml, I have:

     servlet-mapping
         servlet-namefaces/servlet-name
         url-pattern/app/*/url-pattern
     /servlet-mapping

 In my urlrewrite.xml, I have:

     !-- Add rules here for anything that shouldn't be served up by JSF. --
     rule
         from//from
         to type=redirect last=truemainMenu/to
     /rule
     rule
         from/app/mainMenu/from
         to last=true type=redirect../mainMenu/to
     /rule
     rule
         from/j_security_check/from
         to/j_security_check/to
     /rule
     rule
         from/common/**/from
         to/common/$1/to
     /rule
     rule
         from/images/**/from
         to/images/$1/to
     /rule
     rule
         from/scripts/**/from
         to/scripts/$1/to
     /rule
     rule
         from/styles/**/from
         to/styles/$1/to
     /rule
     rule
         from/crossdomain.xml/from
         to/crossdomain.xml/to
     /rule
     rule
         from/favicon.ico/from
         to/favicon.ico/to
     /rule
     rule
         from/login*/from
         to/login.jsp/to
     /rule
     rule
         from/logout*/from
         to/logout.jsp/to
     /rule

     !-- JSF --
     rule
         from/**/from
         to/app/$1/to
     /rule
     outbound-rule
         from/app/**/from
         to/$1/to
     /outbound-rule

 Is it possible to get extensionless URLs work in a JSF app? I'm using 2.0.3
 When I use the configuration above, nothing happens, I just get 404 errors.
 My faces-config.xml references navigation rules like the following:

     navigation-rule
         from-view-id/mainMenu.xhtml/from-view-id
         navigation-case
             from-outcomeajax4jsf/from-outcome
             to-view-id/ajax4jsf.xhtml/to-view-id
         /navigation-case
     /navigation-rule
     navigation-rule
         from-view-id/mainMenu.xhtml/from-view-id
         navigation-case
             from-outcomeselectFile/from-outcome
             to-view-id/selectFile.xhtml/to-view-id
         /navigation-case
     /navigation-rule

 Any help would be great.

 Thanks,

 Matt
 --
 View this message in context: 
 http://old.nabble.com/Is-it-possible-to-do-extensionless-URLs-with-JSF--tp30774240p30774240.html
 Sent from the MyFaces - Users mailing list archive at Nabble.com.



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


[FYI] Google Summer of Code

2011-01-25 Thread Matthias Wessendorf
As a FYI, since this group used to participate over the last years:

http://google-opensource.blogspot.com/2011/01/google-summer-of-code-announced-at-lca.html

-M

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


[Announce] Release of Apache MyFaces Trinidad 2.0.0-beta-1

2011-01-24 Thread Matthias Wessendorf
The Apache MyFaces Trinidad team is pleased to announce the release of
Apache MyFaces Trinidad Core 2.0.0-beta-1.

Apache MyFaces Trinidad is a JavaServer(tm) Faces 2.0 component library.

Trinidad Core 2.0.0-beta-1 is available in both binary and source distributions:

 * http://myfaces.apache.org/trinidad/download.html

Apache MyFaces Trinidad is available in the central Maven repository under
Group ID org.apache.myfaces.trinidad.


Release Notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310661styleName=Htmlversion=12314840

Enjoy!
Matthias

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Problems with CODI 0.9.2 on Glassfish 3.1

2011-01-18 Thread Matthias Wessendorf
)
          at
  
 
 org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:370)
          at
  
 
 com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:354)
          at
  
 
 com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:369)
          at
  
 
 com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1080)
          at
  
 
 com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
          at
  
 
 com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1260)
          at
  
 
 com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1248)
          at
  
 
 com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:453)
          at
  
  com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:220)
          at
  
 
 com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
          at
  
 
 com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
          at
  
 
 com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
          at
  
 
 com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:818)
          at
  
  com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
          at
  
  com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1008)
          at
  
 
 com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
          at
  
 
 com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
          at
  
 
 com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
          at
  
 
 com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
          at
  
 
 com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
          at
  
 
 com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
          at
  
 
 com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
          at
  com.sun.grizzly.ContextTask.run(ContextTask.java:71)
          at
  
 
 com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
          at
  
 
 com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
          at
  java.lang.Thread.run(Thread.java:619)
   |#]
  
  
   I have the following jars in my /WEB-INF/lib
  directory:
   activation-1.1.1.jar
   bcmail-jdk16-1.45.jar
   bcprov-jdk16-1.45.jar
   commons-beanutils-1.8.0.jar
   commons-codec-1.4.jar
   commons-digester-2.1.jar
   commons-fileupload-1.2.1.jar
   commons-io-1.4.jar
   commons-logging-1.1.1.jar
   log4j-1.2.15.jar
   myfaces-extcdi-core-api-0.9.2.jar
   myfaces-extcdi-core-impl-0.9.2.jar
   myfaces-extcdi-jsf20-module-api-0.9.2.jar
   myfaces-extcdi-jsf20-module-impl-0.9.2.jar
   myfaces-extcdi-message-module-api-0.9.2.jar
   myfaces-extcdi-message-module-impl-0.9.2.jar
   myfaces-extcdi-scripting-module-api-0.9.2.jar
   myfaces-extcdi-scripting-module-impl-0.9.2.jar
   prettyfaces-jsf2-3.1.0.jar
   primefaces-2.2.M1.jar
   slf4j-api-1.6.1.jar
   slf4j-log4j12-1.6.1.jar
  
  
   Without the myfaces-extcdi jars I can deploy, but of
  course, I'm not
   able to use the CDI enhancements.
  
   Please help.
  
   Thanks,
   Dominik
  
 
 
 
 
 
 
 
 
  --
  Dominik Dorn
  http://dominikdorn.com
  http://twitter.com/domdorn
 
  Tausche Deine Lernunterlagen auf http://www.studyguru.eu !
 



 --
 Dominik Dorn
 http://dominikdorn.com
 http://twitter.com/domdorn

 Tausche Deine Lernunterlagen auf http://www.studyguru.eu !





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Problems with CODI 0.9.2 on Glassfish 3.1

2011-01-18 Thread Matthias Wessendorf
jop, will do

On Tue, Jan 18, 2011 at 11:36 AM, Mark Struberg strub...@yahoo.de wrote:
 dominik, matze

 Can you please file a jiraffe for this?
 Seems we need to dig a bit deeper to cover prettyfaces compatibility as well.


 txs and LieGrue,
 strub

 --- On Tue, 1/18/11, Matthias Wessendorf mat...@apache.org wrote:

 From: Matthias Wessendorf mat...@apache.org
 Subject: Re: Problems with CODI 0.9.2 on Glassfish 3.1
 To: MyFaces Discussion users@myfaces.apache.org
 Date: Tuesday, January 18, 2011, 10:18 AM
 On Mon, Jan 17, 2011 at 2:20 PM,
 Gerhard gerhard.petra...@gmail.com
 wrote:
  hi dominik,
 
  as far as i know it isn't tested with prettyfaces.
  however, you could use the client-side windowhandler
 (see [1] btw [2]).
  esp. have a look at the specialized JsfModuleConfig
 and the beans.xml
  config.
  (for prettyfaces you might have to change other
 configs as well - see all
  implementations of CodiConfig.)


 Looks like the clietn window handler doesn't work w/
 PrettyFaces

 -M

 
  @your original issue:
  you can deactivate the message interpolator
  with
 JsfModuleConfig#isInvalidValueAwareMessageInterpolatorEnabled
 - just
  provide a specialized config.
 
  regards,
  gerhard
 
  [1]
  https://svn.apache.org/repos/asf/myfaces/extensions/cdi/trunk/examples/jsf-examples/clientside_windowhandler_jsf12/
  [2]
  https://svn.apache.org/repos/asf/myfaces/extensions/cdi/trunk/examples/jsf-examples/clientside_windowhandler_jsf20/
 
  http://www.irian.at
 
  Your JSF powerhouse -
  JSF Consulting, Development and
  Courses in English and German
 
  Professional Support for Apache MyFaces
 
 
  2011/1/17 Dominik Dorn domi...@dominikdorn.com
 
  Ok, it works now with glassfish 3.0.1
 
  however, codi adds request params and a window id
 to every url (by
  redirecting), also those mapped by prettyfaces.
 
  e.g. I have this mapping:
     url-mapping id=coursePage
         pattern/#{/[a-z]{2}/
 
 countryCode}/#{urlName}/#{courseId}--#{courseName}//pattern
 
  view-id/coursePage.xhtml/view-id
     /url-mapping
  and this url:
 
  http://localhost:8080/at/wu/7--Accounting-Management-Control-I/
 
  codi redirects this to
 
 
  http://localhost:8080/at/wu/7--Accounting-Management-Control-I/?windowId=c67urlName=wucourseName=Accounting-Management-Control-IcountryCode=atcourseId=7
 
  how can I disable this?
 
  Thanks.
  Dominik
 
 
 
  On Mon, Jan 17, 2011 at 1:25 PM, Dominik Dorn
 domi...@dominikdorn.com
  wrote:
   Will try with 3.0.1 then. hopefully it works
 there.
   Will report back soon.
  
   On Mon, Jan 17, 2011 at 1:23 PM, Mark
 Struberg strub...@yahoo.de
  wrote:
   the producer for @Default @Logger is
  
 
 core/impl/src/main/java/org/apache/myfaces/extensions/cdi/core/impl/logging/InstanceProducer.java
  
   so this should be available.
  
   Btw, I gonna rename this to
 LoggerProducer, drop the final and make it
  public. Maybe the missing 'public' on the class is
 the problem for Weld, who
  knows...
  
   LieGrue,
   strub
  
   --- On Mon, 1/17/11, Gerhard gerhard.petra...@gmail.com
 wrote:
  
   From: Gerhard gerhard.petra...@gmail.com
   Subject: Re: Problems with CODI 0.9.2
 on Glassfish 3.1
   To: MyFaces Discussion users@myfaces.apache.org
   Date: Monday, January 17, 2011, 12:13
 PM
   hi dominik,
  
   v0.9.2 is tested with glassfish
 3.0.1
   glassfish 3.1 contains a different
 version of weld which
   has some other
   issues as well (e.g. see [1]).
  
   regards,
   gerhard
  
   [1] https://issues.apache.org/jira/browse/EXTCDI-118
  
   http://www.irian.at
  
   Your JSF powerhouse -
   JSF Consulting, Development and
   Courses in English and German
  
   Professional Support for Apache
 MyFaces
  
  
   2011/1/17 Dominik Dorn domi...@dominikdorn.com
  
Hi,
   
I'm having problems with CODI
 0.9.2 on Glassfish 3.1.
When trying to deploy my app, I
 receive the following
   exception:
   
   
   
   
   
  
 
 [#|2011-01-17T12:08:24.958+0100|SEVERE|glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=85;_ThreadName=http-thread-pool-4848(5);|Exception
while loading the app :
 WELD-001408 Unsatisfied
   dependencies for type
[Logger] with qualifiers
 [@Default] at injection point
   [[field]
@Inject private
   
   
  
 
 org.apache.myfaces.extensions.cdi.jsf.impl.bv.InvalidValueAwareMessageInterpolator.logger]
   
 org.jboss.weld.exceptions.DeploymentException:
   WELD-001408 Unsatisfied
dependencies for type [Logger]
 with qualifiers
   [@Default] at injection
point [[field] @Inject private
   
   
  
 
 org.apache.myfaces.extensions.cdi.jsf.impl.bv.InvalidValueAwareMessageInterpolator.logger]
       at
   
  
 
 org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:305)
       at
   
  
 org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:139)
       at
   
  
 org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:162

Re: Problems with CODI 0.9.2 on Glassfish 3.1

2011-01-18 Thread Matthias Wessendorf
https://issues.apache.org/jira/browse/EXTCDI-126

On Tue, Jan 18, 2011 at 11:38 AM, Matthias Wessendorf mat...@apache.org wrote:
 jop, will do

 On Tue, Jan 18, 2011 at 11:36 AM, Mark Struberg strub...@yahoo.de wrote:
 dominik, matze

 Can you please file a jiraffe for this?
 Seems we need to dig a bit deeper to cover prettyfaces compatibility as well.


 txs and LieGrue,
 strub

 --- On Tue, 1/18/11, Matthias Wessendorf mat...@apache.org wrote:

 From: Matthias Wessendorf mat...@apache.org
 Subject: Re: Problems with CODI 0.9.2 on Glassfish 3.1
 To: MyFaces Discussion users@myfaces.apache.org
 Date: Tuesday, January 18, 2011, 10:18 AM
 On Mon, Jan 17, 2011 at 2:20 PM,
 Gerhard gerhard.petra...@gmail.com
 wrote:
  hi dominik,
 
  as far as i know it isn't tested with prettyfaces.
  however, you could use the client-side windowhandler
 (see [1] btw [2]).
  esp. have a look at the specialized JsfModuleConfig
 and the beans.xml
  config.
  (for prettyfaces you might have to change other
 configs as well - see all
  implementations of CodiConfig.)


 Looks like the clietn window handler doesn't work w/
 PrettyFaces

 -M

 
  @your original issue:
  you can deactivate the message interpolator
  with
 JsfModuleConfig#isInvalidValueAwareMessageInterpolatorEnabled
 - just
  provide a specialized config.
 
  regards,
  gerhard
 
  [1]
  https://svn.apache.org/repos/asf/myfaces/extensions/cdi/trunk/examples/jsf-examples/clientside_windowhandler_jsf12/
  [2]
  https://svn.apache.org/repos/asf/myfaces/extensions/cdi/trunk/examples/jsf-examples/clientside_windowhandler_jsf20/
 
  http://www.irian.at
 
  Your JSF powerhouse -
  JSF Consulting, Development and
  Courses in English and German
 
  Professional Support for Apache MyFaces
 
 
  2011/1/17 Dominik Dorn domi...@dominikdorn.com
 
  Ok, it works now with glassfish 3.0.1
 
  however, codi adds request params and a window id
 to every url (by
  redirecting), also those mapped by prettyfaces.
 
  e.g. I have this mapping:
     url-mapping id=coursePage
         pattern/#{/[a-z]{2}/
 
 countryCode}/#{urlName}/#{courseId}--#{courseName}//pattern
 
  view-id/coursePage.xhtml/view-id
     /url-mapping
  and this url:
 
  http://localhost:8080/at/wu/7--Accounting-Management-Control-I/
 
  codi redirects this to
 
 
  http://localhost:8080/at/wu/7--Accounting-Management-Control-I/?windowId=c67urlName=wucourseName=Accounting-Management-Control-IcountryCode=atcourseId=7
 
  how can I disable this?
 
  Thanks.
  Dominik
 
 
 
  On Mon, Jan 17, 2011 at 1:25 PM, Dominik Dorn
 domi...@dominikdorn.com
  wrote:
   Will try with 3.0.1 then. hopefully it works
 there.
   Will report back soon.
  
   On Mon, Jan 17, 2011 at 1:23 PM, Mark
 Struberg strub...@yahoo.de
  wrote:
   the producer for @Default @Logger is
  
 
 core/impl/src/main/java/org/apache/myfaces/extensions/cdi/core/impl/logging/InstanceProducer.java
  
   so this should be available.
  
   Btw, I gonna rename this to
 LoggerProducer, drop the final and make it
  public. Maybe the missing 'public' on the class is
 the problem for Weld, who
  knows...
  
   LieGrue,
   strub
  
   --- On Mon, 1/17/11, Gerhard gerhard.petra...@gmail.com
 wrote:
  
   From: Gerhard gerhard.petra...@gmail.com
   Subject: Re: Problems with CODI 0.9.2
 on Glassfish 3.1
   To: MyFaces Discussion users@myfaces.apache.org
   Date: Monday, January 17, 2011, 12:13
 PM
   hi dominik,
  
   v0.9.2 is tested with glassfish
 3.0.1
   glassfish 3.1 contains a different
 version of weld which
   has some other
   issues as well (e.g. see [1]).
  
   regards,
   gerhard
  
   [1] https://issues.apache.org/jira/browse/EXTCDI-118
  
   http://www.irian.at
  
   Your JSF powerhouse -
   JSF Consulting, Development and
   Courses in English and German
  
   Professional Support for Apache
 MyFaces
  
  
   2011/1/17 Dominik Dorn domi...@dominikdorn.com
  
Hi,
   
I'm having problems with CODI
 0.9.2 on Glassfish 3.1.
When trying to deploy my app, I
 receive the following
   exception:
   
   
   
   
   
  
 
 [#|2011-01-17T12:08:24.958+0100|SEVERE|glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=85;_ThreadName=http-thread-pool-4848(5);|Exception
while loading the app :
 WELD-001408 Unsatisfied
   dependencies for type
[Logger] with qualifiers
 [@Default] at injection point
   [[field]
@Inject private
   
   
  
 
 org.apache.myfaces.extensions.cdi.jsf.impl.bv.InvalidValueAwareMessageInterpolator.logger]
   
 org.jboss.weld.exceptions.DeploymentException:
   WELD-001408 Unsatisfied
dependencies for type [Logger]
 with qualifiers
   [@Default] at injection
point [[field] @Inject private
   
   
  
 
 org.apache.myfaces.extensions.cdi.jsf.impl.bv.InvalidValueAwareMessageInterpolator.logger]
       at
   
  
 
 org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:305)
       at
   
  
 org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:139

[Announce] Release of Apache MyFaces Trinidad 1.2.14

2011-01-15 Thread Matthias Wessendorf
The Apache MyFaces Trinidad team is pleased to announce the release of
Apache MyFaces Trinidad Core 1.2.14.

Apache MyFaces Trinidad is a JavaServer(tm) Faces 1.2 component library.

Trinidad Core 1.2.14 is available in both binary and source distributions:

 * http://myfaces.apache.org/trinidad/download.html

Apache MyFaces Trinidad is available in the central Maven repository under
Group ID org.apache.myfaces.trinidad.


Release Notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310661styleName=Htmlversion=12314551

Enjoy!
Matthias

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


[Announce] Release of Apache MyFaces Trinidad 1.0.13

2011-01-15 Thread Matthias Wessendorf
The Apache MyFaces Trinidad team is pleased to announce the release of
Apache MyFaces Trinidad Core 1.0.13.

Apache MyFaces Trinidad is a JavaServer(tm) Faces 1.1 component library.

Trinidad Core 1.0.13 is available in both binary and source distributions:

 * http://myfaces.apache.org/trinidad/download.html

Apache MyFaces Trinidad is available in the central Maven repository under
Group ID org.apache.myfaces.trinidad.


Release Notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310661styleName=Htmlversion=12314764

Enjoy!

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] Can't get panelBorderLayout To Work

2011-01-14 Thread Matthias Wessendorf
)
        at 
 com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:160)
        at 
 com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:86)
        at 
 com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:75)
        at 
 com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:145)
        at 
 com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:716)
        at 
 com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
        at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
        at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at 
 org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
        at 
 org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
        at 
 org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
        at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
        at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at 
 org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
        at 
 org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
        at 
 org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
        at 
 org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
        at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
        at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at 
 com.enrogen.servlets.URLParameterDecrypt.doFilter(URLParameterDecrypt.java:107)
        at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
        at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
        at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
        at 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
        at 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108)
        at 
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:558)
        at 
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at 
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:379)
        at 
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
        at 
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:259)
        at 
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:237)
        at 
 org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:281)
        at 
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)


 Component Tree
 --
 UIViewRoot id=j_id1 inView=true locale=en 
 renderKitId=org.apache.myfaces.trinidad.core rendered=true 
 transient=false viewId=/index.xhtml/












-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] Roadmap

2011-01-10 Thread Matthias Wessendorf
Hello Walter,

Trinidad 1.0.x will have one last release (see current vote result on dev@).
After that there is most likely no new release of Trinidad 1.0.x
(optimized for JSF 1.1)

Trinidad 1.2.x will have a very few releases, basically for maintenance reasons.

Trinidad 2.0.x (for JSF2) is the most 'active' development, and
releases are planed.

Once we (Trinidad's pom file) move to the new nexus/release
infrastructure, releases are
cheap and easy to do. Actually I am currently looking into this.

HTH,
Matthias

2011/1/8 Walter Mourão walter.mou...@gmail.com:
 Hi Folks,
 is there a Trinidad 2.0 road map anywhere ?

 Thanks,

 Walter Mourão
 http://waltermourao.com.br
 http://arcadian.com.br
 http://oriens.com.br




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


[Trinidad] Beta release of Trinidad 2.0.0

2011-01-10 Thread Matthias Wessendorf
Hi,

there were some questions regarding the state of Trinidad 2.0;
We will have a beta1 release within January.

Currently we are voting on the plugins:
http://markmail.org/message/tzkhsmzq3owmy6dp

Once that is done, we can vote on the framework/components.
By end of this week I do expect a vote for Trinidad 2.0-beta1.

Sorry for the delay, please stay tuned.

-Matthias

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: myfaces popularity

2010-12-02 Thread Matthias Wessendorf
On Fri, Dec 3, 2010 at 7:28 AM, ken keller klr...@gmail.com wrote:
 This mailing list isn't very active. Most of the messages seem to be about
 component libs like Trinidad.

 Is myfaces popular?

yes it is.


 Wouldn't a searchable group be more convenient than a mailing list?

the archives *are* searchable (e.g. markmail).





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Fwd: Result (was: Re: [VOTE] Trinidad core: 1.0.13)

2010-11-24 Thread Matthias Wessendorf
FYI,

looks like nobody cares about releasing a new Trinidad 1.0.x version

-Matthias


-- Forwarded message --
From: Matthias Wessendorf mat...@apache.org
Date: Wed, Nov 24, 2010 at 9:46 AM
Subject: Result (was: Re: [VOTE] Trinidad core: 1.0.13)
To: MyFaces Development d...@myfaces.apache.org


Hi Blake,

thanks for voting. Together with my vote, we got two votes.

This is means there will be NO Trinidad 1.0.13 release. Too bad that
the community
is not really interested in even getting maintaining releases out :-(

-Matthias

On Sun, Nov 14, 2010 at 8:22 PM, Blake Sullivan
blake.sulli...@oracle.com wrote:
 +1

 -- Blake Sullivan

 On 11/14/10 9:44 AM, Matthias Wessendorf wrote:

 +1

 sent from my Android phone

 On Nov 10, 2010 2:07 PM, Matthias Wessendorf mat...@apache.org wrote:
 Hi,

 I was running the needed tasks to get the next release of the Apache
 MyFaces Trinidad 1.0.x CORE out. The artifacts are deployed to a
 staging repo ([1]).

 Please take a look at the 1.0.13 artifacts and vote.

 
 [ ] +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,
 Matthias

 [1]
 https://repository.apache.org/content/repositories/orgapachemyfaces-055/

 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf





--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Fwd: Result (was: Re: [VOTE] Trinidad core: 1.0.13)

2010-11-24 Thread Matthias Wessendorf
Hi Mark,

the vote is closed. In the past we agreed that for 1.0.x we will have
a very few releases,
just a few maintenance releases.

I did an overhaul on the pom files, to test the new Apache
infrastructure for releases, so
this was a perfect test candiate for that, but looks like the Trinidad
community failed in getting
a release out. Perhaps it's time to declare Trinidad 1.0.x official as
no longer in maintenance mode?
Let me raise that question on dev@

-Matthias


On Wed, Nov 24, 2010 at 9:49 AM, Mark Struberg strub...@yahoo.de wrote:
 Hi!

 checked the release and it looks fine from the content pov. I have not tested 
 it in production though because I'm solely on JSF-2 already.

 So you would have my (nonbinbind :( ) +1.

 LieGrue,
 strub

 --- On Wed, 11/24/10, Matthias Wessendorf mat...@apache.org wrote:

 From: Matthias Wessendorf mat...@apache.org
 Subject: Fwd: Result (was: Re: [VOTE] Trinidad core: 1.0.13)
 To: MyFaces Discussion users@myfaces.apache.org
 Date: Wednesday, November 24, 2010, 8:46 AM
 FYI,

 looks like nobody cares about releasing a new Trinidad
 1.0.x version

 -Matthias


 -- Forwarded message --
 From: Matthias Wessendorf mat...@apache.org
 Date: Wed, Nov 24, 2010 at 9:46 AM
 Subject: Result (was: Re: [VOTE] Trinidad core: 1.0.13)
 To: MyFaces Development d...@myfaces.apache.org


 Hi Blake,

 thanks for voting. Together with my vote, we got two
 votes.

 This is means there will be NO Trinidad 1.0.13 release. Too
 bad that
 the community
 is not really interested in even getting maintaining
 releases out :-(

 -Matthias

 On Sun, Nov 14, 2010 at 8:22 PM, Blake Sullivan
 blake.sulli...@oracle.com
 wrote:
  +1
 
  -- Blake Sullivan
 
  On 11/14/10 9:44 AM, Matthias Wessendorf wrote:
 
  +1
 
  sent from my Android phone
 
  On Nov 10, 2010 2:07 PM, Matthias Wessendorf mat...@apache.org
 wrote:
  Hi,
 
  I was running the needed tasks to get the next
 release of the Apache
  MyFaces Trinidad 1.0.x CORE out. The artifacts are
 deployed to a
  staging repo ([1]).
 
  Please take a look at the 1.0.13 artifacts and
 vote.
 
  
  [ ] +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,
  Matthias
 
  [1]
  https://repository.apache.org/content/repositories/orgapachemyfaces-055/
 
  --
  Matthias Wessendorf
 
  blog: http://matthiaswessendorf.wordpress.com/
  sessions: http://www.slideshare.net/mwessendorf
  twitter: http://twitter.com/mwessendorf
 
 



 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf



 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf








-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: myfaces news

2010-11-15 Thread Matthias Wessendorf
Gerhard,

great stuff!
Thanks for setting it up!

-M

On Mon, Nov 15, 2010 at 11:34 AM, Gerhard gerhard.petra...@gmail.com wrote:
 hi @ all,
 we created a twitter-account for providing you the latest and greatest news
 about myfaces.
 you can follow us on twitter [1] or via news feed [2].
 regards,
 gerhard
 [1] http://twitter.com/MyFacesTeam
 [2] http://s.apache.org/myfaces_news

 http://www.irian.at

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

 Professional Support for Apache MyFaces




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


[Trinidad Release] 1.0.13 is on the vote

2010-11-10 Thread Matthias Wessendorf
Hi,

last week I did some changes to our POM files. We are now on the
latest Apache stuff. This means releases are way more easier (since
we do have better tool support).

As a 'test' I (re)started a vote for Trinidad 1.0.13 on the dev@ list ([1]).

Greetings,
Matthias

[1] http://markmail.org/message/ooqc2oe2lmapi226

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


[Trinidad] Nightly Builds are back for 1.0.x, 1.2.x and 2.0.x

2010-11-05 Thread Matthias Wessendorf
Hi,

today I did some maven/pom clean up and hudson server related work.
As part of that the nightly builds for all 'supported' Trinidad
versions are back:

See here for example:

https://repository.apache.org/content/repositories/snapshots/org/apache/myfaces/trinidad/trinidad-api/

Next (as I did a bit of the clean up already) is doing releases for
them - most likely end of the month...

Greetings,
Matthias

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: composite components: optional method-expression-attributes

2010-11-03 Thread Matthias Wessendorf
I saw the discussion on the open jsr list. Jakob, is there any archive for
Thomas to read the mails?

-M

sent from my Android phone
On Nov 3, 2010 6:37 PM, Jakob Korherr jakob.korh...@gmail.com wrote:
 Hi Thomas,

 What you have encountered here is a known design problem of JSF 2.0.
 Currently we (the MyFaces team) are working hard to get all of this
 fixed for the JSF 2.1 specification, because - as you know - this
 stuff is really annoying and makes composite components unusable in
 the most scenarios.

 Sorry, but that is all we can do right now. Fortunately the JSF 2.1
 spec release will be very soon!

 Regards,
 Jakob

 2010/11/3 Thomas Möller thomas.moel...@continentale.de:

 Finally it seems to me that the targets-feature is only sufficient for
the
 simplest scenarios. There are too many restrictions:

 1) only for a restricted set of attribute names: action,
actionListener,
 validator, valueChangeListener
 2) not supported in nested attributes

 So, what is the solution in my scenario (I thought it was simple enough):
a
 composite component that consists of a panel with two buttons and
*optional*
 actions and actionListeners. I want to use it in the following way:

 either 1)

 my:twoButtons action1=... actionListener1=... action2=...
 actionListener2=... /

 or 2)

 my:twoButtons2 button1=... button2=... / relying on a button model:

 public interface Button
 {
  String action();
  void actionListener(ActionEvent e);
 }

 I tried to solve this problem without tricks like writing own tag
handlers
 or modifying the facelets view declaration language.

 I'd really like to get an answer for this... ;-)
 --
 View this message in context:
http://old.nabble.com/composite-components%3A-optional-method-expression-attributes-tp30067392p30120526.html
 Sent from the MyFaces - Users mailing list archive at Nabble.com.





 --
 Jakob Korherr

 blog: http://www.jakobk.com
 twitter: http://twitter.com/jakobkorherr
 work: http://www.irian.at


Re: [Trinidad] Nightly Builds?

2010-10-29 Thread Matthias Wessendorf
On Tue, Oct 26, 2010 at 12:17 PM, Yannis BRES yaya.at.w...@gmail.com wrote:
 Hi guys !

 I've been monitoring JIRA for the 1.2.14 target for a while, waiting to be
 able to use page-specific states (TRINIDAD-1772 :  Allow per page
 state saving settings) in order to avoid ViewExpiredExceptions on our
 login dialog for instance, and it looks like the 1.2.14 release has
 been in a 44 of 46 issues have been resolved state for a rather long
 while...
 Could you maybe release (early and often ;-)) 1.2.14 as it is, so that
 we all benefit for corrected issues and improvements ?
 Two months later, Trinidad 1.2.14 is now in 49 of 51 issues have been
 resolved state...
 Guys, please, release !  ;-)

busy... after Devoxx conference I have a bit more time for things like
this.

-M


 Once gain, thanks in advance a keep up the good work !

 Best regards,
           Yannis




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: NullPointerException in trinidadinternal [TRINIDAD]

2010-10-29 Thread Matthias Wessendorf
=http://java.sun.com/jsf/facelets;

                xmlns:tr=http://myfaces.apache.org/trinidad;

                template=template.xhtml



    ui:define name=centerContents

        tr:inputText label=Your name value=#{commandButtonBean.name}/

 !-- commandButtonBean.sayHello causing exception --

        tr:commandButton text=Say Hello
 action=#{commandButtonBean.sayHello}/



        tr:commandButton text=Go to page1.xhtml action=success/

        tr:commandButton text=Go to gpstracer action=gpstracer/

        tr:outputText value=#{commandButtonBean.message}/
 /ui:define



 /ui:composition





 faces-config.xml

 faces-config xmlns=http://java.sun.com/xml/ns/javaee;

              xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

              xsi:schemaLocation=http://java.sun.com/xml/ns/javaee
 http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd;

              version=2.0



  application

    !-- Use the Trinidad RenderKit --

    default-render-kit-id

      org.apache.myfaces.trinidad.core

    /default-render-kit-id

 ...

    navigation-rule

      from-view-id/pages/commandButton.xhtml/from-view-id

      navigation-case

        from-outcomesuccess/from-outcome

        to-view-id/page1.xhtml/to-view-id

        redirect/

      /navigation-case

        navigation-case

          from-outcomegpstracer/from-outcome

          to-view-id/pages/gpstracer.xhtml/to-view-id

          redirect/

        /navigation-case

    /navigation-rule

 ...





 CommandButtonBean.java

 ...

    public String sayHello() {

        message=Hello +name+!;

        return null;

    }

 ...





 template.xml



 ?xml version=1.0 encoding=UTF-8?

 tr:document xmlns:ui=http://java.sun.com/jsf/facelets;

             xmlns:h=http://java.sun.com/jsf/html;

             xmlns:f=http://java.sun.com/jsf/core;

             xmlns:c=http://java.sun.com/jstl/core;

             xmlns:tr=http://myfaces.apache.org/trinidad;

             xmlns:trh=http://myfaces.apache.org/trinidad/html;



    f:facet name=metaContainer

        meta name=title content=navigationHandler.currentPageTitle/

        meta name=robots content=index, follow/

    /f:facet



    tr:form id=mainForm

        div class=centerContents

            ui:insert name=centerContents/

        /div

    /tr:form

    ui:debug/



 /tr:document



 -Micah






-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: JavaOne meeting

2010-09-10 Thread Matthias Wessendorf
Yeah. 16th/Mission has many bars. We'll find something there.

Or, if we are boring, there is XYZ :-)

sent from my Android phone

On Sep 10, 2010 10:26 PM, Kito Mann kito.m...@virtua.com wrote:
 So, is everyone okay with Wednesday? Do we just need to find a venue? Any
 suggestions?
 ---
 Kito D. Mann | twitter: kito99 | Author, JSF in Action
 Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
 http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info |
twitter:
 jsfcentral
 +1 203-404-4848 x3

 Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17



 On Tue, Aug 17, 2010 at 4:36 PM, David Geary clarity.train...@gmail.com
wrote:

 Wednesday works for me...

 david

 On Aug 17, 2010 10:08 AM, Matthias Wessendorf mat...@apache.org
wrote:
  I'd prefer Wednesday, since I am already on some shindig for Tuesday
 
  -Matthias
 
  On Tue, Aug 17, 2010 at 5:02 PM, Kito Mann kito.m...@virtua.com
wrote:
  Hello everyone,
  We've been talking about having a JSF meetup during JavaOne over on
the
  MyFaces list. When are people going to be around? I'm thinking Tuesday
 or
  Wednesday is probably best. We were also thinking of maybe meeting in
 the
  Mission so as to avoid the large crowds near Moscone. Thoughts?
  ---
  Kito D. Mann | twitter: kito99 | Author, JSF in Action
  Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and
 consulting
  http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info |
 twitter:
  jsfcentral
  +1 203-404-4848 x3
 
  Sign up for the JSFCentral newsletter:
 http://oi.vresp.com/?fid=ac048d0e17
 
 
 
 
 
  --
  Matthias Wessendorf
 
  blog: http://matthiaswessendorf.wordpress.com/
  sessions: http://www.slideshare.net/mwessendorf
  twitter: http://twitter.com/mwessendorf



Re: [TRINIDAD 1.0.12] LocaleSymbols* at LocaleElements*.js files are empty in 1.0.12 release

2010-09-08 Thread Matthias Wessendorf
Hello,

problem is the build was done w/ java6.
Locally I verified that it works with java5

re-running a release (1.0.13), now

2010/2/24 Rafa Pérez raja...@gmail.com:
 Done , bug https://issues.apache.org/jira/browse/TRINIDAD-1737.

 -- Rafa

 On Wed, Feb 24, 2010 at 10:55 AM, Matthias Wessendorf 
 mat...@apache.orgwrote:

 Rafa,

 hrm.. can u file a bug ticket, that we don't forget to look at it?
 I am currently traveling so not much room for stuff.

 2010/2/23 Rafa Pérez raja...@gmail.com:
  Hi Matthias,
 
  yep, .JS are in there... but *inside you have this (1.0.12):*
 
  *var LocaleSymbols_en = new LocaleSymbols({
  });*
 
  TrMessageFactory._TRANSLATIONS={
 
 'org.apache.myfaces.trinidad.validator.DoubleRangeValidator.NOT_IN_RANGE_detail':'The
  number must be between {2} and {3}.',
  'org.apache.myfaces.trinidad.convert.LongConverter.MAXIMUM':'The
  number is too high.',
 
 'org.apache.myfaces.trinidad.validator.RangeValidator.MAXIMUM_HINT':'Enter
  a number less than or equal to {0}.',
 
 'org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.RANGE_HINT':'Enter
  a date between {0} and {1}.',
 
 'org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MAXIMUM_detail':'The
  date must be on or before {2}.',
 
 'org.apache.myfaces.trinidad.validator.LongRangeValidator.MAXIMUM_detail':'The
  number must be less than or equal to {2}.',
 
 'org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PERCENT':'The
  percentage is not in the correct format.',
  'javax.faces.validator.LongRangeValidator.MAXIMUM_detail':'The number
  must be less than or equal to {2}.',
  'org.apache.myfaces.trinidad.UPLOAD':'The file is too large.',
 
 'org.apache.myfaces.trinidad.UIXSelectMany.UNSUPPORTED_MODEL_TYPE':'Unsupported
  model type.',
  'org.apache.myfaces.trinidad.validator.LongRangeValidator.MAXIMUM':'The
  number is too high.',
  'org.apache.myfaces.trinidad.validator.LengthValidator.MAXIMUM':'There
  are too many characters.',
 
 'org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MAXIMUM_HINT':'Enter
  a date on or before {0}.',
  'org.apache.myfaces.trinidad.convert.LongConverter.CONVERT':'The
  number is not a whole number.',
  'org.apache.myfaces.trinidad.convert.DoubleConverter.CONVERT':'The
  value is not a number.',
  'org.apache.myfaces.trinidad.UIXEditableValue.CONVERSION_detail':'Enter
  a value that matches this pattern: {2}',
  'org.apache.myfaces.trinidad.convert.ColorConverter.FORMAT_HINT':'Example
  format: {0}',
 
 'org.apache.myfaces.trinidad.validator.LengthValidator.NOT_IN_RANGE_detail':'Enter
  {2} or more characters, up to a maximum of {3}.',
  'org.apache.myfaces.trinidad.convert.ShortConverter.CONVERT':'The
  number is not a whole number.',
  'org.apache.myfaces.trinidad.UPLOAD_detail':'The file could not be
  uploaded because it is too large.',
  'org.apache.myfaces.trinidad.validator.RegExpValidator.NO_MATCH':'The
  format is incorrect.',
  'org.apache.myfaces.trinidad.convert.ALERT_FORMAT_detail':'{0} - {1}',
  'javax.faces.validator.LongRangeValidator.MINIMUM':'The number is too
 low.',
  'org.apache.myfaces.trinidad.validator.DateRestrictionValidator.DAY':'The
  date is not valid.',
  'org.apache.myfaces.trinidad.validator.LengthValidator.NOT_IN_RANGE':'The
  number of characters is out of range.',
 
 'org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_BOTH_detail':'Enter
  a date and time in the same format as this example: {2}',
  'org.apache.myfaces.trinidad.convert.DoubleConverter.CONVERT_detail':'The
  value must be a number.',
 
 'org.apache.myfaces.trinidad.convert.DateTimeConverter.BOTH_HINT':'Example
  format: {0}',
 
 'org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PATTERN_detail':'The
  format of the number must match this pattern: {2}',
  'org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_TIME':'The
  time is not in the correct format.',
 
 'org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PERCENT_detail':'Enter
  a percentage in the same format as this example: {2}',
  'org.apache.myfaces.trinidad.convert.ShortConverter.MAXIMUM_detail':'The
  number must be less than or equal to {2}.',
  'org.apache.myfaces.trinidad.convert.IntegerConverter.CONVERT':'The
  number is not a whole number.',
 
 'org.apache.myfaces.trinidad.validator.DateRestrictionValidator.MONTH':'Dates
  in this month are not valid.',
  'org.apache.myfaces.trinidad.convert.LongConverter.MAXIMUM_detail':'The
  number must be less than or equal to {2}.',
  'org.apache.myfaces.trinidad.UIXTableSelectOne.REQUIRED_detail':'You
  must select a row.',
 
 'org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_NUMBER_detail':'The
  value must be a number.',
 
 'org.apache.myfaces.trinidad.convert.IntegerConverter.MINIMUM_detail':'The
  number must be greater than or equal to {2}.',
  'org.apache.myfaces.trinidad.convert.IntegerConverter.MINIMUM':'The
  number is too low.',
  'org.apache.myfaces.trinidad.UIXSelectOne.REQUIRED_detail

Re: [TRINIDAD 1.0.12] LocaleSymbols* at LocaleElements*.js files are empty in 1.0.12 release

2010-09-08 Thread Matthias Wessendorf
I am _not_ passed maven ;-)


2010/9/8 Rafa Pérez raja...@gmail.com:
 Hi Matthias,

 thank you very much.

 -- Rafa

 On Wed, Sep 8, 2010 at 5:16 PM, Matthias Wessendorf mat...@apache.org wrote:
 Hello,

 problem is the build was done w/ java6.
 Locally I verified that it works with java5

 re-running a release (1.0.13), now

 2010/2/24 Rafa Pérez raja...@gmail.com:
 Done , bug https://issues.apache.org/jira/browse/TRINIDAD-1737.

 -- Rafa

 On Wed, Feb 24, 2010 at 10:55 AM, Matthias Wessendorf 
 mat...@apache.orgwrote:

 Rafa,

 hrm.. can u file a bug ticket, that we don't forget to look at it?
 I am currently traveling so not much room for stuff.

 2010/2/23 Rafa Pérez raja...@gmail.com:
  Hi Matthias,
 
  yep, .JS are in there... but *inside you have this (1.0.12):*
 
  *var LocaleSymbols_en = new LocaleSymbols({
  });*
 
  TrMessageFactory._TRANSLATIONS={
 
 'org.apache.myfaces.trinidad.validator.DoubleRangeValidator.NOT_IN_RANGE_detail':'The
  number must be between {2} and {3}.',
  'org.apache.myfaces.trinidad.convert.LongConverter.MAXIMUM':'The
  number is too high.',
 
 'org.apache.myfaces.trinidad.validator.RangeValidator.MAXIMUM_HINT':'Enter
  a number less than or equal to {0}.',
 
 'org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.RANGE_HINT':'Enter
  a date between {0} and {1}.',
 
 'org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MAXIMUM_detail':'The
  date must be on or before {2}.',
 
 'org.apache.myfaces.trinidad.validator.LongRangeValidator.MAXIMUM_detail':'The
  number must be less than or equal to {2}.',
 
 'org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PERCENT':'The
  percentage is not in the correct format.',
  'javax.faces.validator.LongRangeValidator.MAXIMUM_detail':'The number
  must be less than or equal to {2}.',
  'org.apache.myfaces.trinidad.UPLOAD':'The file is too large.',
 
 'org.apache.myfaces.trinidad.UIXSelectMany.UNSUPPORTED_MODEL_TYPE':'Unsupported
  model type.',
  'org.apache.myfaces.trinidad.validator.LongRangeValidator.MAXIMUM':'The
  number is too high.',
  'org.apache.myfaces.trinidad.validator.LengthValidator.MAXIMUM':'There
  are too many characters.',
 
 'org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MAXIMUM_HINT':'Enter
  a date on or before {0}.',
  'org.apache.myfaces.trinidad.convert.LongConverter.CONVERT':'The
  number is not a whole number.',
  'org.apache.myfaces.trinidad.convert.DoubleConverter.CONVERT':'The
  value is not a number.',
  'org.apache.myfaces.trinidad.UIXEditableValue.CONVERSION_detail':'Enter
  a value that matches this pattern: {2}',
  'org.apache.myfaces.trinidad.convert.ColorConverter.FORMAT_HINT':'Example
  format: {0}',
 
 'org.apache.myfaces.trinidad.validator.LengthValidator.NOT_IN_RANGE_detail':'Enter
  {2} or more characters, up to a maximum of {3}.',
  'org.apache.myfaces.trinidad.convert.ShortConverter.CONVERT':'The
  number is not a whole number.',
  'org.apache.myfaces.trinidad.UPLOAD_detail':'The file could not be
  uploaded because it is too large.',
  'org.apache.myfaces.trinidad.validator.RegExpValidator.NO_MATCH':'The
  format is incorrect.',
  'org.apache.myfaces.trinidad.convert.ALERT_FORMAT_detail':'{0} - {1}',
  'javax.faces.validator.LongRangeValidator.MINIMUM':'The number is too
 low.',
  'org.apache.myfaces.trinidad.validator.DateRestrictionValidator.DAY':'The
  date is not valid.',
  'org.apache.myfaces.trinidad.validator.LengthValidator.NOT_IN_RANGE':'The
  number of characters is out of range.',
 
 'org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_BOTH_detail':'Enter
  a date and time in the same format as this example: {2}',
  'org.apache.myfaces.trinidad.convert.DoubleConverter.CONVERT_detail':'The
  value must be a number.',
 
 'org.apache.myfaces.trinidad.convert.DateTimeConverter.BOTH_HINT':'Example
  format: {0}',
 
 'org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PATTERN_detail':'The
  format of the number must match this pattern: {2}',
  'org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_TIME':'The
  time is not in the correct format.',
 
 'org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PERCENT_detail':'Enter
  a percentage in the same format as this example: {2}',
  'org.apache.myfaces.trinidad.convert.ShortConverter.MAXIMUM_detail':'The
  number must be less than or equal to {2}.',
  'org.apache.myfaces.trinidad.convert.IntegerConverter.CONVERT':'The
  number is not a whole number.',
 
 'org.apache.myfaces.trinidad.validator.DateRestrictionValidator.MONTH':'Dates
  in this month are not valid.',
  'org.apache.myfaces.trinidad.convert.LongConverter.MAXIMUM_detail':'The
  number must be less than or equal to {2}.',
  'org.apache.myfaces.trinidad.UIXTableSelectOne.REQUIRED_detail':'You
  must select a row.',
 
 'org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_NUMBER_detail':'The
  value must be a number.',
 
 'org.apache.myfaces.trinidad.convert.IntegerConverter.MINIMUM_detail

Re: [Trinidad] Dojo Bayeux compatibility/feasibility with Trinidad (Mobile)

2010-09-08 Thread Matthias Wessendorf
Trinidad 1.2 works on mobile, see:

http://myfaces.apache.org/trinidad/devguide/mobile.html
http://myfaces.apache.org/trinidad/devguide/mobileSkinning.html

supported browsers:
http://myfaces.apache.org/trinidad/browsers.html

regarding dojo/bayeux: no idea

On Wed, Sep 8, 2010 at 5:23 PM, Seema Richard (UST, IND)
seema.rich...@ust-global.com wrote:
 Hi,



 Sorry for resending the question. Any inputs on this will be very
 helpful.



 Thanks,

 Seema



 From: Seema Richard (UST, IND)
 Sent: Saturday, September 04, 2010 9:32 PM
 To: 'users@myfaces.apache.org'
 Subject: [Trinidad] Dojo Bayeux compatibility/feasibility with Trinidad
 (Mobile)



 In our regular web application which uses MyFaces 1.1 and JSP pages, we
 have implemented Comet/Server-Side push using a Dojo Bayeux client in
 the JSP page. Now we are developing a mobile web application using
 Apache Trinidad (JSF 1.2) and Facelets. We are checking on the
 feasibility of using the same Comet-Bayeux technology in this
 application also.



 So we had the following questions.

 1. Are these libraries ie; Dojo/Bayeux/JSON compatible with Apache
 Trinidad and Facelets?

 2. Will this technology work properly in a mobile browser? We need to
 support iPhone, Blackberry and Android devices

 3. Accessing the web application from the mobile device might be using
 WiFi or GPRS. Could there be any challenges when the Dojo client
 receives and displays the latest updates periodically?



 Thanks,

 Seema





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [TRINIDAD 1.0.12] LocaleSymbols* at LocaleElements*.js files are empty in 1.0.12 release

2010-09-08 Thread Matthias Wessendorf
hey Rafa,

I did an upload to my staging repo:
http://people.apache.org/~matzew/staging_repo/

a vote is going on, on dev@

-M

On Wed, Sep 8, 2010 at 5:37 PM, Matthias Wessendorf mat...@apache.org wrote:
 I am _not_ passed maven ;-)


 2010/9/8 Rafa Pérez raja...@gmail.com:
 Hi Matthias,

 thank you very much.

 -- Rafa

 On Wed, Sep 8, 2010 at 5:16 PM, Matthias Wessendorf mat...@apache.org 
 wrote:
 Hello,

 problem is the build was done w/ java6.
 Locally I verified that it works with java5

 re-running a release (1.0.13), now

 2010/2/24 Rafa Pérez raja...@gmail.com:
 Done , bug https://issues.apache.org/jira/browse/TRINIDAD-1737.

 -- Rafa

 On Wed, Feb 24, 2010 at 10:55 AM, Matthias Wessendorf 
 mat...@apache.orgwrote:

 Rafa,

 hrm.. can u file a bug ticket, that we don't forget to look at it?
 I am currently traveling so not much room for stuff.

 2010/2/23 Rafa Pérez raja...@gmail.com:
  Hi Matthias,
 
  yep, .JS are in there... but *inside you have this (1.0.12):*
 
  *var LocaleSymbols_en = new LocaleSymbols({
  });*
 
  TrMessageFactory._TRANSLATIONS={
 
 'org.apache.myfaces.trinidad.validator.DoubleRangeValidator.NOT_IN_RANGE_detail':'The
  number must be between {2} and {3}.',
  'org.apache.myfaces.trinidad.convert.LongConverter.MAXIMUM':'The
  number is too high.',
 
 'org.apache.myfaces.trinidad.validator.RangeValidator.MAXIMUM_HINT':'Enter
  a number less than or equal to {0}.',
 
 'org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.RANGE_HINT':'Enter
  a date between {0} and {1}.',
 
 'org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MAXIMUM_detail':'The
  date must be on or before {2}.',
 
 'org.apache.myfaces.trinidad.validator.LongRangeValidator.MAXIMUM_detail':'The
  number must be less than or equal to {2}.',
 
 'org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PERCENT':'The
  percentage is not in the correct format.',
  'javax.faces.validator.LongRangeValidator.MAXIMUM_detail':'The number
  must be less than or equal to {2}.',
  'org.apache.myfaces.trinidad.UPLOAD':'The file is too large.',
 
 'org.apache.myfaces.trinidad.UIXSelectMany.UNSUPPORTED_MODEL_TYPE':'Unsupported
  model type.',
  'org.apache.myfaces.trinidad.validator.LongRangeValidator.MAXIMUM':'The
  number is too high.',
  'org.apache.myfaces.trinidad.validator.LengthValidator.MAXIMUM':'There
  are too many characters.',
 
 'org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MAXIMUM_HINT':'Enter
  a date on or before {0}.',
  'org.apache.myfaces.trinidad.convert.LongConverter.CONVERT':'The
  number is not a whole number.',
  'org.apache.myfaces.trinidad.convert.DoubleConverter.CONVERT':'The
  value is not a number.',
  'org.apache.myfaces.trinidad.UIXEditableValue.CONVERSION_detail':'Enter
  a value that matches this pattern: {2}',
  'org.apache.myfaces.trinidad.convert.ColorConverter.FORMAT_HINT':'Example
  format: {0}',
 
 'org.apache.myfaces.trinidad.validator.LengthValidator.NOT_IN_RANGE_detail':'Enter
  {2} or more characters, up to a maximum of {3}.',
  'org.apache.myfaces.trinidad.convert.ShortConverter.CONVERT':'The
  number is not a whole number.',
  'org.apache.myfaces.trinidad.UPLOAD_detail':'The file could not be
  uploaded because it is too large.',
  'org.apache.myfaces.trinidad.validator.RegExpValidator.NO_MATCH':'The
  format is incorrect.',
  'org.apache.myfaces.trinidad.convert.ALERT_FORMAT_detail':'{0} - {1}',
  'javax.faces.validator.LongRangeValidator.MINIMUM':'The number is too
 low.',
  'org.apache.myfaces.trinidad.validator.DateRestrictionValidator.DAY':'The
  date is not valid.',
  'org.apache.myfaces.trinidad.validator.LengthValidator.NOT_IN_RANGE':'The
  number of characters is out of range.',
 
 'org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_BOTH_detail':'Enter
  a date and time in the same format as this example: {2}',
  'org.apache.myfaces.trinidad.convert.DoubleConverter.CONVERT_detail':'The
  value must be a number.',
 
 'org.apache.myfaces.trinidad.convert.DateTimeConverter.BOTH_HINT':'Example
  format: {0}',
 
 'org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PATTERN_detail':'The
  format of the number must match this pattern: {2}',
  'org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_TIME':'The
  time is not in the correct format.',
 
 'org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PERCENT_detail':'Enter
  a percentage in the same format as this example: {2}',
  'org.apache.myfaces.trinidad.convert.ShortConverter.MAXIMUM_detail':'The
  number must be less than or equal to {2}.',
  'org.apache.myfaces.trinidad.convert.IntegerConverter.CONVERT':'The
  number is not a whole number.',
 
 'org.apache.myfaces.trinidad.validator.DateRestrictionValidator.MONTH':'Dates
  in this month are not valid.',
  'org.apache.myfaces.trinidad.convert.LongConverter.MAXIMUM_detail':'The
  number must be less than or equal to {2}.',
  'org.apache.myfaces.trinidad.UIXTableSelectOne.REQUIRED_detail':'You
  must

Re: Problem with the JMeter HTTP Proxy

2010-09-07 Thread Matthias Wessendorf
 in context: 
 http://old.nabble.com/Problem-with-the-JMeter-HTTP-Proxy-tp19435675p27072961.html
 Sent from the MyFaces - Users mailing list archive at Nabble.com.





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


[COMMUNITY] MyFaces += Martin Kočí

2010-09-07 Thread Matthias Wessendorf
The Myfaces PMC is proud to announce a new addition to our community.

Please welcome Martin Kočí as the newest MyFaces committer!
Ali is an active member of the myfaces community. He started on
contributing to Trinidad and was a great resource recently on MyFaces core.


@Martin: Please add yourself to the Master-POM at
https://svn.apache.org/repos/asf/myfaces/myfaces-master-pom/trunk/pom.xml

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: ViewExpiredException - No saved view state could be found for the view identifier

2010-09-01 Thread Matthias Wessendorf
see the other thread on this (ViewExpiredException) topic

-M

On Wed, Sep 1, 2010 at 9:57 AM,  m...@micah-co.com wrote:

 I have been reading about Lifecylces and this is my fourth JSF project.

 As far as I know 30 minutes is default timeout on Tomcat and server state
 saving is also default - according to log output.

 The code is very simple, so if it isn't a bug it should be easy to fix if
 I'm doing something wrong.

 Thanks

 On 8/31/2010 4:53 PM, Micah Klitgaard wrote:

 javax.faces.application.ViewExpiredException: /pages/login.xhtmlNo saved
 view state could be found for the view identifier: /pages/login.xhtml

 ViewExpiredException is one of the most common exceptions you'll
 encounter in JSF.  I'd suggest you start by reading some background
 material on the JSF life cycle (just Google those three terms.)

 Try setting your session-timeout to 30 and state_saving_method to server.

 --
 Guy Rouillier







-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: PortletBridge starting portlet problem

2010-08-31 Thread Matthias Wessendorf
)
  at
 org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167)
  at
 org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:101)
  at
 org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:172)
  at
 org.jasig.portal.portlet.rendering.PortletRendererImpl.doRender(PortletRendererImpl.java:232)
  at
 org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:376)
  at
 org.jasig.portal.channels.portlet.CSpringPortletAdaptor.renderCharacters(CSpringPortletAdaptor.java:217)
  at
 org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:631)
  at org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:41)
  at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown Source)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at
 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
  at
 org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
  at
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
  at
 org.springframework.orm.jpa.JpaInterceptor.invoke(JpaInterceptor.java:96)
  at
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
  at
 org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  at org.jasig.portal.$Proxy106.run(Unknown Source)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
  at
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
  at java.util.concurrent.FutureTask.run(FutureTask.java:138)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  at java.lang.Thread.run(Thread.java:619)



 --
 Yves Deschamps
 CRI P�le Web, Environnement Num�rique de Travail
 B�timent M4
 Tel : 03 20 43 41 89
 Fax : 03 20 43 66 25










-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] java.lang.IllegalStateException: Factory already available for this class loader

2010-08-31 Thread Matthias Wessendorf
Jakub,

this does NOT happen on windows, right ?

-Matthias

On Tue, Aug 24, 2010 at 4:11 PM, Jakub Kahovec
jakub.kaho...@googlemail.com wrote:
 Hi Matthias,

 thanks for your reply.
 Well, brief steps how to reproduce this are already in the ticket (not much
 descriptive though :-). The scenario consist just from
 creating two JSF pages and sending them simultaneously immediately when the
 server has just started.
 As regards the patch, I've just spoken to Rich Kao who is there as an author
 of the comment and he said he's there by mistake actually, he said he'd just
 voted for this issue which happened to appear at patch available comment.
 I'm wondering why no one else is complaining as it seems this issue it must
 occur quite often.

 Jakub

 On 24 August 2010 14:56, Matthias Wessendorf mat...@apache.org wrote:

 HEllo Jakub,

 can you update the ticket with how to reproduce?
 I'll take a look next week (currently on vacation)

 -M

 On Tue, Aug 24, 2010 at 2:48 PM, Jakub Kahovec
 jakub.kaho...@googlemail.com wrote:
  Hi there,
 
  in our application (tomcat 6.0.28+ trinidad 1.2.13+facelets) we are time
 to
  time experiencing java.lang.IllegalStateException: Factory already
 available
  for this class loader, which
  seems to be happening when there are two (or more) requests sent very
  quickly to the server (which IMHO should be pretty normal in busy web
 apps,
  right ?)
  I've found this problem reported in apache JIRA (
 
 https://issues.apache.org/jira/browse/TRINIDAD-195?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel
 )
  but there is no solution (it shows that there is a patch is available but
  it's not there) and the priority was changed from major or minor.
  Well, this issue seems to me quite critical unless there is something
 wrong
  in our settings, which might be likely as I haven't found much references
 to
  this issue (actually just one).
  So has anyone else experienced this problem or is there an easy fix or
  workaround for it ?
 
  Thanks.
 
  Jakub
 



 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] java.lang.IllegalStateException: Factory already available for this class loader

2010-08-31 Thread Matthias Wessendorf
Tried with TRINIDAD-1.2.15-SNAPSHOT (our 12x trunk) + MyFaces 1.2.9

could not reproduce it with the Trinidad demo

On Tue, Aug 31, 2010 at 12:12 PM, Matthias Wessendorf mat...@apache.org wrote:
 Jakub,

 this does NOT happen on windows, right ?

 -Matthias

 On Tue, Aug 24, 2010 at 4:11 PM, Jakub Kahovec
 jakub.kaho...@googlemail.com wrote:
 Hi Matthias,

 thanks for your reply.
 Well, brief steps how to reproduce this are already in the ticket (not much
 descriptive though :-). The scenario consist just from
 creating two JSF pages and sending them simultaneously immediately when the
 server has just started.
 As regards the patch, I've just spoken to Rich Kao who is there as an author
 of the comment and he said he's there by mistake actually, he said he'd just
 voted for this issue which happened to appear at patch available comment.
 I'm wondering why no one else is complaining as it seems this issue it must
 occur quite often.

 Jakub

 On 24 August 2010 14:56, Matthias Wessendorf mat...@apache.org wrote:

 HEllo Jakub,

 can you update the ticket with how to reproduce?
 I'll take a look next week (currently on vacation)

 -M

 On Tue, Aug 24, 2010 at 2:48 PM, Jakub Kahovec
 jakub.kaho...@googlemail.com wrote:
  Hi there,
 
  in our application (tomcat 6.0.28+ trinidad 1.2.13+facelets) we are time
 to
  time experiencing java.lang.IllegalStateException: Factory already
 available
  for this class loader, which
  seems to be happening when there are two (or more) requests sent very
  quickly to the server (which IMHO should be pretty normal in busy web
 apps,
  right ?)
  I've found this problem reported in apache JIRA (
 
 https://issues.apache.org/jira/browse/TRINIDAD-195?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel
 )
  but there is no solution (it shows that there is a patch is available but
  it's not there) and the priority was changed from major or minor.
  Well, this issue seems to me quite critical unless there is something
 wrong
  in our settings, which might be likely as I haven't found much references
 to
  this issue (actually just one).
  So has anyone else experienced this problem or is there an easy fix or
  workaround for it ?
 
  Thanks.
 
  Jakub
 



 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf





 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] Nightly Builds... !

2010-08-27 Thread Matthias Wessendorf
Nothing. Simply Delayed, since I had no time and there were a few
issues, on the maven side

-M

On Fri, Aug 27, 2010 at 1:21 PM, Paul Mander paul.s.man...@gmail.com wrote:

 That's great. What happened to 1.2.14?


 Matthias Wessendorf-4 wrote:

 Hi,

 since of yesterday(?) most MyFaces projects are now building on our
 ASF Hudson machine.

 The new location for snapshots / nightly builds is now here:

 https://repository.apache.org/content/repositories/snapshots/org/apache/myfaces/trinidad/

 Currently you find:
 -1.0.13
 -1.2.15
 -2.0.0.3

 (all SNAPSHOT)

 -M

 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf



 --
 View this message in context: 
 http://old.nabble.com/-Trinidad--Nightly-Builds...-%21-tp29543906p29551573.html
 Sent from the MyFaces - Users mailing list archive at Nabble.com.





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] Web Site

2010-08-26 Thread Matthias Wessendorf
:) yeah, the nightly builds already contain ajax and are good enough
to call them beta (or GA)

-M

On Thu, Aug 26, 2010 at 10:22 AM, Michael Kurz michi.k...@gmx.at wrote:
 No, there is no stable release of Trinidad 2.0 yet. 2.0-alpha-2 is the
 latest release afaik.

 Michael

 Am 26.08.2010 02:23, schrieb Javier Alcala:

 So, could you tell me please if there is a stable release for Trinidad 2.0
 and the URL for download?

 2010/8/25 Scott O'Bryandarkar...@gmail.com

 Matthias,

 Not only that but Continuum has been unreliable and the Bridge team
 had some trouble at one point getting our site replicated.  I fixed
 it, just don't ask me how I did it.  ;)


 Sent from my iPhone

 On Aug 24, 2010, at 10:19 PM, Matthias Wessendorfmat...@apache.org
 wrote:

 We have not really changed a lot of info on that site.
 Also our site build has slight issues ...

 sent from my Android phone

 On Aug 25, 2010 5:23 AM, Javier Alcalajalca...@gmail.com  wrote:

 Hi,
 The official Trinidad web site at

 http://myfaces.apache.org/trinidad/shows

 Last Published: 2010-02-16. It's too much time, when will you be back
 in
 official site or is there a new site for download official releases and
 documentation?

 Thanks,

 Javier






-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


[Trinidad] Nightly Builds... !

2010-08-26 Thread Matthias Wessendorf
Hi,

since of yesterday(?) most MyFaces projects are now building on our
ASF Hudson machine.

The new location for snapshots / nightly builds is now here:

https://repository.apache.org/content/repositories/snapshots/org/apache/myfaces/trinidad/

Currently you find:
-1.0.13
-1.2.15
-2.0.0.3

(all SNAPSHOT)

-M

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] java.lang.IllegalStateException: Factory already available for this class loader

2010-08-24 Thread Matthias Wessendorf
HEllo Jakub,

can you update the ticket with how to reproduce?
I'll take a look next week (currently on vacation)

-M

On Tue, Aug 24, 2010 at 2:48 PM, Jakub Kahovec
jakub.kaho...@googlemail.com wrote:
 Hi there,

 in our application (tomcat 6.0.28+ trinidad 1.2.13+facelets) we are time to
 time experiencing java.lang.IllegalStateException: Factory already available
 for this class loader, which
 seems to be happening when there are two (or more) requests sent very
 quickly to the server (which IMHO should be pretty normal in busy web apps,
 right ?)
 I've found this problem reported in apache JIRA (
 https://issues.apache.org/jira/browse/TRINIDAD-195?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel)
 but there is no solution (it shows that there is a patch is available but
 it's not there) and the priority was changed from major or minor.
 Well, this issue seems to me quite critical unless there is something wrong
 in our settings, which might be likely as I haven't found much references to
 this issue (actually just one).
 So has anyone else experienced this problem or is there an easy fix or
 workaround for it ?

 Thanks.

 Jakub




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] Web Site

2010-08-24 Thread Matthias Wessendorf
We have not really changed a lot of info on that site.
Also our site build has slight issues ...

sent from my Android phone

On Aug 25, 2010 5:23 AM, Javier Alcala jalca...@gmail.com wrote:
 Hi,
 The official Trinidad web site at http://myfaces.apache.org/trinidad/shows
 Last Published: 2010-02-16. It's too much time, when will you be back in
 official site or is there a new site for download official releases and
 documentation?

 Thanks,

 Javier


Re: [Trinidad] Nightly Builds?

2010-08-18 Thread Matthias Wessendorf
HEy,

thre are some problems with the continuum server, unfortunaley we
haven't really done much there :-(

On Wed, Aug 18, 2010 at 4:38 PM, Paul Mander paul.s.man...@gmail.com wrote:

 Where have the 1.2.x branch nightly builds gone? The last one was Feb10 2010.
 I know there have been subsequent SVN commit since.

 Paul
 --
 View this message in context: 
 http://old.nabble.com/-Trinidad--Nightly-Builds--tp29472076p29472076.html
 Sent from the MyFaces - Users mailing list archive at Nabble.com.





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] Nightly Builds?

2010-08-18 Thread Matthias Wessendorf
hey paul,

see that the nightly are currently build trunk:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/myfaces/trinidad/

Looks like we only have to add the 1.2.x-branch

On Wed, Aug 18, 2010 at 4:55 PM, Matthias Wessendorf mat...@apache.org wrote:
 HEy,

 thre are some problems with the continuum server, unfortunaley we
 haven't really done much there :-(

 On Wed, Aug 18, 2010 at 4:38 PM, Paul Mander paul.s.man...@gmail.com wrote:

 Where have the 1.2.x branch nightly builds gone? The last one was Feb10 2010.
 I know there have been subsequent SVN commit since.

 Paul
 --
 View this message in context: 
 http://old.nabble.com/-Trinidad--Nightly-Builds--tp29472076p29472076.html
 Sent from the MyFaces - Users mailing list archive at Nabble.com.





 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


FYI - Duesseldorf (was: Fwd: Apache Dinner DUS (co-located with FSFE fellowship meetup))

2010-08-17 Thread Matthias Wessendorf
FYI


-- Forwarded message --
From: Isabel Drost isa...@apache.org
Date: Tue, Aug 17, 2010 at 9:06 PM
Subject: Apache Dinner DUS (co-located with FSFE fellowship meetup)
To: commun...@apache.org
Cc: java-u...@lucene.apache.org, u...@mahout.apache.org,
gene...@hadoop.apache.org



Hello,

the evening after FrOSCon - that is on August 22nd 2010 at 7:30p.m. CEST - a
combined FSFE Fellowship meetup/ Apache dinner* takes place in Tigges in
Düsseldorf (Brunnenstraße 1, at Bilker S-Bahnhof). Given it doesn't rain, we'll
be sitting outside.

Would be great to meet you there for tasty food, interesting discussions on
Apache in general, as well as projects like Lucene, Hadoop or Tomcat in
particular. Anyone interested in either the FSFE or Apache is welcome to join
us.

One personal request: Somehow, Rainer (Kersten, FSFE) talked me into preparing a
talk on what the ASF is all about - would be really great to have more people
around share their experience.


See you in Düsseldorf,
Isabel


* http://blog.isabel-drost.de/index.php/archives/category/events/apache-dinner-
berlin



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


signature.asc
Description: PGP signature


Re: Trinidad code completion

2010-08-06 Thread Matthias Wessendorf
Strange. But I guess that is a tooling issue

sent from my Android phone

On Aug 6, 2010 6:34 PM, Walter Mourão walter.mou...@gmail.com wrote:
 Hi folks,
 after installing Eclipse Helios (J2EE bundle + Trinidad plugin) the
Trinidad
 code completion stopped working...

 Hints ?

 Thanks in advance,


 Walter Mourão
 http://waltermourao.com.br
 http://arcadian.com.br
 http://oriens.com.br


Re: [Trinidad] Release history

2010-08-03 Thread Matthias Wessendorf
Jira should have them

On Tue, Aug 3, 2010 at 12:14 PM,  yassine.al...@polytech-lille.net wrote:
 Hi,

 I'm working on a project for my school where I have to compare between
 different frameworks, and I need a list of all the versions of MyFaces
 Trinidad and their release dates.

 Thank you,

 Yassine


 
 This message was sent using IMP, the Internet Messaging Program.





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Migrating app to myfaces2/Trinidad2

2010-07-23 Thread Matthias Wessendorf
Hey Cédric,

thanks for trying Trinidad2 and MyFaces2.

Let me double check on my side.

BTW. I hope to get to a 2.0.0-beta release, of Trinidad, next week

-Matthias

On Fri, Jul 23, 2010 at 3:15 PM, Cédric Durmont cdurm...@gmail.com wrote:
 Hello,

 I'm trying to switch my app from myfaces 1.2.8 / Trinidad 1.2.13 to
 myfaces 2.0.0 / Trinidad 2.0.0.3-SNAPSHOT. I was already using
 facelets (1.1.15)
 I haven't found any relevant documentation on that subject online, so
 I basically changed version numbers in my pom.xml

 Switching from myfaces 1.2.8 to myfaces 2.0.0 seems to work well (my
 app still runs fine)
 But if I try to switch to trinidad 2 (alpha, alpha2 or snapshot), I
 have this message for every actionListener in my code :

 javax.el.ELException: /somePage.xhtml: The class 'com.acme.someBean'
 does not have the property 'doSomething'

 Of course, the property exists (the application runs fine with
 Trinidad 1.2.x). Did I miss something ? Parameters in web.xml /
 faces-config.xml ? version of facelets / el-api ?

 Any hint is welcome, I'm stuck !

 Regards,
 Cedric Durmont




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Migrating app to myfaces2/Trinidad2

2010-07-23 Thread Matthias Wessendorf
Hi Cédric,

I just checked and our demo works fine with MyFaces 2.0.1

cd $TINIDAD_HOME/trinidad-examples/trinidad-demo
mvn clean jetty:run -PjettyConfig

-Matthias

But yeah, a small migration document would be great :)



On Fri, Jul 23, 2010 at 3:19 PM, Matthias Wessendorf mat...@apache.org wrote:
 Hey Cédric,

 thanks for trying Trinidad2 and MyFaces2.

 Let me double check on my side.

 BTW. I hope to get to a 2.0.0-beta release, of Trinidad, next week

 -Matthias

 On Fri, Jul 23, 2010 at 3:15 PM, Cédric Durmont cdurm...@gmail.com wrote:
 Hello,

 I'm trying to switch my app from myfaces 1.2.8 / Trinidad 1.2.13 to
 myfaces 2.0.0 / Trinidad 2.0.0.3-SNAPSHOT. I was already using
 facelets (1.1.15)
 I haven't found any relevant documentation on that subject online, so
 I basically changed version numbers in my pom.xml

 Switching from myfaces 1.2.8 to myfaces 2.0.0 seems to work well (my
 app still runs fine)
 But if I try to switch to trinidad 2 (alpha, alpha2 or snapshot), I
 have this message for every actionListener in my code :

 javax.el.ELException: /somePage.xhtml: The class 'com.acme.someBean'
 does not have the property 'doSomething'

 Of course, the property exists (the application runs fine with
 Trinidad 1.2.x). Did I miss something ? Parameters in web.xml /
 faces-config.xml ? version of facelets / el-api ?

 Any hint is welcome, I'm stuck !

 Regards,
 Cedric Durmont




 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Migrating app to myfaces2/Trinidad2

2010-07-23 Thread Matthias Wessendorf
do you mind to compare yours against our demo's pom ?


base file:
https://svn.apache.org/repos/asf/myfaces/trinidad/trunk/trinidad-examples/pom.xml

for the actual problem:
https://svn.apache.org/repos/asf/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/pom.xml

Thx!
M

On Fri, Jul 23, 2010 at 4:20 PM, Cédric Durmont cdurm...@gmail.com wrote:
 Thanks for looking into it, Matthias !
 Sadly, it doesn't work with MyFaces 2.0.1.
 I guess something must be wrong in my pom.xml. Here is its dependency
 section (I removed non relevant entries) :

  !-- Project dependencies --
  dependencies
    dependency
      groupIdorg.apache.myfaces.core/groupId
      artifactIdmyfaces-api/artifactId
      version${myfaces.version}/version
      scopecompile/scope
    /dependency
    dependency
      groupIdorg.apache.myfaces.core/groupId
      artifactIdmyfaces-impl/artifactId
      version${myfaces.version}/version
      scopecompile/scope
    /dependency
    !-- Apache Trinidad --
    dependency
      groupIdorg.apache.myfaces.trinidad/groupId
      artifactIdtrinidad-api/artifactId
      version${trinidad.version}/version
      scopecompile/scope
    /dependency
    dependency
      groupIdorg.apache.myfaces.trinidad/groupId
      artifactIdtrinidad-impl/artifactId
      version${trinidad.version}/version
      scopecompile/scope
    /dependency

    dependency
        groupIdjavax.servlet/groupId
        artifactIdjstl/artifactId
        version1.2/version
        scoperuntime/scope
    /dependency
    dependency
        groupIdtomcat/groupId
        artifactIdservlet-api/artifactId
        version5.5.23/version
        scopeprovided/scope
    /dependency
    dependency
        groupIdtaglibs/groupId
        artifactIdstandard/artifactId
        version1.1.2/version
    /dependency
    dependency
        groupIdorg.apache.myfaces.tomahawk/groupId
        artifactIdtomahawk/artifactId
        version1.1.9/version
    /dependency
    dependency
        groupIdcom.sun.facelets/groupId
        artifactIdjsf-facelets/artifactId
        version1.1.15/version
    /dependency
    dependency
        groupIdcom.oracle/groupId
        artifactIdojdbc12/artifactId
        version9.0/version
    /dependency
    dependency
        groupIdrome/groupId
        artifactIdrome/artifactId
        version0.9/version
    /dependency
    dependency
        groupIdjavax.el/groupId
        artifactIdel-api/artifactId
        version1.0/version
        scopeprovided/scope
    /dependency
    dependency
        groupIdorg.eclipse.persistence/groupId
        artifactIdeclipselink/artifactId
        version2.0.1/version
        scopecompile/scope
    /dependency
    dependency
        groupIdorg.eclipse.persistence/groupId
        artifactIdjavax.persistence/artifactId
        version2.0.0/version
        scopecompile/scope
    /dependency
  /dependencies

  properties
    trinidad.version2.0.0.3-SNAPSHOT/trinidad.version
    myfaces.version2.0.1/myfaces.version
  /properties

 2010/7/23 Matthias Wessendorf mat...@apache.org:
 Hi Cédric,

 I just checked and our demo works fine with MyFaces 2.0.1

 cd $TINIDAD_HOME/trinidad-examples/trinidad-demo
 mvn clean jetty:run -PjettyConfig

 -Matthias

 But yeah, a small migration document would be great :)



 On Fri, Jul 23, 2010 at 3:19 PM, Matthias Wessendorf mat...@apache.org 
 wrote:
 Hey Cédric,

 thanks for trying Trinidad2 and MyFaces2.

 Let me double check on my side.

 BTW. I hope to get to a 2.0.0-beta release, of Trinidad, next week

 -Matthias

 On Fri, Jul 23, 2010 at 3:15 PM, Cédric Durmont cdurm...@gmail.com wrote:
 Hello,

 I'm trying to switch my app from myfaces 1.2.8 / Trinidad 1.2.13 to
 myfaces 2.0.0 / Trinidad 2.0.0.3-SNAPSHOT. I was already using
 facelets (1.1.15)
 I haven't found any relevant documentation on that subject online, so
 I basically changed version numbers in my pom.xml

 Switching from myfaces 1.2.8 to myfaces 2.0.0 seems to work well (my
 app still runs fine)
 But if I try to switch to trinidad 2 (alpha, alpha2 or snapshot), I
 have this message for every actionListener in my code :

 javax.el.ELException: /somePage.xhtml: The class 'com.acme.someBean'
 does not have the property 'doSomething'

 Of course, the property exists (the application runs fine with
 Trinidad 1.2.x). Did I miss something ? Parameters in web.xml /
 faces-config.xml ? version of facelets / el-api ?

 Any hint is welcome, I'm stuck !

 Regards,
 Cedric Durmont




 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf




 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


[COMMUNITY] MyFaces += Ali Ok

2010-07-22 Thread Matthias Wessendorf
The Myfaces PMC is proud to announce a new addition to our community.

Please welcome Ali Ok as the newest MyFaces committer!
Ali is an active member of the myfaces community, especially on
MyFaces core and the HTML5 (gsoc) subproject.

@Ali: Please add yourself to the Master-POM at
https://svn.apache.org/repos/asf/myfaces/myfaces-master-pom/trunk/pom.xml

-Matthias

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [COMMUNITY] MyFaces += Rudy De Busscher

2010-07-22 Thread Matthias Wessendorf
Welcome aboard !

-Matthias

On Thu, Jul 22, 2010 at 12:11 PM, Rudy De Busscher
rdebussc...@gmail.com wrote:
 @all

 Thanks a lot and I am very honored.

 and thanks to Gerhard for his guidance and opportunities he gave me.

 regards
 Rudy.

 On 22 July 2010 11:18, Jakob Korherr jakob.korh...@gmail.com wrote:

 Congrats and welcome, Rudy!

 Regards,
 Jakob

 2010/7/22 Hazem Saleh haz...@apache.org

  Congratulations!
 
  On Thu, Jul 22, 2010 at 9:29 AM, Jan-Kees van Andel 
  jankeesvanan...@gmail.com wrote:
 
   Congratulations and welcome to club, Rudy!
  
   Regards,
   Jan-Kees
  
   2010/7/22 Gerhard Petracek gpetra...@apache.org
  
The MyFaces PMC is proud to announce a new addition to our community.
   
Please welcome Rudy De Busscher as the newest MyFaces committer!
Rudy is an active member of the MyFaces community, especially in
the MyFaces Extensions Validator section of the code.
   
@Rudy: Please add yourself to the Master-POM at
   
  
 
 https://svn.apache.org/repos/asf/myfaces/myfaces-master-pom/trunk/pom.xml
   
Welcome  regards,
Gerhard
   
  
 
 
 
  --
  Hazem Ahmed Saleh Ahmed
 
  Author of (The Definitive Guide to Apache MyFaces and Facelets):
 
 
 http://www.amazon.com/Definitive-Guide-Apache-MyFaces-Facelets/dp/1590597370
  http://www.amazon.com/-/e/B002M052KY
 
  Web blog: http://hazems.blogetery.com/
 
  [Web 2.0] Mashups Integration with JSF:
  http://code.google.com/p/mashups4jsf/
 



 --
 Jakob Korherr

 blog: http://www.jakobk.com
 twitter: http://twitter.com/jakobkorherr
 work: http://www.irian.at





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] need timelines for the Trinidad 2 release

2010-07-15 Thread Matthias Wessendorf
Hi,

there will be a Trinidad 2.x beta release soon, since the ajax
enhancements are now in there for a long time.

-Matthias

On Wed, Jul 14, 2010 at 10:07 PM, Venkat Ramanan Viswanathan
ramanan.venka...@gmail.com wrote:
 HI

 Can some one share the timelines for Trinidad 2 final release. We are still
 using alpha 2 for our environment and it is quite stable except that
 f:ajax is not working correctly. Can some one share the dates for RC1, RC2
 and final production release.

 Also are there plans to make it work with other frameworks ? Currently if we
 use trinidad components, we cannot mix them with other jsf component
 frameworks like  richfaces , primefaces , Icefaces as the PPR concepts are
 different in each framework.

 Thanks
 Venkat




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Problem with nested CDATA sections in scripts in a PPR

2010-07-12 Thread Matthias Wessendorf
It's a little bit lame that the primefaces guys never run their tests
with MyFaces.

-Matthias

On Mon, Jul 12, 2010 at 7:21 AM, Marcus Büttner m...@buett.at wrote:
 Hi,

 I've a similar problem with primefaces and myfaces. The standard f:ajax to
 rerender a component works as espected but p:ajax do not update other
 primefaces components. I've posted it to the primefaces forum but with
 mojarra it seems to work.

 my example:

 h:form id=myForm
   h:selectOneMenu id=selectMenu value=#{myBean.menuValue}
       f:selectItem itemValue=true itemLabel=Yes/
       f:selectItem itemValue=false itemLabel=No/
       p:ajax event=change update=output process=selectMenu/
   /h:selectOneMenu
   p:inputMask id=output mask= value=#{myBean.menuValue}/
   h:commandButton action=action/
 /h:form

 Could this be the same cause?

 Marcus

 Bruno Aranda schrieb:

 I think you may be right, I have tried to test cases (attached to the
 JIRA ticket). One using a primefaces button and the other using a jsf
 standard button, and the latter works as expected.

 Bruno

 On 12 July 2010 15:03, Werner Punz werner.p...@gmail.com wrote:


 Superb, as I said I am not entirely sure if myfaces is at fault here, my
 personal guess goes towards a custom partial response writer on the
 PrimeFaces side, but I am guessing here, because we have fallback code in
 our ppr responseWriter which exactly should cover what we have here:

   private String postProcess(StackEntry currentElement) throws
 IOException
 {

       currentElement.getWriter().flush();
       StringBuffer buffer = currentElement.getDoubleBuffer().getBuffer();

       String resultString = buffer.toString();
       //section http://www.w3.org/TR/REC-xml/#sec-cdata-sect everything
 is
 parsed
       //until it hits a ]] hence we need to do some mapping here

       //ok since our maximum string size is Integer.MAX_VALUE (most JVMs
 use char [] as
       //representations
       //we can work on strings directly, instead of having to go through
 streams
       //it is absolutely unlikely that we will ever have a buffered
 stream
 bigger than that
       //for our writer!
       if (resultString.contains(]])) {

           //we now first remove pending javascript CDATA blocks
           //the reason is if we leave them the ppr chokes on them
           //the syntax from the auto generated CDATA usually is
 //\s+![CDATA[
           resultString =
 resultString.replaceAll(//\\s*((!\\[CDATA\\[)|(\\]\\]\\)), );
           //now to fullfill the xml spec we have to replace all ]] with
 blocks of cdata
           resultString = resultString.replaceAll(\\]\\]\\,
 ]]![CDATA[![CDATA[);
       }
       return resultString;
   }

 The idea is to double buffer a ppr cdata block and do some final
 postprocessing by excaping ]] by valid cadata escapes.
 So this section should never be rendered that way


 //]]/script


 would have been crrect
 ]]![CDATA[![CDATA[/script

 instead it should have gotten a split into two cdata blocks.
 But we may have a bug here as well.

 Werner




 Am 12.07.10 15:52, schrieb Bruno Aranda:


 I will create a simple test case,

 Cheers,

 Bruno

 On 12 July 2010 14:47, Werner Punzwerner.p...@gmail.com  wrote:


 Hi Bruno can you file a snippet of the original xhtml markup into

 https://issues.apache.org/jira/browse/MYFACES-2811

 Werner



 Am 12.07.10 15:33, schrieb Werner Punz:


 Hi Bruno, please file a bugreport on it. We should fix this before
 2.0.1
 this is a bug in the ppr responsewriter on the server side. I was
 fixing
 exactly this issue a few months ago, maybe we have some regression bug
 here.




 Werner

 Am 12.07.10 14:48, schrieb Bruno Aranda:


 Hi,

 I have a partial response that contains invalid syntax because CDATA
 sections are nested. For example, in my app this code is generated in
 the partial response:

 ?xml version=1.0



 encoding=UTF-8?partialResponsecomponentscomponentideditorForm/idoutput![CDATA[form

 id=editorForm name=editorForm method=post
 action=/editor/curate/publication.jsf?conversationContext=2
 enctype=application/x-www-form-urlencodedspan
 id=growl/spanscript type=text/javascript//![CDATA[
 jQuery.gritter.add({title:'Publication saved',text:'AC:



 EBI-2637354',image:'/editor/primefaces_resource/2.0.3-SNAPSHOT/primefaces/growl/assets/info.png?conversationContext=2',sticky:false});


 //]]/script













-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


MyFaces PMC += Max Starets

2010-07-06 Thread Matthias Wessendorf
Dear MyFaces community,

please welcome our new MyFaces PMC member Max Starets.

Max is mostly working on Apache MyFaces Trinidad.

Therefore last week there was a vote to invite him to the MyFaces
Project Management Committee (PMC) and fortunately he did accept.

Max,
Please subscribe to the priv...@myfaces.apache.org list and update
your status on the site:
http://svn.apache.org/repos/asf/myfaces/myfaces-master-pom/trunk/pom.xml

Thanks.

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


MyFaces PMC += Jan-Kees van Andel

2010-07-06 Thread Matthias Wessendorf
Dear MyFaces community,

please welcome our new MyFaces PMC member Jan-Kees van Andel.

Jan-Kees is working on several things at Apache MyFaces.

Therefore last week there was a vote to invite him to the MyFaces
Project Management Committee (PMC) and fortunately he did accept.

Jan-Kees,
Please subscribe to the priv...@myfaces.apache.org list and update
your status on the site:
http://svn.apache.org/repos/asf/myfaces/myfaces-master-pom/trunk/pom.xml

Thanks.

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


MyFaces PMC += Jakob Korherr

2010-07-06 Thread Matthias Wessendorf
Dear MyFaces community,

please welcome our new MyFaces PMC member Jakob Korherr.

Jakob is working on several things at Apache MyFaces.

Therefore last week there was a vote to invite him to the MyFaces
Project Management Committee (PMC) and fortunately he did accept.

Jakob,
Please subscribe to the priv...@myfaces.apache.org list and update
your status on the site:
http://svn.apache.org/repos/asf/myfaces/myfaces-master-pom/trunk/pom.xml

Thanks.

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


MyFaces PMC += Blake Sullivan

2010-07-06 Thread Matthias Wessendorf
Dear MyFaces community,

please welcome our new MyFaces PMC member Blake Sullivan.

Blake is mostly working on Apache MyFaces Trinidad.

Therefore last week there was a vote to invite him to the MyFaces
Project Management Committee (PMC) and fortunately he did accept.

Blake,
Please subscribe to the priv...@myfaces.apache.org list and update
your status on the site:
http://svn.apache.org/repos/asf/myfaces/myfaces-master-pom/trunk/pom.xml

Thanks.

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: TrinidadFaceletViewHandler missing

2010-05-12 Thread Matthias Wessendorf
it has been removed since we moved our code to JSF2.
http://svn.apache.org/viewvc?view=revisionrevision=824901

Note that Facelets is now part of JSF...

-Matthias

On Wed, May 12, 2010 at 12:01 AM, Ayhan T tekj...@gmail.com wrote:
 Hello,
 I am trying to use JSF 2 with Facelets and Trinidad
 (trinidad-api-2.0.0-alpha-2).
 With the latest Trinidad distribution (trinidad-api-2.0.0-alpha-2), I cannot
 find TrinidadFaceletViewHandler class
 in org.apache.myfaces.trinidadinternal.facelets.
 I am not quite sure how to implement Facelets without this class. Any help
 would be appreciated.

 Regards,
 Ayhan




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


[FYI] New article on Trinidad and mobile

2010-05-01 Thread Matthias Wessendorf
Hi,

a new article on Trinidad/Mobile JSF development:

http://twitter.com/lucb_/status/13146979264

-Matthias

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad 2] Announcement: JSF 2 ajax support has been added to the trunk

2010-04-20 Thread Matthias Wessendorf
great news!

-Matthias

On Tue, Apr 20, 2010 at 9:33 PM, Andrew Robinson arobinso...@apache.org wrote:
 As of SVN revision 936035, the Trinidad trunk now supports the built in AJAX
 of JSF2.

 Details:

   - Requests through f:ajax supported with Trinidad components
   - jsf.ajax.request used to submit PPR requests from the Trinidad request
   queue
   - Server delivers JSF2 payload, with special handling for Trinidad IFRAME
   requests to send down script libraries
   - IFrame processing still possible by bypassing the jsf.ajax code which
   has yet to be made compatible with file uploads in either Mojarra or MyFaces
      - Note that there is a limitation that iframe processing only supports
      the legacy PPR of Trinidad (replacement only, no support for the
 new insert,
      delete, attribute change functionality of the JSF2 partial
 response writer)
   - Trinidad still supports broadcasting of DOM changes and restores focus
   by leveraging JSF AJAX events
   - Agent specific flag to disable AJAX through jsf.ajax to handle use
   cases where mobile platforms do not function using the Mojarra or MyFaces
   JavaScript
   - Integration on the server between JSF 2 rendered IDs and Trinidad
   partial triggers
   - Partial submit and client behavior support
   - Trinidad's partial triggers will be honored for the jsf ajax requests.
      - However, this will currently work only with execute=@all or if the
      execute attribute is pointed to each component that is listed as
 a partial
      trigger.
      - Once we start adding trigger listeners during the PostRestoreView
      event processing, instead of decode, this limitation will go away.

 We welcome your assistance to test your applications on the current Trunk
 and report your findings and file issues when found.

 Thank you,
 Andrew




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Cannot get tr:inputDate to work

2010-04-14 Thread Matthias Wessendorf
On Tue, Apr 13, 2010 at 11:47 AM, Eisenträger, Tobias
tobias.eisentrae...@arag.de wrote:
 -Ursprüngliche Nachricht-
 Von: mwessend...@gmail.com [mailto:mwessend...@gmail.com] Im Auftrag von
 Matthias Wessendorf
 Gesendet: Dienstag, 13. April 2010 11:31
 An: MyFaces Discussion
 Betreff: Re: Cannot get tr:inputDate to work

 does the vanilla demo work for you ?
 No, gives the error as stated in original email.

hrm, I do not see that.

checked on here
http://svn.apache.org/repos/asf/myfaces/trinidad/branches/trinidad-1.2.x/

in trinidad-examples/trinidad-demo I simply called
mvn clean jetty:run -PjettyConfig (After I build the branch)

tr:inputDate works fine

-M


 Did you register the TrindadFilter ?
 filter
    filter-nametrinidad/filter-name
    filter-class
                        org.apache.myfaces.trinidad.webapp.TrinidadFilter
                /filter-class
  /filter

  filter-mapping
    filter-nametrinidad/filter-name
    servlet-namefaces/servlet-name
  /filter-mapping

  filter-mapping
    filter-nameMyFacesExtensionsFilter/filter-name
    url-pattern*.jsf/url-pattern
  /filter-mapping

  filter-mapping
    filter-nameMyFacesExtensionsFilter/filter-name
    url-pattern/faces/*/url-pattern
  /filter-mapping

 Do I need more filter mappings - I notice that only the urls with 
 appname/index.jsf work, the ones with /faces/index.jspx do not.

 Did you add the renderKit (to faces-cfg) ?
 application
    !-- Use the Trinidad RenderKit --
    default-render-kit-id
      org.apache.myfaces.trinidad.core
    /default-render-kit-id
    !--  Set the user locale --
    locale-config
                default-localede/default-locale
                supported-localede/supported-locale
        /locale-config
    resource-bundle
                base-namemessages/base-name
                varmsgs/var
        /resource-bundle
        resource-bundle
                base-namejflowwebclient/base-name
                varproperties/var
        /resource-bundle
  /application

 -M

 On Tue, Apr 13, 2010 at 11:23 AM, Eisenträger, Tobias
 tobias.eisentrae...@arag.de wrote:
  Hello,
 
 
 
  I think I am missing a configuration, something for additional resources
 from ADF, but I cannot remember how to configure that, and where. The
 problem is that when I use the tr:inputDate from the example at:
 http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_inputDate.html
 http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_inputDate.html
  on click nothing happens - the problem ist, that the browser is looking
 for:
 http://server:port/appName/__ADFv__?_t=cdvalue=1271150122202loc=deenc=i
 so-8859-1 where a 404 is returned.
 
 
 
  Apr 13, 2010 11:22:54 AM
 org.apache.myfaces.renderkit.html.HtmlRenderKitImpl getRenderer
 
  WARNING: Unsupported component-family/renderer-type:
 org.apache.myfaces.trinidad.Input/org.apache.myfaces.trinidad.CoreInputTex
 t
 
  Apr 13, 2010 11:22:54 AM
 org.apache.myfaces.trinidadinternal.renderkit.RenderKitBase getRenderer
 
  WARNING: Renderer 'org.apache.myfaces.trinidad.CoreInputText' not found
 for component family 'org.apache.myfaces.trinidad.Input'
 
  Apr 13, 2010 11:22:54 AM
 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl
 
  WARNING: Could not find renderer for UIXInput[UIXEditableFacesBeanImpl,
 id=patitoPerez] rendererType = org.apache.myfaces.trinidad.CoreInputText
 
 
 
  Any tipps?
 
 
 
  Thanks!
 
 
 
  Mit freundlichen Grüßen
 
 
 
  Tobias Eisenträger
 
 
 
  Softwareentwickler
 
  Dokumentenmanagement/Workflow/Internet, AKB 8125
 
 
 
  ARAG IT GmbH
  ARAG Platz 1, 40472 Düsseldorf
 
  Tel.: +49 (0)211 964-1937
 
  tobias.eisentrae...@arag.de
  www.ARAG.de
 
 
 
  Aufsichtsratsvorsitzender:
 
  Gerd Peskes
 
  Vorstand:
 
  Dr. Paul-Otto Faßbender (Vors.),
 
  Dr. Jan-Peter Horst,
 
  Dr. Johannes Kathan, Werner Nicoll,
 
  Hanno Petersen, Dr. Joerg Schwarze
 
  Sitz und Registergericht:
 
  Düsseldorf, HRB 1371
 
  USt-ID-Nr.: DE 119 355 995
 
 
 
 



 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Cannot get tr:inputDate to work

2010-04-13 Thread Matthias Wessendorf
does the vanilla demo work for you ?

Did you register the TrindadFilter ?
Did you add the renderKit (to faces-cfg) ?

-M

On Tue, Apr 13, 2010 at 11:23 AM, Eisenträger, Tobias
tobias.eisentrae...@arag.de wrote:
 Hello,



 I think I am missing a configuration, something for additional resources from 
 ADF, but I cannot remember how to configure that, and where. The problem is 
 that when I use the tr:inputDate from the example at: 
 http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_inputDate.html 
 http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_inputDate.html  
 on click nothing happens - the problem ist, that the browser is looking for: 
 http://server:port/appName/__ADFv__?_t=cdvalue=1271150122202loc=deenc=iso-8859-1
  where a 404 is returned.



 Apr 13, 2010 11:22:54 AM org.apache.myfaces.renderkit.html.HtmlRenderKitImpl 
 getRenderer

 WARNING: Unsupported component-family/renderer-type: 
 org.apache.myfaces.trinidad.Input/org.apache.myfaces.trinidad.CoreInputText

 Apr 13, 2010 11:22:54 AM 
 org.apache.myfaces.trinidadinternal.renderkit.RenderKitBase getRenderer

 WARNING: Renderer 'org.apache.myfaces.trinidad.CoreInputText' not found for 
 component family 'org.apache.myfaces.trinidad.Input'

 Apr 13, 2010 11:22:54 AM 
 org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl

 WARNING: Could not find renderer for UIXInput[UIXEditableFacesBeanImpl, 
 id=patitoPerez] rendererType = org.apache.myfaces.trinidad.CoreInputText



 Any tipps?



 Thanks!



 Mit freundlichen Grüßen



 Tobias Eisenträger



 Softwareentwickler

 Dokumentenmanagement/Workflow/Internet, AKB 8125



 ARAG IT GmbH
 ARAG Platz 1, 40472 Düsseldorf

 Tel.: +49 (0)211 964-1937

 tobias.eisentrae...@arag.de
 www.ARAG.de



 Aufsichtsratsvorsitzender:

 Gerd Peskes

 Vorstand:

 Dr. Paul-Otto Faßbender (Vors.),

 Dr. Jan-Peter Horst,

 Dr. Johannes Kathan, Werner Nicoll,

 Hanno Petersen, Dr. Joerg Schwarze

 Sitz und Registergericht:

 Düsseldorf, HRB 1371

 USt-ID-Nr.: DE 119 355 995







-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: restoreState problem in primefaces DataTable with MyFaces

2010-04-13 Thread Matthias Wessendorf
I agree, a lame bug

-M

On Tue, Apr 13, 2010 at 2:30 PM, Jakob Korherr jakob.korh...@gmail.com wrote:
 Hi Marcus,

 The spec does not say anything about the ordering of values in the state, so
 this is by all means a PrimeFaces bug. If PrimeFaces wants to use the state
 of the super class, it has to save and restore this state too, otherwise it
 accesses illegal data.

 Regards,
 Jakob

 2010/4/13 Marcus Büttner m...@buett.at

 Hi,

 I have a problem with primefaces dataTable in combination with MyFaces. The
 DataTable restoreState method reads from state Object with index 4:

 Object[] savedState = (Object[]) ((Object[]) state)[4];
 This causes an IndexOutOfBoundException.

 I've seen that Mojarra saves the state of StateHelper at index 4  and so it
 works. But the MyFaces state object has a maximum index of 3.
 Does the spec define an order for state saving. e.g. stateHelper at index 4
 in UIComponentBase? Or is it a PrimeFaces bug to read from state of the
 super class directly?

 Thx, regards
 Marcus




 --
 Jakob Korherr

 blog: http://www.jakobk.com
 twitter: http://twitter.com/jakobkorherr
 work: http://www.irian.at




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


MyFaces JIRA users - please read

2010-04-13 Thread Matthias Wessendorf
From the incident report[1]:

If you are a user of the Apache hosted JIRA, Bugzilla, or Confluence,
a hashed copy of your password has been compromised.

Thanks,
-Matthias

[1] - https://blogs.apache.org/infra/entry/apache_org_04_09_2010

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Fwd: [NOTICE] compromised jira passwords

2010-04-12 Thread Matthias Wessendorf
-- Forwarded message --
From: Joe Schaefer joe_schae...@yahoo.com
Date: Sat, Apr 10, 2010 at 7:24 PM
Subject: [NOTICE] compromised jira passwords
To: commun...@apache.org


Hello Apache community@ [1],

As you are probably aware we have been working to restore services
that have been compromised by a very targetted attack against Apache's
jira installation.  The good news is that jira is back online, with
bugzilla and confluence soon to follow [2].  The bad news is that the
hacker was able to rejigger jira's code to sniff any cookies and
passwords sent to the server between April 6 and April 9.  If you
used jira at all this week, including via IDE's that interface via
SOAP, it is IMPERATIVE that you take time to immediately reset your
jira password, and possibly your ldap password if those match up.
If you have admin privs in jira your password was reset by us, so
you'll need to use the password reset form in jira to regain access.

To have a reset password mailed to your contact information in jira,
visit

https://issues.apache.org/jira/secure/ForgotPassword!default.jspa

When you do login to jira be sure to double-check your contact info.

To change your ldap password login to people.apache.org and run
/usr/sbin/passwd, or else visit https://svn.apache.org/change-password
.

Thanks for your patience and diligence in this matter.  A blog post
will be forthcoming which will provide details of the attack and
what we have done to mitigate future hack attempts.


[1] feel free to forward this note to any other apache mailing list,
public or private.

[2] at this time we do not believe the hacker compromised the confluence
and bugzilla installs, but we are awaiting confirmation from our admins
before bringing those back online.





-
To unsubscribe, e-mail: community-unsubscr...@apache.org
For additional commands, e-mail: community-h...@apache.org




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Trinidad 1.2.13: another upgrade problem: UINodePropertyKey unserializable

2010-04-07 Thread Matthias Wessendorf
(ApplicationFilterChain.java:290)
    at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at de.pta.jsf.filter.DummyFilter.doFilter(DummyFilter.java:35)
    at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at
 org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
    at
 org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
    at
 org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
    at
 org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    at
 org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
    at
 org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
    at
 org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    at
 org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
    at
 org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
    at
 org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
    at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at
 org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at
 org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at
 org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at
 de.pta.jsf.filter.HttpSessionTimeoutFilter.doFilter(HttpSessionTimeoutFilter.java:80)
    at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at
 org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    at
 org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
    at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
    at
 org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    at
 org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
    at
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:595)



 PTA Programmier-Technische Arbeiten GmbH
 Seckenheimer Str. 65-67, 68165 Mannheim
 Amtsgericht Mannheim, HRB 1139
 USt-IdNr.: DE 143 839 368
 Geschaeftsfuehrer:
 Dipl.-Ing. Peter Fischer
 Dr. Harald W. Busch
 Dipl.-Kfm. Knut Fischer




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Tutorial: MyFaces 2 on Google App Engine

2010-03-29 Thread Matthias Wessendorf
Very cool!

thx, Ali!

Do you mind to put this tutorial to our side as well?

-Matthias

On Sat, Mar 27, 2010 at 11:54 PM, Ali Ok al...@aliok.com.tr wrote:
 Since MyFaces 2 Beta-3 (includes Google App Engine support) is released, I
 post a tutorial on my blog: MyFaces 2 on Google App Engine : Tutorial with
 Eclipse
 http://blog.aliok.com.tr/2010/03/myfaces-2-on-google-app-engine-how-to.html

 Regards,
 Ali

 --
 My Blog: http://blog.aliok.com.tr
 Twitter: http://twitter.com/aliok_tr





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Primefaces p:dataTable not decoding, seems to be a MyFaces 2 problem

2010-03-17 Thread Matthias Wessendorf
On Wed, Mar 17, 2010 at 4:27 AM, Bruno Aranda brunoara...@gmail.com wrote:
 Hi,

 In my fancy little webapp I am using Primefaces dataTable in lazy mode such
 as in this example[1], and I want to use it with MyFaces 2. However there
 seems to be a bug and the component decoding is not invoked, so if you
 navigate to another page of the table the row index does not change.

 It can be reproduced just getting the primefaces showcase examples:

 svn co http://primefaces.googlecode.com/svn/examples/trunk/prime-showcase

 Then replacing the MyFaces 2 dependencies in the profile to the latest (it
 does not work either with Myfaces 2.0.0-beta or beta2). And run the showcase
 with:

 mvn jetty:run-exploded -Pmyfaces-2.0

oh, that's not the default?
Pretty odd, especially since the stuff is from a committer ;-)

@NotSerializableException: IMO it is ok to have that exception,
since the bean is in session and not implements the right contract
for passivation... (= demo bug)

-Matthias


 If you modify slightly the dataTable example so it shows the first result in
 one column (by modifying the TableBean class), you will see it is always 0.

 A debugging session shows that the decode for dataTable renderer is never
 invoked. I am a bit rusty with all this, does any one have an idea what may
 be happening or what could I look to pinpoint the problem?

 Thanks,

 Bruno

 [1] http://www.primefaces.org:8080/prime-showcase/ui/datatableLazy.jsf




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Primefaces p:dataTable not decoding, seems to be a MyFaces 2 problem

2010-03-17 Thread Matthias Wessendorf
cool stuff! :)

On Wed, Mar 17, 2010 at 10:45 AM, Bruno Aranda brunoara...@gmail.com wrote:
 Yes, it works beautifully! Many thanks for the quick action! :)

 Bruno

 On 17 March 2010 17:10, Jakob Korherr jakob.korh...@gmail.com wrote:

 So, I committed the fix - this works now perfectly :) :)

 Regards,
 Jakob

 2010/3/17 Bruno Aranda brunoara...@gmail.com

  Wonderful! I was too rusty for this one :)
 
  Thanks!
 
  Bruno
 
  On 17 March 2010 16:44, Jakob Korherr jakob.korh...@gmail.com wrote:
 
   Found it!
  
   The problem is that Primefaces' PartialViewRoot keeps its own children
  list
   and the method on UIComponentBase (getFacetsAndChildren()) does not
 take
   getChildren() but _childrenList into account when creating the
 Iterator.
   This one was hard to find...
  
   I will create a JIRA issue for this and fix it asap.
  
   Regards,
   Jakob
  
   2010/3/17 Matthias Wessendorf mat...@apache.org
  
On Wed, Mar 17, 2010 at 4:27 AM, Bruno Aranda brunoara...@gmail.com
 
wrote:
 Hi,

 In my fancy little webapp I am using Primefaces dataTable in lazy
  mode
such
 as in this example[1], and I want to use it with MyFaces 2. However
   there
 seems to be a bug and the component decoding is not invoked, so if
  you
 navigate to another page of the table the row index does not
 change.

 It can be reproduced just getting the primefaces showcase examples:

 svn co
http://primefaces.googlecode.com/svn/examples/trunk/prime-showcase

 Then replacing the MyFaces 2 dependencies in the profile to the
  latest
(it
 does not work either with Myfaces 2.0.0-beta or beta2). And run the
showcase
 with:

 mvn jetty:run-exploded -Pmyfaces-2.0
   
oh, that's not the default?
Pretty odd, especially since the stuff is from a committer ;-)
   
@NotSerializableException: IMO it is ok to have that exception,
since the bean is in session and not implements the right contract
for passivation... (= demo bug)
   
-Matthias
   

 If you modify slightly the dataTable example so it shows the first
   result
in
 one column (by modifying the TableBean class), you will see it is
   always
0.

 A debugging session shows that the decode for dataTable renderer is
   never
 invoked. I am a bit rusty with all this, does any one have an idea
  what
may
 be happening or what could I look to pinpoint the problem?

 Thanks,

 Bruno

 [1]
  http://www.primefaces.org:8080/prime-showcase/ui/datatableLazy.jsf

   
   
   
--
Matthias Wessendorf
   
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
   
  
 





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: f:event throwing ClassNotFoundException for type

2010-03-16 Thread Matthias Wessendorf
right, and also there is some lack of description about the shortnames
in the spec
(don't remember the spec issue number, I filed for that)

-Matthias

On Tue, Mar 16, 2010 at 9:24 AM, Leonardo Uribe lu4...@gmail.com wrote:
 Hi

 There was a problem about f:event name and type attribute. Finally it
 was clearified the real attribute is type, but this attribute also has the
 semantic of name, so the code proposed is valid. I'll create and issue and
 fix it soon.

 regards,

 Leonardo Uribe

 2010/3/16 Marcus Büttner m...@buett.at

 Hi,

 but if you will register the name you have to take the name property
 instead of type in f:event.
 The type property requires a class name.

 Isn't?

 regards,
 Marcus

 Leonardo Uribe schrieb:

  Hi

 It seems we don't have it on org.apache.myfaces.config.NamedEventManager,
 so
 f:event is unable to resolve it correctly. Just register it there will
 solve
 the problem.

 regards,

 Leonardo Uribe

 2010/3/16 Bruno Aranda brunoara...@gmail.com



 Hi,

 I am testing a webapp with the latest myfaces snapshot, and the f:event
 tag
 is throwing a ClassNotFoundException because it is not able to find the
 type
 preRenderView...

 f:event type=preRenderView
 listener=#{experimentController.loadData}/

 Why is it trying to search for the class preRenderView? Is this
 familiar
 to anyone before I dig further?

 javax.faces.view.facelets.TagAttributeException:
 /viewMetadata/curate/experiment.xhtml at line 16 and column 88
 type=preRenderView Couldn't create event class
       at

 org.apache.myfaces.view.facelets.tag.jsf.core.EventHandler.getEventClass(EventHandler.java:152)
       at

 org.apache.myfaces.view.facelets.tag.jsf.core.EventHandler.apply(EventHandler.java:94)
       at

 javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:51)
       at

 org.apache.myfaces.view.facelets.tag.jsf.core.ViewMetadataHandler.apply(ViewMetadataHandler.java:76)
       at

 org.apache.myfaces.view.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:57)
       at

 org.apache.myfaces.view.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:45)
       at

 org.apache.myfaces.view.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:104)
       at

 org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage$FaceletViewMetadata.createMetadataView(FaceletViewDeclarationLanguage.java:2076)
       at

 org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:148)
       at

 org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:143)
       at
 org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:93)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
       at
 org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)
       at

 org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1216)
       at

 org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79)
       at

 org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)
       at

 org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)

       ...


 The thing works fine with Mojarra.

 Cheers,

 Bruno












-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] NPE if User-Agent header is missing

2010-03-11 Thread Matthias Wessendorf
hi,

yeah I saw it, thanks.

-Matthias

On Thu, Mar 11, 2010 at 1:02 AM, Kuhn, Harald hk...@airplus.com wrote:
 Hi Matthias,

 the issue is created:
 https://issues.apache.org/jira/browse/TRINIDAD-1751

 Regards

  Harald

 Harald Kuhn
 AirPlus International
 Business Information Services
 Dornhofstr. 36
 63263 Neu-Isenburg
 T  +49 (0) 61 02. 2 04 - 8 21
 F  +49 (0) 61 02. 2 04 - 77 8 21
 hk...@airplus.com
 www.airplus.com



 Lufthansa AirPlus Servicekarten GmbH · Hans-Böckler-Straße 7 · 63263 
 Neu-Isenburg · Germany · Geschäftsführer: Patrick W. Diemer (Vorsitz), Klaus 
 Busch · Vorsitzender des Aufsichtsrates: Stephan Gemkow · Handelsregister: 
 Amtsgericht Offenbach/Main, HRB 8119



 -Original Message-
 From: mwessend...@gmail.com [mailto:mwessend...@gmail.com] On Behalf Of 
 Matthias Wessendorf
 Sent: Wednesday, March 10, 2010 4:12 PM
 To: MyFaces Discussion
 Subject: Re: [Trinidad] NPE if User-Agent header is missing

 Hello Harald,

 looks has been changed/removed in this rev:
 http://svn.apache.org/viewvc?view=revisionrevision=820104

 can you please file a ticket?

 Tjhx,
 M

 On Wed, Mar 10, 2010 at 12:45 AM, Kuhn, Harald hk...@airplus.com wrote:

  Hi,



 after a upgrade from trinidad 1.2.11 to Trinidad 1.2.13 I get a
 NullPointerException from one of our monitoring scripts.

 Caused by: java.lang.NullPointerException

         at
 org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl._populateAgentImpl(AgentFactoryImpl.java:115)

         at
 org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl.createAgent(AgentFactoryImpl.java:65)

         at
 org.apache.myfaces.trinidadinternal.context.RequestContextImpl.getAgent(RequestContextImpl.java:695)

         at
 org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit.chooseRenderKit(CoreRenderKit.java:139)

         at
 org.apache.myfaces.trinidadinternal.renderkit.CoreRenderKitFactory.getRenderKit(CoreRenderKitFactory.java:52)



 While tracking this issue further down it showed that the monitoring script
 doesn’t send a User-Agent header along with the request.

 This case isn’t considered any more in
 AgentFactoryImpl._populateAgentImpl().



 The version from Trinidad 1.2.11 used to have the following code block:

 if (userAgent == null)

     {

       _populateUnknownAgentImpl(null, agent);

       return;

     }



 This block is missing within the sources of Trinidad 1.2.13.



 Is this a bug? Or are there any reasons why this check was dismissed?

 Should I file an issue?



 Regards



   Harald



 Harald Kuhn

 *AirPlus International *

 Business Information Services

 Dornhofstr. 36

 63263 Neu-Isenburg

 T  +49 (0) 61 02. 2 04 - 8 21

 F  +49 (0) 61 02. 2 04 - 77 8 21

 hk...@airplus.com

 www.airplus.com





 Lufthansa AirPlus Servicekarten GmbH · Hans-Böckler-Straße 7 · 63263
 Neu-Isenburg · Germany · Geschäftsführer: Patrick W. Diemer (Vorsitz), Klaus
 Busch · Vorsitzender des Aufsichtsrates: Stephan Gemkow · Handelsregister:
 Amtsgericht Offenbach/Main, HRB 8119








 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] NPE if User-Agent header is missing

2010-03-10 Thread Matthias Wessendorf
Hello Harald,

looks has been changed/removed in this rev:
http://svn.apache.org/viewvc?view=revisionrevision=820104

can you please file a ticket?

Tjhx,
M

On Wed, Mar 10, 2010 at 12:45 AM, Kuhn, Harald hk...@airplus.com wrote:

  Hi,



 after a upgrade from trinidad 1.2.11 to Trinidad 1.2.13 I get a
 NullPointerException from one of our monitoring scripts.

 Caused by: java.lang.NullPointerException

 at
 org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl._populateAgentImpl(AgentFactoryImpl.java:115)

 at
 org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl.createAgent(AgentFactoryImpl.java:65)

 at
 org.apache.myfaces.trinidadinternal.context.RequestContextImpl.getAgent(RequestContextImpl.java:695)

 at
 org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit.chooseRenderKit(CoreRenderKit.java:139)

 at
 org.apache.myfaces.trinidadinternal.renderkit.CoreRenderKitFactory.getRenderKit(CoreRenderKitFactory.java:52)



 While tracking this issue further down it showed that the monitoring script
 doesn’t send a User-Agent header along with the request.

 This case isn’t considered any more in
 AgentFactoryImpl._populateAgentImpl().



 The version from Trinidad 1.2.11 used to have the following code block:

 if (userAgent == null)

 {

   _populateUnknownAgentImpl(null, agent);

   return;

 }



 This block is missing within the sources of Trinidad 1.2.13.



 Is this a bug? Or are there any reasons why this check was dismissed?

 Should I file an issue?



 Regards



   Harald



 Harald Kuhn

 *AirPlus International *

 Business Information Services

 Dornhofstr. 36

 63263 Neu-Isenburg

 T  +49 (0) 61 02. 2 04 - 8 21

 F  +49 (0) 61 02. 2 04 - 77 8 21

 hk...@airplus.com

 www.airplus.com





 Lufthansa AirPlus Servicekarten GmbH · Hans-Böckler-Straße 7 · 63263
 Neu-Isenburg · Germany · Geschäftsführer: Patrick W. Diemer (Vorsitz), Klaus
 Busch · Vorsitzender des Aufsichtsrates: Stephan Gemkow · Handelsregister:
 Amtsgericht Offenbach/Main, HRB 8119








-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] Tiles

2010-03-01 Thread Matthias Wessendorf
I'd strongly recommend to go with Facelets.
Also the next Facelets version is part of JSF2, so you already learn
future technologies today.

-M

On Mon, Mar 1, 2010 at 2:53 PM, omid p vermind...@gmail.com wrote:
 Hi,
 I have a problem to using apache tiles in trinidad i want to know
 is that possible ? and which way is better to config it ?




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Export to Pdf a Trinidad Chart

2010-02-26 Thread Matthias Wessendorf
not by default; you have to write some export logic on your own.

On Fri, Feb 26, 2010 at 11:45 AM, vale_java_dev
fabrizi_valent...@yahoo.it wrote:

 Hi!

 I need to export my trinidad chart to PDF.
 How can I do?

 Thanks in advance for any suggestion!

 Valentina
 --
 View this message in context: 
 http://old.nabble.com/Export-to-Pdf-a-Trinidad-Chart-tp27716793p27716793.html
 Sent from the MyFaces - Users mailing list archive at Nabble.com.





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Request class is an empty placeholder

2010-02-25 Thread Matthias Wessendorf
)
        at

 javax.servlet.http.HttpServletRequestWrapper.getHeader(HttpServletRequestWrapper.java:80)

        at

 org.apache.myfaces.trinidadinternal.context.external.ServletRequestHeaderMap.getAttribute
 (ServletRequestHeaderMap.java:42)
        at

 org.apache.myfaces.trinidadinternal.context.external.ServletRequestHeaderMap.getAttribute
 (ServletRequestHeaderMap.java:30)
        at

 org.apache.myfaces.trinidadinternal.context.external.AbstractAttributeMap.get(AbstractAtt
 ributeMap.java:73)
        at

 org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit.isAjaxRequest(CoreRender
 Kit.java:148)
        at

 org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit.isPartialRequest(CoreRen
 derKit.java:163)
        at

 org.apache.myfaces.trinidadinternal.config.xmlHttp.XmlHttpConfigurator.getExternalContext
 (XmlHttpConfigurator.java:61)
        at

 org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.getExternalContext(Glob
 alConfiguratorImpl.java:351)
        at

 org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit.init
 (FacesContextFactoryImpl.java:90)
        at

 org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(Faces
 ContextFactoryImpl.java:68)
        at

 org.apache.myfaces.webapp.AbstractFacesInitializer.dispatchInitDestroyEvent(AbstractFaces
 Initializer.java:140)
        at

 org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.jav
 a:109)
        at

 org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServlet
 ContextListener.java:155)
        at

 org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
        at
 org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
        at

 org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at
 org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at
 org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
        at
 org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987)
        at

 org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)
        at
 org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)
        at
 org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
        at
 org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
        at

 org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at
 org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
        at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at
 org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at
 org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at
 org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at

 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at

 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)


 I have search with this error on forums, but no one resolve it.
 Could you please help me out regarding this issue?
 At least, let me know the exact problem, so that I can work on it.

 Thank You.
 --
 View this message in context:
 http://old.nabble.com/Request-class-is-an-empty-placeholder-tp27714410p27714410.html
 Sent from the MyFaces - Users mailing list archive at Nabble.com.






-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [TRINIDAD 1.0.12] LocaleSymbols* at LocaleElements*.js files are empty in 1.0.12 release

2010-02-24 Thread Matthias Wessendorf
.',
 'org.apache.myfaces.trinidad.convert.DateTimeConverter.DATE_HINT':'Example:
 {0}',
 'org.apache.myfaces.trinidad.convert.DateTimeConverter.TIME_HINT':'Example:
 {0}',
 'org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MAXIMUM':'The
 date is after the valid range.',
 'javax.faces.validator.LongRangeValidator.MINIMUM_detail':'The number
 must be greater than or equal to {2}.',
 'javax.faces.LongRange':'The number is not a whole number.',
 'org.apache.myfaces.trinidad.validator.RangeValidator.RANGE_HINT':'Enter
 a number between {0} and {1}.',
 'org.apache.myfaces.trinidad.validator.DoubleRangeValidator.NOT_IN_RANGE':'The
 number is outside the valid range.',
 'org.apache.myfaces.trinidad.UIXEditableValue.REQUIRED':'A value is 
 required.',
 'org.apache.myfaces.trinidad.validator.ByteLengthValidator.MAXIMUM':'The
 value is too long.',
 'org.apache.myfaces.trinidad.validator.RangeValidator.MINIMUM_HINT':'Enter
 a number greater than or equal to {0}.',
 'org.apache.myfaces.trinidad.convert.ByteConverter.MINIMUM_detail':'The
 number must be greater than or equal to {2}.',
 'org.apache.myfaces.trinidad.validator.LengthValidator.EXACT_detail':'Enter
 exactly {2} characters.',
 'org.apache.myfaces.trinidad.validator.DateRestrictionValidator.DAY_detail':'Enter
 one of the valid dates.',
 'org.apache.myfaces.trinidad.validator.DateRestrictionValidator.MONTH_detail':'Enter
 a date in one of the following months: {2}',
 'org.apache.myfaces.trinidad.validator.DoubleRangeValidator.MINIMUM_detail':'The
 number must be greater than or equal to {2}.',
 'org.apache.myfaces.trinidad.validator.DoubleRangeValidator.MAXIMUM':'The
 number is too high.',
 'org.apache.myfaces.trinidad.convert.ByteConverter.MAXIMUM':'The
 number is too high.',
 'org.apache.myfaces.trinidad.convert.ByteConverter.MAXIMUM_detail':'The
 number must be less than or equal to {2}.',
 'org.apache.myfaces.trinidad.convert.FloatConverter.CONVERT':'The
 value is not a number.',
 'org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_DATE':'The
 date is not in the correct format.',
 'org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MINIMUM_HINT':'Enter
 a date on or after {0}.',
 'org.apache.myfaces.trinidad.convert.ByteConverter.MINIMUM':'The
 number is too low.',
 'org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_TIME_detail':'Enter
 a time in the same format as this example: {2}',
 'org.apache.myfaces.trinidad.UIXEditableValue.CONVERSION':'The value
 is not the in correct format.',
 'javax.faces.LongRange_detail':'Enter a whole number.',
 'org.apache.myfaces.trinidad.UIXTableSelectMany.REQUIRED':'A row
 selection is required.',
 'org.apache.myfaces.trinidad.component.core.input.CoreInputFile.INPUT_FILE_ERROR':'An
 error occurred uploading the file.',
 'org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_CURRENCY_detail':'Enter
 a currency in the same format as this example: {2}',
 'org.apache.myfaces.trinidad.convert.ColorConverter.CONVERT':'The
 color is not in the correct format.',
 'org.apache.myfaces.trinidad.convert.IntegerConverter.CONVERT_detail':'Enter
 a whole number.',
 'org.apache.myfaces.trinidad.convert.LongConverter.MINIMUM_detail':'The
 number must be greater than or equal to {2}.'
 }


 Regards,

 -- Rafa




 On Tue, Feb 23, 2010 at 6:15 PM, Matthias Wessendorf mat...@apache.orgwrote:

 Hey,

 I just launched demo, all fine. JS in there, e.g:


 http://localhost:8080/trinidad-demo/adf/jsLibs/resources/LocaleElements_en1_0_11.js?loc=en


 however, the only problem is the invalid version. Will fix that ;-)

 -Matthias

 2010/2/23 Rafa Pérez raja...@gmail.com:
  Hi all,
 
  we have been having some problems with PPR since last update of Trinidad.
  Today, we have seen that Locale*.js files are empty and this is causing
 our
  problem. I think there have been some problems with packaging but, how is
 it
  possible that no one took care of this??
  I think Trinidad 1.0.x is being taking apart smoothly...
 
  Will it be a 1.0.13 release soon to fix this problem?
 
  Regards,
 
  -- Rafa
 



 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: AW: Stuck making JSF 2.0 work with MyFaces

2010-02-23 Thread Matthias Wessendorf
://myfaces.apache.org/tomahawk;
   
body
h:form enctype=multipart/form-data id=myForm
firstName : h:inputText value=#{user.firstName} /br /
lastName : h:inputText value=#{user.lastName} /br /
pic : t:inputFileUpload id=file storage=file
 accept=image/*
styleClass=myStyle value=#{user.file}/br /
h:commandButton action=#{user.createUser} value=Create
 user/
/h:form
/body
/html
   
The problem is that the page does not get transformed. In the
  browser
  I
get
the exact same code above, not the XHTML code expected.
Please tell me, how can I solve this?
--
View this message in context:
   
  
 
 http://old.nabble.com/Stuck-making-JSF-2.0-work-with-MyFaces-tp27689327p27689327.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.
   
   
   
   
   
  
   --
   View this message in context:
  
 
 http://old.nabble.com/Stuck-making-JSF-2.0-work-with-MyFaces-tp27689327p27690169.html
   Sent from the MyFaces - Users mailing list archive at Nabble.com.
  
  
  
  
 
  --
  View this message in context:
 
 http://old.nabble.com/Stuck-making-JSF-2.0-work-with-MyFaces-tp27689327p27691396.html
  Sent from the MyFaces - Users mailing list archive at Nabble.com.
 
 
 
 

 --
 View this message in context:
 http://old.nabble.com/Stuck-making-JSF-2.0-work-with-MyFaces-tp27689327p27691667.html
 Sent from the MyFaces - Users mailing list archive at Nabble.com.





 --
 View this message in context: 
 http://old.nabble.com/Stuck-making-JSF-2.0-work-with-MyFaces-tp27689327p27698952.html
 Sent from the MyFaces - Users mailing list archive at Nabble.com.





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [TRINIDAD 1.0.12] LocaleSymbols* at LocaleElements*.js files are empty in 1.0.12 release

2010-02-23 Thread Matthias Wessendorf
Hey,

I just launched demo, all fine. JS in there, e.g:

http://localhost:8080/trinidad-demo/adf/jsLibs/resources/LocaleElements_en1_0_11.js?loc=en


however, the only problem is the invalid version. Will fix that ;-)

-Matthias

2010/2/23 Rafa Pérez raja...@gmail.com:
 Hi all,

 we have been having some problems with PPR since last update of Trinidad.
 Today, we have seen that Locale*.js files are empty and this is causing our
 problem. I think there have been some problems with packaging but, how is it
 possible that no one took care of this??
 I think Trinidad 1.0.x is being taking apart smoothly...

 Will it be a 1.0.13 release soon to fix this problem?

 Regards,

 -- Rafa




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Regarding Trinidad 2.0

2010-02-23 Thread Matthias Wessendorf
I'd not say production ready, but we use it.
currently the ajax jsf2.0 is not in there.

(therefore we labeled it as alpha...)

On Tue, Feb 23, 2010 at 6:36 PM,  venkat.rama...@thomsonreuters.com wrote:

 Hi

 Is Trinidad 2 production quality ?  Is the alpha release of Trinidad 
 compatible with JSF 2.0 ?

 Thanks
 Venkat

 -Original Message-
 From: mwessend...@gmail.com [mailto:mwessend...@gmail.com] On Behalf Of 
 Matthias Wessendorf
 Sent: Tuesday, February 23, 2010 2:55 PM
 To: MyFaces Discussion
 Subject: Re: AW: Stuck making JSF 2.0 work with MyFaces

 use Trinidad2 :-)

 On Tue, Feb 23, 2010 at 7:25 AM, cristiJ cristi_ju...@yahoo.com wrote:

 i checked out icefaces and primefaces. I think I'm going to wait untill
 Tomahawk will be released for JSF 2.0.
 Apache has done tremendous work so far.
 I hope you willl have time to upgrade Tomahawk soon



 Jakob Korherr wrote:

 Maybe tomahawk is causing the problems, because there is currently no real
 working branch of tomahawk for JSF 2.0. However there will be one soon.

 Please remove tomahawk completely from your webapp and try again!

 Regards,
 Jakob

 2010/2/22 cristiJ cristi_ju...@yahoo.com


 Hi,

 yes, I just tried it. For both of theses URLs :
 http://localhost:8080/app02/faces/index.xhtml
 http://localhost:8080/app02

 the file does not get translated to XHTML, it arrives in the browser with
 the f and h customs.
 This happens only when I add MyFaces.
 I tried adding my self a custom component, defined by this class :

 import javax.faces.component.FacesComponent;
 import javax.faces.component.html.HtmlInputText;

 @FacesComponent(value = HtmlInputFile)
 public class HtmlInputFile extends HtmlInputText {

   �...@override
    public String getRendererType() {
        return javax.faces.File;
    }

 }

 with this balusc.taglib.xml config file

 ?xml version=1.0 encoding=UTF-8?
 facelet-taglib
    xmlns=http://java.sun.com/xml/ns/javaee;
    xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
    xsi:schemaLocation=http://java.sun.com/xml/ns/javaee
        http://java.sun.com/xml/ns/javaee/web-facelettaglibrary_2_0.xsd;
    version=2.0

     namespacehttp://balusc.net/jsf/html/namespace
    tag
        tag-nameinputFile/tag-name
        component
            component-typeHtmlInputFile/component-type
        /component
    /tag
 /facelet-taglib

 and with the web.xml as such:

 context-param
        param-namejavax.faces.FACELETS_LIBRARIES/param-name
         param-value/WEB-INF/balusc.taglib.xml/param-value
 /context-param


 The page is:

 ?xml version='1.0' encoding='UTF-8' ?
 !DOCTYPE html 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:hh=http://balusc.net/jsf/html;
     body
        h:form enctype=multipart/form-data id=myForm
            firstName : h:inputText value=#{user.firstName} /br /
            lastName : h:inputText value=#{user.lastName} /br /
            city : h:inputText value=#{user.city} /br /
            price : h:inputText value=#{user.price} /br /
             pic : hh:inputFileUpload id=file value=#{user.file}/br
 /
             h:commandButton  action=#{user.createUser} value=Create
 user/
        /h:form
    /body
 /html

 and the xhtml is translated properly. I can't understand what is the
 conflict for MyFaces!?


 Jakob Korherr wrote:
 
  Hi,
 
  Does your URL in your browser include /faces/index.xhtml?
 
  Regards,
  Jakob
 
  2010/2/22 cristiJ cristi_ju...@yahoo.com
 
 
  Hi,
 
  Yes, you understood correctly, neither of h: or f: components are not
  processed.
  I have a very simple index.xhtml file :
 
  ?xml version='1.0' encoding='UTF-8' ?
  !DOCTYPE html 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:t=http://myfaces.apache.org/tomahawk;
     body
         h:form enctype=multipart/form-data id=myForm
             firstName : h:inputText value=#{user.firstName} /br /
             lastName : h:inputText value=#{user.lastName} /br /
              city : h:inputText value=#{user.city} /br /
             price : h:inputText value=#{user.price} /br /
              pic : t:inputFileUpload id=file storage=file
  accept=image/* styleClass=myStyle value=#{user.file}/br /
             h:commandButton  action=#{user.createUser} value=Create
  user/
         /h:form
     /body
  /html
 
  The web.xml file for it is:
 
  ?xml version=1.0 encoding=UTF-8?
  web-app version=3.0 xmlns=http://java.sun.com/xml/ns/javaee;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://java.sun.com/xml/ns/javaee
  http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd;
     context-param
         param-namejavax.faces.PROJECT_STAGE/param-name
         param-valueDevelopment/param-value

[ANN] Release of Apache MyFaces Trinidad's Maven plugins (1.2.12)

2010-02-16 Thread Matthias Wessendorf
Hi,

The Apache MyFaces community is pleased to announce its
1.2.12 release of the Apache MyFaces Trinidad Maven2 plugins.

These Maven2 plugins have been deployed to the Apache Maven2 repository.
They are mirrored by ibiblio as well.

release notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310661styleName=Htmlversion=12314452

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


[ANN] Release of Apache MyFaces Trinidad's Maven plugins (2.0.1)

2010-02-16 Thread Matthias Wessendorf
Hi,

The Apache MyFaces community is pleased to announce its
2.0.1 release of the Apache MyFaces Trinidad Maven2 plugins.

This release contains support for the new JSF 2.0 related API/metadata.

These Maven2 plugins have been deployed to the Apache Maven2 repository and they
should be mirrored by ibiblio as well (very soon).

release notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310661styleName=Htmlversion=12314512

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


[Announce] Release of Apache MyFaces Trinidad 2.0.0-alpha-2

2010-02-16 Thread Matthias Wessendorf
The Apache MyFaces Trinidad team is pleased to announce the release of
Apache MyFaces Trinidad Core 2.0.0-alpha-2.

Apache MyFaces Trinidad 2 is a JavaServer(tm) Faces 2.0 component library.

Note: This is the second release of the Apache MyFaces Trinidad 2 series and it
is an alpha relases.

Apache MyFaces Trinidad Core 2.0.0-alpha-2 is available in both binary
and source distributions:

 * http://myfaces.apache.org/trinidad/download.html

Apache MyFaces Trinidad is available in the central Maven repository under
Group ID org.apache.myfaces.trinidad.


Release Notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310661styleName=Htmlversion=12314513

Enjoy!
Matthias


-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


[Announce] Release of Apache MyFaces Trinidad 1.0.12

2010-02-16 Thread Matthias Wessendorf
The Apache MyFaces Trinidad team is pleased to announce the release of
Apache MyFaces Trinidad Core 1.0.12.

Apache MyFaces Trinidad is a JavaServer(tm) Faces 1.1 component library.

Trinidad Core 1.0.12 is available in both binary and source distributions:

 * http://myfaces.apache.org/trinidad/download.html

Apache MyFaces Trinidad is available in the central Maven repository under
Group ID org.apache.myfaces.trinidad.


Release Notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310661styleName=Htmlversion=12314137

Enjoy!

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] Slider component in Trinidad for mobile devices

2010-02-10 Thread Matthias Wessendorf
yes.

you could use facelets. A demo slider (based on jQuery) is here:
http://facesgoodies.googlecode.com/svn/MS/trunk/src/main/webapp/resources/ms/


On Wed, Feb 10, 2010 at 3:13 AM, Seema Richard (UST, IND)
seema.rich...@ust-global.com wrote:
 Hi,



 We need to develop a web application supporting multiple mobile devices
 like Blackberry, iPhone, Android and so on and we were considering
 Apache Trinidad. The client has already supplied the mock up pages which
 seem to have a lot of Ajax functionality and controls like Slider. I
 could not find a slider control in Trinidad. Does this mean that we
 would need to create a custom component instead?



 Thanks,

 Seema





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [TRINIDAD] LocaleElements js cannot be found

2010-02-09 Thread Matthias Wessendorf
cool!

Do you mind adding this info to the wiki page ?

-Matthias

On Tue, Feb 9, 2010 at 5:31 PM, A. Nieves daraii.t...@gmail.com wrote:
 For anyone who stumbles with the same problem:

 You have to make the Seam context available for the Trinidad resources
 servlet (maybe because Seam manages the locale? idn) as explained in
 30.1.4.8. Context management for custom servlets (
 http://docs.jboss.org/seam/latest/reference/en-US/html_single/#d0e24092).

 Redux; you'll have to add this entry to the components.xml:

  web:context-filter url-pattern=/adf/*/

 On Tue, Feb 9, 2010 at 2:15 AM, Matthias Wessendorf mat...@apache.orgwrote:

 some (paranoid) security for resources folder? :)

 -Matthias

 On Tue, Feb 9, 2010 at 7:07 AM, A. Nieves daraii.t...@gmail.com wrote:
  Can anyone that uses Seam give some input?
  If I deploy a test project in JBoss 5.1 I get an
                     HTTP Status 403 - Access to the requested resource has
  been denied
   error when trying to see the
  http://host:port/test/adf/jsLibs/resources/LocaleElements_es1_2_12.js
  resource, but I can access the http://
  host:port/test/adf/jsLibs/Common1_2_12.js
 
 
  Thanx.
 
  On Tue, Feb 9, 2010 at 1:30 AM, Matthias Wessendorf mat...@apache.org
 wrote:
 
  actually not sure on that. Never done Seam for over a 1.5 years
 
  On Mon, Feb 8, 2010 at 11:44 PM, A. Nieves daraii.t...@gmail.com
 wrote:
   I created a test EAR project with Facelets 1.1.15 , Trinidad 1.2.12
 and
   MyFaces 1.2.8 without Seam and I can see the LocaleElements resource.
 Can
  it
   be something in Seam's configuration? It's weird because I can see the
   Common1_2_12.js.
  
  
   On Mon, Feb 8, 2010 at 11:59 AM, A. Nieves daraii.t...@gmail.com
  wrote:
  
   Yes, I have another example deployment (the only difference it is a
 WAR
  and
   not an EAR) and it works correctly. But I was wondering what can be
   different in my current configuration because it does't work.
  
  
   On Mon, Feb 8, 2010 at 3:34 AM, Matthias Wessendorf 
 mat...@apache.org
  wrote:
  
   I see it here:
  
  
  
 
 http://example.irian.at/trinidad-components-showcase/adf/jsLibs/resources/LocaleElements_es1_2_14.js?loc=es
  
   -Matthias
  
   On Sun, Feb 7, 2010 at 11:49 PM, A. Nieves daraii.t...@gmail.com
  wrote:
Hello,
   
I'm having problems when I try to submit a form and one of the
 input
elements has a validator that uses LocaleElements javascript (In
 my
particular case the *LocaleElements_es1_2_12.js*) The script is
  included
   in
the page
   
 (src=/test/adf/jsLibs/resources/LocaleElements_es1_2_12.js?loc=es)
  but
   the
resource is not available (if you try to load the js in the web
 page
  it
displays an error). The other js resources, such as
  *Common1_2_12.js*,
   are
found.
   
If I change the locale I have the same problem.
   
I'm using Facelets 1.1.15 , Seam 2.2, Trinidad 1.2.12 and MyFaces
  1.2.8
   and
this is my *web.xml* (
   
  
 
 https://docs.google.com/leaf?id=0B1ms0mMJOqpPMDA1YTBiMzYtMzVjNi00YmVhLWFmOTItNGIyNjU1NDdlNjE2hl=en
)
   
   
I appreciate the help. Thnx.
   
  
  
  
   --
   Matthias Wessendorf
  
   blog: http://matthiaswessendorf.wordpress.com/
   sessions: http://www.slideshare.net/mwessendorf
   twitter: http://twitter.com/mwessendorf
  
  
  
  
 
 
 
  --
  Matthias Wessendorf
 
  blog: http://matthiaswessendorf.wordpress.com/
  sessions: http://www.slideshare.net/mwessendorf
  twitter: http://twitter.com/mwessendorf
 
 



 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] Sample applications

2010-02-09 Thread Matthias Wessendorf
hello,

yes. I know :) We for sure need to fix the links:
http://myfaces.apache.org/trinidad/download.html

The new show-case:
http://example.irian.at/trinidad-components-showcase/

I not yet there; will be included in 1.2.14 (out soon)

-Matthias

On Wed, Feb 10, 2010 at 3:22 AM, Seema Richard (UST, IND)
seema.rich...@ust-global.com wrote:
 Hi,



 This page appears to be broken.

 http://myfaces.apache.org/trinidad/trinidad-example/download.html

 Where can I download sample web applications using Trinidad?



 Thanks,

 Seema





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Unable to find a default provider

2010-02-08 Thread Matthias Wessendorf
(UIXComponentBase.java:1087)
        at
 org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:853)
        at
 org.apache.myfaces.trinidad.component.UIXForm.processValidators(UIXForm.java:82)
        at
 org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1102)
        at
 org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1087)
        at
 org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:853)
        at
 org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1102)
        at
 org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1087)
        at
 org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:853)
        at
 org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1102)
        at
 org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1087)
        at
 org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:853)
        at
 org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1102)
        at
 org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1087)
        at
 org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:853)
        at
 javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1135)
        at
 javax.faces.component.UIViewRoot._processValidatorsDefault(UIViewRoot.java:1355)
        at javax.faces.component.UIViewRoot.access$600(UIViewRoot.java:75)
        at
 javax.faces.component.UIViewRoot$ProcessValidatorPhaseProcessor.process(UIViewRoot.java:1402)
        at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1311)
        at
 javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:687)
        at
 org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:35)
        at
 org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:138)
        ... 22 more


 I also get this error.


 2 Φεβ 2010 3:58:12 μμ
 org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl
 _startConfiguratorServiceRequest
 SEVERE:
 java.lang.UnsupportedOperationException: This request class is an
 empty placeholder


 --


  __o
 _\._
 (_)/ (_)





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Unable to find a default provider

2010-02-08 Thread Matthias Wessendorf
ah.. I noticed some bean validation calls on the stack, so
my guess was it may have been related to that.

Not much time for stuff this week..

On Mon, Feb 8, 2010 at 3:09 PM, Jakob Korherr jakob.korh...@gmail.com wrote:
 Actually I was talking about MYFACES-2520 and MYFACES-2434.


 2010/2/8 Matthias Wessendorf mat...@apache.org

 are you talking about the BeanValidation error ?

 We did two tiny clean-ups there:

 https://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-2.0.x/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXEditableValueTemplate.java?diff_format=hview=log

 -Matthias

 On Mon, Feb 8, 2010 at 11:43 AM, Jakob Korherr jakob.korh...@gmail.com
 wrote:
  Hi,
 
  I think this is a known Trinidad issue, because Trinidad uses a
 placeholder
  request class from myfaces core (see MYFACES-2434 for details). However
 it
  should be determined if this should be changed on Trinidad or on MyFaces
  core.
 
  Can someone of the Trinidad team please review this?!?
 
  Thanks,
  Jakob
 
  2010/2/2 Dj Apal [GR] dja...@gmail.com
 
  Hello all.
 
  I'm trying to port a project of mine from jsf 1.1 to jsf 2.
 
  I also changed Hibernate to use annotations instead of xml files.
 
  I use myfaces 2 beta and trinidad 2 alpha.
 
 
  Still haven;t changed anything at my web configuration.
 
 
  I get this error. Anyone knows sth about that? Thnx!
 
 
  javax.faces.FacesException: javax.validation.ValidationException:
  Unable to find a default provider
         at
 
 org.apache.myfaces.context.ExceptionHandlerImpl.wrap(ExceptionHandlerImpl.java:241)
         at
 
 org.apache.myfaces.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:156)
         at
 
 org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:157)
         at
 
 org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:88)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
         at
 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at
 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at
 
 org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at
 
 org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at
 
 org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at
 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at
 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at
 ac.view.filter.SecurityFilter.doFilter(SecurityFilter.java:114)
         at
 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at
 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at
 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at
 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at
 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at
 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at
 
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at
 
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
         at
 
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
         at
 
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at
  org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
         at java.lang.Thread.run(Thread.java:619)
  Caused by: javax.validation.ValidationException: Unable to find a
  default provider
         at
 
 javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:264)
         at
 
 javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:111)
         at
 
 org.apache.myfaces.trinidad.component.UIXEditableValue._isBeanValidationAvailable(UIXEditableValue.java:577)
         at
 
 org.apache.myfaces.trinidad.component.UIXEditableValue._shouldValidateEmptyFields(UIXEditableValue.java:541)
         at
 
 org.apache.myfaces.trinidad.component.UIXEditableValue.validateValue(UIXEditableValue.java:347)
         at
 
 org.apache.myfaces.trinidad.component.UIXEditableValue.validate(UIXEditableValue.java:183)
         at
 
 org.apache.myfaces.trinidad.component.UIXEditableValue._executeValidate(UIXEditableValue.java:611)
         at
 
 org.apache.myfaces.trinidad.component.UIXEditableValue.processValidators(UIXEditableValue.java:281)
         at
 
 org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl

Re: [TRINIDAD] LocaleElements js cannot be found

2010-02-08 Thread Matthias Wessendorf
actually not sure on that. Never done Seam for over a 1.5 years

On Mon, Feb 8, 2010 at 11:44 PM, A. Nieves daraii.t...@gmail.com wrote:
 I created a test EAR project with Facelets 1.1.15 , Trinidad 1.2.12 and
 MyFaces 1.2.8 without Seam and I can see the LocaleElements resource. Can it
 be something in Seam's configuration? It's weird because I can see the
 Common1_2_12.js.


 On Mon, Feb 8, 2010 at 11:59 AM, A. Nieves daraii.t...@gmail.com wrote:

 Yes, I have another example deployment (the only difference it is a WAR and
 not an EAR) and it works correctly. But I was wondering what can be
 different in my current configuration because it does't work.


 On Mon, Feb 8, 2010 at 3:34 AM, Matthias Wessendorf mat...@apache.orgwrote:

 I see it here:


 http://example.irian.at/trinidad-components-showcase/adf/jsLibs/resources/LocaleElements_es1_2_14.js?loc=es

 -Matthias

 On Sun, Feb 7, 2010 at 11:49 PM, A. Nieves daraii.t...@gmail.com wrote:
  Hello,
 
  I'm having problems when I try to submit a form and one of the input
  elements has a validator that uses LocaleElements javascript (In my
  particular case the *LocaleElements_es1_2_12.js*) The script is included
 in
  the page
  (src=/test/adf/jsLibs/resources/LocaleElements_es1_2_12.js?loc=es) but
 the
  resource is not available (if you try to load the js in the web page it
  displays an error). The other js resources, such as *Common1_2_12.js*,
 are
  found.
 
  If I change the locale I have the same problem.
 
  I'm using Facelets 1.1.15 , Seam 2.2, Trinidad 1.2.12 and MyFaces 1.2.8
 and
  this is my *web.xml* (
 
 https://docs.google.com/leaf?id=0B1ms0mMJOqpPMDA1YTBiMzYtMzVjNi00YmVhLWFmOTItNGIyNjU1NDdlNjE2hl=en
  )
 
 
  I appreciate the help. Thnx.
 



 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf







-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [TRINIDAD] LocaleElements js cannot be found

2010-02-08 Thread Matthias Wessendorf
some (paranoid) security for resources folder? :)

-Matthias

On Tue, Feb 9, 2010 at 7:07 AM, A. Nieves daraii.t...@gmail.com wrote:
 Can anyone that uses Seam give some input?
 If I deploy a test project in JBoss 5.1 I get an
                    HTTP Status 403 - Access to the requested resource has
 been denied
  error when trying to see the
 http://host:port/test/adf/jsLibs/resources/LocaleElements_es1_2_12.js
 resource, but I can access the http://
 host:port/test/adf/jsLibs/Common1_2_12.js


 Thanx.

 On Tue, Feb 9, 2010 at 1:30 AM, Matthias Wessendorf mat...@apache.orgwrote:

 actually not sure on that. Never done Seam for over a 1.5 years

 On Mon, Feb 8, 2010 at 11:44 PM, A. Nieves daraii.t...@gmail.com wrote:
  I created a test EAR project with Facelets 1.1.15 , Trinidad 1.2.12 and
  MyFaces 1.2.8 without Seam and I can see the LocaleElements resource. Can
 it
  be something in Seam's configuration? It's weird because I can see the
  Common1_2_12.js.
 
 
  On Mon, Feb 8, 2010 at 11:59 AM, A. Nieves daraii.t...@gmail.com
 wrote:
 
  Yes, I have another example deployment (the only difference it is a WAR
 and
  not an EAR) and it works correctly. But I was wondering what can be
  different in my current configuration because it does't work.
 
 
  On Mon, Feb 8, 2010 at 3:34 AM, Matthias Wessendorf mat...@apache.org
 wrote:
 
  I see it here:
 
 
 
 http://example.irian.at/trinidad-components-showcase/adf/jsLibs/resources/LocaleElements_es1_2_14.js?loc=es
 
  -Matthias
 
  On Sun, Feb 7, 2010 at 11:49 PM, A. Nieves daraii.t...@gmail.com
 wrote:
   Hello,
  
   I'm having problems when I try to submit a form and one of the input
   elements has a validator that uses LocaleElements javascript (In my
   particular case the *LocaleElements_es1_2_12.js*) The script is
 included
  in
   the page
   (src=/test/adf/jsLibs/resources/LocaleElements_es1_2_12.js?loc=es)
 but
  the
   resource is not available (if you try to load the js in the web page
 it
   displays an error). The other js resources, such as
 *Common1_2_12.js*,
  are
   found.
  
   If I change the locale I have the same problem.
  
   I'm using Facelets 1.1.15 , Seam 2.2, Trinidad 1.2.12 and MyFaces
 1.2.8
  and
   this is my *web.xml* (
  
 
 https://docs.google.com/leaf?id=0B1ms0mMJOqpPMDA1YTBiMzYtMzVjNi00YmVhLWFmOTItNGIyNjU1NDdlNjE2hl=en
   )
  
  
   I appreciate the help. Thnx.
  
 
 
 
  --
  Matthias Wessendorf
 
  blog: http://matthiaswessendorf.wordpress.com/
  sessions: http://www.slideshare.net/mwessendorf
  twitter: http://twitter.com/mwessendorf
 
 
 
 



 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [TRINIDAD] LocaleElements js cannot be found

2010-02-07 Thread Matthias Wessendorf
I see it here:

http://example.irian.at/trinidad-components-showcase/adf/jsLibs/resources/LocaleElements_es1_2_14.js?loc=es

-Matthias

On Sun, Feb 7, 2010 at 11:49 PM, A. Nieves daraii.t...@gmail.com wrote:
 Hello,

 I'm having problems when I try to submit a form and one of the input
 elements has a validator that uses LocaleElements javascript (In my
 particular case the *LocaleElements_es1_2_12.js*) The script is included in
 the page
 (src=/test/adf/jsLibs/resources/LocaleElements_es1_2_12.js?loc=es) but the
 resource is not available (if you try to load the js in the web page it
 displays an error). The other js resources, such as *Common1_2_12.js*, are
 found.

 If I change the locale I have the same problem.

 I'm using Facelets 1.1.15 , Seam 2.2, Trinidad 1.2.12 and MyFaces 1.2.8 and
 this is my *web.xml* (
 https://docs.google.com/leaf?id=0B1ms0mMJOqpPMDA1YTBiMzYtMzVjNi00YmVhLWFmOTItNGIyNjU1NDdlNjE2hl=en
 )


 I appreciate the help. Thnx.




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] Firefox 3.6 missing getBoxObjectFor()

2010-02-04 Thread Matthias Wessendorf
nope, but I can apply the patch there as well.
My goal is anyway to start a new release on 1.0.x (for jsf 1.1)

On Thu, Feb 4, 2010 at 8:26 AM, Bruno Marti bruno.ma...@evard.ch wrote:

 Hi
 The lightweight dialogs aren't working in Firefox 3.6.
 Solution was found by bugfix TRINIDAD-1695 (
 https://issues.apache.org/jira/browse/TRINIDAD-1695 see )

 Is this also fixed in Trinidad 1.1.x?
 --
 View this message in context: 
 http://old.nabble.com/-Trinidad--Firefox-3.6-missing-getBoxObjectFor%28%29-tp27448692p27448692.html
 Sent from the MyFaces - Users mailing list archive at Nabble.com.





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] Firefox 3.6 missing getBoxObjectFor()

2010-02-04 Thread Matthias Wessendorf
I did that already:
http://svn.apache.org/viewvc?view=revisionrevision=902065

will in the next release, or you use the branch 2day ;-)

-Matthias

On Thu, Feb 4, 2010 at 9:54 AM, Bruno Marti bruno.ma...@evard.ch wrote:

 Yes, please apply it
 thx


 Matthias Wessendorf-4 wrote:

 nope, but I can apply the patch there as well.
 My goal is anyway to start a new release on 1.0.x (for jsf 1.1)

 On Thu, Feb 4, 2010 at 8:26 AM, Bruno Marti bruno.ma...@evard.ch wrote:

 Hi
 The lightweight dialogs aren't working in Firefox 3.6.
 Solution was found by bugfix TRINIDAD-1695 (
 https://issues.apache.org/jira/browse/TRINIDAD-1695 see )

 Is this also fixed in Trinidad 1.1.x?
 --
 View this message in context:
 http://old.nabble.com/-Trinidad--Firefox-3.6-missing-getBoxObjectFor%28%29-tp27448692p27448692.html
 Sent from the MyFaces - Users mailing list archive at Nabble.com.





 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf



 --
 View this message in context: 
 http://old.nabble.com/-Trinidad--Firefox-3.6-missing-getBoxObjectFor%28%29-tp27448692p27449477.html
 Sent from the MyFaces - Users mailing list archive at Nabble.com.





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] new skin and new demo

2010-02-03 Thread Matthias Wessendorf
cool, thanks!

-M

On Wed, Feb 3, 2010 at 8:23 AM, Bart Kummel bkum...@gmail.com wrote:
 Hi all,

 I just posted a short article about the new Cassablanca skin for Trinidad at
 my blog:
 http://www.bartkummel.net/journal/2010/2/2/new-skin-for-trinidad.html.

 Best regards,
 Bart Kummel

 On Sat, Jan 30, 2010 at 12:19, Matthias Wessendorf mat...@apache.orgwrote:

 Hello,

 as FYI, the new skin (cassablanca) has been committed to trunk
 (1.2.14-SNAPSHOT). There will be a release for that in a few weeks.

 Thanks to our friends from Irian.at, for already hosting the new beautiful
 demo:
 http://example.irian.at/trinidad-components-showcase/

 Check it out!

 Special thanks for the code-donation goes to Catalin and team from
 CodeBeat:
 http://www.codebeat.ro

 Enjoy the new skin, guys!

 -Matthias

 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] new skin and new demo

2010-02-03 Thread Matthias Wessendorf
:-)

Shane,
is the performance only for the show-case bad ?
Or for the real sample as well ?
(it is online too)

new:
http://example.irian.at/trinidad-components-showcase/

old:
http://example.irian.at/trinidad-demo/

actually = both are hanging now for me :-)

.-Matthias

On Wed, Feb 3, 2010 at 6:18 PM, Shane Petroff sh...@mayet.ca wrote:
 Matthias Wessendorf wrote:

 cool, thanks!


 Definitely not cool... The performance at the irian site is terrible (it
 sucks at the best of times, but today it is atrocious). It makes both
 Trinidad and Irian look bad. If I didn't already know that Trinidad
 performance was fine, I'd be left with the impression that it was an
 unusable POS.

 Shane

 -M

 On Wed, Feb 3, 2010 at 8:23 AM, Bart Kummel bkum...@gmail.com wrote:


 Hi all,

 I just posted a short article about the new Cassablanca skin for Trinidad
 at
 my blog:
 http://www.bartkummel.net/journal/2010/2/2/new-skin-for-trinidad.html.

 Best regards,
 Bart Kummel

 On Sat, Jan 30, 2010 at 12:19, Matthias Wessendorf
 mat...@apache.orgwrote:



 Hello,

 as FYI, the new skin (cassablanca) has been committed to trunk
 (1.2.14-SNAPSHOT). There will be a release for that in a few weeks.

 Thanks to our friends from Irian.at, for already hosting the new
 beautiful
 demo:
 http://example.irian.at/trinidad-components-showcase/

 Check it out!

 Special thanks for the code-donation goes to Catalin and team from
 CodeBeat:
 http://www.codebeat.ro

 Enjoy the new skin, guys!

 -Matthias

 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf








 --
 Shane





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] new skin and new demo

2010-02-03 Thread Matthias Wessendorf
ha!
We had had that discussion before (not myfaces specific), of hosting
(java-based) demos :)
Glad you reminded me... :)

I will bring this up w/ infra@

-Matthias

On Wed, Feb 3, 2010 at 7:38 PM, Andrew Robinson
andrew.rw.robin...@gmail.com wrote:
 Any hope on hosting the demo's at Apache?

 On Wed, Feb 3, 2010 at 10:26 AM, Gerhard Petracek
 gerhard.petra...@gmail.com wrote:
 imo it's just an issue with the server...
 i'll forward the issue.

 regards,
 gerhard

 http://www.irian.at

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

 Professional Support for Apache MyFaces


 2010/2/3 Matthias Wessendorf mat...@apache.org

 :-)

 Shane,
 is the performance only for the show-case bad ?
 Or for the real sample as well ?
 (it is online too)

 new:
 http://example.irian.at/trinidad-components-showcase/

 old:
 http://example.irian.at/trinidad-demo/

 actually = both are hanging now for me :-)

 .-Matthias

 On Wed, Feb 3, 2010 at 6:18 PM, Shane Petroff sh...@mayet.ca wrote:
  Matthias Wessendorf wrote:
 
  cool, thanks!
 
 
  Definitely not cool... The performance at the irian site is terrible (it
  sucks at the best of times, but today it is atrocious). It makes both
  Trinidad and Irian look bad. If I didn't already know that Trinidad
  performance was fine, I'd be left with the impression that it was an
  unusable POS.
 
  Shane
 
  -M
 
  On Wed, Feb 3, 2010 at 8:23 AM, Bart Kummel bkum...@gmail.com wrote:
 
 
  Hi all,
 
  I just posted a short article about the new Cassablanca skin for
 Trinidad
  at
  my blog:
  http://www.bartkummel.net/journal/2010/2/2/new-skin-for-trinidad.html.
 
  Best regards,
  Bart Kummel
 
  On Sat, Jan 30, 2010 at 12:19, Matthias Wessendorf
  mat...@apache.orgwrote:
 
 
 
  Hello,
 
  as FYI, the new skin (cassablanca) has been committed to trunk
  (1.2.14-SNAPSHOT). There will be a release for that in a few weeks.
 
  Thanks to our friends from Irian.at, for already hosting the new
  beautiful
  demo:
  http://example.irian.at/trinidad-components-showcase/
 
  Check it out!
 
  Special thanks for the code-donation goes to Catalin and team from
  CodeBeat:
  http://www.codebeat.ro
 
  Enjoy the new skin, guys!
 
  -Matthias
 
  --
  Matthias Wessendorf
 
  blog: http://matthiaswessendorf.wordpress.com/
  sessions: http://www.slideshare.net/mwessendorf
  twitter: http://twitter.com/mwessendorf
 
 
 
 
 
 
 
 
  --
  Shane
 
 



 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf






-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] new skin and new demo

2010-02-03 Thread Matthias Wessendorf
On Wed, Feb 3, 2010 at 8:39 PM, Gerhard Petracek
gerhard.petra...@gmail.com wrote:
 fyi: the server is back again.

 @hosting at apache:
 we also saw issues with apache servers...

uhm... the zone is not managed...
other than that... not sure what issues you mean.
Oh yes, *apache.org is interesting... so sometimes
svn etc are under some sort of attack..

-M

 however, we can talk with the infrastructure team...

 regards,
 gerhard

 http://www.irian.at

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

 Professional Support for Apache MyFaces


 2010/2/3 Matthias Wessendorf mat...@apache.org

 ha!
 We had had that discussion before (not myfaces specific), of hosting
 (java-based) demos :)
 Glad you reminded me... :)

 I will bring this up w/ infra@

 -Matthias

 On Wed, Feb 3, 2010 at 7:38 PM, Andrew Robinson
 andrew.rw.robin...@gmail.com wrote:
  Any hope on hosting the demo's at Apache?
 
  On Wed, Feb 3, 2010 at 10:26 AM, Gerhard Petracek
  gerhard.petra...@gmail.com wrote:
  imo it's just an issue with the server...
  i'll forward the issue.
 
  regards,
  gerhard
 
  http://www.irian.at
 
  Your JSF powerhouse -
  JSF Consulting, Development and
  Courses in English and German
 
  Professional Support for Apache MyFaces
 
 
  2010/2/3 Matthias Wessendorf mat...@apache.org
 
  :-)
 
  Shane,
  is the performance only for the show-case bad ?
  Or for the real sample as well ?
  (it is online too)
 
  new:
  http://example.irian.at/trinidad-components-showcase/
 
  old:
  http://example.irian.at/trinidad-demo/
 
  actually = both are hanging now for me :-)
 
  .-Matthias
 
  On Wed, Feb 3, 2010 at 6:18 PM, Shane Petroff sh...@mayet.ca wrote:
   Matthias Wessendorf wrote:
  
   cool, thanks!
  
  
   Definitely not cool... The performance at the irian site is terrible
 (it
   sucks at the best of times, but today it is atrocious). It makes both
   Trinidad and Irian look bad. If I didn't already know that Trinidad
   performance was fine, I'd be left with the impression that it was an
   unusable POS.
  
   Shane
  
   -M
  
   On Wed, Feb 3, 2010 at 8:23 AM, Bart Kummel bkum...@gmail.com
 wrote:
  
  
   Hi all,
  
   I just posted a short article about the new Cassablanca skin for
  Trinidad
   at
   my blog:
  
 http://www.bartkummel.net/journal/2010/2/2/new-skin-for-trinidad.html.
  
   Best regards,
   Bart Kummel
  
   On Sat, Jan 30, 2010 at 12:19, Matthias Wessendorf
   mat...@apache.orgwrote:
  
  
  
   Hello,
  
   as FYI, the new skin (cassablanca) has been committed to trunk
   (1.2.14-SNAPSHOT). There will be a release for that in a few
 weeks.
  
   Thanks to our friends from Irian.at, for already hosting the new
   beautiful
   demo:
   http://example.irian.at/trinidad-components-showcase/
  
   Check it out!
  
   Special thanks for the code-donation goes to Catalin and team from
   CodeBeat:
   http://www.codebeat.ro
  
   Enjoy the new skin, guys!
  
   -Matthias
  
   --
   Matthias Wessendorf
  
   blog: http://matthiaswessendorf.wordpress.com/
   sessions: http://www.slideshare.net/mwessendorf
   twitter: http://twitter.com/mwessendorf
  
  
  
  
  
  
  
  
   --
   Shane
  
  
 
 
 
  --
  Matthias Wessendorf
 
  blog: http://matthiaswessendorf.wordpress.com/
  sessions: http://www.slideshare.net/mwessendorf
  twitter: http://twitter.com/mwessendorf
 
 
 



 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


  1   2   3   4   5   6   7   8   9   10   >