Well, I think it should now be fixed. Try out the nightly build now
and tell us if any problems occurr with that version!
regards,
Martin
On 5/25/05, Srikanth Madarapu <[EMAIL PROTECTED]> wrote:
> I think you should be calling getSubmittedValue method.
>
>
>
> -Original Message-
> Fro
> Why did the commons-validator support go directly into
> the Shale Core rather into MyFaces Extensions? There
> are a couple of nice non-JSF-core Validators in the
> MyFaces extensions, but the Shale commons-validator
> support appears to be more flexible and more useful to
> those who still hav
> *After* he checks the commons validator support into
Shale :-)
> Oh wait, he just did :-)
> Craig
So, since this is a MyFaces mailing list, I'm going to
ask what I hope to be a fairly obvious question :-)
Why did the commons-validator support go directly into
the Shale Core rather into MyFaces
You can't access the FacesContext in a servlet filter. Its "released"
once the service() method of the FacesServlet is completed. (I ran
into this problem just the other day.)
You could always create a listener for the various JSF lifecylce
phases (Shale works off this principle.) I still don't
Hello MyFaces ---
I'm using MyFaces 1.0.9 and I'm running into this issue.
I reported it as a bug in the MyFaces JIRA:
http://issues.apache.org/jira/browse/MYFACES-254
Has anybody found a fix?
If no fix is available, can anyone tell me to where I
can download MyFaces 1.0.8? I would like to con
Jesse,
Thanks for taking the initiative and creating some documentation. I
added your contribution to SVN. Please allow several hours for the
automated build and web page replication to take effect.
If you or any other users would like to provide additional help with
documentation, these types
Probably so. I obviously didn't think that part through.
You'd have to extract the values from the request object yourself
(which is what the Faces servlet does in order to put them in the
FacesContext anyway), but that seems a bit like reinventing the wheel.
I think you'd be better off redirect
In your AdmMgr class, how are you initializing the edituser property?
Something like User editUser = new User(), it seems as if editUser were
null, that could happen
especially if your bean is request
Rene Guenther wrote:
Hello,
my jsp has following line:
AdmMgr is a managed bean with the
Does AdmMgr has a getEditUser() method? Does the object that method
returns also a method called setFirstname(String)?
On 5/25/05, Rene Guenther <[EMAIL PROTECTED]> wrote:
> Hello,
>
> my jsp has following line:
>
>
>
> AdmMgr is a managed bean with the instance editUser of class User. editUse
Ok, I just tested it and FacesContext.getCurrentInstance() inside the
filter returns null. Other people seem to have had the same problem
also:
http://forum.java.sun.com/thread.jspa?forumID=427&threadID=598476
I guess that perhaps the only approach possible is the #1 you
described above, or a mix
i forgot to add:
if user see "old tree" or error screen IndexOutOfBoundException
than he can refresh page (f5) and than everything is OK (brad new tree i
visible)!
hi
im using good old tree;)
here is the problematic situation:
if user expand any node of the tree, than after sumbmit somme ac
You should be able to call FacesContext.getCurrentInstance().
-MattOn 5/25/05, Victor Tatai <[EMAIL PROTECTED]> wrote:
Implementing as a filter how would I be able to obtain theFacesContext in order to extract the messages?Thanks,VictorOn 5/24/05, Matt Blum <[EMAIL PROTECTED]
> wrote:> I think tha
hi
im using good old tree;)
here is the problematic situation:
if user expand any node of the tree, than after sumbmit somme action that
generate on server completly new tree (and return to the same view) - user
see old tree!
if user expand tree and then colpase it to the root that after sub
Implementing as a filter how would I be able to obtain the
FacesContext in order to extract the messages?
Thanks,
Victor
On 5/24/05, Matt Blum <[EMAIL PROTECTED]> wrote:
> I think that you might have to put the validation code in the application
> controller, so that, when the action is taken yo
Hello,
my jsp has following line:
AdmMgr is a managed bean with the instance editUser of class User. editUser
has property firstname (includes getters and setters).
Reading AdmMgr.editUser.firstname works, writing AdmMgr.editUser.firstname
failed:
ERROR - Cannot set value for expression '#{Adm
Rene Guenther wrote:
Hello,
anybody has experience with using MyFaces together with Hibernate?
Works very well, they dont touch each other, the trickiest part is, that
you need a hibernated DataModel if you want to use a
Datatable... Datascroller
Besides that it is much better than plai
I think you should be calling getSubmittedValue method.
-Original Message-
From: Jan Bols [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 25, 2005 10:33 AM
To: users@myfaces.apache.org
Subject: UIInput.getValue returns old value
I have a form with 2 fields field1 and field2. During vali
Since it is not a JSF Tag it does not accept Value Binding.
It works with $ . But dont ask me why ;-)
-Ursprüngliche Nachricht-
Von: Enrique Medina [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 25. Mai 2005 18:05
An: MyFaces Discussion
Betreff: Re: Displaytag and MyFaces
Does it work
string.jsp declares & uses the "transLocale" bean as the iterator
variable in . Within the , a form action
invokes TranslationBean (a managed bean declared in my config file)
which brings the user to translation.jsp. This page then has a button
& form which invokes TranslationBean again (but with d
Jan,
I think Martin fixed this last night. Can you check the latest source
code (SVN or tonight's upcoming nightly build)?
sean
On 5/25/05, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> Another one. ;)
>
> this is a known bug (or a feature ;).
>
> good, it will be necessary to look into that
Does it work with ${AdmMgr.aentrylist}? I thought it should be
#{AdmMgr.aentrylist}...
On 5/25/05, Rene Guenther <[EMAIL PROTECTED]> wrote:
> This is my code:
>
> width="90%"
> id="currentRowObject"
> requestURI="/faces/admin/reports/index.jsp">
>
Julien,
Alex is right. You can´t use a map in that way. Try the solution from Alex to
solve your problem.
Mathias
> -Original Message-
> From: Julien Martin [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 25, 2005 5:59 PM
> To: MyFaces Discussion
> Subject: Re: dataList component
>
This is my code:
Hello,
I have checked everything. The constructor gets called ok but not the
getters. By the way the getAlbums method returns a parametized Map.
(Map).
Julien.
- Original Message -
From: "Broekelmann, Mathias" <[EMAIL PROTECTED]>
To: "MyFaces Discussion"
Sent: Wednesday, May 25, 2005 5:39
Julien Martin wrote:
Mathias,
You're right. I added a System.out.println in the javabean and the getter
method is never called. I am puzzled. Any clue?
Julien
Hi,
so, from one of your previous posts I assume that #{AlbumsAction.albums}
returns a Map (what kind of map is unimportant), am I ri
How have you integrated it with JSF?
On 5/25/05, Rene Guenther <[EMAIL PROTECTED]> wrote:
>
>
>
> Hello,
>
>
>
> Another question :-)
>
> Anyone has experience with using displaytag together with myfaces. I tried
> and it worked good by now. But I read some time ago, that it is not
>
Verify that your managed bean AlbumsAction contains a method like
public List|Object[]|DataModel getAlbums() {...}
The Collection which is returned by getAlbums() must contain instances
which implement a method like
public Object getValue() {...}
This method must return an instance which imple
Mathias,
You're right. I added a System.out.println in the javabean and the getter
method is never called. I am puzzled. Any clue?
Julien.
- Original Message -
From: "Broekelmann, Mathias" <[EMAIL PROTECTED]>
To: "MyFaces Discussion"
Sent: Wednesday, May 25, 2005 5:22 PM
Subject: RE: data
Do you get any warning messages from the variable resolver regarding
null values?
Verify through a breakpoint in getAlbum_date() that the method is
called.
Mathias
> -Original Message-
> From: Julien Martin [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 25, 2005 5:09 PM
> To: MyFaces D
Well the way I use it, I persist the same beans that are bound to UI
elements, so when you change UI elements, you're changing the actual
thing that ends up being persisted into the DB.
The tricky part is to 1) close your Hibernate session with a servlet
filter; 2) you have to reassociate the obje
Thanks for the prompt reply,
I have removed the columns as indicated and I now have this:
It has the same behavior i.e. an empty bullet (there is only one element as
of now) with nothing else...
Julien.
- Original Message -
From: "Broekelmann, Mathias" <[EMAIL PROTECTED]>
To:
yes, it works fine! But afaik Hibernate and MyFaces "don't touch" each
other... so I would be a little bit confused, if anybody experiences any
problems...
Am Mittwoch, 25. Mai 2005 16:51 schrieb Rene Guenther:
> anybody has experience with using MyFaces together with Hibernate?
Hi Julien,
Since a x:datalist do not have columns you may not use h:column in a
datalist.
Mathias
> -Original Message-
> From: Julien Martin [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 25, 2005 5:00 PM
> To: MyFaces Discussion
> Subject: x:dataList component
>
>
> Hello,
Rene,
I have been using Hibernate and MyFaces together with great success. The intergration is seemless and was actually quite easy to implement. I am having trouble with some very complex queries but I attribute that to the fact that I am still relatively new to Hibernate. The two work together we
Hello,
I use the x:dataList component. Note that I want to display a hashmap. Using
the forEach tag I would have something like that:
[code]
[/code]
but because I use the x:dataList I have a h:outputText instead of the c:out.
Here it is:
[code]
[/code]
This does not seem to work. I just get
Hello,
Another question :-)
Anyone has experience with using displaytag together
with myfaces. I tried and it worked good by now. But I read some time ago, that
it is not recommended.
What do you think?
Thanks again
Rene
Hello,
anybody has experience with using MyFaces together
with Hibernate?
Thanks
Rene
Another one. ;)
this is a known bug (or a feature ;).
good, it will be necessary to look into that very soon, I'll see if I
get around to do that tonight.
regards,
Martin
On 5/25/05, Jan Bols <[EMAIL PROTECTED]> wrote:
> I have a form with 2 fields field1 and field2. During validation field2
I have a form with 2 fields field1 and field2. During validation field2
inspects the value of field1 for a null value:
UIInput uiField1 = (UIInput) toValidate.findComponent("field1");
String field1Value = (String) uiField1.getValue();
if (field1Value == null) {
-Original Message-
Don't ask me where and how, but you still got the reference
implementation disturbing in somewhere. Maybe in your web.xml, as a
servlet, you configured the RI?
-/Original Message-
- clear (==delete content) the work-directory of your tomcat
- check the common/lib
I cleaned up my workspace. Now it works. But I am not sure which part of
cleaning up was the crucial one.
Thank you for your help
Rene
-Ursprüngliche Nachricht-
Von: Martin Marinschek [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 25. Mai 2005 14:17
An: MyFaces Discussion
Betreff: Re: Er
Don't ask me where and how, but you still got the reference
implementation disturbing in somewhere. Maybe in your web.xml, as a
servlet, you configured the RI?
regards,
Martin
On 5/25/05, Rene Guenther <[EMAIL PROTECTED]> wrote:
> Thank you. But now I get a new error when trying without jsf-impl
Thank you. But now I get a new error when trying without jsf-impl.jar:
2005-05-25 14:07:41 StandardContext[/rapportnoejb]Error configuring
application listener of class com.sun.faces.config.ConfigureListener
java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
at
org.ap
If you want to use plain vanilla MyFaces, you just need the
myfaces.jar - that's all.
your error message points to some remnaints of the reference
implementation somewhere in your/tomcat working directory.
regards,
Martin
On 5/25/05, alex <[EMAIL PROTECTED]> wrote:
> Rene Guenther wrote:
>
> >
Ok thanks !
> De: Martin Marinschek <[EMAIL PROTECTED]>
> A: MyFaces Discussion
> Objet: Re: Re: Taglib Doc & selectBooleanCheckbox
> Date: Wed, 25 May 2005 13:40:20 +0200
> ok, I see...
>
> that x:selectBooleanCheckbox tag was implemented by me in the head
> version, so you need to checkout th
No, not that I would know of some better way to handle that.
JSF generally just supports validators with a relationship to one
field, for everything else you need to work yourself.
Anyone who knows something different?
regards,
Martin
On 5/25/05, Jan Bols <[EMAIL PROTECTED]> wrote:
> I have a
ok, I see...
that x:selectBooleanCheckbox tag was implemented by me in the head
version, so you need to checkout the latest sources or take the
nightly build.
regards,
Martin
On 5/25/05, ced_the.bear <[EMAIL PROTECTED]> wrote:
> I'm using myFaces 1.0.9 and it is the extension tag I can't use du
I'm using myFaces 1.0.9 and it is the extension tag I can't use due to a no
handler exception when parsing the JSP. Ineither find it when checking the
extension tld.
Strange !
there is no problem with h:selectBooleanCheckbox, but i wanted to use forceID :(
ced
> De: Martin Marinschek <
Rene Guenther wrote:
Do I really have to add all of them:
myfaces-impl.jar
AND myfaces-jsf-api.jar
AND myfaces-extensions.jar
AND myfaces.jar
Do I still need jsf-impl.jar then?
Thanks
Rene
I'm not sure about the myfaces.jar, however, I think myfaces-impl.jar is
a replacement for jsf-impl
Thank you. That worked out after refactoring my code which contained a lot
of plain html between the view tags.
Do I really have to add all of them:
myfaces-impl.jar
AND myfaces-jsf-api.jar
AND myfaces-extensions.jar
AND myfaces.jar
Do I still need jsf-impl.jar then?
Thanks
Rene
-Ursprüngl
I have a form containing (among others) a field to fill in a company name
and fields to fill in the address of the company (street, nr, bus, zip,
city, country). I want to give an error message when the user fills one of
the address fileds but not the company name.
The way I solved the prob
Rene Guenther wrote:
Hello,
According to http://myfaces.apache.org/docs/gettingstarted.html i should
delete JSF-API.JAR. But w/o this jar I receive:
Anybody has an idea? Do I have to keep JSF-API?
Do you have myfaces-impl.jar, myfaces-jsf-api.jar,
myfaces-extensions.jar (and myfaces.jar) i
Hello,
According to http://myfaces.apache.org/docs/gettingstarted.html i should
delete JSF-API.JAR. But w/o this jar I receive:
javax.faces.FacesException: javax.servlet.ServletException:
javax.servlet.jsp.JspException: Unrecognized Content Type.
at
com.sun.faces.context.ExternalContextIm
Hi everyone on the list !
I would like to know how to configure the Kupu-Editor wrapped by the
inputHtml-component.
How can I provide Kupu-related CSS-Information to the component ?
I've tried to manage this by use of the 'styleClass' attribute without
success.
Any ideas or examples ?
Bes
ah yes thanks, I got it!
Am Mittwoch, 25. Mai 2005 09:21 schrieb Christian Daszenies:
> http://subclipse.tigris.org/ works fine
http://subclipse.tigris.org/ works fine
On 25/05/05, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> Sorry, I don't use Eclipse and can't help you with that.
>
> Maybe Sean knows something?
>
> regards,
>
> Martin
>
> On 5/25/05, Hendrik Neumann <[EMAIL PROTECTED]> wrote:
> > Hi Martin,
> > you
Well, I just tried it out, there is both a:
in our tld's and those tags are also usable.. Do you refer to the
current head version or an old one?
regards,
Martin
On 5/25/05, ced_the.bear <[EMAIL PROTECTED]> wrote:
>
> In the taglib doc on the myFaces website, there is an entry
Sorry, I don't use Eclipse and can't help you with that.
Maybe Sean knows something?
regards,
Martin
On 5/25/05, Hendrik Neumann <[EMAIL PROTECTED]> wrote:
> Hi Martin,
> you myfaces guys have just migrated from cvs to subversion haven't you? Is
> there any good and free subversion plugin for
Hi Martin,
you myfaces guys have just migrated from cvs to subversion haven't you? Is
there any good and free subversion plugin for eclipse 3.0 running on Linux?
Then we could do it his way...
Regards,
Hendrik
Am Mittwoch, 25. Mai 2005 07:57 schrieb Martin Marinschek:
> Hi Hendrik,
>
> sorry, t
In the taglib doc on the myFaces website, there is an entry for the
selectBooleanCheckbox, but there is no handler, and no entry in the tld
file for this tag.
cedLa puissance n?est pas innée : elle se construit. Cliquez ici pour découvrir Nike Free !
Hi!
take a look at the MyFaces extension . It like dataTable but you can
do the layout of the data on your own.
--
Boris Klug, Debeka, Koblenz
61 matches
Mail list logo