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 there
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
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
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
mraible wrote:
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
Matt-
you are using name space org.apache.myfaces.shared_impl.**;
I strongly recommend to use org.apache.myfaces.shared_tomahawk.**;
The shared classes are *integrated* in tomahawk.jar and myfaces-impl.jar.
If you use shared_impl your Renderer depends on myfaces as your jsf runtime.
By using
An alternative to phaselisteners could be weblets
(http://weblets.dev.java.net)...
in its actual form it can read the image from a jar, but as it
is opensource it could be changed to read from a db...
hth
Alexander
-Original Message-
From: Ondrej Svetlik [mailto:[EMAIL PROTECTED]
Hey Matthias,
you should put this excellent description somewhere in our wiki.
Ciao,
Mario
Matt-
you are using name space org.apache.myfaces.shared_impl.**;
I strongly recommend to use org.apache.myfaces.shared_tomahawk.**;
The shared classes are *integrated* in tomahawk.jar and
feel free to enhance it
http://wiki.apache.org/myfaces/Shared_-_impl_or_tomahawk
On 6/2/06, Mario Ivankovits [EMAIL PROTECTED] wrote:
Hey Matthias,
you should put this excellent description somewhere in our wiki.
Ciao,
Mario
Matt-
you are using name space
Matt-
The only issue I've found (so far) is that I need to put two h:outputText/
elements after a h:panelGroup when I have columns=3 on h:panelGrid.
is there a special reason, why you need a *grid*, that renderes ul and li ?
The issue is *really* the columns attribute...
Perhaps I got not
On 6/2/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:
Matt-
The only issue I've found (so far) is that I need to put two h:outputText/
elements after a h:panelGroup when I have columns=3 on h:panelGrid.
is there a special reason, why you need a *grid*, that renderes ul and li ?
The issue is
Hi
Is to possible to get List size in JSF EL
?
Thanks
Impossible to make it work nor if it wants invoking to the SearchFiles class main of demo. Nobody to worked with JSF + Lucene, as soon as is a class of the IndexReader type to reader = IndexReader.open(index) any class of Lucene.Problems with Lucene executing from Web with jsf. I do not
AFAIK, no. You have to provide a getter in your backing bean to
delegate that functionality, like this:
public getListSize()
{
return yourList.size();
}
Or, if you are using an extended tomahawk datatable, you can use the
attribute rowCountVar (see the docs for more info [1]), that allows to
Hi anthony
Many many thanks, i solved the pb by included all my-faces jar in the war
file and add this dummy class.
if you include the original'one wich is in the jsf-ri , you've got a blank
page !
All works fine !
Thank
Bruno
--
View this message in context:
Hello all,
I apologize for what may seem to be a naive question.
I have a command button / output link and other small widgets that are
exactly the same , may be used on multiple pages, and may or may not appear
at the line item level within a datatable depending on a property in the
bean
octoberdan dan at october5th.net writes:
Figured it out! This happens if I've changed the structure of the jsf page
and reviewed it without restarting the users session... weird... anyone?
--
View this message in context: http://www.nabble.com/Client-id+%
Hi List,
I know Javascript allows to get rid of the toolbar (disable back
button!! Plus more screen real estate :-), but as JSF dictates the
entire page flow, I was wondering whether somehow this could be done
WITHOUT javascript and WITH JSF/MyFaces.
(or, at worst with a onload script for
According to the Myfaces Wiki the Tree component is
considered obsolete?
I'd like to use a
Tree Table, can Tree2 have multiple columns of data displayed at the leaf and
children level?
Thanks,
--Todd
I'd like to know if
there is a MyFaces Tomahawk guide?
The samples are ok,
the Wiki lacks a lot of detail and the Javadocs can only do so much in terms of
learning how to properly use the components.
This isn't negative,
I'd just like to know if I'm missing something.
MyFaces Tomahawk
+1 on the documentation. Having spent some time grokking MyFaces, I can say
that it's truly needed. I'll help in any way that I can on such an effort.
-Original Message-
From: Todd Patrick [mailto:[EMAIL PROTECTED]
Sent: Fri 6/2/2006 10:43 AM
To: MyFaces Discussion
Subject: Is there a
When Sun Java System Application Server 8.2 starts up; it logs a lot of
warning messages to the server.log file.
Each warning relates to using org.apache.commons.digester.Digester.
Is there an issue that I need to resolve?
What version of the digester package do I need?
Thanks,
--Todd
Another alternative is a function with facelets
Java:
public static int sizeOf(Collection coll)
{
return coll.size();
}
taglib.xml:
function
function-namesizeOf/function-name
function-classyourpackage.YourClass/function-class
function-signatureint
Hello!
Could someone help me: I want in my jsp page a menu to select the language
of the page. For that I was doing this:
h:selectOneMenu id=langs style=width:150px value=#{EF_JspWizard.lang}
onchange=#{EF.changeLang} immediate=false
f:selectItems value=#{EF_JspWizard.listLang} /
To continue, I've selected MyFaces and Tomahawk for a mission critical
engineering project.
I can say right now that I might need to look else where if
documentation or a guide is lacking.
I really can't spend a lot of time piecing together information when I
know development needs to be done.
Not sure of one that is built and can be downloaded, but you could do
this with server side state saving and a PhaseListener I think (or a
view handler?). MyFaces saves an arbitrary (configurable) number of
views on the server. So theoretically your could remember the last
view of the user in the
tree2 has not be used as a tree table
ADF Faces contains also a treeTable.
But using treeTable from tomahawk is fine too for now.
But looking at Adf Faces is perhaps the better choice.
-Matthias
On 6/2/06, Todd Patrick [EMAIL PROTECTED] wrote:
According to the Myfaces Wiki the Tree
Todd,
You should take a look at two things:
The Study Guide: http://wiki.apache.org/myfaces/StudyGuide
FacesTrace: facestrace.sourceforge.net
Those two together made it possible for me to study the source code and
understand MyFaces. I would, however, strongly recommend taking a serious
There are WIKIs, perhaps the best way to get started is for a new WIKI
topic and have people start contributing. What do the MyFaces
contributors think?
-Andrew
On 6/2/06, Todd Patrick [EMAIL PROTECTED] wrote:
To continue, I've selected MyFaces and Tomahawk for a mission critical
engineering
We think that we seriously lack documentation. Indeed we do.
Any help is welcome.
regards,
Martin
On 6/2/06, Andrew Robinson [EMAIL PROTECTED] wrote:
There are WIKIs, perhaps the best way to get started is for a new WIKI
topic and have people start contributing. What do the MyFaces
Sure,
wiki is a good place. Lot's of documentation is already in it.
More is better than less.
BTW. adf faces has been donated to Apache Software Foundation. So, I
don't think that this software is so expensive (see [1]).
-Matthias
[1] http://wiki.apache.org/myfaces/ADF_Faces
On 6/2/06,
I could help on explaining tracing MyFaces using AspectJ if that's of any
interest. Let me know where's best to start.
Thanks,
James
-Original Message-
From: Martin Marinschek [mailto:[EMAIL PROTECTED]
Sent: Fri 6/2/2006 11:15 AM
To: MyFaces Discussion
Subject: Re: Is there a MyFaces
sure! traceing is also a good starting point for people,
interested in aop/aspectJ
thx,
On 6/2/06, James Richards [EMAIL PROTECTED] wrote:
I could help on explaining tracing MyFaces using AspectJ if that's of any
interest. Let me know where's best to start.
Thanks,
James
-Original
How about asking students to help as part of the practical parts of their
curricular work?
And how about asking companies to fund this effort?
A while ago I supervised 10 students writing tutorials for 4 different
Open Source projects. Turned out to be a great success.
Problem is that students
Matthias: Your correct, at the time I was looking at Oracle ADF before
they had donated ADF to Apache.
Oracle wanted nearly $4000.00 per CPU and this project is going on a 8
CPU SUN Solaris Server...
(Sounds of paper shredding.)
Thanks for the follow-up.
--Todd
-Original Message-
Can someone please post the subversion commands that extract the exact source code that was used to build these two releases?I have been able to get the latest version of the source code but things changed since the last release and I don't know how to extract the source code that was used to
Title: java.io.NotSerializableException: javax.faces.model.ListDataModel
Hi Guys!
Is it not possible to serialize a ListDataModel. I need to write a ListDataModel to saveState, but it doesn't work...
I get the following stack:
java.io.NotSerializableException:
Will be interested to get it also..
Costa Basil wrote:
Can someone please post the subversion commands that
extract the exact source code that was used to build these two releases?
I have been able to get the latest version of the source code but
things changed since the last release and I
Costa Basil wrote:
Can someone please post the subversion commands that extract the exact
source code that was used to build these two releases?
I have been able to get the latest version of the source code but things
changed since the last release and I don't know how to extract the
source
Use this
#{b.listModel.wrappedData}
as opposed to
#{b.listModel}
Dennis Byrne
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, June 2, 2006 12:54 PM
To: users@myfaces.apache.org
Subject: java.io.NotSerializableException:
Thank you, I got the code. Now, I noticed there is a package that I couldn't find in the source code and that is org.apache.myfaces.shared_tomahawk. What's going on, why is this package missing? Is it actually built by the build process? If yes, could you please provide the information on how to
Jesse Alexander (KSFD 121) wrote:
An alternative to phaselisteners could be weblets
(http://weblets.dev.java.net)...
in its actual form it can read the image from a jar, but as it
is opensource it could be changed to read from a db...
hth
Alexander
-Original Message-
From: Ondrej
Costa Basil wrote:
Thank you, I got the code.
Now, I noticed there is a package that I couldn't find in the source
code and that is org.apache.myfaces.shared_tomahawk. What's going on,
why is this package missing? Is it actually built by the build process?
If yes, could you please provide
Now, I noticed there is a package that I couldn't find in the source code
and that is org.apache.myfaces.shared_tomahawk. What's going on, why is this
package missing? Is it actually built by the build process? If yes, could
you please provide the information on how to create it?
Good
I've added the preliminary page:
http://wiki.apache.org/myfaces/TracingMyFacesUsingAspectJ
I'll update soon with more detail soon. I put the link to the topic on the
front page but feel free to relocate it.
Thanks,
James
-Original Message-
From: [EMAIL PROTECTED] on behalf of
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. Overflow:auto
How to solve this problem?
Yixing
Hi, Ondrej:I found the classes I was looking for in http://svn.apache.org/repos/asf/myfaces/shared/tags/ for but now the question is which ones have been used in the two releases, 2.0.0 or 2.0.1?Also, when label the code don't you label the whole source code tree so you know exactly the classes
I think it would be better if the shared classes are distributed in a separate jar file to avoid the class duplication. It is confusing the way it is right now having the same classes in two separate distribution jar files.Matthias Wessendorf [EMAIL PROTECTED] wrote: Now, I noticed there is a
Actually, all you need is to navigate away from the page and then back to the
page.
--
View this message in context:
http://www.nabble.com/Client-id-%3A-...-is-duplicated-in-the-faces-tree.-t1712357.html#a4684867
Sent from the MyFaces - Users forum at Nabble.com.
Costa Basil wrote:
Hi, Ondrej:
I found the classes I was looking for in
http://svn.apache.org/repos/asf/myfaces/shared/tags/ for but now the
question is which ones have been used in the two releases, 2.0.0 or 2.0.1?
Also, when label the code don't you label the whole source code tree so
I put the code beanB.size() = myTable.getRowIndex() before remove the item and now the item in ArrayList is never being removed.2006/6/1, James Richards
[EMAIL PROTECTED]:The example isn't very clear but based on the below
public void removeItem(ActionEvent event) {
Hey, it will get better. Catalin is working on including the source
code in the release. He fixed core and api already, stay tuned for the
rest!
regards,
Martin
On 6/2/06, Ondrej Svetlik [EMAIL PROTECTED] wrote:
Costa Basil wrote:
Hi, Ondrej:
I found the classes I was looking for in
Matthias,
I am trying out the WTP, on your suggestion. So far, I don't see any
auto-complete for JSF EL expressions (when editing JSP files). Is there
some way to enable this, or is the feature missing?
This is one of the most basic ways that a tool can support JSF, IMHO! :)
Regards,
Jeff
Hi Jeff,
From what I see on eclipse.org/webtools this is not in the actual
1.0.2 release of WTP.
It's in the 1.5 RC...
I was using WTP since a few months without even knowing of a JSF
support ! But it's very new, I'll give it a try with the WTP 1.5
release.
Anyway, it's a very good news.
Hi everybody,
I'm changing my application to run with myfaces 1.1.1, it
was developed using sun's reference implementation, and it
is working ok.
The problem I'm having is the value HtmlSelectOneMenu.getValue() returns
during the execution of ValueChangeListener.processValueChange() method.
In
Hi Jeff,
I use Eclipse for JSF development and Dreamweaver for JSF page design. It's
easy to round-trip between the two environments using JSFToolbox.
Dreamweaver has excellent dynamic code hint support for building managed bean
JSF-EL expressions:
Hmmm, I always thought that the model had not been updated when the
ValueChangeListener event is sent in which case the value would be the old
value and the new value is only available via event.getNewvalue(). If you
call renderResponse() from the value change listener it bypasses all model
Thanks Julian,
You made me reread faces docs, you are right.
ValueChangeListeners are called after Process Validators Phase, and
the model (Components values) is only updated (in the Update Model
Values Phase) after processing the ValueChange events.
Well I must correct my code,
There are some good reasons for not doing this. It was discussed
extensively on the dev list for several months so I won't rehash the
entire discussion here. These classes need to be shared between core
and tomahawk since we don't want two maintain sets of source code.
They need to have
Hi
I am following the example on this page
http://wiki.apache.org/myfaces/WorkingWithLargeTables
The first ten records show up but then when i click
on
any other number or button it does not go anywhere.
there is a java script error and then i dont see
anything errors on the jboss console as
60 matches
Mail list logo