RE: BadPadding Exception and more

2009-02-16 Thread Felix.Becker
Hi Geoff, you have to disable the encryption explicitly - it's not depending on the state saving method. Use context-param param-nameorg.apache.myfaces.USE_ENCRYPTION/param-name param-valuefalse/param-value /context-param Regards, Felix -Original Message- From: Geoff

RE: BadPadding Exception and more

2009-02-13 Thread Felix.Becker
Hi Alvaro, Hi Michael, I had the same problems here. Disabling the myfaces encryption removed the badpadding exception. @ViewExpiredException: this simply means that your session is timed out. You can use a servlet filter which checks if the session is ok and if not creates a new one - or

RE: Replacing font color with trinidad skinning?

2009-02-11 Thread Felix.Becker
Hi Omar! Thank you, but that did not solve my problem. The table headers are in the right color now, but the color of a panelCaptionGroup is still wrong. It doesn't help me if you send me the selector for changing this, if there are other components which are not affected by this selector.

RE: Replacing font color with trinidad skinning?

2009-02-10 Thread Felix.Becker
Hi Omar, The solution you suggested changed the color of the * required char, but the color of the tr:dataTable is still the default myfaces green. Any other solution? Thanks Felix From: Omar Elprince [mailto:general.equal@gmail.com] Sent:

Multiple L10n Resourcebundles?

2009-02-10 Thread Felix.Becker
Hey Guys, I want to use multiple localization property files - for example message-bundleModuleSpecificL10n/message-bundle message-bundleFoundationL10n/message-bundle. This doesn't work. I found a mail where this problem was discussed but there was no satisfying solution. Any ideas? What,

Replacing font color with trinidad skinning?

2009-02-09 Thread Felix.Becker
Hi, Trinidad/myfaces is using a special green for required * and for table headers. This green doesn't fit to our corporate identity so I want tot change it to another color. Do I have to parse the whole trinidad stylesheet file and replace the green at every place through my own or is there a

Resources Servlet security question

2009-01-28 Thread Felix.Becker
Hey Guys, I implemented a phase listener based security handler which knows which pages are public viewable and which pages require a special authentication. Currently the only page usable without authentication is the login page. These settings are blocking the resources servlet. That causes

[Bug? Trinidad] javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher

2009-01-14 Thread Felix.Becker
Hi, I've got a serious problem with my frontends. Extremely sudden the exception below is thrown. Restarting the Container does not work. Redeploying doesn't help immediately. I have to close all browser windows an redeploy the application many times until it works. The error is not

RE: [myfaces-core] javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher

2009-01-14 Thread Felix.Becker
Hi Simon, I think any of the following (in order of preference) should solve this: (1) in web.xml, define init-parameter org.apache.myfaces.SECRET to be some reasonably long string. The server will then use the same encryption secret after restart (instead of generating a key itself), and

RE: Skinning Trinidad - dynamic path in stylesheet files?

2009-01-11 Thread Felix.Becker
Hi *, I tried to use @IMPORT url(/module-desktop.css); in my css file loaded by the trinidad-skins configuration but that doesn't seem to work. In the generated CSS file there are no @IMPORT statements and the content of the CSS file which should be imported is not there, too. The

Skinning Trinidad - dynamic path in stylesheet files?

2009-01-07 Thread Felix.Becker
Hi Guys, i'm using an own css file (defined in the trinidad-skins.xml) for many of my components. My faces application pages are available on different paths, e.g. the news page is on /appname/pages/news/news.jsf and the login page is on /appname/pages/security/login/login.jsf. In my style.css

RE: Skinning Trinidad - dynamic path in stylesheet files?

2009-01-07 Thread Felix.Becker
Oh, i just saw that trinidad automatically rewrites the url when using an absolute path like /icons/foo.png - cool. That solved my problem Felix From: Becker, Felix Sent: Thursday, January 08, 2009 8:34 AM To: users@myfaces.apache.org Subject:

RE: Trinidad : dialog for error messages

2008-12-17 Thread Felix.Becker
Hi Thomson, which kind of errors? If the errors occur in the invoke application phase, it shouldn't be a problem - if the errors occur at the render phase, its more difficult to handle them. Felix From: venkat.rama...@thomsonreuters.com

required=true on partial submit?

2008-12-17 Thread Felix.Becker
Hi, On one of my pages I've got 2 tr:selectOneChoice boxes - box A and box B. The content of box B depends on the selection of box B. I'm using autoSubmit=true for box A and partialTriggers=boxA for box B. This works perfect unless I'm setting the required=true attribute for box B. That causes

RE: Displaying messages over the content - generated by the content?

2008-12-17 Thread Felix.Becker
Well, i solved the problem now using Ajax (XMLHttpRequest) to load the status messages from a servlet - a little bit dirty but it works :-) Regards, Felix From: Becker, Felix Sent: Thursday, December 11, 2008 6:37 PM To: users@myfaces.apache.org

Displaying messages over the content - generated by the content?

2008-12-11 Thread Felix.Becker
Hi, I've got a JSF page divided in 2 parts - the status message area and the content area. The content area is positioned under the status message area. In the status area all messages for the user should be shown - for example success messages, error messages and exceptions. In my content

RE: Displaying messages over the content - generated by the content?

2008-12-11 Thread Felix.Becker
Hi Gerhard, Thank you for your answer. Unfortunately I can't use orchestra here but a prerenderer method is exactly what I need. Can it be possible to hook up something like a prerendererphase in myfaces / Trinidad? I don't see any other way how solve this problem. Thank you Felix

Date output depending on the userlocale?

2008-10-30 Thread Felix.Becker
Hi *, is it possible to configure the date format which is used for the output of Date-objects for every locale - for example in the locale resource bundle or in the faces-config.xml? Example: Locale en_US DD/MM/ Locale de_DE DD-MM- Locale en_EN DD-MM. Thanks and best regards,

RE: Date output depending on the userlocale?

2008-10-30 Thread Felix.Becker
Okay, thats cool - didn't know that i can use the converter for outputText, too. Thank you Michael! Best regards, Felix -Original Message- From: Michael Heinen [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2008 1:34 PM To: MyFaces Discussion Subject: RE: Date output depending

Handling View expired Exception?

2008-10-22 Thread Felix.Becker
Hi *, when my session on a jsf page times out, i'm getting a view expired exception after executing an action on the page. How can I redirect the user to the login page - with a new session - when this exception was thrown? Thank you and best regards, Felix Becker

RE: wrong/missing validation behaviour - security problem.

2008-09-23 Thread Felix.Becker
Hello Gerhard, thank you very much for implementing and providing this fix. I'll implement it in our projects and test it this week. Regards, Felix From: Gerhard Petracek [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2008 12:05 AM To:

wrong/missing validation behaviour - security problem.

2008-09-17 Thread Felix.Becker
Hi! While testing our JSF Frontends we found out, that the server sided validation of the JSF components does not work corrrectly in some cases. I appended an example formular which we tested and where we found this bug. At first we changed the http request and set the value of all

RE: wrong/missing validation behaviour - security problem.

2008-09-17 Thread Felix.Becker
Hi Simon, Just tried it and yes, it happens with a simple h:inputText instead of the tr:inputText, too. Felix -Original Message- From: Simon Kitching [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2008 4:41 PM To: MyFaces Discussion Subject: Re: wrong/missing validation

Problem with the JMeter HTTP Proxy

2008-09-11 Thread Felix.Becker
Hi! We are currently testing our application frontends with Jakarta JMeter 2.3.2. We are activating the JMeter proxy for creating our Tests. This worked fine until we switched the tr:form usesUpload=false to tr:form usesUpload=true in our jsf documents. With the Internet Explorer it works

AW: Generation strategy of the j_id prefixes?

2008-09-10 Thread Felix.Becker
Hi Marc, i'm using fixed id's for the gui elements but i forgot to set ids for the used naming container. That caused ids with a random prefix (generated for the naming container). Setting an id for every naming container solved my problem - winrunner and jmeter tests are working fine. Felix

Generation strategy of the j_id prefixes?

2008-09-09 Thread Felix.Becker
Hi, i'm currently writing JMeter tests for a web frontend generated with myfaces. I tried to identify the input fields, buttons and drop downs via their html id attribute. For example the id of one of my input fields was: j_id36:inputContentText. After redeploying the application the id changed

AW: Generation strategy of the j_id prefixes?

2008-09-09 Thread Felix.Becker
Hi Simon, setting the id for every naming container worked perfect and solved my problem! Thank you very much! Felix Becker -Ursprüngliche Nachricht- Von: Simon Kitching [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 9. September 2008 15:26 An: MyFaces Discussion Betreff: Re: