I have a pretty common problem with tables. I put a button in a table
column. A setActionListener makes sure that the called action can
access the id of the entity the column represents and the action can
operate on that entity. The CollectionModel needs to be present before
model update so that
I was also wondering how to modify window options like resizable,scrollbars,..
-Ursprüngliche Nachricht-
Von: Meyer, Stefan [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 12. Dezember 2006 18:34
An: MyFaces Discussion
Betreff: Dialog: frame?
I use the dialog framework o open a popup.
Hello dear Reader:
I'm playing with your funny jsf's clothes and I'm lost
My problem is:
When My Tomcat starts, reads all the listeners specificated in jar's
tld's, and then start all, making the initiation of MYFACES
I supouse the order is:
1 ConfigureListener (JSF library)
2
I am using a trinidad table and want to launch a dialog to edit the
detail of the entities represented by the columns. The launching button
is a commandButton with partialSubmit set to true. When returning from
the Dialog the column that displays the possibly modified name of the
edited entity is
Stefan,
most of the Trinidad / Oracle team is on the trinidad list, not here around.
Would be good to ask very Trinidad specific questions like this there.
I have no idea how to disable the frame thing
Matthias
On 12/13/06, Meyer, Stefan [EMAIL PROTECTED] wrote:
I was also wondering how to
I have a demo on some trinidad features, one of the examples is exactly that.
I can hand you offline if the following is not enough. In [1] there
are also useful informations
on the dialog
-Matthias
[1] http://incubator.apache.org/adffaces/devguide/index.html
Hi,
just a typo? Using the UserBean in combination with getSuggestItems
should do the thing.
So use suggestedItemsMethod=#{UserBean.getSuggestItems} instead of
suggestedItemsMethod=#{inputSuggestAjax.getSuggestItems}. Or is the
method also located inside the inputSuggestAjax bean?
Are you
I came across the same problem yesterday lol and did not resolve it yet :-/
Gerald, when you say Are you using facelets, client-side state saving? Do you
mean that these are prerequisites for the InputSuggestAjax component to work?
If it is the case, how to you configure them?
Cheers
Hi,
well the component currently only works with server side state saving.
This issue was introduced with a dojo update, and is not resolved
until now. Should not be the biggest issue, but is a matter of time.
:)
Never tested the component with facelets, but i think we have to do an
addition to
Thanks a lot,
The mailing list does not seem to exist. Could not post to [EMAIL PROTECTED]
Stefan
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Matthias
Wessendorf
Gesendet: Mittwoch, 13. Dezember 2006 10:17
An: MyFaces Discussion
On 12/13/06, Meyer, Stefan [EMAIL PROTECTED] wrote:
The mailing list does not seem to exist. Could not post to [EMAIL PROTECTED]
Right! it is user :)
adffaces-user@incubator.apache.org
note, that you also need to subscribe here first
[EMAIL PROTECTED]
-M
Stefan
-Ursprüngliche
I have a JSF (facelet) page like this:
?xml version=1.0 encoding=UTF-8?
!DOCTYPE html
PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
xmlns:ui=http://java.sun.com/jsf/facelets;
[org.apache.myfaces.lifecycle.LifecycleImpl] - exiting from
lifecycle.execute in processValidations because getRenderResponse is
true from one of the after listeners
Looks like an validation error somewhere with skip of updateModel and
invokeApplication!
add a h:messages tag to the page see
Hi,
Thanks a lot Volker! That helped me pinpoint the issue! And damn! I
had forgotten to write the setter for the assignedGroupPrivileges
property. Wouldn't it be better if an exception was thrown?
Regards,
Behi
On 12/13/06, Volker Weber [EMAIL PROTECTED] wrote:
Oops! I was wrong! I have added the setter but I am still getting the
error. The h:messages prints this out but it is not very helpful:
Validation Error privileges: Value is not a valid option
Any ideas?
-Behi
On 12/13/06, Behrang Saeedzadeh [EMAIL PROTECTED] wrote:
Hi,
Thanks a lot
Hello,
I have got a problem with jscookmenu in firefox 2, 1.0 (linux), Mozilla
1.7.2 (MS).
Menu does not dispaly at all, and in the JS console some errors appear.
Menu works fine in Opera and in IE 6.
Errors from firefox:
Error: myThemeOfficeBase is not defined
Plik źródłowy:
Hi All,
I have a JSP which uses tiles.
The left menu part of the JSP needs to be programmatically created as
the left menu will differ based on the role the use plays.
In the leftNavigationMenu.jsp - included as a tile in layout.jsp I have
the following code:
t:div id=subnavigation_outer
Which class type the content of RoleEditBean.groupPrivileges ? must be
the same as
RoleEditBean.assignedGroupPrivileges. And if not String or any
'native' Object you need a Converter. The created object must equals
to one of the items.
eg:
The POST-REDIRECT-GET pattern has been very useful for me in solving
problems with the back button and bookmarking. PRG can be applied to
Web apps in any framework, but JSF allows you to solve it centrally
using a phase listener (see below). Or you can use the redirect
element in all your
Volker,
assignedGroupPrivileges contains String values, and groupPrivileges
contains SelectItems with String values.
I debugged into the MyFaces code and I found out that in the
UIInput.validate (or somewhere deeper in the call frame), a list of
SelectItem elements was empty and validate was
Eduardo,
You shouldn't be defining those listeners in your web.xml.
Scott
Eduardo dudu wrote:
Hello dear Reader:
I'm playing with your funny jsf's clothes and I'm lost
My problem is:
When My Tomcat starts, reads all the listeners specificated in jar's
tld's, and then start all, making the
there was / is an issue with the latest/greatest tomcat
-M
On 12/13/06, Scott O'Bryan [EMAIL PROTECTED] wrote:
Eduardo,
You shouldn't be defining those listeners in your web.xml.
Scott
Eduardo dudu wrote:
Hello dear Reader:
I'm playing with your funny jsf's clothes and I'm lost
My
Wow, Scott, I'm impressed that you could actually infer some kind of meaningful
question and, better yet, some descriptive facts from Eduardo's attempt at
being cute. He must not understand that we, as geeks, can typically understand
sarcasm but have little ability to understand light and
Hi,
I am migrating my JSF app from Tomcat 5.5.17 to JBoss 4.0.3 SP1. I followed
the instructions at [1] however, before that I was just getting an error for
tomahawk jars as the absolute uri http://myfaces.apache.org/tomahawk was
not found in web.xml or jars After following the
Hi all, did anybody try to control expansion of large
trees by inserting a paged dataTable on large branches ?
Is that kind of nesting possible at all for tree2 components ?
Thanks -- Renzo
I don't know why that wiki page tells you to add the SourceCodeServlet,
that is only for the example app.
Aneesha Govil wrote:
Hi,
I am migrating my JSF app from Tomcat 5.5.17 to JBoss 4.0.3 SP1. I followed
the instructions at [1] however, before that I was just getting an error
for
Do you use facelets? If so, check if you put a tomahawk.taglib.xml
(needed by faclets) in your WEB-INF directory.
2006/12/13, Aneesha Govil [EMAIL PROTECTED]:
Hi,
I am migrating my JSF app from Tomcat 5.5.17 to JBoss 4.0.3 SP1. I followed
the instructions at [1] however, before that I was just
Nope, I am not using facelets.
Thanks,
Aneesha
On 12/13/06, Andreas Berger [EMAIL PROTECTED] wrote:
Do you use facelets? If so, check if you put a tomahawk.taglib.xml
(needed by faclets) in your WEB-INF directory.
2006/12/13, Aneesha Govil [EMAIL PROTECTED]:
Hi,
I am migrating my JSF app
That's what I thought too but when it wouldn't work, I thought I'd give it a
try. No luck. :(
Thanks,
Aneesha
On 12/13/06, Jeff Bischoff [EMAIL PROTECTED] wrote:
I don't know why that wiki page tells you to add the SourceCodeServlet,
that is only for the example app.
Aneesha Govil wrote:
Can you post your web.xml?
On 12/13/06, Andreas Berger [EMAIL PROTECTED] wrote:
Do you use facelets? If so, check if you put a tomahawk.taglib.xml
(needed by faclets) in your WEB-INF directory.
2006/12/13, Aneesha Govil [EMAIL PROTECTED]:
Hi,
I am migrating my JSF app from Tomcat
Is there a way to extend the faces-config.xml file??? More
specifically, I would like the ability to set a parameter somewhere in
my navigation-rule like so (in bold)
navigation-rule
from-view-id.../from-view-id
navigation-case
from-outcome.../from-outcome
Well the exact web.xml is really long and has a lot of other existing
application stuff in it. However, I copied all the below elements to that
web.xml. If this doesn't point to anything, I can copy the exact
web.xmlwhen I am at work tomorrow morning.
Another thing, the web application is
Where did you put the tomahawk.jar? For some jars JBoss need it in the
war file. It's not enough to link it vie manifest.
2006/12/13, Aneesha Govil [EMAIL PROTECTED]:
Well the exact web.xml is really long and has a lot of other existing
application stuff in it. However, I copied all the below
Hi,
I want to catch all unhandled exceptions at one point and send error
mails to the developer. So I decided to use the the first way discribed
here: http://wiki.apache.org/myfaces/Handling_Server_Errors.
I throw intentionally a NPE but it never gets caught.
So what I have done so far:
public
I put it in the manifest and in tomcat/jsf-libs folder of JBoss...
I will try putting it in the war.
Aneesha
On 12/13/06, Andreas Berger [EMAIL PROTECTED] wrote:
Where did you put the tomahawk.jar? For some jars JBoss need it in the
war file. It's not enough to link it vie manifest.
The h:form enclosure to the menu items were lost in facelets and in my
templating style. The action is called and I can track and debug the
backing bean.
From: Bharath Belagodu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 13, 2006 10:56 AM
To: MyFaces
Hi, is it true that component panelTabbedPane can be
used only with a static number of tabs, e.g. panelTab subcomponents ?
At least this is what I understood from documentation. If true, is
there any ongoing activity to have something like "panelTabs" in future
versions ?
Thanks -- Renzo
I've been wondering something for a little while now. Some of the crud
style links in my app use 'h:commandLink', with 't:updateActionListener' to
set the particular element id value for that page. In days past I'd put the
id on the query string, so like ...
/app/DetailPage.do?itemId=1234
Hi,
Where to find a Demo WAR containing demo of towahawk and tomahawk sandbox?
Merci!
Madhav Bhargava wrote:
Hi All,
I have a JSP which uses tiles.
The left menu part of the JSP needs to be programmatically created as
the left menu will differ based on the role the use plays.
In the leftNavigationMenu.jsp – included as a tile in layout.jsp I have
the following code:
See [1]. Download one with examples in the filename
[1] http://people.apache.org/builds/myfaces/nightly/
Jerome Iffrig (Europe) wrote:
Hi,
Where to find a Demo WAR containing demo of towahawk and tomahawk sandbox?
Merci!
Hi,
I have created a custom converter for a selectManyCheckBox with int
values and it is working fine. Is there something available
prepackaged with the standard JSF that I can use instead of my custom
converter?
Also, the inputText does not require a custom converter for handling
int values.
Hi,
Followed the instructions on http://wiki.apache.org/myfaces/Performance to
replace ADD_RESOURCE_CLASS with StreamingAddResource. All the JavaScript
related functionality is broken in the existing pages. The main problem is
that the JavaScript/CSS files from components (e.g.: JsCookMenu) are
Hello,
This works using server-side state saving:
UIViewRoot viewRoot =
context.getApplication().getViewHandler().restoreView(context, viewId);
And then I can get the component I'm interested in. The viewRoot has no
children if its client-side state saving. Do I need to manually restore the
Hi Matt,
Just out of curiosity, why aren't you using Tomahawk's saveState component ?
Seems like you might be reinventing the wheel...
On 12/13/06, Matt Tyson [EMAIL PROTECTED] wrote:
Hello,
This works using server-side state saving:
UIViewRoot viewRoot =
I have the same problem that Paul Spencer:
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.
Kevin,
I can't speak to Tomahawk's dataTable or updateActionListener, but
MyFaces' h:dataTable uses simple index values (0,1,2...) for each
row. By changing the index in the request, a hacker can access a
different row, but only from the set of rows that were in the data set
bound to the
Matt Tyson wrote:
Hello,
This works using server-side state saving:
UIViewRoot viewRoot =
context.getApplication().getViewHandler().restoreView(context, viewId);
And then I can get the component I'm interested in. The viewRoot has no
children if its client-side state saving. Do I need to
Simon,
Here's where the problem arises. This is an ajax request being handled in a
phase listener. I'm waiting till after the the restoreView phase, but with
client-side, the request is 1) missing the state and 2) missing the
viewRoot.
So I can add the state information manually into the
I am trying to use it, but not successfull yet.
Actually I was trying to use the dojoInitializer tag, but is not working. It
says it does not exist.
Then I am trying to place directly the *.js files.
I could able to display a button (hello world tutorial), but it is messing
up all the layout.
Got it. Here's the params I needed to send with the ajax request:
var clientTree = document.getElementById(jsf_tree_64).value;
var clientState = document.getElementById(jsf_state_64).value;
var viewId = document.getElementById(jsf_viewid).value;
dojo.io.bind({
Matt Tyson wrote:
Got it. Here's the params I needed to send with the ajax request:
var clientTree = document.getElementById(jsf_tree_64).value;
var clientState = document.getElementById(jsf_state_64).value;
var viewId = document.getElementById(jsf_viewid).value;
ERROR [STDERR] java.lang.IllegalArgumentException: Class
org.apache.myfaces.custom.redirectTracker.Redirect
TrackerNavigationHandler is no javax.faces.application.NavigationHandler
Anyone knows what is the cause of the error? The error message seems to show
up after I put all myfaces
Hello everybody,
Thanks for all your answers, hints, encouragement... I really appreciate
that. I'm not about to give up, I'm just trying to figure out what's the
best thing to do. Using plain old links may work in some cases but often you
really have some kind of a state in your web
Simon,
I hear you. I think the rationale behind the client-side is the heavy
server load. Looks like one of those situations where there's no clear
winner -- highly dependant on the situation... ie, when does the memory
usage of server-side become more trouble than sending all that data on the
Dave wrote:
ERROR [STDERR] java.lang.IllegalArgumentException: Class
org.apache.myfaces.custom.redirectTracker.Redirect
TrackerNavigationHandler is no javax.faces.application.NavigationHandler
Anyone knows what is the cause of the error? The error message seems to
show up after I put all
After moving all jars (including myfaces jars) into JBoss container under
server/default/lib, I got the following error:
ERROR [[FacesServlet]] Servlet.service() for servlet FacesServlet threw
exception
javax.faces.FacesException: The absolute uri: http://java.sun.com/jsf/html
cannot be
Please, please provide a markup attribute for all input components.
I have to set the background color for some individual input components.
So far, I use a Javascript workaround, but this doesn't work, when the
component resides on an Ajax loaded part of the page (tc:popup, tc:tab).
So when the
I have some performance issues with MyFaces. It tooks 500 miliseconds to
render a tree2(not very big). Its tree data model is buffered and shared by
all users. It is quite expensive just to render the tree. I am wondering if I
can buffer the rendering to improve performance because the tree
t:buffer may work. Just put the tree in it and only render the
buffer if the backing bean value that you store it in isn't already
set.
On 12/13/06, Dave [EMAIL PROTECTED] wrote:
I have some performance issues with MyFaces. It tooks 500 miliseconds to
render a tree2(not very big). Its tree
Hi Everybody,
I have a JSF Portlet and i want to prevent the double click on a command
button.
After going through previous posts i have seen suggestions for using
s:token.
Can s:token work in this scenario.
(I not using Myfaces RI but SUN's RI)
If so,where are the jar's that i need to
Hi,
It works after I copy the jat files in WEB-INF/lib of the war file. It's
working now :D
Thanks!
Regards,
Aneesha
On 12/13/06, Aneesha Govil [EMAIL PROTECTED] wrote:
I put it in the manifest and in tomcat/jsf-libs folder of JBoss...
I will try putting it in the war.
Aneesha
On
Pardon me, jar files.
On 12/14/06, Aneesha Govil [EMAIL PROTECTED] wrote:
Hi,
It works after I copy the jat files in WEB-INF/lib of the war file. It's
working now :D
Thanks!
Regards,
Aneesha
On 12/13/06, Aneesha Govil [EMAIL PROTECTED] wrote:
I put it in the manifest and in
Hi Dave,
I do not think that it would work that way. You might want to look at [1]
and [2].
[1] http://www.nabble.com/Jboss-and-Myfaces-problem-tf2814749.html
[2] http://wiki.apache.org/myfaces/From_1.1.1_to_1.1.3_with_Jboss
Hope that helps.
Aneesha
On 12/14/06, Dave [EMAIL PROTECTED] wrote:
Madhav Bhargava wrote:
Hi Simon,
Yes the outer DIV component with id=subnavigation_outer is enclosed in
a subview naming container in the layout.jsp. Following is the code
snipped:
td width=170px valign=top bgcolor=#F8F6F7 nowrap=nowrap
f:subview id=leftnav
tiles:insert
Hi Simon,
You are right. But as I have mentioned i am binding the DIV component
with a property in the backing bean instead of getting the UIViewRoot
and then invoking findComponent.
It does give me the proper instance of the DIV component
I tried to add a dummy DIV component outside the outer
Madhav Bhargava wrote:
Hi Simon,
You are right. But as I have mentioned i am binding the DIV component
with a property in the backing bean instead of getting the UIViewRoot
and then invoking findComponent.
It does give me the proper instance of the DIV component
I tried to add a dummy DIV
Hey.
-) I saw in [1] that usage of Tomahawk components is not recommended - does
it pose some (serious) problems? Is it possible at all to use them? How
about dojo?
[1] http://docs.jboss.com/seam/1.1BETA2/reference/en/html/controls.html
We recommend the Ajax4JSF and ADF faces (now
68 matches
Mail list logo