favor phaselisteners over servlets..
http://www.nabble.com/Render-an-Image-t1395334.html#a3811978Regards,
Mert
On 6/2/06, Mads Henderson <[EMAIL PROTECTED]> wrote:
I think you need to create a servlet that outputs the image. You can then use the servlet url in you h:graphicimage tagHope that he
Wow, this thread was hard to read (I read it twice) ;-)
So, to make a long story short
none -> none
application -> none, application
session -> non, application, session
request -> none, app, session, req
on the left there is the scope of a bean
on the right there is the possible scope of
Or a phaselistener,http://www.jroller.com/page/cagataycivici?entry=phaselistener_renders_an_image_noCagatay
On 6/2/06, Mads Henderson <[EMAIL PROTECTED]> wrote:
I think you need to create a servlet that outputs the image. You can then use the servlet url in you h:graphicimage tagHope that helpsMads
I think you need to create a servlet that outputs the image. You can then use the servlet url in you h:graphicimage tagHope that helpsMadsOn 6/1/06,
Ondrej Svetlik <[EMAIL PROTECTED]> wrote:
Hello all,I have image data in the database and want to simply send them out withpropper mime type. Is ther
Hey Todd,
I'm really frustrated on how unorganized the examples are, why is it so
difficult to get the backbean for each .jsp file in the examples directory?
Ok, you know the JSP, than you know the name for the backing bean.
(
Thanks,
you are welcome,
Matthias
[1]
http://svn.apache.org/vi
Hey guys,
I use Dreamweaver for JSF page design with
JSP and Facelets. I have been using Dreamweaver for many years and I find it to
be a first-class Web design environment. My company developed JSFToolbox for
Dreamweaver (http://www.jsftoolbox.com)
to enable Java developers to build JS
Hi
is it possible to wrap message with command button
with regards
shannu sarma
--
View this message in context:
http://www.nabble.com/is-it-possible-to-wrap-message-with-command-button-t1720536.html#a4673576
Sent from the MyFaces - Users forum at Nabble.com.
Hi,
i am working on data table in java server faces
i select a row in the data table and press delete then that row is
deleted.
if i did'nt select any row and i click a delete button a message has to
come.
and there is a component inside that data table i.e selectone r
I've decided to try overriding panelGrid's renderer to get this
functionality. I'm assuming HtmlGridRendererBase.java
(http://tinyurl.com/oqbxh) is the correct class to override? Once I've done
this, how do I override it in my faces-config.xml file? I'm overriding
outputLabel with the following
You can use immediate="true" on the SelectOneMenu, so that
other components will not processed.
Balaji
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
AgeebSent: Thursday, 1 June 2006 6:07 PMTo: MyFaces
DiscussionSubject: hide validation messages when
Hello, I'
>It is the *opposite* direction that is prohibited ... you cannot inject a
>request scoped bean into a session scoped bean.
Whoops, I had it backwards the entire time ;) And it looks like MyFaces knows
it is illegal to inject #{facesContext.externalContext.requestMap['foo']} into
a session scop
On 6/1/06, Dennis Byrne <[EMAIL PROTECTED]> wrote:
>As long as you don't also have a "sharedData" bean in request scope, this>will pick up the session scoped bean for you (and also create it if>necessary, if it is a managed bean).Hi Craig,
I can only see how the first part is correct. If sharedDat
>As long as you don't also have a "sharedData" bean in request scope, this
>will pick up the session scoped bean for you (and also create it if
>necessary, if it is a managed bean).
Hi Craig,
I can only see how the first part is correct. If sharedData is a data
structure in session scope (not i
On 6/1/06, Dennis Byrne <[EMAIL PROTECTED]> wrote:
The spec says higher scoped managed beans cannot be injected into lower scoped managed beans. This doesn't mean we can't inject session scoped data into request scope managed beans ... geographyProducer
gov.blm.ak.GeographyConsumerThread request
Dennis Byrne wrote:
The spec says higher scoped managed beans cannot be injected into lower scoped
managed beans. This doesn't mean we can't inject session scoped data into
request scope managed beans ...
geographyProducer
gov.blm.ak.GeographyConsumerThread
request
sharedData
The spec says higher scoped managed beans cannot be injected into lower scoped
managed beans. This doesn't mean we can't inject session scoped data into
request scope managed beans ...
geographyProducer
gov.blm.ak.GeographyConsumerThread
request
sharedData
#{facesContext.exter
Where is the backing bean java code for
examples/treeTable.jsp?
I'm really
frustrated on how unorganized the examples are, why is it so difficult to get
the backbean for each .jsp file in the examples directory?
Thanks,
--Todd
The example isn't very clear but based on the below
public void removeItem(ActionEvent event)
{
beanB.remove(myDataTable.getRowIndex());
return null;
}
Have you tried catching IndexOutOfBoundsException in the above method? Also,
why return null? In any case, I woul
Check the examples directory in the release (it may be in the binary
or just the source, I'm not sure).
-Andrew
On 6/1/06, Todd Patrick <[EMAIL PROTECTED]> wrote:
Is there a detailed Tomahawk Tree2 example, the wiki information on Tree2
doesn't really help.
I've been reviewing the informatio
Is there a detailed Tomahawk Tree2 example, the
wiki information
on Tree2 doesn't really help.
I've been reviewing
the information at:
http://wiki.apache.org/myfaces/Tree2?highlight=%28Tree%29
"This doesn't
help."
For example, why
extend TreeNodeBase with a new class?
I'd apprecia
Any sugestions? I have 3 beans: beanA, beanB and beanC.Both beanA and beanB
uses beanB (ArrayList), from beanA i only remove itens from beanB and
from beanC i add, get and set a item in beanB.Everything is ok
when beanC to these operations on beanB but if i try to remove an item
from beanA i'm gett
Hello all,
I have image data in the database and want to simply send them out with
propper mime type. Is there a way to do it using JSF?
Best regards
Ondrej Svetlik
Is this attribute still supported? I can't seem to get it to work.
Thanks,
Geoff
MyEclipse is not "almost the same" as the bea/nitro tool. I own exadel and the bea tool. The bea tool is by far my favorite. I tried myeclipse and it wasn't even close. I just tried it again. Its like saying a car without an engine is "almost the same" as a car with an engine. The bea tool ha
Unfortunately, valueChangeNotifier doesn't work properly in dataTables. I
described the problem here:
http://www.nabble.com/s%3AvalueChangeNotifier+and+dataTables-t1678106.html#a4550580
--
View this message in context:
http://www.nabble.com/JSF+Livecycle+Problem+-+Events+before+setters%21-t171
You are a darling. Thanks.
1) I do not know all features of JSF
2) In the internet a lot of examples with JSTL
I will follow Your advice.
>-- Original-Nachricht --
>Reply-To: "MyFaces Discussion"
>Date: Thu, 01 Jun 2006 17:55:06 +0200
>From: Mario Ivankovits <[EMAIL PROTECTED]>
>To: MyFaces Dis
I didn't understand very well why do you need to declare a managed property.
The way in which you have defined your "loggedIn" managed-property means that:
1) You should define a setLoggedIn(...) method in your LoginBean
2) You have defined somewhere a managed bean-called "loggedIn"
3) You want
Hi!
Still, why do you not use the rendered attribute?
So you might end in:
LoginBean
org.onlinestore.web.LoginBean
session
I'd recommend to avoid anything else then JSF tags within your view -
even in JSP pages.
Ciao,
Mari
Anyone have any idea on this? Every portlet deployed gives this error
regardless of the application.
--
View this message in context:
http://www.nabble.com/FacesConfigurator+Error-t1675804.html#a4664603
Sent from the MyFaces - Users forum at Nabble.com.
Hi Myfaces users,
I have a problem with the tree2 and popup using
together. See the attached picture. Myfaces version is 1.1.1. The problem is
only for IE. The the popup doe not overlap the IFrame.
The tree2 is inside div tag.
How to solve this problem?
Yixing
<>
Yes I have three properties username, password and loggedIn.
Because I want to check the loggedIn property it was the advice to
make as a managed property.
LoginBean
org.onlinestore.web.LoginBean
session
1. problem public void validateNick(FacesContext context, UIComponent toValidate, Object value) { if (value != null) { String valStr = ((String) value).trim();
if (valStr.length() < 1) {
Have you added a "public String getUsername()" method in your
LoginBean class? Seems that is missing. I don't think this error is
related to your managed property.
2006/6/1, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
Thanks
It seems I am a bit confused. I have added
Thanks
It seems I am a bit confused. I have added
loggedIn
#{loggedIn}
And I get the error:
javax.faces.el.EvaluationException: Cannot get value for expression
'#{LoginBean.username}'
at
org.apache.myfa
Some code from Stan Silvert has been committed to a special branch.
Other's have already jumped on the truck too.
So, to make a long story short, no, no timeline yet.
If you are interested in helping out, feel free to grab the code.
-Matthias
On 6/1/06, Frank Russo <[EMAIL PROTECTED]> wrote:
Hi Guys
Thanks a lot, I enjoyed your replies!
This worked for me. I will try out the other hints you are talking about, too.
Thanks for the help, once more :)
Remo
From: Cagatay Civici [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 1. Juni 2006 15:58
To:
I recommend Enterprise Architect as well. Very solid UML modeling tool with other diagramming capabilities as well.On 6/1/06, Jurgen Lust <
[EMAIL PROTECTED]> wrote:We're using Enterprise Architect
http://www.sparxsystems.com.au/Very nice tool! Not free though.JurgenOp wo, 31-05-2006 te 15:50 +020
the lastModified bit simply results in preventing resources from
caching. It is a bug introduced by the switchover from ant to maven, and
has been discussed at length on this mailing list.
See the archives.
Are you experiencing any actual problem?
[EMAIL PROTECTED] wrote:
Hi all,
I am tryi
Is there a timeline
for building a 1.2 version of myfaces, now that the spec is
final?
Frank
RussoSenior DeveloperFX Alliance, LLC900 Third Avenue, 3rd
FloorNew York,
NY 10022646.268.9949
Use EL for the param value, then you have full control over where the
value comes from
On 5/31/06, Hailong Zhang <[EMAIL PROTECTED]> wrote:
I want to change the request params in the backing bean method.
For example:
When user click the link, myBean.test() will be invoked.
Can I change
Yes, I remember now, although with one phase deviation:)On 6/1/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> As I mentioned the only reason the setter is called after event handler is> that you are using value change event. If I'm not mistaken myfaces has a
> feature that enables valuechange
As I mentioned the only reason the setter is called after event handler is
that you are using value change event. If I'm not mistaken myfaces has a
feature that enables valuechange events behave like action events(button).
I think he means [1]. valueChangeNotifier - Calls a custom
valueChangeEve
Hi Remo,
My question is, how do I get the setter set before the event is
processed?
in fact you have to do it "by hand" in the valueChangeListener. The
new value is bunddled into the event.
something like setCurrentKpiGroup(e.getNewValue()) should do the
trick. (where e is the ValueChangeEvent
Option (1) currently (JBoss 4.x)
Option (3) on future projects, if JBoss 5.x is released by then.
Martin Marinschek wrote:
May I ask a question out loud?
In discussing implementing 1.2, the question has arisen what kind of
servlet containers most users have in use currently respectively plan
t
Hi,As I mentioned the only reason the setter is called after event handler is that you are using value change event. If I'm not mistaken myfaces has a feature that enables valuechange events behave like action events(button).
Also you can set the value manually at valuechangelistener yourself like;
In Apply Req Values the "submitted parameter" goes to the UI component.
Not the backing bean.
action methods are executed in Phase5
ValueChangeListeners in Phase 3, so before UpdateModelValues is called.
You may use onchange=submit(); with some *special* javascript, to
invoke the "action method
use rendered attritubte, available on each faces component
rendrd="#{bean.prop}"
-Matthias
On 6/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello
My problem is the if test with session bean boolean property does not work
how I do expect it.
I use
public class LoginBean {
Or give myEclipse a try. It’s
cheaper but almost the same.
Remo
From: Joris Wijlens
[mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 1. Juni 2006
15:23
To: MyFaces Discussion
Subject: Re: IDE jsf
If you have some budget to spend ($499 for an annual
subscription) I woul
Hi Cagatay,
If you take a look at:
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/images/jsfIntro-lifecycle
.gif
I thought the setters are called in "Apply Request Values" and not in
"Update model values". Thanks for your clarification.
I tried the hint with the immediate tag:
Dont quite get what you need but since component values refer to the userbean, trying to get the value of the component will resolve the value of the userbean.Cagatay,On 6/1/06,
chandra sekhar saripaka <[EMAIL PROTECTED]> wrote:
Hi Matthias, Can we get the values given in the application with
Hello
My problem is the if test with session bean boolean property does not work
how I do expect it.
I use
public class LoginBean {
...
public boolean isLoggedIn() {
return loggedIn;
}
public void setLoggedIn(boolean loggedIn
Remo Liechti wrote:
Hi All
THE JSF livecycle is like this
Faces Request -> Restore View -> Apply Request Values (call all the
setters) -> process events -> ...
There are two possible ways how to configure to submit a form: With a
button(and its action) or with the javascript onchange property o
Hi,Setters are called at update model actually, not at apply request phase. I don't see anything wrong about the console print out because value change events are not like button action events. They are called after process validations(before setter) phase whereas button action events are called at
If you have some budget to spend ($499
for an annual subscription) I would advice to try BEA workshop for
JSF (formerly Nitrox). It is a very intelligent plugin and helps you wtih
a lot of errors.
Joris Wijlens
Hello somebody knows an IDE jsf, I practice and stable
that is not exadel pleas
Hi All
THE JSF livecycle is like this
Faces Request -> Restore View -> Apply Request Values (call all the
setters) -> process events -> ...
There are two possible ways how to configure to submit a form: With a
button(and its action) or with the javascript onchange property on any
element.
But th
Hi Matthias,
Can we get the values given in the application without referring
to the UserBean and by only referring to the Component. I'm asking
this question for the purpose of transferring all of my field level
validations to the Client -side.
Please respond.It's urgent for me.
Regards,
Dto :-)
Never tried, yet.
Maybe the ADF Faces user list will bring more light into the dark :-)
-Matthias
On 6/1/06, Enrique Medina <[EMAIL PROTECTED]> wrote:
Well, it was just a "how do you think I can do this partial" ;-)
Never tried; that's why I ask about your experience in successfu
Furer Alexander wrote:
The problem is that i have another controls (filter query) on my page,
that's why i can't hit DB only when clients==null (filter values are
not updated yet at this phase). Is there any way to get phaseID in
getter method of managed bean ?
Thanks
- Original Me
Well, it was just a "how do you think I can do this partial" ;-)Never tried; that's why I ask about your experience in successfully applying itOn 6/1/06,
Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> I was precisely discussing the use of ADF Faces with Werner yesterday. Do> you think I coul
The problem is that i have another controls (filter
query) on my page, that's why i can't hit DB only when clients==null
(filter values are not updated yet at this phase). Is there any way to get
phaseID in getter method of managed bean ?
Thanks
- Original Message -
From:
I was precisely discussing the use of ADF Faces with Werner yesterday. Do
you think I could integrate ADF Faces to an already finished project to give
partial page rendering support?
Would be fun, if such discussions take place at the ADF Faces list, so
you can share your pro/con arguments :-)
Hi,There are several reasons why getters are called more than once, for example, checking for value changes, rendering and etc.You can try lazy initialization to fetch only once like;
private List clients;public List getClients() {
if(clients == null) clients = fetchFromDB();return clients;
}Fir
And most important... have you used it successfully?On 6/1/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
You may check ADF Faces.Donated to the ASF. Currently under incubation.Regards,
MatthiasOn 6/1/06, Enrique Medina <[EMAIL PROTECTED]> wrote:> Hi,>> I'm a frustrated user of Ajaxanywhere and
Matthias,I was precisely discussing the use of ADF Faces with Werner yesterday. Do you think I could integrate ADF Faces to an already finished project to give partial page rendering support?
On 6/1/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
You may check ADF Faces.Donated to the ASF. Curre
Furer Alexander wrote:
Hi
Why getter method of managed bean called few times for particular phase ?
I have "clients" (List) property of managed bean, getter method fetchs
List from DB, how can i fetch only once ?
Below is call trace for it's getter/setter:
Thanks
BEFORE RESTORE_VIEW(1)
se
Hi
Why getter method of managed bean called few times
for particular phase ?
I have "clients" (List) property of managed
bean, getter method fetchs List from DB, how can i fetch only once
?
Below is call trace for it's
getter/setter:
Thanks
BEFORE RESTORE_VIEW(1)
setClients, size: 17
AF
(2) using the new OpenSource Myfaces ADF distribution (build
from svn)
(3) optionally using facelets
(2) & (3) are a good base!
See [1] for more infos on the build process.
If you still face problems, post your web.xml / faces-config
plus error message on the ADF list, I'm sure there will be
This part refers to using ADF with Facelets. (Which I'd
personally highly recommend...)
You need to distinguish between:
(1) using the old Oracle/JDeveloper ADF distribution
(2) using the new OpenSource Myfaces ADF distribution (build
from svn)
(3) optionally using facelets
(1) and (2) have near
Hi,
I'm aware of the other list, however the FAQ is on the MyFaces Wiki...
Basically all im looking for is a translation of (from
wiki.apache.org/myfaces/FAQ):
Make sure your FaceletViewHandler is commented out and the default render
kit of ADF faces defined in faces-config.xml oracle.adf.core (
Hello
Is there somewhere a template for JSF component. I would like to program
such a html code slice as component.
In the best case a complete tag libray with all necessary files. Such that
I can copy paste the component code and only add the necessary component
properties and html code into.
T
You may check ADF Faces.
Donated to the ASF. Currently under incubation.
Regards,
Matthias
On 6/1/06, Enrique Medina <[EMAIL PROTECTED]> wrote:
Hi,
I'm a frustrated user of Ajaxanywhere and Ajax4Jsf projects. I managed to
use Ajaxanywhere for a while, but once I've upgraded to the new official
Hi,I'm a frustrated user of Ajaxanywhere and Ajax4Jsf projects. I managed to use Ajaxanywhere for a while, but once I've upgraded to the new official release for MyFaces and Tomahawk, it does not work anymore (and I needed to upgrade to take advantage of the new AddResource stuff and some other imp
I understand that its no longer there. I was trying to give you an
alternate way to do what you want. getNode() is not coming back so
you will need to adapt.
Reread my last answer again. Basically you use the binding attribute
of tree2 to bind a reference to the tree to your backing bean. (Th
After linking to another tab from a page within an iFrame clicking back to
the tab from where we came displays an empty tab without any content. The
content is nowhere to be found.
--
View this message in context:
http://www.nabble.com/panelNavigation+doensn%27t+works+properly+with+IFRAME-t171638
Hi,
does anybody know if there is a patched version of tomahawk.jar available where
this issue is fixed:
http://issues.apache.org/jira/browse/TOMAHAWK-161
I've tried 1.1.2 and latest snapshot but still I got the same error which is
described in JIRA.
Thank
Joerg
Thank you Matthias!
Greets,
Hans
Matthias Wessendorf wrote:
Why are you casting against ServletContext?
HttpServletReq should be enough.
com.sun.faces. is code from the RI, shipped under the sun ;-)
Regards,
Matthias
On 6/1/06, Hansjörg Meuschel <[EMAIL PROTECTED]> wrote:
Hello,
in a bea
There is a special ADF Faces list here at Apache, since ADF Faces is
currently inside of the Apache Incubator
See [1]
[1] http://wiki.apache.org/myfaces/adf_mails
On 6/1/06, Daniel Murley <[EMAIL PROTECTED]> wrote:
Hi Everyone,
This is probably a common question through here, however we're ha
Why are you casting against ServletContext?
HttpServletReq should be enough.
com.sun.faces. is code from the RI, shipped under the sun ;-)
Regards,
Matthias
On 6/1/06, Hansjörg Meuschel <[EMAIL PROTECTED]> wrote:
Hello,
in a bean, how can I extract the IP adress of a user?
I tried
H
Hi,
there is the Eclipse WebTools Project. It includes JSF support!
-Matthias
On 6/1/06, Murat Hazer <[EMAIL PROTECTED]> wrote:
Did you try MyEclipse, it also have hibernate, spring and other framework
support...
regards...
On 6/1/06, Alberto Marquÿe9s < [EMAIL PROTECTED]> wrote:
>
> He
Hello,
in a bean, how can I extract the IP adress of a user?
I tried
HttpServletRequest request =
(HttpServletRequest)((ServletContext)
FacesContext.getCurrentInstance().getExternalContext().getRequest());
String IP = request.getRemoteHost();
but whatever I did I got
Dear List,
I welcome suggestions from all of our members,making the
best utility of My faces tags for writing the code for pop up Help
frame by not using JavaSCript.
Regards,
Chandru.
Did you try MyEclipse, it also have hibernate, spring and other framework support...regards...On 6/1/06, Alberto Marquÿe9s <
[EMAIL PROTECTED]> wrote:He is unstable, I have version 3,5 when unfolding an application are times that does not start, the refactor of classes and packages there are ti
He is unstable, I have version 3,5 when unfolding an application are times that does not start, the refactor of classes and packages there are times that make bad. Often I must reset Windows so that it finds the route of the context of the servant. thanks[EMAIL PROTECTED] escribió: You thin
Hi,I strongly suggest the final version (3.6.0) of Exadel Studio.CagatayOn 6/1/06, Ondrej Svetlik <
[EMAIL PROTECTED]> wrote:Alberto Marquÿe9s wrote:> Hello somebody knows an IDE jsf, I practice and stable that is not
> exadel please I am working with and is very very unstable. thanks>> ---
Alberto Marquÿe9s wrote:
Hello somebody knows an IDE jsf, I practice and stable that is not
exadel please I am working with and is very very unstable. thanks
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y m
You
think Exadel is unstable? I'm working with it since months and never had
problems... Which version do you use?
Other
IDEs are:
SUN
Creator 2 -->free
NitroX
Just
google
Regards,
Andy
-Ursprüngliche Nachricht-Von: Alberto Marquÿe9s
[mailto:[EMAIL PROTECTED]Ge
Hello somebody knows an IDE jsf, I practice and stable that is not exadel please I am working with and is very very unstable. thanks
LLama Gratis a cualquier PC del Mundo.Llamadas a fijos y móviles desde 1 céntimo por minuto.http://es.voice.yahoo.com
We're using Enterprise Architect http://www.sparxsystems.com.au/
Very nice tool! Not free though.
Jurgen
Op wo, 31-05-2006 te 15:50 +0200, schreef Hansjörg Meuschel:
> Hello, can anybody give me a hint for a tool to create diagrams of my
> 3-layer architecture including beans, databases, etc.?
>
Since I'm using tomahawk 1.1.2 I assumed
that I should use sandbox 1.1.2. I then tried sandbox 1.1.3 and I'm getting
much better results. Thanks
Jean
"Sean Schofield" <[EMAIL PROTECTED]>
wrote on 31/05/2006 21:09:28:
> Sandbox stuff is considered experimental. You should post a
new
> message
Hi Everyone,
This is probably a common question through here, however we're having a
range of issues trying to configure MyFaces and ADF to work together. The
problems we're experiencing are much like what is detailed on the last page
of the FAQ in the Wiki, however the information on how to reso
Hello, I've a form with multible elements . one of those are SelectOneMenu and i've value change listener on this element and onchange i submit the form to populate another field.
the problem is some of the other elements may have validation error since the form is not filed completely.How could
Problems with Lucene executing from Web with jsf. I do not understand because perhaps Lucene cannot be used in applications Web? This is the instruction that gives error: IndexSearcher oIndexSearcher = new IndexSearcher("C:\\opt\\index"); Query query = QueryParser.parse(sCadenaBusqueda,"cont
92 matches
Mail list logo