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
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
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
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
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
...@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
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
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
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
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
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
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
...@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
@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
, 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
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
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
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
, 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
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
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
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)
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
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
Hi,
the following NPE occured using Myfaces ExtVal:
java.lang.NullPointerException
at
javax.faces.component.UIComponent.getValueExpression(UIComponent.java:338)
at
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
.
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
,
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
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
://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
://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
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
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
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
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
: 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
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
.
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
, [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
=%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
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
, 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
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
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
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
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).
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
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
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
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
, 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
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
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
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
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
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
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
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
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
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
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
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
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 - 100 of 210 matches
Mail list logo