I think h:graphicImage should support byte[] binding as a value...
Mert
On 4/4/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:
Udo, when you are *generating* you image, you may take a look atCagatay's blog ([1])[1]
http://tinyurl.com/q7yff
Have a look at f:param to pass an attribute to a method.
For Example:
h:outputLink value=#{bean.method}
f:param name=nameOfVariable value=valueOfVariable /
/h:outputLink
-Ursprüngliche Nachricht-
Von: David Schlotfeldt [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 5. April 2006 04:56
or you can use jstl with jsf. It's the way we'd designed a page with custom table headers and custom columns (merged cells, rows etc etc.).
On 4/5/06, Werner Punz [EMAIL PROTECTED] wrote:
Hagay Avisar schrieb: Hi All, How can I simulate "colspan" behavior in JSF?
What is the substitute tag? Can I
There has been a change in ExtensionFilter handling where you can
optionally set inline javascript resource handling.
The problem is that all CSS has to be in the head, if not, it's not valid HTML.
regards,
Martin
On 4/5/06, Andrew Robinson [EMAIL PROTECTED] wrote:
I'm still looking for a
Mert alkan wrote:
or you can use jstl with jsf. It's the way we'd designed a page with
custom table headers and custom columns (merged cells, rows etc etc.).
On 4/5/06, Werner Punz [EMAIL PROTECTED] wrote:
Hagay Avisar schrieb:
Hi All,
How can I simulate "colspan" behavior in
hello users,
i want to invoke a method for sorting a list in a managed bean of my app
within another managed bean. can anyone give me a hint ?
best regards, thanks in advance,
ben
Hi,
it is not allowed to set the id attribute per ValueBinding expression,
see jsf-spec 1.1 Chapter 3.1.4 (last sentence).
Regards,
Volker
Conway. Fintan (IT Solutions) wrote:
It might be that you are setting the id to a literal value
#{Travel.travelNr}, instead of asking MyFaces to get
Hi.,
CSS style for selectOneRadio is not working. Please see ..
h:selectOneRadio styleClass=selectOneRadio
value=#{configuration.leasingartSelected} onclick=submit();
valueChangeListener=#{configuration.leasingartValueChange}
Thx a lot for your explaining response, that could be the reason for my
fault. but the roots of my was another one.
i tryed to nest a h:datatable within a t:datalist and the ids the
datatables got were the same. so i tryed to set the ids by myself
but the hole combination was a never ending
the spec :) i should read much more thx for the information but as i
said in my last mail there is a problem assigning ids to the nested
h:datatables in the t:datalist
thx for your response,
ben
Volker Weber schrieb:
Hi,
it is not allowed to set the id attribute per ValueBinding
Works like a charm!Thanks Murat (and Martin)ThomasOn 4/4/06, Murat Hazer [EMAIL PROTECTED]
wrote:Hi,You should add this line just above
facesContext.responseComplete() line;facesContext.getApplication().getStateManager().saveSerializedView( facesContext);PS: Martin's solution...
On 4/4/06,
Hey John,
Obviously, the Class JSFAttr hsa a static property called
JAVASCRIPT_LOCATION. I guess, it's an Integer or some hash pointing to a
String stored in a Map or a Property-file that you can access via the
component-attributes.
You shoul probably just have a look at the get-method of the
Hi Andrew,
for tobago i have implemented some javascript code to enable adding of
link and script tags to the html/head after loading accordant commands
via ajax, search for 'ScriptLoader' and 'ensureStyleFiles' in
http://tinyurl.com/kcdzd.
You can look on
Hi,Take a look to the examples in the myfaces source code (sortTable.jsp).(you can checkout the examples for SVN with any SVN client, http://myfaces.apache.org/source-repository.html
)regards...On 4/5/06, Benjamin Bratkus [EMAIL PROTECTED] wrote:
hello users,i want to invoke a method for sorting a
I want to trigger action in other frame from newspaper table. For that I
try to use state saving with command link. It all works very well with
datatable.
With newspaper table when I try to do same thing then it seems that there
is problem with state saving and method described above is not
Hi
I have just downloaded the nightly build for tomahawk and myfaces. I have put up all the lib files into my WEB-INF/lib directory. When I try to run my existing code, I get the following exception
java.lang.NoSuchMethodError:
hi all,
Currently, i'm using JDBC statements, and using Oracle db. But got a feeling
these JDBC statements are going to be Oracle specific... Please help me
confirm this is true?
If using Hibernate, will it tie to Oracle db or it will be regardless of the
backend db, it can just run in any db
Hi,Why not simply give your own extension of org.apache.myfaces.application.ActionListenerImplso any exception thrown could be catched by your code and FacesMessage or FacesErrors created?
Is this what you are trying to achieve?On 4/4/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
We have a
101questionjsf wrote:
Currently, i'm using JDBC statements, and using Oracle db. But got a feeling
these JDBC statements are going to be Oracle specific... Please help me
confirm this is true?
Very likely. Oracle's dialect of SQL is proprietary.
If using Hibernate, will it tie to Oracle db
You may also want
to take a look at
http://wiki.apache.org/myfaces/AccessingOneManagedBeanFromAnother
-Matthias
-Ursprüngliche Nachricht-Von:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]Im Auftrag von
Murat HazerGesendet: Mittwoch, 5. April 2006
10:55An: MyFaces
Benjamin-
one thing you could use is Struts Shale. Its AbstractFacesBean has
getBean() to just simple call getBean(nameOfmyBB); instead of all
that VariableResolver related stuff. It keeps your BBs simple.
-Matthias
On 4/5/06, Matthias Kahlau [EMAIL PROTECTED] wrote:
You may also want to take
Hi guys.
This is not a MyFaces related problem, but a JSF related problem. Maybe
someone here could help me.
I'm writing a set of components for a new web application based on JSF.
Among requisites there is the need to build some forms in a dynamic way:
the application will sell products that
Hi,
would be better if we fix that issue in the component directly. I will
have a look on that.
The server side switch does a round trip to server in every case when
you are switching to the next tab, this requires a post and so there
is the need of a button. Client side does the switch only via
It depends on which Hibernate functions and SQL features you'll use.
When you use SQL subselects, for instance, I think this won't be supported
by all dbs ...
-Matthias
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag
von 101questionjsf
Gesendet:
As I know from my app, the panelTabbedPane had only a button for the active
tab by default. And why should someone press the button for the active
tab..?
-Matthias
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag
von Gerald Müllan
Gesendet:
I use the tomahawk tree2 to display contents in my database. The tree
structure is created in my code and leaf and node elements will vary greatly
depending what the user is viewing.
I overcame the problem of the preserve toggle attempting to output a node
when it was actually a leaf, by
And EJB3 is heavily inspired of Hibernate. Really I wouldn't go the
JDO way. By the way, JPA is going to be the official persistence
specification.
On 4/5/06, Jonathan Harley [EMAIL PROTECTED] wrote:
101questionjsf wrote:
Currently, i'm using JDBC statements, and using Oracle db. But got a
Hm..have a look at the html-source. There are three input elements,
one for each tab.
The difference is only in another applied style to the input element
over ...activeHeaderCell.
regards,
Gerald
On 4/5/06, Matthias Kahlau [EMAIL PROTECTED] wrote:
As I know from my app, the panelTabbedPane
If you have existing SQL and are comfortable with it, you may want to
look at using iBATIS for your database access, too:
http://ibatis.apache.org
It is a data mapper, meaning that it maps your sql to java objects
instead of an ORM that maps database objects to java objects.
Larry
On 4/5/06,
Hi all,I am relatively new to JSF and have run into a bit of a problem and need some advice.I have a semi complex web form where I would like to use a selectOneMenu and valueChange events to alter various form field values depending on what is selected.
selectOneMenu is used like this:select
Ok, but I don't understand why they use CSS to render the active tab's input
as button (maybe it's only an IE specific behaviour...)
-Matthias
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag
von Gerald Müllan
Gesendet: Mittwoch, 5. April 2006 13:22
Since there are lot's of mentioned frameworks ...
Spring DAO is also nice to use. I like Spring's JDBCTemplate. Easy to
use with SQL and no aditional object-based layer, like Hibernate, is
needed.
-Matthias
On 4/5/06, Alexandre Poitras [EMAIL PROTECTED] wrote:
And EJB3 is heavily inspired of
Hi!
The updated values of the Map strings in the params object are correct
when displayed with a outputText component. But when used with an
inputText component the value isn't updated.
You'll find a valueChangeNotifier in tomahawk sandbox which will fix
your problem.
A jsp example:
Actually I once used this feature for component programming
as far as I can remember
component id=bla javascriptlocation=http://blablabla.../
that is all there is to it, the component then should fetch the location
from a resource not being hostet from the local tomahawk or sandbox jar.
Thanks,that's great will give that try that now.Grazie,MikaelOn 05/04/06, Mario Ivankovits [EMAIL PROTECTED]
wrote:Hi! The updated values of the Map strings in the params object are correct
when displayed with a outputText component. But when used with an inputText component the value isn't
Jonathan Harley schrieb:
You might want to look at JDO, which is the current standard for using
databases (and other kinds of datastore) from Java.
Actually no all things currently settle around javax.persistence (jpa)
jdo and others (Hibernate) will be available as extensions and base
After upgrading the myFaces I faced this problem with jenia:Error initializing ServletContextjava.lang.IllegalArgumentException: Class org.jenia.faces.template.handler.ViewHandler is no javax.faces.application.ViewHandler
at
Hi,
We are using client side state saving and are having some problems
with the amount of data sent to the client.
It appears that all forms on the page contains a hidden input field
containing the (same) object representing the state. One form
linkDummyForm is always present, and then of course
I was running into the same issue. I switched to server side state
saving, since I think the
issues with the back button have been fixed(?).
Another option would be to have one large form surround every page, but
I don't know how
correct that is. It would also make validation an issue.
Mads
Werner Punz wrote:
Jonathan Harley schrieb:
You might want to look at JDO, which is the current standard for using
databases (and other kinds of datastore) from Java.
Actually no all things currently settle around javax.persistence (jpa)
Not currently, no. JPA is a proposed standard,
Jonathan Harley schrieb:
Indeed. Because JPA is such a limited standard (only covers
relational datastores, for one thing),
Actually that is not quite true, JPA is not really limited
to relational datastores, lets say it that way from its
amount it covers pretty much everything Hibernate 3.0
hi,
whenever I have a validation error in a form all the submitted values
are cleared. This behavior appeared when I added tiles to the
application. Without tiles it works OK (shows submitted values after
validation error).
I've made a minimum example showing this problem:
testLayout.jsp
%@
Looks like a Shale /Struts/ related question.
Your backing bean needs to be a ViewController, when using Shale.
If your page is located like /trees/entry.jsf the bb behind needs to be
declared as trees$entry
HTH,
Matthias
btw. here is a nice blog entry about a custom ViewHandlerMapper ([1])
For Tomcat, the solution appears to be:
go to tomcat-install-dir/conf/catalina.properties and add this to
lines:
http.proxyHost=proxy address
http.proxyPort=proxy port
The H and the P of host and port must be in capital letters.
Adam
Mike Kienenberger wrote:
Network errors during xml
Werner Punz wrote:
Jonathan Harley schrieb:
Indeed. Because JPA is such a limited standard (only covers
relational datastores, for one thing),
Actually that is not quite true, JPA is not really limited
to relational datastores
Well, I suppose not but its query language is (yet another)
We use it like this:
dependency
groupIdorg.apache.myfaces.core/groupId
artifactIdmyfaces-api/artifactId
version1.1.3-SNAPSHOT/version
scopecompile/scope
/dependency
On 4/5/06, Adam [EMAIL PROTECTED] wrote:
For Tomcat, the solution appears to be:
go to tomcat-install-dir/conf/catalina.properties and add this to
lines:
http.proxyHost=proxy address
http.proxyPort=proxy port
The H and the P of host and port must be in capital letters.
While this will
Trying to run jenia example I got:java.lang.NoClassDefFoundError: org/apache/myfaces/renderkit/html/HtmlFormRendererBaseAnd he is write! There is not HtmlFormRendererBase in this package. but in org/apache/myfaces/shared_impl/renderkit/html/
I could not figure out what is happening here?!-- from
Hi,
why not using extensions filter always? You can apply every ressource
you want, also when using extensions filter.
Just use the style-sheets as ever before. Or do I missunderstand your problem?
cheers,
Gerald
On 4/5/06, joelus [EMAIL PROTECTED] wrote:
I used the tabbedpane component,
On 4/4/06, Richard Wallace [EMAIL PROTECTED] wrote:
I'm not sure of exactly what I'd do. At the moment I'm thinking that
the three things that I'd really like to see are more customizable
messages
See below.
required being a child element rather than a component attribute
But the link won't be correct what I want. If #{bean.method} returns
test.xhtml the anchor will be
a id=_id0 href=test.xhtml?nameOfVariable=valueOfVariable/
The url needs to be exactly what I have below. It's for a sites
navigation so for search engine optimization (SEO) reasons I can't be
Just use img src=/images/myimage.gif /
graphicImage is just a component that adds the context path to
relative links and escapes the URL.
-Andrew
On 4/4/06, Lance Frohman [EMAIL PROTECTED] wrote:
Sorry, I know why the jsessionid is there, that's not the
problem. I have my .gif files being
Hi,
I want to ask that question again. Does anyone have an
idea how to realize drag and drop function in tree2? All I want to do is drag
one element from one tree and drop it into another tree.
Thanks!!!
That doesn't make any sense. h:graphicImage renders a tag not an image.
img src=... /
Images are not actually in HTML pages, just tags that insert images.
Then the browser uses an HTTP request to get the images from the
server to insert into the page when the page is rendered. If there was
a
Hi
I m trying to use the panel tabbed pane with the serversidetabswitch = true. Therefore I have declared a tab change listener with the following source code
public class TabSupport implements Serializable, TabChangeListener {private static final long serialVersionUID = 1L;int
Hey Mike,
checked several times, but there's only the nightly build... I don't
find any RCs. There's only MyFaces 1.1.1 in the binaries... I'd really
like myfaces.apache,org to put there RCs right where the rest of the
binaries are if there are any available... It's quite exhausting always
Hello
I use tree2 , and i want to kown how use toggleExpandedEvent? can i
catch the node expanded with this event?
I build tree2 with database, and to an good optimisation, i need to
build child node when is expanded.
Thanks,
On 4/5/06, Andreas Zeller - zit-systems [EMAIL PROTECTED] wrote:
checked several times, but there's only the nightly build... I don't find
any RCs. There's only MyFaces 1.1.1 in the binaries... I'd really like
myfaces.apache,org to put there RCs right where the rest of the binaries are
if
On 4/5/06, Andreas Zeller - zit-systems [EMAIL PROTECTED] wrote:
I'd really like
myfaces.apache,org to put there RCs right where the rest of the binaries are
if there are any available... It's quite exhausting always having to use
google on the *.apache.org sites to find stuff instead of
Mads Henderson schrieb:
Hi,
We are using client side state saving and are having some problems
with the amount of data sent to the client.
It appears that all forms on the page contains a hidden input field
containing the (same) object representing the state. One form
linkDummyForm is always
On 4/5/06, Rafael Nami [EMAIL PROTECTED] wrote:
if your xmls are available, you can try copy the DTDs to a folder (WEB-INF
is good), and referencing the DTD file in DOCTYPE part like this:
Where you have PUBLIC, switch to SYSTEM, and where you put the url, just put
the path to the DTD.
I'd
Yahoo! UI lib has JavaScript components which are drag n drop able.
Also personal google start page.
You may take a look and implement that missing feature to tree.
Feel free to contribute that work back to MyFaces ;-)
-Matthias
On 4/5/06, Yixing Ma [EMAIL PROTECTED] wrote:
Hi,
I want to
Hi again,you don't happen to know how to get the valueChangeNotifier to work with facelets do you?I downloaded the sandbox.taglib.xml from the facelet website but it didn't contain an entry for that tag, and I am not quite sure of how to add it myself since it isn't an ordinary component.
(I know
On 4/5/06, Andrew Robinson [EMAIL PROTECTED] wrote:
If you want a dynamic image, best thing to do is create a servlet then
have the tag just point to that servlet with path query strings
configured as you need them.
There's a sandbox component that does this.
s:graphicImageDynamic
However,
On 4/5/06, Gerald Müllan [EMAIL PROTECTED] wrote:
I am just wondering, if you don`t specify this attribute - default
should be client side - the button should not be displayed.
I'm fairly certain the default is client-side.
Look at the HtmlTree component. It sets it up so that if you don't
specify a varNodeToggler it calls itself.
On 4/5/06, Adrien FOURES [EMAIL PROTECTED] wrote:
Hello
I use tree2 , and i want to kown how use toggleExpandedEvent? can i
catch the node expanded with this event?
I build tree2 with
Hi,
I am getting following error by doing what you are suggested. Please help me.
Cannot set value for _expression_ '#{myCars.data.wrappedData}' to a new value of type java.util.ArrayList.
The way I did is
t:saveState value=#{myCars.data.wrappedData}/
t:saveState
Thanks,
Emily
On 12/24/05,
On 4/5/06, joelus [EMAIL PROTECTED] wrote:
Is there anyway around this? ie, can I either override the css supplied when
using the extensions filter for my tabbedpane, or, can I get the
inputcalendar component to work without the extensions filter?
There may be better ways to do this, but since
I've got a jar that has a custom converter. I'm trying to set it up so
that there is a faces-config.xml in the jar file that will be used to
make the converter available. When the webapp loads tho, I'm getting:
Caused by: java.io.FileNotFoundException: JAR entry
META-INF/faces-config.xml
Hi
Does anyone know what the problem could be
?
In action listener i populated bean properties, but
when getXXX() is called, new instance of bean is created..
Thanks
On 4/5/06, Mikael Andersson [EMAIL PROTECTED] wrote:
you don't happen to know how to get the valueChangeNotifier to work with
facelets do you?
I downloaded the sandbox.taglib.xml from the facelet website but it didn't
contain an entry for that tag, and I am not quite sure of how to add it
On 4/5/06, Emily Gu [EMAIL PROTECTED] wrote:
I am getting following error by doing what you are suggested. Please help
me.
Cannot set value for expression '#{myCars.data.wrappedData}' to a new value
of type java.util.ArrayList.
The way I did is
t:saveState
Hi Mike,
Thank you a lot. The way you gaveworks.
Thanks,
Emily
On 4/5/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
On 4/5/06, Emily Gu [EMAIL PROTECTED] wrote: I am getting following error by doing what you are suggested. Please help
me. Cannot set value for _expression_
I am successfully
using the t:inputFileUpload MyFaces component. However, my form contains
other components that require validation and several fileUpload components. If
there is a validation error after submitting the form, the file path is lost in
all fileUpload components and I have to
On 4/5/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
Grabbing the 1.1.3 snapshot is probably good enough at this point.
http://cvs.apache.org/builds/myfaces/nightly/
Oops! I just found out that you want one of these files to get the
release candidate!
myfaces-core-1.1.2-SNAPSHOT-bin.zip
Matthias Wessendorf wrote:
Looks like a Shale /Struts/ related question.
Yes, any further questions on this topic should be asked on the
struts-users list.
Your backing bean needs to be a ViewController, when using Shale.
If your page is located like /trees/entry.jsf the bb behind needs to
I think JPA remains unfinished for the moment mainly for political
reasons. The final draft has been accepted if I remember correctly.
Anyway you can choose what you prefer but I think you went a little
bit too hard on Hibernate. I know the JDO community don't like Gavin
King and have their own
Can you give me Facelet tag.xml for this component?
On 4/6/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
On 4/5/06, Mikael Andersson [EMAIL PROTECTED] wrote:
you don't happen to know how to get the valueChangeNotifier to work with
facelets do you?
I downloaded the sandbox.taglib.xml
78 matches
Mail list logo