Re: JSF application very slow with HTTPS

2011-04-11 Thread Mark Struberg
Mark Struberg: Btw another question: 1s local response time? How fat is this page? We have a really big page in production with 1400 lines in a dataTable - and it renders in 450 ms... How many back-and-forth requests do you see if you open firebug? Do you have some EL involved which

Re: JSF application very slow with HTTPS

2011-04-11 Thread Mark Struberg
handshaking, but not for the rendering! Could this be caused by a buffering whereever? Mark (or anybody else), did you compare your app with http and https? Just wondering whether this is a problem only in my app. Regards, Michael Am 11.04.2011 17:27, schrieb Mark Struberg: Btw

Re: JSF application very slow with HTTPS

2011-04-11 Thread Mark Struberg
mkien...@gmail.com Subject: Re: JSF application very slow with HTTPS To: MyFaces Discussion users@myfaces.apache.org Cc: Mark Struberg strub...@yahoo.de Date: Monday, April 11, 2011, 4:27 PM Or you can go with something a lot simpler and start with the free profiler provided in the H2Database jar

Re: JSF application very slow with HTTPS

2011-04-11 Thread Mark Struberg
11.04.2011 18:12, schrieb Mark Struberg: Ah sorry, have overread that: The time is spent in htmlTableRenderer.encodeInnerHtml I'd start the application with YourKit profiler and do some profiling. You can get a free yourkit test license (14 days I think) for evaluation. LieGrue

Re: Re: Problem with inputText conversion to BigDecimal

2011-04-08 Thread Mark Struberg
Hi Juergen! Imo upgrading to JSF2 and EL-2.2. is always a good idea. I remember how nasty it was to handle actions in dataTables in JSF1. With EL-2.2 you now can just have your action as #{backingBean.delete(currentItem)} for example. Or the f:viewParam or f:event type=PreRenderViewEvent

Re: MyFaces 2 with EL 2.2 in Websphere 7

2011-04-04 Thread Mark Struberg
you will probably need to drop jasper-el (or whatever EL impl was7 uses) from your Websphere lib path. Otherwise you will most likely get class path conflicts. LieGrue, strub --- On Mon, 4/4/11, Mansour91 mansourne...@gmail.com wrote: From: Mansour91 mansourne...@gmail.com Subject: MyFaces

Re: Clarification please, which project is myfaces?

2011-03-29 Thread Mark Struberg
Hi! The Apache MyFaces2 core project is an ALv2 licensed open source implementation of the JSF2 specification (JSR-314). The older MyFaces jars implemented older JSF specs. MyFaces also contains a few sub-projects which are loosely related to JSF: * Trinidad is a component library for JSF.

Fw: Re: Clarification please, which project is myfaces?

2011-03-29 Thread Mark Struberg
oops forward to the list also... --- On Tue, 3/29/11, Mark Struberg strub...@yahoo.de wrote: From: Mark Struberg strub...@yahoo.de Subject: Re: Clarification please, which project is myfaces? To: java4dev java4...@gmail.com Date: Tuesday, March 29, 2011, 3:14 PM np, your welcome. Please

Re: MyFaces CODI and Weld 1.0.1

2011-03-09 Thread Mark Struberg
Hi Christian! The major difference between Weld and OpenWebBeans in the interceptor area is that Weld strictly follows the Bean Definition Archive (BDA) part of the spec. This got added pretty late (in the last few weeks before the spec went final and imo is complete crap [1] ;) In Weld you

Re: NullPointerException with OSGi Bundle

2011-02-22 Thread Mark Struberg
Hi Clovis! Please note that there is a new myfaces-2.0.4 out since last week. Afaik this got a bit love in regards to the OSGi part. If you like to submit patches, then please open a Jira and provide a svn diff against the latest trunk from svn co

Re: Problems with CODI 0.9.2 on Glassfish 3.1

2011-01-18 Thread Mark Struberg
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

Re: Problems with CODI 0.9.2 on Glassfish 3.1

2011-01-17 Thread Mark Struberg
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

Re: Problems with CODI 0.9.2 on Glassfish 3.1

2011-01-17 Thread Mark Struberg
: Dominik Dorn domi...@dominikdorn.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:25 PM 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

Re: Problems with CODI 0.9.2 on Glassfish 3.1

2011-01-17 Thread Mark Struberg
, 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

Re: Problems with CODI 0.9.2 on Glassfish 3.1

2011-01-17 Thread Mark Struberg
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

Re: How to persist null values with JSF2?

2011-01-10 Thread Mark Struberg
Did you do your debugging in your backing bean action or do you only look at the database? If JPA is involved, then the jpa provider may replace null with empty strings (known issue on oracle). LieGrue, strub --- On Mon, 1/10/11, Marsman mars@gmx.de wrote: From: Marsman mars@gmx.de

Re: How to persist null values with JSF2?

2011-01-10 Thread Mark Struberg
Hmm, works perfectly over here when adding the following to web.xml: context-param param-namejavax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL/param-name param-valuetrue/param-value /context-param as Jakob already suggested. LieGrue, strub --- On Mon, 1/10/11,

Re: How to persist null values with JSF2?

2011-01-10 Thread Mark Struberg
nope, I found the tomcat 7 EL to be buggy back when I did need it (should re-evaluate it soon) and use juel now [1] LieGrue, strub [1] https://github.com/struberg/juel --- On Mon, 1/10/11, Marsman mars@gmx.de wrote: From: Marsman mars@gmx.de Subject: Re: How to persist null values

Re: How to manage URLs in JSF

2010-12-31 Thread Mark Struberg
with JSF-2 you can also use a composite component which uses h:outputLink LieGrue, strub --- On Fri, 12/31/10, Kito Mann kito.m...@virtua.com wrote: From: Kito Mann kito.m...@virtua.com Subject: Re: How to manage URLs in JSF To: MyFaces Discussion users@myfaces.apache.org Date: Friday,

Re: Antwort: [ANNOUNCE] Release of Apache MyFaces Extensions CDI 0.9.1

2010-12-13 Thread Mark Struberg
Hi Steffen! Oops, it's missing in the binary-release.zip, but we did release it to the maven repo [1]. Please pick it up from there. LieGrue, strub [1] http://repo2.maven.org/maven2/org/apache/myfaces/extensions/cdi/modules/component-support/myfaces-extcdi-trinidad12-support/0.9.1/ --- On

Re: myfaces popularity

2010-12-06 Thread Mark Struberg
=3431q=elcolspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Component%20Language 2010/12/5 Mark Struberg strub...@yahoo.de thingy.edit('X') So what you need is UEL-2.2. No idea if gae supports this. Maybe there is an option to get it (comes with Servlet-3.0

Re: serving views from jar files

2010-12-06 Thread Mark Struberg
currently able to load view definition files from jar files sitting on the classpath. Best regards, Dan. On 03.12.2010 10:43, Mark Struberg wrote: Hi Dan! You might take a look at Jason Lees blog if this is what you need: http://blogs.steeplesoft.com/2010/05/putting-facelets

Re: myfaces popularity

2010-12-06 Thread Mark Struberg
Subject: Re: myfaces popularity To: MyFaces Discussion users@myfaces.apache.org Date: Monday, December 6, 2010, 8:42 PM Which of the 3 styles is best? Am I missing one? On Mon, Dec 6, 2010 at 1:45 AM, Mark Struberg strub...@yahoo.de wrote: Yes, I feared that :( They have a relative

Re: myfaces popularity

2010-12-05 Thread Mark Struberg
beans (automatically). regards, gerhard http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2010/12/4 Mark Struberg strub...@yahoo.de +1, with CDI you would be able to simply

Re: myfaces popularity

2010-12-04 Thread Mark Struberg
--$10,600 for advanced. My startup can't afford this--especially without trying it first--perhaps a paygo option. I haven't studied the source code to see if there's unit testing. As compelling as jsf2 is, I'm scared to bet my startup on it. On Fri, Dec 3, 2010 at 12:30 AM, Mark

Re: myfaces popularity

2010-12-03 Thread Mark Struberg
Hi! With the pretty fast development on the spec side (last year 2.0, last week 2.1 - thanks Ed!) there is a very steady development going on atm. Also remember that EE6 is pretty fresh. So while there is currently not that much traffic on the us...@mf list there is pretty much of it on the

Re: serving views from jar files

2010-12-03 Thread Mark Struberg
Hi Dan! You might take a look at Jason Lees blog if this is what you need: http://blogs.steeplesoft.com/2010/05/putting-facelets-in-a-jar/ look at the custom ResourceResolver. You can also find this info in the JavaDoc (found the ResourceResolver trick in 2009 somewhere else too at least).

Re: myfaces popularity

2010-12-03 Thread Mark Struberg
testing. As compelling as jsf2 is, I'm scared to bet my startup on it. On Fri, Dec 3, 2010 at 12:30 AM, Mark Struberg strub...@yahoo.de wrote: Hi! With the pretty fast development on the spec side (last year 2.0, last week 2.1 - thanks Ed!) there is a very steady development

Re: AW: AW: AW: CODI 0.9.0 + Glassfish V3.0.1 + EAR

2010-11-27 Thread Mark Struberg
like mine who uses CODI successfully or do you know where I could possibly download an example ? The ones that Gerhard provided includes only a webproject ! Liebe Grüße Thomas -Ursprüngliche Nachricht- Von: Mark Struberg [mailto:strub...@yahoo.de] Gesendet: Freitag, 26

Re: AW: CODI 0.9.0 + Glassfish V3.0.1 + EAR

2010-11-26 Thread Mark Struberg
which glassfish version are you using? There was an error in this area in weld https://jira.jboss.org/browse/WELD-507 LieGrue, strub --- On Fri, 11/26/10, Ing. Thomas Kernstock t.kernst...@e-technologies.at wrote: From: Ing. Thomas Kernstock t.kernst...@e-technologies.at Subject: AW: CODI

Re: AW: AW: CODI 0.9.0 + Glassfish V3.0.1 + EAR

2010-11-26 Thread Mark Struberg
: Mark Struberg [mailto:strub...@yahoo.de] Gesendet: Freitag, 26. November 2010 16:53 An: MyFaces Discussion Betreff: Re: AW: CODI 0.9.0 + Glassfish V3.0.1 + EAR which glassfish version are you using? There was an error in this area in weld https://jira.jboss.org/browse/WELD-507 LieGrue

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

2010-11-24 Thread Mark Struberg
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

Re: myfaces news

2010-11-15 Thread Mark Struberg
+1 LieGrue, strub --- On Mon, 11/15/10, Matthias Wessendorf mat...@apache.org wrote: From: Matthias Wessendorf mat...@apache.org Subject: Re: myfaces news To: MyFaces Development d...@myfaces.apache.org Cc: users@myfaces.apache.org Date: Monday, November 15, 2010, 10:39 AM Gerhard,

Re: Migrating app to myfaces2/Trinidad2

2010-07-26 Thread Mark Struberg
can you please run a $ mvn dependency:tree and check if you are picking up some sun JSF impl (maybe through a transitive dependency)? LieGrue, strub - Original Message From: Cédric Durmont cdurm...@gmail.com To: MyFaces Discussion users@myfaces.apache.org Sent: Mon, July 26,

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

2010-07-15 Thread Mark Struberg
Hi! Not sure if this really helps. Both teams do a awesome job with getting their component libs to JSF-2. But as with Trinidad, Primefaces also still uses a proprietary way to do partial page rendering (p:ajax). A JSF-2 component lib should at least be working if f:ajax is used in a page too.

FYI: Fw: [ANNOUNCE] Apache OpenWebBeans 1.0.0-alpha-1 released

2010-07-11 Thread Mark Struberg
Hi lords and ladies! A new release of OpenWebBeans hit the road :) have fun and LieGrue, your OWB folks --- On Sat, 7/10/10, Mark Struberg strub...@apache.org wrote: From: Mark Struberg strub...@apache.org Subject: [ANNOUNCE] Apache OpenWebBeans 1.0.0-alpha-1 released To: annou

Re: Long transactions

2010-07-03 Thread Mark Struberg
However, if you leave a transaction active after a response, it's always going to be an issue no matter what framework you use. True for database connections, but not necessarily for JPA connections. At least not if you use optimistic locking, which is the default. Ofc if you use row

Re: Long transactions

2010-07-02 Thread Mark Struberg
Mike you left out the obvious one, simply use a conversation framework. Definitely true, but not always applicable. I would e.g. not recommend using long running transactions for public pages. This will increase the session footprint big times and you'll get more easily vulnerable for DOS

Re: Problems with orchestra and JSF 2

2010-07-01 Thread Mark Struberg
Hi Bruno! First, could someone explain me why the beans constructor is called multiple times? What you see might be an effect of proxies. Usually if a subclassing proxy gets initialised, the constructor of the proxied class gets called. This is the reason why it's not suggested to use

Re: http://people.apache.org/repo/m2-snapshot-repository is unavailable

2010-06-17 Thread Mark Struberg
apache minotaur where people.apache.org is served is currently a bit laggy. Infra is working on that. LieGrue, strub --- On Thu, 6/17/10, Rossen Stoyanchev rstoyanc...@yahoo.com wrote: From: Rossen Stoyanchev rstoyanc...@yahoo.com Subject: http://people.apache.org/repo/m2-snapshot-repository

Re: using new el-api-2.2 with myfaces2.0 and tomcat6

2010-05-24 Thread Mark Struberg
right, the JSP part of tomcat6 will not work with EL-2.2. At least I found no way to successfully activate it. I did successfully run EL-2.2 with facelets-1.1.15 and the built-in facelets-2 LieGrue, strub --- On Sun, 5/23/10, Michael Kurz michi.k...@gmx.at wrote: From: Michael Kurz

Re: Problem with composite component inside ui:repeat

2010-05-13 Thread Mark Struberg
Maybe I'm on the completely wrong track, but does it work with c:forEach? LieGrue, strub --- On Thu, 5/13/10, Jakob Korherr jakob.korh...@gmail.com wrote: From: Jakob Korherr jakob.korh...@gmail.com Subject: Re: Problem with composite component inside ui:repeat To: MyFaces Discussion

Re: Problem with BeanValidation in myfaces 2.0

2010-03-23 Thread Mark Struberg
To me this sounds like a blocker for beta3, isn't? txs and LieGrue, strub --- Jakob Korherr jakob.korh...@gmail.com schrieb am Di, 23.3.2010: Von: Jakob Korherr jakob.korh...@gmail.com Betreff: Re: Problem with BeanValidation in myfaces 2.0 An: MyFaces Discussion users@myfaces.apache.org

FW: [ANNOUNCEMENT] OpenWebBeans M4 Has Released

2010-03-05 Thread Mark Struberg
For all bleeding edge CDI lovers out there :) have fun, strub --- Gurkan Erdogdu gurkanerdo...@yahoo.com schrieb am Sa, 6.3.2010: Von: Gurkan Erdogdu gurkanerdo...@yahoo.com Betreff: [ANNOUNCEMENT] OpenWebBeans M4 Has Released An: d...@openwebbeans.apache.org, u...@openwebbeans.apache.org

Re: How to elegantly replace line breaks with BR tag?

2010-02-22 Thread Mark Struberg
why not use ul and li elements and later format your output via CSS? LieGrue, strub --- laredotornado laredotorn...@gmail.com schrieb am Mo, 22.2.2010: Von: laredotornado laredotorn...@gmail.com Betreff: Re: How to elegantly replace line breaks with BR tag? An: users@myfaces.apache.org

Re: How to elegantly replace line breaks with BR tag?

2010-02-22 Thread Mark Struberg
If you are using a simple '\n', then every html encoding I know will do the right thing out of the box. I used to use commons StringEscapeUtils [1] LieGrue, strub [1] http://commons.apache.org/lang/api-2.4/org/apache/commons/lang/StringEscapeUtils.html#escapeHtml%28java.lang.String%29 ---

Re: AW: Stuck making JSF 2.0 work with MyFaces

2010-02-22 Thread Mark Struberg
you could try PrimeFaces-2.0.1 I'm currently using it with MyFaces-2.0.0-beta-2, EL-2.2 OpenWebBeans-1.0.0-SNAPSHOT and OpenJPA-2.0.0-beta without much problems. LieGrue, strub --- Richard Yee richard.k@gmail.com schrieb am Mo, 22.2.2010: Von: Richard Yee richard.k@gmail.com Betreff:

Re: el expression

2010-02-10 Thread Mark Struberg
Hiho! It is possible, but only with a little trick. Using a parameter in the EL is a new EL-2.2 feature which is _not_ part of JSP-2.1 delivered with tomcat6 and jetty6 but defined in JSR-245 MR-2 (JSP-2.2) [1]. You can enable EL-2.2 by using a few tricks even in tomcat-6 and jetty6. Here is

Re: el expression

2010-02-10 Thread Mark Struberg
@myfaces.apache.org Datum: Mittwoch, 10. Februar 2010, 10:36 thanks mark, do you mind putting this into a wiki page ? :) -Matthias On Wed, Feb 10, 2010 at 10:10 AM, Mark Struberg strub...@yahoo.de wrote: Hiho! It is possible, but only with a little trick. Using a parameter

Re: MyFaces binding problem with HtmlSelectOneMenu/SelectOneChoice

2010-01-26 Thread Mark Struberg
Just in case it helps, I'm also having problems with HtmlSelectOne: This used to work until last week. Leonardos patch in MYFACES-2356.3 fixes this problem. I'd say this is a blocker for the beta release... LieGrue, strub 2010-01-26 13:25:27.623:WARN::/reservation-fe/reservationRequest.jsf

Re: SelectItem containing Integer question

2010-01-13 Thread Mark Struberg
question To: MyFaces Discussion users@myfaces.apache.org Date: Saturday, January 9, 2010, 2:18 PM Puh. Good question. I'm not sure, but I think no. Feel free to submit one! Thanks, Jakob 2010/1/9 Mark Struberg strub...@yahoo.de Thanks! Has a bug being submitted to sun already

SelectItem containing Integer question

2010-01-09 Thread Mark Struberg
Hi! I'm currently using Mojarra-2.0.1 and MyFaces-2.0.0-SNAPSHOT in parallel, testing out a few things. One of the compatibility problems I got was with using in my backing bean: public SelectItem[] getRooms() { .. item[i] = new SelectItem( roomIntegerId, roomName ); .. } for MyFaces,

Re: SelectItem containing Integer question

2010-01-09 Thread Mark Struberg
. On my point of view, MyFaces is doing right! Regards, Jakob 2010/1/9 Mark Struberg strub...@yahoo.de Hi! I'm currently using Mojarra-2.0.1 and MyFaces-2.0.0-SNAPSHOT in parallel, testing out a few things. One of the compatibility problems I got was with using in my

RE: how to encode url

2008-02-11 Thread Mark Struberg
so how does your encoded URL look like and where do you like to use it? Is your problem that you do not have the sessionId encoded or that single characters are 'wrong'? just to catch the obvious misunderstanding. there is a difference between HTML escaping and URL encoding example: in an URL .)

[trinidad] tr:navigationTree questions

2008-02-08 Thread Mark Struberg
Hello! I'm a complete noob to trinidad and myfaces, so please excuse any obvious or stupid questions. At least I've searched yahoo, google and read through nabble, so hopefully my asking is not too dumb :) I'm currently writing a sample for a standard business application which also contains

<    1   2