how to prevent extensive logging for myfaces and tomahawk when server starts?

2008-12-17 Thread Andreas Niemeyer
Hi, When the application server starts, there is an extensive logging outcome from the myfaces libraries. How can I suppress this? Can I remove the faces-config from the jars? Regards, Andreas

Re: JSF servlet request in action method or navigation rule to get binary servlet data?

2008-12-11 Thread Andreas Niemeyer
Bohmann schrieb: Hello Andreas, is your action immediate=true ? Regards Bernd Andreas Niemeyer schrieb: yippi :) Thank you all! Regards, Andreas Richard Yee schrieb: Try using divelement.style.display=none Regards, Richard On Wed, Dec 10, 2008 at 6:27 AM, Andreas Niemeyer [EMAIL

Re: JSF servlet request in action method or navigation rule to get binary servlet data?

2008-12-10 Thread Andreas Niemeyer
FacesContext.getCurrentInstance().responseComplete() ? Regards Bernd Andreas Niemeyer schrieb: Hello Bernd, Thank you for response. Unfortunatly I have to use this servlet as a pdf dynamic provider. The redirect works fine so far, but another thing happened. Due some validation rules in the same

h:messages and redirect in action method: how to reload page?

2008-12-10 Thread Andreas Niemeyer
Hi, I there a way to force a view reload after a process action was called? In the view there is a commandButton with an action method. In that method a redirect with following context.responseComplete() is called. The redirect to a servlet works fine, a content type of application/pdf as

Re: JSF servlet request in action method or navigation rule to get binary servlet data?

2008-12-10 Thread Andreas Niemeyer
'); message.value = ; Tobago.submitAction(actionId, false); } I haven't tried this, but I think it should work. Regards Helmut - Original Message - From: Andreas Niemeyer [EMAIL PROTECTED] To: users@myfaces.apache.org Sent: Wednesday, December 10, 2008 11:11 AM Subject: Re: JSF servlet

Re: JSF servlet request in action method or navigation rule to get binary servlet data?

2008-12-10 Thread Andreas Niemeyer
=clearMessages('error_messages') value=#{msgs.CreateReportButton} action=#{pdfreport.createPDFReport} / JavaScript: function clearMessages(aMessagesID) { var divelement = document.getElementById(aMessagesID); divelement.style.visibility='hidden'; } Andreas Niemeyer schrieb

Re: JSF servlet request in action method or navigation rule to get binary servlet data?

2008-12-10 Thread Andreas Niemeyer
yippi :) Thank you all! Regards, Andreas Richard Yee schrieb: Try using divelement.style.display=none Regards, Richard On Wed, Dec 10, 2008 at 6:27 AM, Andreas Niemeyer [EMAIL PROTECTED] wrote: Hi, It works. The only problem is the left space from the invisible div tag. Regards

Re: JSF servlet request in action method or navigation rule to get binary servlet data?

2008-12-09 Thread Andreas Niemeyer
Faces Request Generates Non-Faces Response of the jsf 1.1 spec. Regards Bernd Andreas Niemeyer schrieb: Hi, I would like to send form data from a JSF page for a servlet request with a navigation rule. The servlet returns a content type of application/pdf and is running in a context path. If I

JSF servlet request in action method or navigation rule to get binary servlet data?

2008-12-08 Thread Andreas Niemeyer
Hi, I would like to send form data from a JSF page for a servlet request with a navigation rule. The servlet returns a content type of application/pdf and is running in a context path. If I call it from within a action method, it works with following code: public String createPDFReport()

inputCalendar weeks days and locale settings

2008-12-04 Thread Andreas Niemeyer
Hi, I would like to see the displayed week days for german language. Is there any chance to change this, by setting a locale info or passing an array? I assume it should be possible since the popupDateFormat and popupTodayString properties can be modified. Regards, Andreas

inputCalendar popupDateFormat problem with dd.MM.yyyy

2008-12-04 Thread Andreas Niemeyer
Hi, Using this component with the date format `dd.MM.' doesn't work, the date value after sending the form goes always to `01.01.0001'. Is there anything else to set or to convert? Please help! Regards, Andreas t:inputCalendar id=calender-start

Re: inputCalendar popupDateFormat problem with dd.MM.yyyy

2008-12-04 Thread Andreas Niemeyer
Hi, I found the reason: I tried to set the popupDateFormat with a resource bundle value. When pick-up a date from the calender, it looks as expected, when sending the form, this value get lost. Regards, Andreas Andreas Niemeyer schrieb: Hi, Using this component with the date format

Re: Tree2 and selectBooleanCheckbox status processing

2008-12-03 Thread Andreas Niemeyer
reference in the backing bean. Regards, Andreas Andreas Niemeyer schrieb: Hi, I need to iterate through the HtmlTree and / or the TreeModelBase to get the expanded nodes and the selections of the nested selectBooleanCheckboxes. Could someone be so kind and give me some pointers? - how to get

Tree2 and selectBooleanCheckbox status processing

2008-12-02 Thread Andreas Niemeyer
Hi, I need to iterate through the HtmlTree and / or the TreeModelBase to get the expanded nodes and the selections of the nested selectBooleanCheckboxes. Could someone be so kind and give me some pointers? - how to get each item/node address - how to get the selection status of the

Re: Sun Faces Util class methods and equivalents in MyFaces

2008-11-14 Thread Andreas Niemeyer
not be null 3) // ValueBinding vb = Util.getValueBinding(_redirect); replaced by: ValueBinding vb = FacesContext.getCurrentInstance().getApplication().createValueBinding(_redirect); Kind regards, Andreas Andreas Niemeyer schrieb: Hi, I need to port some com.sun.faces.util.Util method

Sun Faces Util class methods and equivalents in MyFaces

2008-11-13 Thread Andreas Niemeyer
Hi, I need to port some com.sun.faces.util.Util method calls to MyFaces equivalent methods. The motivation is to implement an URLPermission tag for Liferay, based on this article:

Re: Problems with t:inputFileUpload and Liferay

2008-11-12 Thread Andreas Niemeyer
Hi Leonardo, Good to hear that. Could the binary be downloaded somewhere or has it be built from svn source? Kind regards, Andreas Leonardo Uribe schrieb: On Wed, Nov 12, 2008 at 9:58 AM, Lucas Dittrich [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, We are trying to use

JSF Spring iBatis

2008-10-31 Thread Andreas Niemeyer
Hi, Does someone know a good kickstart tutorial or example application about these frameworks configured together? Regards, Andreas

Re: Javascript wrapped in comment block

2008-10-28 Thread Andreas Niemeyer
Hi, I'm facing the same problem: everything within the script tags is commented out. What switch is to set to get this working? Or needs the javascript be loaded from a file? The web.xml has two keys defined: context-param

Re: Integrate flash movie in JSF

2008-10-27 Thread Andreas Niemeyer
: In jsf1.2, just put the object tag in your page. For JSF 1.1, surround it with an f:verbatim tag. Sent from my iPhone On Oct 17, 2008, at 11:23 AM, Andreas Niemeyer [EMAIL PROTECTED] wrote: Hi, Is there a simple way to put a flash movie with the OBJECT Tag in a JSF page? Maybe the use of a JSP

Re: Integrate flash movie in JSF

2008-10-27 Thread Andreas Niemeyer
Solved - using `amp;' helps :) Regards, Andreas http://www.developpez.net/forums/d391457/java/developpement-web-java/frameworks/jsf/integration-player-flash/ Andreas Niemeyer schrieb: Hi, this topic comes up again since I need to add special flash params to my multi-file upload view. I'm

Re: how to call a setProperty(x) method in managed bean without form action and within ui:repeat tag

2008-10-24 Thread Andreas Niemeyer
. This is quite a common thing to do. Regards, Simon On Thu, 2008-10-23 at 22:10 +0200, Andreas Niemeyer wrote: Hi, Maybe this subject does better desribe what I need. How do I copy a bean attribute from a repeat tag iteration for using in the nested iteration by calling a setAttribute(Object

how to call a setProperty(x) method in managed bean without form action and within ui:repeat tag

2008-10-23 Thread Andreas Niemeyer
found the solution yet... Regards, Andreas Andreas Niemeyer schrieb: Hi, I would like to inject a object from a ui:repeat iterationinto a setter method of the bean for a nested second iteration. The nested iteration depends on the previous object. ui:repeat value=${userinfo.userorganisations

how to inject properties within a JSF page in iteration?

2008-10-22 Thread Andreas Niemeyer
Hi, I would like to inject a object from a ui:repeat iterationinto a setter method of the bean for a nested second iteration. The nested iteration depends on the previous object. ui:repeat value=${userinfo.userorganisations} var=orga trtdorganisation: /tdtd#{orga.name}/td/tr !--

h:commandLink without surrounding form tag?

2008-10-20 Thread Andreas Niemeyer
Hi, Is there a more `html' friendly way to create a faces link without the surrounding form tag? form jsfc=h:form a href=# jsfc=h:commandLink value=back action=back/ /form The parser doesn't like this: a href=# jsfc=h:commandLink value=back action=back/ Regards, Andreas

Integrate flash movie in JSF

2008-10-17 Thread Andreas Niemeyer
Hi, Is there a simple way to put a flash movie with the OBJECT Tag in a JSF page? Maybe the use of a JSP page might simpler, but when using JSP pages they breaks the lifecycle, or? Regards, Andreas

Re: Integrate flash movie in JSF

2008-10-17 Thread Andreas Niemeyer
:23 PM, Andreas Niemeyer [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, Is there a simple way to put a flash movie with the OBJECT Tag in a JSF page? Maybe the use of a JSP page might simpler, but when using JSP pages they breaks the lifecycle, or? Regards

Multi file upload component

2008-10-15 Thread Andreas Niemeyer
Hi, Is there a component available which enables multi uploads? I would like to use tomahawk or trinidad components if available. Solutions often use flash for that, what kind of integration or idea could be used for that? Thank you for some hints. Many regards, Andreas

Re: Multi file upload component

2008-10-15 Thread Andreas Niemeyer
does is nice, but can be implemented with Tomahawk (or Trinidad) as well. -M On Wed, Oct 15, 2008 at 2:42 PM, Hazem Saleh [EMAIL PROTECTED] wrote: You can develop your own client applet. For this you can use Apache HTTP Client library, it is a good one! On Wed, Oct 15, 2008 at 1:19 PM, Andreas

Re: XML Parse Error MyFaces 1.1.6 (please help)

2008-10-15 Thread Andreas Niemeyer
I use MyFaces 1.1.6 and the faces-config.xml looks different: ?xml version=1.0? !DOCTYPE faces-config PUBLIC -//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN http://java.sun.com/dtd/web-facesconfig_1_0.dtd; faces-config Andreas jhomuth schrieb: Hello List, we first

Re: Multi file upload component

2008-10-15 Thread Andreas Niemeyer
On Wed, Oct 15, 2008 at 2:42 PM, Hazem Saleh [EMAIL PROTECTED] wrote: You can develop your own client applet. For this you can use Apache HTTP Client library, it is a good one! On Wed, Oct 15, 2008 at 1:19 PM, Andreas Niemeyer [EMAIL PROTECTED] wrote: Hi, Is there a component available which

Re: Tomahawk: tr:schedule - portal issue with resource files (liferay) ?

2008-10-15 Thread Andreas Niemeyer
It's magic, it works :) Thank you! Regards, Andreas Leonardo Uribe schrieb: On Tue, Oct 14, 2008 at 6:24 PM, Andreas Niemeyer [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I'm having a problem with the t:schedule component layout within a portlet. The grids, styles

Tomahawk: tr:schedule - portal issue with resource files (liferay) ?

2008-10-14 Thread Andreas Niemeyer
Hi, I'm having a problem with the t:schedule component layout within a portlet. The grids, styles and javascripts are missed. It seems that liferay (5.1.1) kicks them out - or the resources have to be loaded explicit. I'm using tomahawk 1.17 with myfaces 1.1.6 with faceslets. This version

Re: [orchestra] FacesGoodies and myfaces-orchestra-examples-project / portal?

2008-10-13 Thread Andreas Niemeyer
to help with orchestra advice as it would be nice for Orchestra to work on portlets, but you'll need to do the majority of the debugging to figure out what is going on. Regards, Simon Andreas Niemeyer schrieb: The NullPointerException is away when a factory item is added to the faces-config.xml

Re: [orchestra] FacesGoodies and myfaces-orchestra-examples-project / portal?

2008-10-12 Thread Andreas Niemeyer
(PortletFilterUtil.java:69) Let me take a crack.. Matthias Wessendorf wrote: Hey, On Thu, Oct 9, 2008 at 1:49 PM, Andreas Niemeyer [EMAIL PROTECTED] wrote: Hi Matthias, Is there a chance to get this neat facesgoodies project running within a portlet environment, especially liferay 5.1.1

Re: [orchestra] FacesGoodies and myfaces-orchestra-examples-project / portal?

2008-10-12 Thread Andreas Niemeyer
/factory I read this article and applied some filter extension, but it only considered Orchestra without portlets. http://www.icefaces.org/JForum/posts/list/7638.page Regards, Andreas Andreas Niemeyer schrieb: Hi, I tried out to get Matthias' Kickstart

Re: [orchestra] FacesGoodies and myfaces-orchestra-examples-project / portal?

2008-10-09 Thread Andreas Niemeyer
Hi Matthias, Is there a chance to get this neat facesgoodies project running within a portlet environment, especially liferay 5.1.1 or the newest release? I'm new to all of this, started with myfaces 2 weeks ago and read the book MyFaces and Facelets and checked out your example project to