Hi,
Does anybody knows how to execute a JSF action when user click on a row.
I found a not proper way and I'm looking for a simple.
Code used right now:
Hi everyone,
Recently I've added t:inputHtml component to our
current project. The problem is that I get '#00'
value instead of empty string when nothing entered
into the editor. Is it an expected behaviour? Or I
don't get something...
Thank you very much. Your help is very welcome :)
Thanks a lot for your answer.
Please would you mind telling me if I well understood:
-First case:
I have this in my jsp page:
h:selectOneMenu id=fn style=width:150px value=#{
jspFormEPFService.functionLabel} onchange=submit();
f:selectItems
I surrounded tree2 (server mode) with ajaxanywhere. It works great.
2006/7/9, Andrew Robinson [EMAIL PROTECTED]:
Have a look at the WIKI:
http://wiki.apache.org/myfaces/Tree2
Tree2 doesn't support AJAX at the moment, but there has been some
discussion for the future.
On 7/9/06, O K [EMAIL
Could you please rerun the metrics with the performance tuning suggestion found
at:
http://wiki.apache.org/myfaces/Performance
Thx.
Mike
--- jfaronson [EMAIL PROTECTED] wrote:
I grabbed the attachments from the original performance bug
Assume page_B.jsf depends on page_A.jsf.
The backing bean for page_B.jsf has request scope. The backing bean for
page_A.jsf has session
scope.
In the constructor for the backing bean for page_B.jsf a check is made for the
backing bean for
page_A.jsf.
If the user has first gone to page_A.jsf
Hello Nimisha,
You need to use the extensions filter provided by MyFaces in order to
have images displayed.
See http://myfaces.apache.org/tomahawk/extensionsFilter.html
Kind regards from the Lake of Constance,
Matthias
Thanks Catalin, but that still doesn't work... I don't know what to do now,
should I give up on myfaces or what? It seems like such an obvious thing but
even using your suggestion, the 'car' I get is the one originally occupying
that row, not the one thats there after the sort. Any more
I'm not sure whether this helps you joelus, but I have a data table with
sort headers and a column with links that perform actions on the row.
In order to have access to the component I extended my backing bean from
HtmlDataTable and bound the component to it in the JSP.
Thus I have access to the
The problem is that Im using the panelnavigation inside tabbedpane where I
have to have enclosed it in a form.
:(
/ldr_
--
View this message in context:
http://www.nabble.com/panelnavigation2-stylesheet-not-working-in-form--tf1915469.html#a5249220
Sent from the MyFaces - Users forum at
Hi,
I am having a datatable with no of rows. For every row i have a button
and username, password, etc fields. Now when i click on the button of any
row. one blank row should be added next to that that row.
Here, conditions can be he can click on more then one button without adding
data.
Why not create a list in your backing bean to store the rows. Add the
backing bean to session scope or (a better approach) use the t:saveState tag
to store the list in the request.
-Original Message-
From: Purvesh [mailto:[EMAIL PROTECTED]
Sent: Monday, July 10, 2006 6:27 AM
To:
Hi,
I am working with two selectOneListBox in jsf
If I selected one item in first list box the corresponding values(from
the database (setting that values to preparedstatement))
must displayed in second list box
For that I used value change listener .
When I am submitting
Hi,
the value of f:selectItems must be a array of SelectItem.
you shoud have:
public SelectItem[] getHosts() {
...
}
regards,
Volker
2006/7/10, sarma [EMAIL PROTECTED]:
Hi,
I am working with two selectOneListBox in jsf
If I selected one item in first list box the corresponding
Have you tried the selectManyPicklist from the sandbox? Works like a charm!
-Original Message-
From: sarma [mailto:[EMAIL PROTECTED]
Sent: Monday, July 10, 2006 7:16 AM
To: users@myfaces.apache.org
Subject: selectonemenuitem problems Value is not a valid option
Hi,
I am working
Hi,
I would like to know if adf:table load all items in memory.
Regards
Where are the facets available for components documented?
Based on the impl's TLD [1], I expect the facets are documented in the
description of the tag. This is not consistently done in Tomahawk's TLD.
As an example, the MasterDetail example [2] uses the facet
detailStamp. This facet is not
It depends on how you use it.. you can implement a custom
CollectionModel to load rows as requested.
As a guideline, you can read the wiki entry [1], altought it is
referred to the standard table component.
[1] http://wiki.apache.org/myfaces/WorkingWithLargeTables
Bye
Cosma
2006/7/10,
Hello.
Stupid situation.
dataTable, row on click - show Edit Form that have one field and 2
buttons (Save and Cancel). Also i have newItem_button, which show the
same form.
Problem with Cancel. I emulate problem with such bit of code (without
dataTable):
page:
h:form id=foo
h:commandButton
Hi,
I'm using MyFaces to display some heirarchical data and to do so I'm
nesting dataTables within each other. Displaying the data works fine,
but I place commandButtons in the tables so the user can get detailed
information of several different types about the data I'm displaying.
Within the
Hey Matthias,
Thanks a ton.. i was missing
filter-mapping filter-nameMyFacesExtensionsFilter/filter-name url-pattern/faces/myFacesExtensionResource/*/url-pattern/filter-mappingin my web.xml
..
Regards,
Nimisha.
On 7/10/06, Matthias Fischer [EMAIL PROTECTED] wrote:
Hello Nimisha,You need to use
(MyFaces 1.1.3, Tomahawk 1.1.3)
I am receiving a stack trace when coordinating the groupBy column with the
sorting column. The variable created by sortColumnVar is used to in
t:column's groupBy attribute. When I click on a column header I receive a
stack trace.
I have verified the variable
h:inputText render incorrect value...
after pressing ShowExisted button we get -
HtmlTextRendererBase.renderInput(...) {
...
String value = RendererUtils.getStringValue(facesContext, component);
...
writer.writeAttribute(HTML.VALUE_ATTR, value, JSFAttr.VALUE_ATTR);
...
}
Hi-
I have a PhaseListener that does some
business logic. If there is a RuntimeException, I want to automatically
redirect to my error page. With my PhaseListener, if it throws a
RuntimeException, the exception is swallowed and logged in PhaseListenerManager.informPhaseListenersAfter(...).
Well, I was just looking at a different UIData issue, and I may have
come across something relevent. Try using t:dataTable with
preserveRowState=true and see if it fixes this problem. It may cause
other problems however.I noticed that the JSF RI 1.2 UIData has
undocumented behavior where
Actually, it's preserveRowStates=true (with an 's')
On 7/10/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
Well, I was just looking at a different UIData issue, and I may have
come across something relevent. Try using t:dataTable with
preserveRowState=true and see if it fixes this problem.
Hello everybody,
I am using the tree tag at the moment but I will probably need to use
tree2 instead. However I miss some of the very handy attributes here:
rowOnMouseOver and rowOnMouseOut
Unfortunately there are no such attributes in tree2.
How does it work with tree2?
Kind regard,
Matthias
Hi,
Thanks for the advice. I tried it and it didn't help. Do you think
this is a bug? By the way, I'm using the MyFaces that comes with
JBoss 4.0.4.GA and the EJB3 deployment profile. Should I attempt to
upgrade the library jars and see if that helps? I'd like to keep
JBoss as stock as
How do I display Master/Detail table with the detail displayed by default?
Based on the Master/Detail example, I am able to display the table, but the
detail is hidden by default.
Paul Spencer
On 7/10/06, Michael Litherland [EMAIL PROTECTED] wrote:
Thanks for the advice. I tried it and it didn't help. Do you think
this is a bug? By the way, I'm using the MyFaces that comes with
JBoss 4.0.4.GA and the EJB3 deployment profile. Should I attempt to
upgrade the library jars and see if
Yeah, I was using perserveRowStates. I'll try the latest myfaces and
see if it helps.
Thanks,
Mike
On 7/10/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
On 7/10/06, Michael Litherland [EMAIL PROTECTED] wrote:
Thanks for the advice. I tried it and it didn't help. Do you think
this is a
Just as an FYI, using preserveRowStates appears to work, but I don't
know what other problems it might cause. Here's what I'm considered
-- using updateActionListener and a variable to only set it when I
need it.
t:dataTable
OK, Even with myfaces 1.1.3 and tomahawk 1.1.3 I'm still having this issue.
Any other ideas?
Thanks,
Mike
On 7/10/06, Michael Litherland [EMAIL PROTECTED] wrote:
Yeah, I was using perserveRowStates. I'll try the latest myfaces and
see if it helps.
Thanks,
Mike
On 7/10/06, Mike
Good informtion. Thanks for tracking this down. The
updateActionListener would not have worked in my case as I have
multiple tables and they would each need to preserve the state if any
button in any list is clicked. But good to know.
It would be great with h:dataTable or at least t:dataTable to
The getting started guide said the examples are on the
download page (http://myfaces.apache.org/download.html).
I noticed the examples are on the nightly build page but not
on the distributions page (http://myfaces.apache.org/download.html).
Am I missing something?
I am looking
This could help;http://wiki.apache.org/myfaces/Handling_Server_ErrorsCagatayOn 7/10/06,
Adam Brod [EMAIL PROTECTED] wrote:
Hi-
I have a PhaseListener that does some
business logic. If there is a RuntimeException, I want to automatically
redirect to my error page. With my PhaseListener, if it
Apparently this is a year-old issue with JSF.
We're hoping it's going to be addressed in the 1.2 MR release.
https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=153
Sounds like the real fix is to rework how UIData behaves. I think
the only JSF 1.1 solution is to add a
for h:dataTable each change needs (or change request (or sorta)) needs
to go to the EG. t:dataTable is up to us.
Can you create a ticket for an improvement?
On 7/10/06, Andrew Robinson [EMAIL PROTECTED] wrote:
Good informtion. Thanks for tracking this down. The
updateActionListener would not
interesting.
Thanks Mike
On 7/10/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
Apparently this is a year-old issue with JSF.
We're hoping it's going to be addressed in the 1.2 MR release.
https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=153
Sounds like the real fix
Thanks for responding. Unfortunately
that doesn't work for PhaseListeners because MyFaces PhaseListenerManager
swallows the exception without allowing the Servlet container to redirect
to the error page (specified in web.xml).
Perhaps I should log this as an issue
in MyFaces?
Adam Brod
Product
On 7/10/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:
Can you create a ticket for an improvement?
Once I understand the issues involved, I'll probably create a ticket
on adding a t:dataTable attribute to fix the problem for JSF 1.1.
I'm still not entirely certain what the side-effects of
You're right, it's not working, but only if preserveDataModel=true; if you don't need your model to be preserved between requests, a temporary workarround, until this is resolved, might be to set it to false. Let me know if it works out for you with preserveDataModel=false and using the
To be honest, I followed the thread and it looked interesting.
I need to create a sample for this use-case to look deeper into that issue.
FAQ sounds good to me. Can you do that ?
-Matt
On 7/10/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
On 7/10/06, Matthias Wessendorf [EMAIL PROTECTED]
I've already got a sample. I'll go ahead and open a JIRA issue on
this and attach it.
Today's not a great day for me to be writing documentation. I'm
heavily medicated :-)
On 7/10/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:
To be honest, I followed the thread and it looked interesting.
Rick we are about to release MyFaces core 1.1.4
after that the next tomahawk will follow.
Sharath Reddy did something regarding this (or was it catalin)?
Sorry for the inconvenience
On 7/10/06, Rick [EMAIL PROTECTED] wrote:
The getting started guide said the examples are on the
Great.
thanks mike
On 7/10/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
I've already got a sample. I'll go ahead and open a JIRA issue on
this and attach it.
Today's not a great day for me to be writing documentation. I'm
heavily medicated :-)
On 7/10/06, Matthias Wessendorf [EMAIL
You can go ahead an implement these attributes.
A patch is always appreciated ;)
On 7/10/06, Matthias Fischer [EMAIL PROTECTED] wrote:
Hello everybody,
I am using the tree tag at the moment but I will probably need to use
tree2 instead. However I miss some of the very handy attributes here:
Matthias,
It was a very minor inconvenience for me. I just got the examples out of
svn. I brought up the issue for people who might look for said examples in
the distribution (which makes a lot of sense).
You guys are very busy and do some amazing things.
I was trying to put my new user hat
Hey Rick,
you are right. After MyFaces core 1.1.4 we'll address this.
-Matthias
On 7/10/06, Rick [EMAIL PROTECTED] wrote:
Matthias,
It was a very minor inconvenience for me. I just got the examples out of
svn. I brought up the issue for people who might look for said examples in
the
What would be the
preferred method of adding no-cache for IE in the response
header.
I've done the
following right before the view tag, but doesn't seem to work in Windows 2000
server with IE.
jsp:scriptletresponse.setHeader("Pragma","no-cache"); //HTTP
hello,
i am truely getting nowhere fast with this issue and would be enternally
grateful if someone could point in some direction.
when rendering the page IE throws a js error. saying that _link_hidden is
null or not an object.
i've been looking it to this on and off for the past 2 weeks and
On 7/10/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
I've already got a sample. I'll go ahead and open a JIRA issue on
this and attach it.
The following JIRA issue seems to cover the problem. I'm cleaning it
up, but we'll go ahead and work on the issue from here.
For ADF there is a new mailing list. See
http://wiki.apache.org/myfaces/adf_mails
On 7/10/06, Alexandre Jaquet [EMAIL PROTECTED] wrote:
Hi,
I would like to know if adf:table load all items in memory.
Regards
--
Matthias Wessendorf
futher stuff:
blog: http://jroller.com/page/mwessendorf
Right,
can you create a ticket on this? so that this missing information isn't lost
There is a metadata JSR ongoing, that will contain *metadata* for
components like desired child-type, the facets etc
-Matt
On 7/10/06, Paul Spencer [EMAIL PROTECTED] wrote:
Where are the facets available for
The JSF 1.2 spec Section 11.3 Specifies
that the before and after phase of a Phase Listener must complete. Thus
All Exceptions that occur within the Phase Listener are swallowed.
Unfortunately this means that neither of
the methods at http://wiki.apache.org/myfaces/Handling_Server_Errors
Matthias,
Should the issue be facets available for components are not documented,
The 'detailStamp' facet for t:dataTable is not documented or both?
FYI: I will document this in the wiki
http://wiki.apache.org/myfaces/Extended_Data_Table
Paul Spencer
Matthias Wessendorf wrote:
Right,
can
use the first as topic but the second as *example* content ;)
Thanks paul.
BTW. are you using JSF in a portlet ? (I saw you are a ASF portal guy)
-Matt
On 7/10/06, Paul Spencer [EMAIL PROTECTED] wrote:
Matthias,
Should the issue be facets available for components are not documented,
The
Matthias
BTW. are you using JSF in a portlet ? (I saw you are a ASF portal guy)
I will be. Just trying to get may arms around MyFaces :)
Paul Spencer
Matthias Wessendorf wrote:
use the first as topic but the second as *example* content ;)
Thanks paul.
BTW. are you using JSF in a portlet
I have a tree where I switch the model based on new
searches. It seems eventually (almost intermittently) the tree gets out of
whack with the underlying model and the expandAll, collapseAll stops working.
I have a workaround that works. Every new search, I kill the
tree and create a
good to see you here!
On 7/10/06, Paul Spencer [EMAIL PROTECTED] wrote:
Matthias
BTW. are you using JSF in a portlet ? (I saw you are a ASF portal guy)
I will be. Just trying to get may arms around MyFaces :)
Paul Spencer
Matthias Wessendorf wrote:
use the first as topic but the second
I have been adding documentation via the wiki with the assumption that
it will find it's way into the real documentation, i.e. TLD.
Is this a valid assumption?
Should I do anything to prompt the commiters once the wiki has been
updated, i.e. create a related issue?
Paul Spencer
Thanks.
-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Monday, July 10, 2006 10:38 AM
To: MyFaces Discussion
Subject: Re: Where are the examples for Tomahawk 1.1.3?
Hey Rick,
you are right. After MyFaces core 1.1.4 we'll address this.
-Matthias
On
I have a form on a tabbed pane that validates input. When their is a
validation error and the attribute serverSideTabSwitch on
t:panelTabbedPane is undefined or set to false, the first tab is
displayed, not the one with the error.
Is this the expected behavior or a bug?
Paul Spencer
Finally I solved issue with
custom valuator!
I did not specify formset in
the custom-rules.xml.
Simple example looks like.
1. custom-rules.xml
!DOCTYPE form-validation
PUBLIC
"-//Apache Software Foundation//DTD
Commons Validator Rules Configuration 1.2.0//EN"
Finally I solved issue with
custom valuator!
I did not specify formset in
the custom-rules.xml.
Simple example looks like.
1. custom-rules.xml
!DOCTYPE form-validation
PUBLIC
"-//Apache Software Foundation//DTD
Commons Validator Rules Configuration 1.2.0//EN"
I would like to display the detail message in the tooltip generated by
t:message instead of the default Validation Error.
I know I can set the text displayed using the title attribute, but how
do is set it to the detail message, i.e. Value required, which is
generated by the JSF?
Paul
Sorry John,
I don't have too much time for this issue. Can you send me a short
working example webapp for this, please.
Regards
Bernd
John schrieb:
I can call this in my backing bean after deleting rows and it has no
effect. I don't know if it's the JavaScript front-end repopulating the
On tomcat your WEB-INF/lib/myfacesjar will be used.
NOT! on Sun app server
They ship the RI internally.
There were already some post regarding removing the RI from Sun App server,
but have in mind that this task can cause some other issues
-Matthias
On 7/10/06, nimisha sharma [EMAIL
Not sure how I would send an example that didn't include the backing
beans as they are the ones doing the deleting and hence the out-of-sync
condition.
-Original Message-
From: Bernd Bohmann [mailto:[EMAIL PROTECTED]
Sent: Monday, July 10, 2006 2:35 PM
To: MyFaces Discussion
Subject:
On 7/10/06, Rick [EMAIL PROTECTED] wrote:
I was trying to put my new user hat on.
I was imagining that I am new to JSF. I decide on MyFaces. I go to the
Getting Started Page of MyFaces. It tells me to get the examples from the
download page, and they are not there. Then there is much weeping
Stated another way: If a user bookmarks a JSF page that is in the middle of
page sequence, what
is the best way to redirect the user to the first page in the sequence?
Mike
--- Mike Duffy [EMAIL PROTECTED] wrote:
Assume page_B.jsf depends on page_A.jsf.
The backing bean for page_B.jsf
Use one of the on load tools and run an action per page. In that
action redirect if your bean is not initialized.
APIs:
onload (onload.xml): http://jsf-comp.sf.net
Seam (pages.xml): http://www.jboss.com/products/seam
Shale Dialog controller (forget the URL)
Each one will allow you to tie an
Thank you Matt! Your input is very helpful. Do you know when 1.1.4 will be available? If it will be ready in one month, we can wait till then to upgrade. If not, we may have to just upgrade to 1.1.3 instead. In that case, are there any known bugs in 1.1.3 you would warn us about?Thanks!
Yes,
this guy is a show-stopper
http://issues.apache.org/jira/browse/MYFACES-1296
Matthias
On 7/10/06, iSquareOne LLC [EMAIL PROTECTED] wrote:
Thank you Matt!
Your input is very helpful. Do you know when 1.1.4 will be available? If it
will be ready in one month, we can wait till then to
well,
I hope that you is *released* ASAP ;)
Started just a thread on that on our dev list.
the JARs are also available w/ a Maven2 repo
-Matthias
On 7/10/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:
Yes,
this guy is a show-stopper
http://issues.apache.org/jira/browse/MYFACES-1296
If 1.1.4 isn't to be out for a bit, can the fix be back-ported to
1.1.3 and then re-release 1.1.3 (1.1.3b)?
-Andrew
On 7/10/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:
well,
I hope that you is *released* ASAP ;)
Started just a thread on that on our dev list.
the JARs are also available
I prefere to get 1.1.4 out.
(you are welcome to join our discussion on the dev list)
-Matt
On 7/10/06, Andrew Robinson [EMAIL PROTECTED] wrote:
If 1.1.4 isn't to be out for a bit, can the fix be back-ported to
1.1.3 and then re-release 1.1.3 (1.1.3b)?
-Andrew
On 7/10/06, Matthias Wessendorf
77 matches
Mail list logo