Hello,
When I change the backing bean openDataList to request scope, I got the exception when I click any header to sort.
javax.servlet.ServletException: Cannot get value for _expression_ '#{openDataList.data}'
If I set preserveDataModel=true or or both, I still got the exception. What is wrong?
Previously I used with dataTable, data conversion was done by JSF between String/Integer, String/BigDecimal. When I changed it to use for variable number of columns, I got error.
Cannot set value for _expression_ '#{backingBean.columnValue}' to a new value of type java.lang.String
In the backin
Yeah, that is definitely what's going on. Thanks a ton!
JR
-Original Message-
From: Jesse [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 15, 2005 8:28 PM
To: MyFaces Discussion
Subject: Re: Navigation Panel Question
Could be to do with your browser trying to load your 'ed css
re
Could be to do with your browser trying to load your 'ed css
resource from a location that is relative to the page's location in your
web-app. That's why it works at the top level and not at any lower level.
As a test, trying including a tag in your section in
the lower-level page.
Althou
Hello
all,
I just noticed a
problem with my navigation panel. I have a top level "home" link that
takes the user to the index page. If I use the component to browse to a
link in a lower directory, then click the home link, the page renders without
any style information. It's as if the
On 9/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I believe it's needed in order to get the various methods called within the JSF life-cycle... such as the use of prerender.
>From the Shale http://struts.apache.org/shale/features.html#view
Rick's got it right ... AbstractViewController is
I believe it's needed in order to get the various methods called within the JSF life-cycle... such as the use of prerender.
>From the Shale http://struts.apache.org/shale/features.html#view
Each backing bean that implements ViewController will
support a boolean property postback, which wi
see Adam Winer's comment on MYFACES-573:
http://issues.apache.org/jira/browse/MYFACES-573?page=comments#action_12329502
ThomasOn 9/15/05, Marios Kerkemezos <[EMAIL PROTECTED]> wrote:
Hello everyone!I have the following question, which I still haven'tanswered...I have a simple MyFaces test applic
If you don't want to implment a PhaseListener or a javax.servlet.Filter
for setting response headers, think about using MyFaces Tiles-Support.
You'd just need to define a scriptlet in one (maybe a few) JSP
templates.
Thomas
On 9/15/05, Ken Weiner <[EMAIL PROTECTED]> wrote:
What is the best way to
You could use a redirect instead. If you are using extension mapping *.jsf the following redirect should work.
<%
response.sendRedirect(response.encodeRedirectURL("/pages/launch.jsf"));
%>
Thomas
On 9/16/05, Robert Taylor <[EMAIL PROTECTED]> wrote:
Greetings, I'm a current Struts user interested i
Ah I just googled, the AbstractViewController is Shale,
that explains a lot ;-)...
Craig if you read this, I thought that one point of JSF was
to get rid of the Form-Action division of struts towards a more
generalized approach?
Does the AbstractViewController do something special in Shale or
is
RTM :)
It's the validation method binding, not a validator.
To save you a trip, the signature is thus:
public void foo(FacesContext context, UIComponent component, Object
value) throws ValidatorException
but can be named whatever you like.
On 9/15/05, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTE
Looks quite good,
but one thing struck me...
Your structure is very Struts like, which is not really needed.
>extends AbstractViewController
you wont need that in JSF unless you have something really
important down there, which you have to reuse
also you wont need to think in actions and forms
What format am I supposed to use to specify the value for the validator
attribute in ? I tried giving a string that contained the
fully qualified path name of the validator. Then I tried using the id
of the validator given in faces-config.xml. Neither of those appeared
to cause my validator to g
Greetings, I'm a current Struts user interested in learning and using
MyFaces and JSF.
My dev. env. consists of Tomcat 5.5.9, MyFaces 1.0.9, JDK 1.4.2, Win2K.
I've configured MyFaces to use Tiles for view-handler.
What I want to do is to have my welcome page (index.jsp), forward to a
launch p
Eventually I want to turn this small example into a walk through
lesson/tutorial. Before I get to that point, I could really use the help
of those that know what they are talking about to look over this example
and provide suggestions on how to fix it up. Since I'm new to
JSF/MyFaces, I'm sure
When I use for variable number of columns in dataTable, I need to call getResourceBundle() from ViewRoot, and then call resoucebundle.getString("Label"). In JSP, I just use "#{bundle.Label}". Is there any performance overhead? Is there a better way to display localized string from a backing bean
I remember trying to learn custom components by creating a form builder
that will create a form from XML file.
What I did was to create a Label component and a HtmlInputText component
as to the number of properties specified and add Validators
accordingly.(Only regular Expression validator though
If you're not limited to pure JSP tag technology, you could consider
the following three alternatives, which allow you to quickly create
composite components:
1) Facelets
2) Shale/Clay
3) t:aliasBean + jsp includes
On 9/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm looking at
Hi,
I'm looking at designing a simple component that would render the
following:
2 ListBoxes with items in each of them. Each being plugged on a
different List in the background.
I'm trying to figure out how to do that right now... I have created a
custom component that works but does not render
Thanks for the reference. I'm not sure how I missed that before. I think I am going to try the wrapper bean idea.
Thanks for the help,
MichaelOn 9/15/05, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
It looks like you need to look at JavaServer Pages Specification (version 2.0),sections 2.3 throu
What is the best way to set headers on the HttpResponse to control things such as caching directives?
For example:
response.setHeader("Cache-Control", "no-cache");
Would I need to implement a PhaseListener? Is this done through config
parameters of some kind? Should I just include a scriptlet in
Mike Kienenberger wrote the following on 9/15/2005 12:18 PM:
Take a look at this thread for both a discussion on the situation and
solutions. Note that the earlier part of the thread didn't address
the real issue, so I started you somewhere in the middle.
http://mail-archives.apache.org/mod_mbo
Yes, the issue in JIRA was http://issues.apache.org/jira/browse/MYFACES-451
You can get the source code from the MyFaces sandbox.On 9/14/05, Dennis Byrne <[EMAIL PROTECTED]> wrote:
I think he put it in JIRA. Original message >Date: Wed, 14 Sep 2005 18:00:05 -0500
>From: "CONNER, BRENDAN \(S
Yes that is a good place, and that is what I did
but there were another bunch of issues by
using that mapping type...
just posted a long explanation in the forum regarding
all the problems you run into with many-to-many
Joshua Davis wrote:
Werner,
Since you have data associated with your many-
Hi again,
I have investigated another interesting behaviour about using
PreserveDataModel, which makes my application crash (due to the way I'm
working with data tables). Let me explain it to you in a
straight-forward manner.
Currently, I use a session scoped bean to work with my objects (e.g.
on
Take a look at this thread for both a discussion on the situation and
solutions. Note that the earlier part of the thread didn't address
the real issue, so I started you somewhere in the middle.
http://mail-archives.apache.org/mod_mbox/myfaces-users/200509.mbox/[EMAIL
PROTECTED]
Rick was going
It looks like you need to look at JavaServer Pages Specification (version 2.0),
sections 2.3 through 2.9 to determine the precedence of calling Map vs
calling Bean properties.
Take a look at JSF Spec 1.1 Section 5.1.3 (Get Value Semantics) and
5.1.4 (Set Value Semantics). While nothing is explic
Hello,
YES, the action is executed if I remove the rendered attribute...
BUT I need this attribute. You know this Problem or a solution??
Best Regards,
Christian
> --- Ursprüngliche Nachricht ---
> Von: Rick Reumann <[EMAIL PROTECTED]>
> An: MyFaces Discussion
> Betreff: Re: commandLink with
Well, i solved my issue by not creating a new tree. I
have my tree in a session bean, so i just clean the
root's children - with attention to collapse the nodes
if they are expanded - and then repopulate the tree
with the new data.
That solved it, as i no longer have the same exception
as you do n
Websphere problably runs on the IBM JDK,...
Udo Schnurpfeil wrote:
hmmm, I think IBM uses an other java version...
with the IBM I can't help your in the moment. I've no sources.
But what I've seen is the start of the stacktrace.
It seems that there is an NullPointerException, and while the
Does the action get executed if you remove the 'rendered' attribute?
Christian Froelich wrote the following on 9/15/2005 9:00 AM:
Thanks for your fast answer!
My jsp looks like this:
...
...other h:columns...
The commandLink is always rendered as link.
hmmm, I think IBM uses an other java version...
with the IBM I can't help your in the moment. I've no sources.
But what I've seen is the start of the stacktrace.
It seems that there is an NullPointerException, and while the
construction of the NullPointerException an NullPointerException
occu
It's a bit of a work-around, but I believe allowing
map.property to use get/put is part of the EL syntax. Perhaps look at
breaking out the initialization function into another holder
bean.
public class MyMapHolder {
... public Dependency getMyDependency()
{ return
myDepe
Yeah you can use expressions (JSF Spec 1.1 Section 10.3.1 Page
285). I use Spring's delegating variable resolver to expose my
Spring beans through EL and then I inject references to them in this
manner. It has worked great up until the map case.
Should a bug be filed on this or is it desired beh
Which Faces implementation? Which version?
What is the "long" version of Java? I'm wondering about the
NullPointerException inside of java.lang.Throwable.
What is the content of the JSP?
Udo
Goyo Escobar Escalero wrote:
JAVA IS 1.4
I'm not using myFaces
Original Message Follows--
Jepp just gave you an example on how I think things could be made easier
or how things should resolve in that special area...
Dont get me wrong, I like Hibernate but I have seen several developers
run into serious issues in that area...
Werner
Joshua Davis wrote:
Aha, I've found you!
http://fo
Thanks for your fast answer!
My jsp looks like this:
...
...other h:columns...
The commandLink is always rendered as link. And also the rest of the
treeTable seems to get rendered correctly. But the action method is only
executed if the tableBody is empty
Hi,
I have a tree2 with showRootNode="true" preserveToggle="true" clientSideToggle="true".
I describe my problem:
1) I open a JSP popup page with a tree2 (there are many nodes under the root);
2) I expand some node;
3) I close popup;
4) I reopen the popup with another tree2 that, in this case, ha
Okay, I've done this - thanks.
the action of the commandlink is only executed if the rendered flag
for this and his parent component is true during the decode phase.
Can you post the surrounding datatable tag also?
2005/9/15, Christian Froelich <[EMAIL PROTECTED]>:
> Hello,
>
> I try to use a commandLink with an action inside
Hello,
I try to use a commandLink with an action inside a treeTable but it is
not working properly :-(
The following snippet of a treeTable-column is expected to:
- render a link if it 's the tableHead
- render a outputText if it's a row inside the tableBody
- render a outputText with a special s
Does this actually work? I don't think you can use expressions in the
value for initialization.
What I do when I want to "inject" a value to another bean is get the
bean via the faces context, for example I do a
getManagedBean("detailsBean").setDetail(someObject)
(I attach the code for my get
Aha, I've found you!
http://forum.hibernate.org/viewtopic.php?t=947528
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz
> Sent: Thursday, September 15, 2005 2:45 AM
> To: users@myfaces.apache.org
> Subject: Re: Hibernate: 1-to-many --> struggling
>
> Du
Werner,
Since you have data associated with your many-to-many, you can simplify this
by making an entity in the middle, transforming your many-to-many in to a
many-to-one, one-to-many from the ORMs perspective.
We can continue this discussion on the Hibernate forum, if you like. I'd be
glad to h
You need to unsubscribe and resubscribe!
regards,
Martin
On 9/15/05, Hendrik Neumann <[EMAIL PROTECTED]> wrote:
> Hi everybody,
>
> my email-address will change in a few days - how can I change it for the
> mailing-lists?
>
> Greetings,
> Hendrik
>
--
http://www.irian.at
Your JSF powerhou
Hi everybody,
my email-address will change in a few days - how can I change it for the
mailing-lists?
Greetings,
Hendrik
JAVA IS 1.4
I'm not using myFaces
Original Message Follows
From: Udo Schnurpfeil <[EMAIL PROTECTED]>
Reply-To: "MyFaces Discussion"
To: MyFaces Discussion
Subject: Re: Custom Component
Date: Thu, 15 Sep 2005 12:30:49 +0200
Hi!
What is the Java version?
What is the MyFaces version
Hi!
What is the Java version?
What is the MyFaces version?
Udo
Goyo Escobar Escalero wrote:
I've a problem extendign the UISelectOne component...
My classes:
package holderTagClasses;
import javax.faces.application.Application;
import javax.faces.component.UIComponent;
import javax.faces.
You're welcome! Thanks for the fast resolving :-)
Paul
Bruno Aranda wrote:
Thanks! It is fixed now...
Bruno
2005/9/15, Paul Klaer <[EMAIL PROTECTED]>:
Done. :-)
http://issues.apache.org/jira/browse/MYFACES-569
Bruno Aranda wrote:
Thanks Paul, but could you please open a JIRA issue with
Thanks! It is fixed now...
Bruno
2005/9/15, Paul Klaer <[EMAIL PROTECTED]>:
> Done. :-)
>
> http://issues.apache.org/jira/browse/MYFACES-569
>
> Bruno Aranda wrote:
> > Thanks Paul, but could you please open a JIRA issue with the problem
> > and upload the patch there? Then this will be tested
I've a problem extendign the UISelectOne component...
My classes:
package holderTagClasses;
import javax.faces.application.Application;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.el.MethodBinding;
import javax.faces.el.ValueBinding;
im
Done. :-)
http://issues.apache.org/jira/browse/MYFACES-569
Bruno Aranda wrote:
Thanks Paul, but could you please open a JIRA issue with the problem
and upload the patch there? Then this will be tested :-) We have to
keep the bugs under control...
Regards,
Bruno
2005/9/15, Paul Klaer <[EMAIL
Thanks Paul, but could you please open a JIRA issue with the problem
and upload the patch there? Then this will be tested :-) We have to
keep the bugs under control...
Regards,
Bruno
2005/9/15, Paul Klaer <[EMAIL PROTECTED]>:
> Hi,
>
> this is definitly a bug. So, here I provide the solution. C
Hello everyone!
I have the following question, which I still haven't
answered...
I have a simple MyFaces test application consisting of
a small number of pages and an equal number of backing
beans deployed on Tomcat 5.0.28. All my beans inherit
from some base class which implements
java.io.Serial
Thanks. It works now.
Matt
-Original Message-
From: Volker Weber [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 14. September 2005 14:47
To: MyFaces Discussion
Subject: Re: Form data passing problem
Hi,
you must remove the immediate="true" form your submit button!
this skips the updatemode
Hi,
Could you please vote this JIRA issue, so it can be given some priority? It has not even been assigned to anyone :-(
http://issues.apache.org/jira/browse/MYFACES-522
Thanks.
57 matches
Mail list logo