Thanks Heath,
I just committed both of your patches.
Kind request: Please submit future patches only for the latest CVS
version. The patches still had net.sourceforge.myfaces as package.
Manfred
Heath Borders wrote:
I have removed this logic and am submitting a bug with the new code.
On Thu, 2 De
Hi,
I want to add a new attribute, named "selectedPage" to
the x:dataScroller component; it's not clear to me,
how this can be done, the corresponding code, for a
"selectedPage" field in HtmlDataScroller.java is
automaticaly generated...how? then where to specify
the new attribute? i was looking f
Hi there,
I'm currently developing a "Knowledge and method base for shape memory
alloys" (similar to a CMS) for the Ruhr-University of Bochum (in Germany) and
I'm using JSF-MyFaces for this web-application (thanks a lot for this great
work!).
To pursue a strict scheme I'm droolin over 2 very i
I will do that from now on. I still have one more patch that needs
committing: MYFACES-6. When I submitted the issue, I submitted the
line of code to fix, but I noticed yesterday that it was never closed,
so I included the whole file. Since its part of the JSF API, package
structuring shouldn't
Hi there!
I wanted to ask you guys for your opinion
on what I'm doing
I have some validation that I have to
do in my application. This Validation is more or less business related
and needs database quering:
1. So I decided not to make a custum
Validator because this would lower the performa
Hi Christian,
I do something similar, but use a custom validator method
instead of a valueChangeListener, and it works great. It looks like what you
have right now is kind of a mix between the two approaches, which is maybe why
it doesn't work.
To convert to a custom validator method, you
Thanks for your reply: The problem which
I want to focus is, that my method gets executed only when need, because
it is a very time consuming method
with accessing db and so on.
A validator gets executed each time
a request comes to the server (except using immediate=true)
greets
Chris
When we attempted to pull down down from the incubator CVS, it
redirected us to the sourceforge CVS. Since sourceforge supports HTTP
proxying, its easier for us to pull from there.
Is that the wrong thing to do? I just pulled from there yesterday and
everything is still under the same package st
Does anybody
know how to go about redirecting to an error
page from the
constructor of a backing bean.
For
example:
class
BBean{ Data
someData; public BBean
()
{
try
{ someData
= getData();
}
catch(Throwable
t)
I would like to change the validation messages to be a bit more
friendly, like they are with Commons Validation and Struts/Spring.
Basically, instead of:
"firstName": Value is required.
I'd like it to say "First Name is a required field."
I have the following in my resource bundle, but it doesn'
Unfortunately, the spec isn't very good on this matter.
Basically, you'll have to override the spec and provide custom
functionality to be able to achieve this.
Isn't this something we could do in the MyFaces custom components?
The reason you can't do this within the spec is that the Validation
Call FacesContext.getCurrentInstance().getExternalContext().redirect(String)
On Fri, 3 Dec 2004 13:24:13 -0500, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Does anybody know how to go about redirecting to an error
> page from the constructor of a backing bean.
>
> For example:
>
> class
Title: RE: Error handling & redirecting from BB constructor possible ?
Heath,
I tried this also (but forgot to mention), followed by "FacesContext.getCurrentInstance().responseComplete()"
but the request keeps processing the same jsp & the redirect never happens.
Is there any other way to
Well, this should work. Look at the JSF 1.1 API for further details,
but here are some things that could be going wrong:
1. FacesContext.getCurrentInstance().getExternalContext().redirect(String)
already called FacesContext.responseComplete(), so you don't need to
call FacesContext.renderResponse
On Fri, 3 Dec 2004 13:21:16 -0600, Heath Borders
<[EMAIL PROTECTED]> wrote:
> Unfortunately, the spec isn't very good on this matter.
>
> Basically, you'll have to override the spec and provide custom
> functionality to be able to achieve this.
>
> Isn't this something we could do in the MyFaces
Craig McClanahan wrote:
On Fri, 3 Dec 2004 13:21:16 -0600, Heath Borders
<[EMAIL PROTECTED]> wrote:
Unfortunately, the spec isn't very good on this matter.
Basically, you'll have to override the spec and provide custom
functionality to be able to achieve this.
Isn't this something we could do in
You can't change this in the UIInput directly because it is not to spec.
The only way to do it and keep the code to spec is to extend all of
the components individually. This is why the spec needs to be
changed. Let's just hope that they get it done in 1.2
On Fri, 03 Dec 2004 15:22:40 -0700, M
I'm using the class below as a TestCase to test my Managed Beans sans
Tomcat. I'm using Spring to inject some of the properties on my beans.
This all works great and I have to thank you for a lot of code I
"borrowed" from the Cactus tests. ;-) One thing I noticed is that I
have to have jsp-api
18 matches
Mail list logo