Re: JSF Portlet: NPE in DefaultViewHandlerSupport

2007-09-25 Thread Gert Vanthienen
> I'm seeing the same issue with myfaces 1.2. Were you able to resolve this > issues? > > thanks! > > > > > Gert Vanthienen wrote: >> >> L.S., >> >> Apparently, this exception is raised because DefaultViewHandlerSupport >>

Re: JSF Portlet: NPE in DefaultViewHandlerSupport

2007-07-25 Thread Gert Vanthienen
ow to solve it? Gert Gert Vanthienen wrote: > > L.S., > > I'm trying to embed a JSF portlet in a web application using the Pluto > driver implementation. Does anyone recognize the exception below? How > can I resolve it? > >

JSF Portlet: NPE in DefaultViewHandlerSupport

2007-07-25 Thread Gert Vanthienen
L.S., I'm trying to embed a JSF portlet in a web application using the Pluto driver implementation. Does anyone recognize the exception below? How can I resolve it? Thank you for any help, Gert java.lang.NullPointerException at org.apache.myfaces.application.DefaultViewHandlerSuppor

RE: XML document as data for form

2007-07-10 Thread Gert Vanthienen
> > Fintan > > -Original Message- > From: Gert Vanthienen [mailto:[EMAIL PROTECTED] > Sent: 10 July 2007 07:24 > To: users@myfaces.apache.org > Subject: XML document as data for form > > > > L.S., > > > I'm building a forms-based web applica

XML document as data for form

2007-07-09 Thread Gert Vanthienen
I was thinking of building a PropertyResolver that understands XPath expressions (eg. document['/article/supplier/@id'], but perhaps there is an easier way to do this... Or should I generate classes based on my XSD, only to make it possible to build this kind of web form? Regards,

Re: Best Practice - Converting raw property values of Beans

2006-10-25 Thread Gert Vanthienen
description for the categoryId and you should be fine... Regards, Gert Vanthienen [EMAIL PROTECTED] [1] http://www-128.ibm.com/developerworks/java/library/j-jsf3/ Bieringer Dominik wrote: Hi all, today I’ve wondered again about how to convert property values of Beans to locale spe

Re: Conversation - Filter Exception

2006-10-21 Thread Gert Vanthienen
, Gert Vanthienen [EMAIL PROTECTED] Tom Innes wrote: Thanks Mario, Your suggestions where bang on. Though I find the results somewhat surprising. Using jsp:forward with the dispatcher filter mappings yields this in the log 09:10:39,493 WARN [WebXmlParser] Ignored element 'dispatcher'

Re: optgroup in jsf?

2006-10-03 Thread Gert Vanthienen
;item 1 2", "item 1 2"); items.add(group1); //etc etc etc return items; } } Hope this helps, Gert Vanthienen [EMAIL PROTECTED] Sławek Sobótka wrote: is there any way to render html optgroup tag in jsf? maybe somme special selectitem? i guess that not everyb

Re: Setting propertys of managed beans in jsf

2006-09-21 Thread Gert Vanthienen
href="..."/>), you can use a bit of an ugly hack 'abusing' an to call a getter method on your backing bean in which you modify the values. If anyone has a better idea, I'd like to hear it too because I would like to get rid of this 'feature' in my own appli

Re: Advice

2006-09-21 Thread Gert Vanthienen
submit the value for the first listbox and modify the backing bean to hold the correct values for the second listbox in the action method. Hope this helps, Gert Vanthienen [EMAIL PROTECTED] [1] http://wiki.apache.org/myfaces/JavascriptWithJavaServerFaces [EMAIL PROTECTED] wrote: I have two list

Re: Re-render JSF page components

2006-09-21 Thread Gert Vanthienen
L.S., I have never encountered any problems when using the rendered attribute for implementing this kind of behavior. Could you post a snippet of the JSP page code you're using? Regards, Gert Vanthienen [EMAIL PROTECTED] K. Johnson wrote: I have some components on my JSF page that

Re: tomahawk 1.1.3

2006-09-20 Thread Gert Vanthienen
L.S., Do you have a with org.apache.myfaces.ADD_RESOURCE_CLASS in your web.xml? If so, it probably contains an invalid class name. Regards, Gert Vanthienen [EMAIL PROTECTED] JBuilderDoug wrote: BTW, Here's a more definitive read on the error I'm getting when I try to submi

Re: MyFaces, Tomcat and Acegi Integration Problem

2006-09-20 Thread Gert Vanthienen
eptor"> ... I have also added this information to the wiki page on JSF and Acegi [4] and I have opened a JIRA issue [5] for the unnecessary warning messages being shown for the elements in web.xml. Hope this helps, Gert Vanthienen [EMAIL PROTECTED] [1] http://forum.springframewor

Re: either/or required validation of list of items

2006-09-20 Thread Gert Vanthienen
Martin, One solution might be to create a custom validator for this. You might want to take a look at org.apache.myfaces.custom.equalvalidator.EqualValidator for an example on how to access another component than the one you defined the validator for. Hope this helps, Gert Vanthienen

Re: MyFaces, Tomcat and Acegi Integration Problem

2006-09-20 Thread Gert Vanthienen
ing. I've been postponing to take a decent look at the Acegi Security filter for too long anyway ;) Regards, Gert Vanthienen [EMAIL PROTECTED] GOVAERS Erik wrote: Gert, Thanks for your reply. I added the elements as described in http://wiki.apache.org/myfaces/JSF_and_Acegi to make sure

Re: MyFaces, Tomcat and Acegi Integration Problem

2006-09-20 Thread Gert Vanthienen
purposes) web application with no JSF, only plain JSPs and Servlets? Does it work correctly in these simplified circumstances? Regards, Gert Vanthienen [EMAIL PROTECTED] GOVAERS Erik wrote: Hello, I'm using MyFaces with the Spring Framework and Acegi for building a secured web appli

Re: CommandButton and styleClass

2006-09-15 Thread Gert Vanthienen
so I can try to replicate the problems you have on my installation here? Regards, Gert Vanthienen [EMAIL PROTECTED] andreygl wrote: I'm using Tomahawk MyFaces control CommandButton attribute styleClass. It doesn't rendered on output in html. Even it isn't displayed if I set JSF cont

Re: Reset of forms

2006-09-15 Thread Gert Vanthienen
some conditions only, should appear/disappear from the component tree appropriately. Are you experiencing any problems with this, because in my opinion it should work? Regards, Gert Vanthienen [EMAIL PROTECTED] David Delbecq wrote: Hi, the backing bean are being modified by the action, exactly a

Re: Reset of forms

2006-09-15 Thread Gert Vanthienen
r pages gets a little bit more verbose #{BusinessObjectHolder.object.property_of_the_object}, but if this is getting to complicated, you can solve it by using I suppose. Does this help or am I still missing the point here? Regards, Gert Vanthienen [EMAIL PROTECTED] David Delbecq wrote:

Re: Reset of forms

2006-09-14 Thread Gert Vanthienen
reach your goals... Regards, Gert Vanthienen [EMAIL PROTECTED] David Delbecq wrote: Hello, Is it correct to assume a transition from xxx.jsp to the same xxx.jsp, following a navigation-rule after an action creates a brand new form (recreation of all components, submitted value are not linked to those components)

Re: How to find cause of error 500?

2006-09-01 Thread Gert Vanthienen
g. myfaces-examples-simple and afterwards create a JSF EL error in one of the pages, it creates both a custom error page (error.jsp in the same war file, if you want to try it on your own application) and logging entries in Tomcat's localhost_xxx.log file on my machine. Regards,

Re: How to find cause of error 500?

2006-09-01 Thread Gert Vanthienen
f the log files holds the message details, is there any special logging configuration in Tomcat's conf/logging.properties file or in the context.xml (e.g. elements in Tomcat 5.0)? Regards, Gert Vanthienen [EMAIL PROTECTED] David Delbecq wrote: Hello, When developping with myface, i get on

Re: Customizing the generated tree2 code

2006-08-31 Thread Gert Vanthienen
Behrang, Wouldn't it be possible to use the id attribute to get a specific id on the tree and and use then use CSS ID selector (#id) to modify the table width? Regards, Gert Vanthienen [EMAIL PROTECTED] Behrang Saeedzadeh wrote: Hi, As you know tree2 generates a table element

Re: Outputting text file

2006-08-14 Thread Gert Vanthienen
oting/apidocs/org/apache/shale/remoting/package-summary.html, the Shale framework will do the rest. Regards, Gert Vanthienen Eurig Jones wrote: I have a link on a facelets page which I want to users to be able to click and download a text file (with it's own extension such as .csv). The c

Re: Why do h:message Tags Need to be enclosed in h:panelGroup or h:panelGrid Tags

2005-12-20 Thread Gert Vanthienen
also is to group other elements? Yes. I think that is exactly correct. Mike --- Gert Vanthienen <[EMAIL PROTECTED]> wrote: L.S., Actually, it was quite easy to have the render it's children, as described in the article referred to by Mike Kienenberger. I downloaded the sou

RE: Why do h:message Tags Need to be enclosed in h:panelGroup or h:panelGrid Tags

2005-12-20 Thread Gert Vanthienen
tags. Wouldn't it be more logical to make this the default behaviour of (and arguably also for ) in MyFaces, as their common usage in HTML also is to group other elements? Gert -Original Message----- From: Gert Vanthienen [mailto:[EMAIL PROTECTED] Sent: maandag 19 december 2005 20:04 To

RE: Why do h:message Tags Need to be enclosed in h:panelGroup or h:panelGrid Tags

2005-12-19 Thread Gert Vanthienen
? --- Gert Vanthienen <[EMAIL PROTECTED]> wrote: > L.S., > > > I have the same problem when using a Sandbox tag. Wouldn't it > make sense to add this behaviour to both the fieldset and div tags (as they > are meant to group other UI elements anyway)? > > A

RE: Why do h:message Tags Need to be enclosed in h:panelGroup or h:panelGrid Tags

2005-12-15 Thread Gert Vanthienen
tag definitions, so that the end user can decide whether or not the div/fieldset is responsible for rendering it's children (because that's the issue here, if I'm correct?) Regards, Gert Vanthienen -Original Message- From: Mike Duffy [mailto:[EMAIL PROTECTED] Sent: donde