Custom component in faceltes

2014-08-14 Thread Sasha Maksimenko
hi! I'm using myfaces 2.1.15 First of all I apologize for many details but I already simplified use case as much as possible. I have problem when I try to use custom components with facelets tpgeather. My custom component is quite simple, it just adds label inside itself @FacesComponent

Re: Re: Re: Re: Problems with a custom component when migrating from Glassfish(mojarra) to TomEE

2014-02-14 Thread Karl Kildén
Betreff: Re: Re: Re: Problems with a custom component when migrating from Glassfish(mojarra) to TomEE Rene, I at least can't see anything. Another thing to think about it what impl stuff you have actually worked with? I mean mojarra should have about the same stuff as myfaces? To make myself

Problems with a custom component when migrating from Glassfish(mojarra) to TomEE

2014-02-13 Thread Rene Perschon
Hi everyone! I'm currently migrating an application from Glassfish 3.1.1 to TomEE. Now the problem is that this application contains a custom component which was unfortunately coded with hard dependencies on com.sun.faces classes (maven dependency jsf-impl). Now my question is how can i port

Re: Problems with a custom component when migrating from Glassfish(mojarra) to TomEE

2014-02-13 Thread Thomas Andraschko
migrating an application from Glassfish 3.1.1 to TomEE. Now the problem is that this application contains a custom component which was unfortunately coded with hard dependencies on com.sun.faces classes (maven dependency jsf-impl). Now my question is how can i port this component in such a way

Re: Problems with a custom component when migrating from Glassfish(mojarra) to TomEE

2014-02-13 Thread Romain Manni-Bucau
chummer_r...@gmx.net: Hi everyone! I'm currently migrating an application from Glassfish 3.1.1 to TomEE. Now the problem is that this application contains a custom component which was unfortunately coded with hard dependencies on com.sun.faces classes (maven dependency jsf-impl). Now my question

Aw: Re: Problems with a custom component when migrating from Glassfish(mojarra) to TomEE

2014-02-13 Thread Rene Perschon
...@gmx.net: Hi everyone! I'm currently migrating an application from Glassfish 3.1.1 to TomEE. Now the problem is that this application contains a custom component which was unfortunately coded with hard dependencies on com.sun.faces classes (maven dependency jsf-impl). Now my question

Aw: Re: Problems with a custom component when migrating from Glassfish(mojarra) to TomEE

2014-02-13 Thread Rene Perschon
Uhr Von: Romain Manni-Bucau rmannibu...@gmail.com An: MyFaces Discussion users@myfaces.apache.org Betreff: Re: Problems with a custom component when migrating from Glassfish(mojarra) to TomEE in tomee you can also use mojarra but I'd just keep my component portable with myfaces if possible Romain

Re: Problems with a custom component when migrating from Glassfish(mojarra) to TomEE

2014-02-13 Thread Howard W. Smith, Jr.
contains a custom component which was unfortunately coded with hard dependencies on com.sun.faces classes (maven dependency jsf-impl). Now my question is how can i port this component in such a way that it is independent from any concrete JSF implementation (or at least in such a way

Re: Problems with a custom component when migrating from Glassfish(mojarra) to TomEE

2014-02-13 Thread Karl Kildén
doesn't really depent on the IMPL code. 2014-02-13 12:44 GMT+01:00 Rene Perschon chummer_r...@gmx.net: Hi everyone! I'm currently migrating an application from Glassfish 3.1.1 to TomEE. Now the problem is that this application contains a custom component which

Aw: Re: Problems with a custom component when migrating from Glassfish(mojarra) to TomEE

2014-02-13 Thread Rene Perschon
I don't think a TagHandler or a custom component can do what that code does. It's used to display a Select in a very specific way.     Gesendet: Donnerstag, 13. Februar 2014 um 14:29 Uhr Von: Karl Kildén karl.kil...@gmail.com An: MyFaces Discussion users@myfaces.apache.org Betreff: Re: Problems

Re: Re: Problems with a custom component when migrating from Glassfish(mojarra) to TomEE

2014-02-13 Thread Howard W. Smith, Jr.
do you have a screen capture or some type of demo of the Select component? On Thu, Feb 13, 2014 at 8:39 AM, Rene Perschon chummer_r...@gmx.net wrote: I don't think a TagHandler or a custom component can do what that code does. It's used to display a Select in a very specific way

Aw: Re: Re: Problems with a custom component when migrating from Glassfish(mojarra) to TomEE

2014-02-13 Thread Rene Perschon
component when migrating from Glassfish(mojarra) to TomEE do you have a screen capture or some type of demo of the Select component? On Thu, Feb 13, 2014 at 8:39 AM, Rene Perschon chummer_r...@gmx.net wrote: I don't think a TagHandler or a custom component can do what that code does. It's

Re: Re: Re: Problems with a custom component when migrating from Glassfish(mojarra) to TomEE

2014-02-13 Thread Karl Kildén
...@gmail.com An: MyFaces Discussion users@myfaces.apache.org Betreff: Re: Re: Problems with a custom component when migrating from Glassfish(mojarra) to TomEE do you have a screen capture or some type of demo of the Select component? On Thu, Feb 13, 2014 at 8:39 AM, Rene Perschon chummer_r

Aw: Re: Re: Problems with a custom component when migrating from Glassfish(mojarra) to TomEE

2014-02-13 Thread Rene Perschon
@myfaces.apache.org Betreff: Re: Re: Problems with a custom component when migrating from Glassfish(mojarra) to TomEE do you have a screen capture or some type of demo of the Select component? On Thu, Feb 13, 2014 at 8:39 AM, Rene Perschon chummer_r...@gmx.net wrote: I don't think a TagHandler

Aw: Re: Re: Re: Problems with a custom component when migrating from Glassfish(mojarra) to TomEE

2014-02-13 Thread Rene Perschon
, so it's really hard for me to figure out the equivalents here     Gesendet: Freitag, 14. Februar 2014 um 08:49 Uhr Von: Karl Kildén karl.kil...@gmail.com An: MyFaces Discussion users@myfaces.apache.org Betreff: Re: Re: Re: Problems with a custom component when migrating from Glassfish(mojarra

Re: EL expressions as custom component attributes

2013-03-07 Thread l.pe...@senat.fr
level variable A specified as parameter B to the tag component, using it as parameter C of the custom component. I need a way to get track of these successive mappings. Ideally, I would be able to instantiate my ValueExpressions with the exact same context, and so the same variable mappings

EL expressions as custom component attributes

2013-03-06 Thread l.pe...@senat.fr
I do not succeed in passing EL expressions as attributes of a custom component used in a tag file. I could not find a clear doc on how to do that with EL 2.2. My use case is the following : 1. a tag file taking attribute context as a parameter 2. inside the tag file, using a home made custom

Re: EL expressions as custom component attributes

2013-03-06 Thread l.pe...@senat.fr
Well, reading my message again, I found that I still does not properly explain my problem. It is not really to pass a bean using an EL expression. To do that, you just declare getBean/setBean as returning/taking as parameter an Object, and that's done. My custom component generates itself

Re: EL expressions as custom component attributes

2013-03-06 Thread Leonardo Uribe
, and that's done. My custom component generates itself some custom EL. So, I need to grab the ValueExpression used to pass this bean. I found that I can do so using getValueExpression(bean) in my custom component method. However, I found no clean way (I mean, other than reflection) to get

JSF 1.2 custom component

2010-12-14 Thread Matthieu
inputText and commandLink. but i'm not too sure of how the values i'll need will be put back where i need them when the user will submit the form. So, how do i make sure JSF or i can retrieve the value given to my children, and put it back into the right field of my own custom component ? PS: I

Re: JSF 1.2 custom component

2010-12-14 Thread Jakob Korherr
children, and put it back into the right field of my own custom component ? PS: I could do a facelet but this leaves all CSS rules behind; and i wish my css rules gets embedded in the header rather than in style attributes. And i am stuck with JSF 1.2... -- Jakob Korherr blog: http

Re: ExtVal: NullPointer during EL resolving for custom component

2010-06-30 Thread Leonardo Uribe
Hi Thanks for the demo, it helps a lot. I tried th with myfaces and it throws the same exception: javax.faces.FacesException: java.lang.NullPointerException: name can not be null at org.apache.myfaces.shared_impl.context.ExceptionHandlerImpl.wrap(ExceptionHandlerImpl.java:241)

Aw: Re: ExtVal: NullPointer during EL resolving for custom component

2010-06-30 Thread mynewsgroups
Betreff: Re: ExtVal: NullPointer during EL resolving for custom component Hi Thanks for the demo, it helps a lot. I tried th with myfaces and it throws the same exception: javax.faces.FacesException: java.lang.NullPointerException: name can not be null

Re: ExtVal: NullPointer during EL resolving for custom component

2010-06-30 Thread Gerhard Petracek
hi, i've found a different solution. if the found base object is an instance of CompositeComponentExpressionHolder, we have to create a new ValueExpression based on the found base object and the found property. this new ValueExpression is used to inspect the target (again). @leonardo: it would

ExtVal: NullPointer during EL resolving for custom component

2010-06-29 Thread mynewsgroups
Hi, the following NPE occured using Myfaces ExtVal: java.lang.NullPointerException at javax.faces.component.UIComponent.getValueExpression(UIComponent.java:338) at

Re: ExtVal: NullPointer during EL resolving for custom component

2010-06-29 Thread Gerhard Petracek
hi tom, we have to check if it is an issue of the jsf impl. you are using. the todo was placed there, because there were some changes in the jsf implementations. it would be nice if you can provide a link to a small demo app which illustrates the issue. (- not everybody of the community who

AW: ExtVal: NullPointer during EL resolving for custom component

2010-06-29 Thread Tom M.
. Thanks for taking a look insight. Tom -Ursprüngliche Nachricht- Von: Gerhard Petracek [mailto:gerhard.petra...@gmail.com] Gesendet: Dienstag, 29. Juni 2010 15:44 An: MyFaces Discussion Betreff: Re: ExtVal: NullPointer during EL resolving for custom component hi tom, we

Re: Facelets custom component with an action as a variable like ui:param

2010-04-14 Thread Werner Punz
, I use JSF 1.2 with Facelets and Tomahawk. Now I would like to make a facelets custom component for a navigation / toolkit bar (button panel) that looks the same in every page. This component should exist of a number oft:commandButtons that can be defined by calling this custom component. I

Facelets custom component with an action as a variable like ui:param

2010-04-12 Thread Georg Füchsle
Hallo, I use JSF 1.2 with Facelets and Tomahawk. Now I would like to make a facelets custom component for a navigation / toolkit bar (button panel) that looks the same in every page. This component should exist of a number of t:commandButtons that can be defined by calling this custom component

Re: Facelets custom component with an action as a variable like ui:param

2010-04-12 Thread Walter Mourão
://oriens.com.br On Mon, Apr 12, 2010 at 8:56 AM, Georg Füchsle giofy...@googlemail.comwrote: Hallo, I use JSF 1.2 with Facelets and Tomahawk. Now I would like to make a facelets custom component for a navigation / toolkit bar (button panel) that looks the same in every page. This component should

Re: Facelets custom component with an action as a variable like ui:param

2010-04-12 Thread Georg Füchsle
://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Mon, Apr 12, 2010 at 8:56 AM, Georg Füchsle giofy...@googlemail.comwrote: Hallo, I use JSF 1.2 with Facelets and Tomahawk. Now I would like to make a facelets custom component for a navigation / toolkit bar (button panel

Re: Custom converter for custom component

2010-03-08 Thread Leandro de Oliveira
You say I'd have to make my custom component support converter configuration? I've added a child f:converter tag to issue:mycomp but it didn't work. --- Em dom, 7/3/10, Jakob Korherr jakob.korh...@gmail.com escreveu: De: Jakob Korherr jakob.korh...@gmail.com Assunto: Re: Custom converter

Re: Custom converter for custom component

2010-03-08 Thread Jakob Korherr
Hi Leandro, Have you made your custom component converter aware? Please see the facelets VDL tag library documentation of f:converter [1] and composite:valueHolder[2] for further information. Regards, Jakob [1] https://javaserverfaces.dev.java.net/nonav/docs/2.0/pdldocs/facelets/f

Re: Custom converter for custom component

2010-03-07 Thread Jakob Korherr
Hi Leandro, Yes this is a known problem. The JSF specification states (or was stating) that facelet-taglibs should only be recognized and used if they define a version attribute which is set to 2.0 (so you need facelet-taglib version=2.0 to make this work). After many discussions about that, a

Re: Custom converter for custom component

2010-03-07 Thread Leandro de Oliveira
Korherr jakob.korh...@gmail.com escreveu: De: Jakob Korherr jakob.korh...@gmail.com Assunto: Re: Custom converter for custom component Para: MyFaces Discussion users@myfaces.apache.org Data: Domingo, 7 de Março de 2010, 11:05 Hi Leandro, Yes this is a known problem. The JSF specification

Re: Custom converter for custom component

2010-03-07 Thread Jakob Korherr
: Custom converter for custom component Para: MyFaces Discussion users@myfaces.apache.org Data: Domingo, 7 de Março de 2010, 11:05 Hi Leandro, Yes this is a known problem. The JSF specification states (or was stating) that facelet-taglibs should only be recognized and used

Custom converter for custom component

2010-03-06 Thread Leandro de Oliveira
Hi, I've submitted this bug on mojarra bug tracker: https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1445 Then, I've decided to try it on myfaces, so I just commented out jsf-api and jsf-impl and added myfaces-api and myfaces-impl in my pom.xml. The url working.jsf worked as

Difficulties of initializing a custom component

2009-03-23 Thread lightbulb432
Where's the correct place to initialize a JSF custom component (in this case, a subclass of HtmlForm)? Because much of my initializing involves manipulating the component's children components, I decided to override getChildren() and do my initialization there - BAD IDEA! ...it turns out

Re: Difficulties of initializing a custom component

2009-03-23 Thread Martyn Hiemstra
to initialize a JSF custom component (in this case, a subclass of HtmlForm)? Because much of my initializing involves manipulating the component's children components, I decided to override getChildren() and do my initialization there - BAD IDEA! ...it turns out that getChildren() is called BEFORE

Re: Difficulties of initializing a custom component

2009-03-23 Thread lightbulb432
haven't tested them. These solutions would prevent you from overriding getChildren which isn't a wise course of action. Martyn Where's the correct place to initialize a JSF custom component (in this case, a subclass of HtmlForm)? Because much of my initializing involves manipulating

Re: Difficulties of initializing a custom component

2009-03-23 Thread Simon Kitching
lightbulb432 schrieb: Where's the correct place to initialize a JSF custom component (in this case, a subclass of HtmlForm)? Because much of my initializing involves manipulating the component's children components, I decided to override getChildren() and do my initialization there - BAD IDEA

Re: Difficulties of initializing a custom component

2009-03-23 Thread lightbulb432
it - hence initializing in encodeBegin(), but I can't see cases of the other way around.) Thanks. Simon Kitching wrote: lightbulb432 schrieb: Where's the correct place to initialize a JSF custom component (in this case, a subclass of HtmlForm)? Because much of my initializing involves manipulating

RE: [Trinidad] Tutorial to create a custom component with dedicated skinning

2008-10-22 Thread VISTICOT FREDERIC
-Original Message- From: Andrew Robinson [mailto:[EMAIL PROTECTED] Sent: lundi 20 octobre 2008 17:35 To: MyFaces Discussion Subject: Re: [Trinidad] Tutorial to create a custom component with dedicated skinning Well the recommended way is to use the maven-faces-plugin which I created some initial

Re: [Trinidad] Tutorial to create a custom component with dedicated skinning

2008-10-20 Thread Andrew Robinson
component?? Regards -Original Message- From: Andrew Robinson [mailto:[EMAIL PROTECTED] Sent: dimanche 19 octobre 2008 03:19 To: MyFaces Discussion Subject: Re: [Trinidad] Tutorial to create a custom component with dedicated skinning No tutorials, sorry. The best thing to do is look

Re: [Trinidad] Tutorial to create a custom component with dedicated skinning

2008-10-18 Thread Andrew Robinson
links...and it seems not so easy to create a custom component with dedicated skinning... Are we obliged to use maven to create a custom Trinidad component? Is there any other basic tutorial to create this kind of custom component? I know how to create custom component with basic JSF

[Trinidad] Tutorial to create a custom component with dedicated skinning

2008-10-17 Thread VISTICOT FREDERIC
Hello, I'm trying to find a tutorial to create a custom component from Trinidad. Is there a document available somewhere? I think that this document would be appreciate by the community.. Fred

Re: [Trinidad] Tutorial to create a custom component with dedicated skinning

2008-10-17 Thread Matthias Wessendorf
On Fri, Oct 17, 2008 at 11:10 AM, VISTICOT FREDERIC [EMAIL PROTECTED] wrote: Hello, I'm trying to find a tutorial to create a custom component from Trinidad. Is there a document available somewhere? I think that this document would be appreciate by the community.. true; there is a sanbox

RE: [Trinidad] Tutorial to create a custom component with dedicated skinning

2008-10-17 Thread VISTICOT FREDERIC
Matthias, Thank you for your answer. I have taken a look on your links...and it seems not so easy to create a custom component with dedicated skinning... Are we obliged to use maven to create a custom Trinidad component? Is there any other basic tutorial to create this kind of custom component

Re: facelets: custom component and custom converter

2008-04-25 Thread arne anka
well, but (xmlns:h=http://java.sun.com/jsf/html;) h:outputText value=foobar converter=contentConverter/ works. and h:outputText value=foobar converter=#{contentConverter}/ does not. my:component value=foo converter=contentConverter / Is definitely nod valid syntax. The converter must

Re: facelets: custom component and custom converter

2008-04-25 Thread Andrew Robinson
I didn't say to put the ID in EL, I said to put a bean in the EL. Did you try that? If the ID is working for h tags in facelets, then find the TagHandler it is using and the meta ruleset that it is setting up. Then just make sure you do the same for your component. Andrew Sent from my

Re: facelets: custom component and custom converter

2008-04-24 Thread arne anka
2008 19:21:37 +0200, Andrew Robinson [EMAIL PROTECTED] wrote: Have you registered the converter in faces-config.xml properly? Please post your configuration for your converter On Wed, Apr 23, 2008 at 7:20 AM, arne anka [EMAIL PROTECTED] wrote: hi, i got my custom component (faclets based

Re: facelets: custom component and custom converter

2008-04-24 Thread Andrew Robinson
PROTECTED] wrote: Have you registered the converter in faces-config.xml properly? Please post your configuration for your converter On Wed, Apr 23, 2008 at 7:20 AM, arne anka [EMAIL PROTECTED] wrote: hi, i got my custom component (faclets based, not tomahawk

Re: facelets: custom component and custom converter

2008-04-24 Thread Scott O'Bryan
. On Wed, 23 Apr 2008 19:21:37 +0200, Andrew Robinson [EMAIL PROTECTED] wrote: Have you registered the converter in faces-config.xml properly? Please post your configuration for your converter On Wed, Apr 23, 2008 at 7:20 AM, arne anka [EMAIL PROTECTED] wrote: hi, i got my custom

Re: facelets: custom component and custom converter

2008-04-24 Thread arne anka
Example, instead of: writer.write(brFoo/br); do the following writer.beginElement(br, null); writer.write(Foo); writer.endElement(br); well, it was only a snippet modified in the mail editor --and as usually one introduces errors at those occasions ;-) i assure that i am using

facelets: custom component and custom converter

2008-04-23 Thread arne anka
hi, i got my custom component (faclets based, not tomahawk or trinidad, extending UIOutput) working so far -- but my converter is not executed. if i attribute the converter to, say, h:outputText it works, so it seems to be ok. my idea is, because i use my own rendere (getRendererType

Re: facelets: custom component and custom converter

2008-04-23 Thread Andrew Robinson
Have you registered the converter in faces-config.xml properly? Please post your configuration for your converter On Wed, Apr 23, 2008 at 7:20 AM, arne anka [EMAIL PROTECTED] wrote: hi, i got my custom component (faclets based, not tomahawk or trinidad, extending UIOutput) working so far

Re: facelets: custom component and custom converter

2008-04-23 Thread arne anka
converter On Wed, Apr 23, 2008 at 7:20 AM, arne anka [EMAIL PROTECTED] wrote: hi, i got my custom component (faclets based, not tomahawk or trinidad, extending UIOutput) working so far -- but my converter is not executed. if i attribute the converter to, say, h:outputText it works, so it seems

Re: facelets: custom component and custom converter

2008-04-23 Thread Andrew Robinson
-config.xml properly? Please post your configuration for your converter On Wed, Apr 23, 2008 at 7:20 AM, arne anka [EMAIL PROTECTED] wrote: hi, i got my custom component (faclets based, not tomahawk or trinidad, extending UIOutput) working so far -- but my converter is not executed

Re: Problem with custom component and a4j:support

2008-04-04 Thread Matthias Wessendorf
Hi, On Fri, Apr 4, 2008 at 11:43 AM, Stepan Katharina [EMAIL PROTECTED] wrote: Hello! I have written a custom component which works fine. Now I want to use the a4j:support tag inside my component but it doesn't render the JS. Inside the outputtext it works fine. Can anyone tell me what my

Re: Problem with custom component and a4j:support

2008-04-04 Thread Gerald Müllan
written a custom component which works fine. Now I want to use the a4j:support tag inside my component but it doesn't render the JS. Inside the outputtext it works fine. Can anyone tell me what my component must have in order to use the a4j:support tag. Thanks Katharina -- http://www.irian.at

Problem with custom component and a4j:support

2008-04-04 Thread Stepan Katharina
Hello! I have written a custom component which works fine. Now I want to use the a4j:support tag inside my component but it doesn't render the JS. Inside the outputtext it works fine. Can anyone tell me what my component must have in order to use the a4j:support tag. Thanks Katharina

AW: Problem with custom component and a4j:support

2008-04-04 Thread Stepan Katharina
Thanks, it was the rendering of the children -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Gerald Müllan Gesendet: Freitag, 04. April 2008 11:51 An: MyFaces Discussion Betreff: Re: Problem with custom component and a4j:support Hi, it normally

Custom component for Query Builder

2008-03-19 Thread Sujal Nagarkar
Is there any preexisting component for Query builder in MyFaces? DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If

action link in custom component (inside a portlet)

2008-01-21 Thread Martin Goldhahn
Hi! I need to render some text containing links i a JSF component. I cannot render a full commandLink element, since the data comes from a content management system and the contract allows me to only modify the href attribute of the anker element. The whole thing runs under Liferay, a portlet

Re: Problem creating custom component: IndexOutOfBoundsException

2007-12-03 Thread Jeroen Verhagen
Hi Matthias, On Dec 3, 2007 8:08 AM, Matthias Wessendorf [EMAIL PROTECTED] wrote: can you file an issue ticket for this? Ok, I will... My hope was, that it was fixed during working on 1.21 ;-) Is this a known bug? Is there a workaround for it? -- regards, Jeroen

Re: Problem creating custom component: IndexOutOfBoundsException

2007-12-03 Thread Jeroen Verhagen
This is the issue: https://issues.apache.org/jira/browse/MYFACES-1783 regards, Jeroen On Dec 3, 2007 12:18 PM, Jeroen Verhagen [EMAIL PROTECTED] wrote: Hi Matthias, On Dec 3, 2007 8:08 AM, Matthias Wessendorf [EMAIL PROTECTED] wrote: can you file an issue ticket for this? Ok, I

Re: Problem creating custom component: IndexOutOfBoundsException

2007-12-03 Thread Matthias Wessendorf
thx On Dec 3, 2007 9:56 PM, Jeroen Verhagen [EMAIL PROTECTED] wrote: This is the issue: https://issues.apache.org/jira/browse/MYFACES-1783 regards, Jeroen On Dec 3, 2007 12:18 PM, Jeroen Verhagen [EMAIL PROTECTED] wrote: Hi Matthias, On Dec 3, 2007 8:08 AM, Matthias Wessendorf

Problem creating custom component: IndexOutOfBoundsException

2007-12-02 Thread Jeroen Verhagen
Hi all, I using myfaces 1.2.0 to create a custom component that consist of standard components. My problem is that this custom component renders ok but when I submit the form that contains it I get an IndexOutOfBoundsException. Can anyone please tell me what's causing this or what's the problem

Re: Problem creating custom component: IndexOutOfBoundsException

2007-12-02 Thread Matthias Wessendorf
can you try 1.2.1 ? On Dec 2, 2007 8:59 PM, Jeroen Verhagen [EMAIL PROTECTED] wrote: Hi all, I using myfaces 1.2.0 to create a custom component that consist of standard components. My problem is that this custom component renders ok but when I submit the form that contains it I get

Re: Problem creating custom component: IndexOutOfBoundsException

2007-12-02 Thread Jeroen Verhagen
Hi Matthias, On Dec 2, 2007 10:38 PM, Matthias Wessendorf [EMAIL PROTECTED] wrote: can you try 1.2.1 ? I tried it with a version I got from here: http://people.apache.org/repo/m2-snapshot-repository/ but no good. I had the same problem with the Sun RI by the way, i tried jsf-impl 1.2-b19 and

Re: Problem creating custom component: IndexOutOfBoundsException

2007-12-02 Thread Matthias Wessendorf
Ok, can you file an issue ticket for this? My hope was, that it was fixed during working on 1.21 ;-) Thx, Matthias On Dec 2, 2007 11:21 PM, Jeroen Verhagen [EMAIL PROTECTED] wrote: Hi Matthias, On Dec 2, 2007 10:38 PM, Matthias Wessendorf [EMAIL PROTECTED] wrote: can you try 1.2.1 ? I

[Trinidad] custom component doesn't update via PPR

2007-11-30 Thread Lucky83
Hi! I have the following situation: I'm currently writing a custom component which contains a table and several checkboxes. Every time you click a checkbox, a request is sent to the component containing the checkbox-id. The request is then handled by the component's renderer. The decode()-method

Custom component required message

2007-10-30 Thread pdt_p
Hi... I create a custom component. In this custom component, it's contained 4 input texts. If I set required to true, and submit the form by not entering any value into that component, the form won't submit but the required error message is not displayed. I think the validation is working fine

Re: [JSF] Custom component - commandLink

2007-08-10 Thread Pawel . Czerwinski
special on one of those events, you will need to override your component's queueEvent method, so you can trap events being queued by the button during the decoding. -Andrew On 8/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'm developing some simple custom component, and I'm

[JSF] Custom component - commandLink

2007-08-09 Thread Pawel . Czerwinski
Hi, I'm developing some simple custom component, and I'm facing a problem I cannot resolve and understand, so I will really appreciate any help. I have this piece of code: public void encodeBegin(FacesContext c) throws IOException { HtmlCommandButton b = (HtmlCommandButton

Re: [JSF] Custom component - commandLink

2007-08-09 Thread Andrew Robinson
, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'm developing some simple custom component, and I'm facing a problem I cannot resolve and understand, so I will really appreciate any help. I have this piece of code: public void encodeBegin(FacesContext c) throws IOException

Re: [JSF] Custom component - commandLink

2007-08-09 Thread Gary VanMatre
=%28composite%29%7C%28components%29 -- Original message -- From: [EMAIL PROTECTED] Hi, I'm developing some simple custom component, and I'm facing a problem I cannot resolve and understand, so I will really appreciate any help. I have this piece of code: public void

RE: [Trinidad] How To Add Custom Component Resources Other Than Script

2007-07-02 Thread William Hoover
Done: https://issues.apache.org/jira/browse/TRINIDAD-86 -Original Message- From: Adam Winer [mailto:[EMAIL PROTECTED] Sent: Friday, June 29, 2007 5:14 PM To: MyFaces Discussion Subject: Re: [Trinidad] How To Add Custom Component Resources Other Than Script Please :) -- Adam On 6/29

RE: [Trinidad] How To Add Custom Component Resources Other Than Script

2007-06-29 Thread William Hoover
, June 28, 2007 6:37 PM To: MyFaces Discussion Subject: Re: [Trinidad] How To Add Custom Component Resources Other Than Script Check out the InternalView API of Trinidad. -- Adam On 6/28/07, William Hoover mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is there a way to add resources

Re: [Trinidad] How To Add Custom Component Resources Other Than Script

2007-06-29 Thread Adam Winer
To: MyFaces Discussion Subject: Re: [Trinidad] How To Add Custom Component Resources Other Than Script Check out the InternalView API of Trinidad. -- Adam On 6/28/07, William Hoover [EMAIL PROTECTED] wrote: Is there a way to add resources other than scripts in custom components? What I would

RE: [Trinidad] How To Add Custom Component Resources Other Than Script

2007-06-29 Thread William Hoover
Should we open a Jira issue? -Original Message- From: Adam Winer [mailto:[EMAIL PROTECTED] Sent: Friday, June 29, 2007 12:05 PM To: MyFaces Discussion Subject: Re: [Trinidad] How To Add Custom Component Resources Other Than Script On 6/29/07, William Hoover [EMAIL PROTECTED] wrote

Re: [Trinidad] How To Add Custom Component Resources Other Than Script

2007-06-29 Thread Adam Winer
Please :) -- Adam On 6/29/07, William Hoover [EMAIL PROTECTED] wrote: Should we open a Jira issue? -Original Message- From: Adam Winer [mailto:[EMAIL PROTECTED] Sent: Friday, June 29, 2007 12:05 PM To: MyFaces Discussion Subject: Re: [Trinidad] How To Add Custom Component Resources

[Trinidad] How To Add Custom Component Resources Other Than Script

2007-06-28 Thread William Hoover
Is there a way to add resources other than scripts in custom components? What I would like to be able to do is add a static HTML page bundled with the component that will be available through a resource URL similar to how outputScriptlet works (i.e. http://foo/adf/jsLibs/someScriptResource.js).

Re: [Trinidad] How To Add Custom Component Resources Other Than Script

2007-06-28 Thread Adam Winer
Check out the InternalView API of Trinidad. -- Adam On 6/28/07, William Hoover [EMAIL PROTECTED] wrote: Is there a way to add resources other than scripts in custom components? What I would like to be able to do is add a static HTML page bundled with the component that will be available

Re: [Trinidad] Custom Component UINodePropertyKey Missing

2007-06-15 Thread Matthias Wessendorf
are you creating the custom component w/ the maven-faces-plugin, like Trinidad does itself ? I think the UINodePropertyKey is deprecated, since it is from pre-jsf-days. -M On 6/15/07, William Hoover [EMAIL PROTECTED] wrote: I recently created a custom component that uses extended PropertyKey

[Trinidad] Custom Component UINodePropertyKey Missing

2007-06-15 Thread William Hoover
I recently created a custom component that uses extended PropertyKey using the new FacesBean.Type(SOME_EXT_COMPONENT.TYPE) and TYPE.registerKey(...) registering the all the needed type keys. All the properties have accociated getters/setters. Also, all of the extended properties are defined

RE: [Trinidad] Custom Component UINodePropertyKey Missing

2007-06-15 Thread William Hoover
the _KeyList in FacesBean Type. All of the property keys are within this list except for the PropertyKeys that are registered in the custom component extension. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matthias Wessendorf Sent: Friday, June 15, 2007 8:55 AM

Re: [Trinidad] Custom Component UINodePropertyKey Missing

2007-06-15 Thread Adam Winer
, Object value) the _KeyList contains a list of UINodePropertyKey. It's using type.findKey(((Number) value).intValue()) to find the key from the _KeyList in FacesBean Type. All of the property keys are within this list except for the PropertyKeys that are registered in the custom component

RE: [Trinidad] Custom Component UINodePropertyKey Missing

2007-06-15 Thread William Hoover
I can't believe that I overlooked that! That was exactly what it was! Thanks Adam (Your the MAN!) -Original Message- From: Adam Winer [mailto:[EMAIL PROTECTED] Sent: Friday, June 15, 2007 12:12 PM To: MyFaces Discussion Subject: Re: [Trinidad] Custom Component UINodePropertyKey Missing

Re: Custom Component TLDs

2007-02-14 Thread Jeff Bischoff
No idea, sorry. Does it work when you paste them all into one file? Remo Liechti wrote: Nobody? -Original Message- From: Remo Liechti [mailto:[EMAIL PROTECTED] Sent: Freitag, 9. Februar 2007 15:07 To: users@myfaces.apache.org Subject: Custom Component TLDs Hi Guys I've a problem

RE: Custom Component TLDs

2007-02-11 Thread Remo Liechti
Nobody? -Original Message- From: Remo Liechti [mailto:[EMAIL PROTECTED] Sent: Freitag, 9. Februar 2007 15:07 To: users@myfaces.apache.org Subject: Custom Component TLDs Hi Guys I've a problem with my TLD. Because it is very big, I started to split it up in different files and include

Custom Component TLDs

2007-02-09 Thread Remo Liechti
Hi Guys I've a problem with my TLD. Because it is very big, I started to split it up in different files and include them in one file. The files are attached. When I start my Tomcat 5.5, I get an exeption(below). I googeld for this exception and find out to use xsd instead of DTD, but this did

Re: How to create a custom component with a non-string data model

2007-01-26 Thread Volker Weber
Hi Stephane, 1. In the AddressTag class the following line: ValueBinding binding = application.createValueBinding(address); Only seems to allow a String object, and not a generic Object. I don't understand the problem. Did you mean address should be another Object than String? This is in

Re: How to create a custom component with a non-string data model

2007-01-26 Thread Madhav Bhargava
Yes. In the tag class all you need is a String. However in the component class you can bind that to any Object. The string value passed in acts as the key pointing to the Object it references. On 1/27/07, Volker Weber [EMAIL PROTECTED] wrote: Hi Stephane, 1. In the AddressTag class the

Re: How to create a custom component with a non-string data model

2007-01-11 Thread Yaniv David
Hello, I have the same problem, did you find a solution? My parameter is an ArrayList. Yaniv. Stephane Grenier-2 wrote: Hi all, I'm trying to create a custom component and I've got it working when the input value is a String type parameter from my backend bean. However my problem

How to create a custom component with a non-string data model

2007-01-04 Thread Stephane Grenier
Hi all, I'm trying to create a custom component and I've got it working when the input value is a String type parameter from my backend bean. However my problem is that it's not working when the parameter is anything but a String object, say a data model object. I've tried a number of options

RE: How to create a custom component with a non-string data model

2007-01-04 Thread Stephane Grenier
Subject: How to create a custom component with a non-string data model Hi all, I'm trying to create a custom component and I've got it working when the input value is a String type parameter from my backend bean. However my problem is that it's not working when the parameter is anything

RE: Why does the constructor of the same custom component gets called after restoreState?

2006-12-26 Thread Madhav Bhargava
Just to add to what I have already asked: The custom component that I have talked about is an aggregate component - which means that it has other standard myfaces/tomahawk components clubbed together. I have the following attributes that the user provides: - action - actionListener

Re: Bind a custom component with an action method of a model bean of the component

2006-12-22 Thread Andrew Robinson
Something like: button.setAction( FacesContext.currentInstance().getApplication().createMethodBinding(#{ yourBean.changeRole})) On 12/21/06, Madhav Bhargava [EMAIL PROTECTED] wrote: Hi All, I am in the process of developing a custom component. The component will have the following

Re: Bind a custom component with an action method of a model bean of the component

2006-12-22 Thread Madhav Bhargava
Thanks for your comments. The problem was that i was having two command buttons in the custom component. That made me think of how to handle multiple actions out of a component. For now i have removed one command button and now things are a lot more simpler. I have done the following: 1

  1   2   3   >