I think that when you call the getter of the DataModel/array/list pass in
your table (x:datatable value=#{form.dataModel} you didn't sort the M
odel before rendering
private List dataModel;
public List getDataMode
l(){
sort(dataModel);
return dataModel;
}
Something like that, see
the source
Hi,
How can I add some script to each row of a h:dataTable (x:dataTable)? I
want to add onclick script to change the class of the row (to visually
select it, and then do some other stuff).
Thanks and regards,
Sean
--
Dr. Sean Radford, MBBS, MSc
[EMAIL PROTECTED]
http://bladesys.demon.co.uk/
I have a struts application where I am using Filter and Tomcat and this works
as it
should... But trying to do the same thing with a JSF application doesn't work?
Are
there something I am missing? The init() method is called, but doFilter is never
called, why?
Regards,
BTJ
--
In the example, it is the sortColumn that specifies the sort method that
gets called: sortColumn=#{list.sort}. Keep in mind that 'list' is a
bean defined in the examples-config.xml file which refers to the class
SimpleSortableCarList.
The SortableList is just an abstract class so you have to
The c:if tag and rendered attribute are
actually slightly different.
This prevents the component from being added to the
heirachy:
c:if test="${false}"
h:outputText
value="hello"//c:if
This prevents the component from being rendered but
it still exists in the heirarchy:
h:outputText
Yes, I am Maybe I'll check the request path...
BTW, is SecurityFilter something else or just another name for filter?
BTJ
[EMAIL PROTECTED] wrote:
Hi
I seem to remember that (look in an earlier thread) there is a problem
with that. Are you calling a faces page within that pattern?
Well I have some commandLink components
nested in a dataList, too ... but the actions are invoked correctly. Here
an example:
x:dataList id=superclasses
var=item
value=#{currentClass.directSuperclasses}
layout=simple
rowCountVar=rowCount
I think the bug i am facing has to do with the use of the binding
attribute in the x:dataList tag instead of the value attribute. I'll
just keep plugging away to see what the problem is. Thanks for the
pointers on the unimplemented methods. I'll also see if my problems
may have to do with
Well, I have found the problem AND a
solution, maybe it will fix your problems, too.
Opened a bug report: http://issues.apache.org/jira/browse/MYFACES-229
Hope this helps.
PROBLEM: Unimplemented methods
in org.apache.myfaces.custom.datalist.HtmlDataList
public void
This is just a guess, but, if you have JSF configured to use mappings like,
/faces/*
then, I think it might change the path to something like
/faces/protected/page.jsp (so, I think you could setup a mapping of
/faces/protected/* instead of /protected/*).
I used to have mine setup like that,
but it extends UIData which DOES implement those.
On 5/4/05, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Well, I have found the problem AND a solution, maybe it will fix your
problems, too.
Opened a bug report:
http://issues.apache.org/jira/browse/MYFACES-229
Hope this helps.
Maybe it's not configured properly in your web.xml. What servlet or url-pattern did you map the filter to?
-MattOn 5/4/05, Bjørn T Johansen [EMAIL PROTECTED] wrote:
I have a struts application where I am using Filter and Tomcat and this works as itshould... But trying to do the same thing with a
Yes it does, but it does not use h:column
sub components to wrap the nested components and the dataTable implementation
assumes this.
Therefor the dataTable component overwrites
the processDecodes() method correctly. This is also were I got the code
from.
I guess the other methods were simply
aha! i see. Yes. The UIData process columns and facests then ignores
anything else. Interesting.
On 5/4/05, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Yes it does, but it does not use h:column sub components to wrap the
nested components and the dataTable implementation assumes this.
Hello,
I
am trying to use Tiles with multi language support and my approach does not seem
to work like I expected.
We have two
tiles_defs.xml files: tiles_defs.xml and tiles_defs_en.xml. According to the
docs, in order to have
tiles switch from
one file to the other we must set the
I'd like to see such an example added right now but I'm short on time
at the moment. My first priority is to fix some of the outstanding
JIRA bugs for tree2. Currently I am working on MYFACES-159.
sean
On 5/3/05, sureshbabu thyvalappil [EMAIL PROTECTED] wrote:
Sean,
I'm looking for sample
Yes, I do... But I have tried /faces/protected/* too, with no luck
BTJ
Jonathan Eric Miller wrote:
This is just a guess, but, if you have JSF configured to use mappings like,
/faces/*
then, I think it might change the path to something like
/faces/protected/page.jsp (so, I think you
The only possibilities I can think of that would cause the behavior you describe are:
1. The URL is being redirected before the filter is hit, so the
url-mapping doesn't apply (you can test this by setting the pattern
back to /* and outputting the path the filter finds).
2. Another filter whose
is it
possible to use treeColumn with tree2 to create a tree
table?
***
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account
is it possible to use treeColumn with tree2 to create a tree table?
No. Not yet anyways ;-)
I started to work on this and I refactored tree2 to make it easier. I
made a good deal of progress but then we decided to keep tree and
tree2 (instead of merging the two) so I lost interest.
I think
I'm on Red Hat AS 3.0, using Eclipse 3.0 with subclipse client and
JavaSVN plugin (JavaHL's only available for Windows?). I get:
Error while creating module:
org.tigris.subverison.javahl.ClientException: Authentication challenge
is not supported: null and in the log an uncatched
Which one would be easier:
- support tree2 with treeColumn
Or
- add hideRoot, client-side expansion to tree?
The refactoring you're talking about, is this checked-in and in the
latest source?
-Original Message-
From: Sean Schofield [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 04,
I may have found the problem - at least this would explain why the server is
trying to authenticate JavaSVN client but not a browser (and I'm able to browse
the repository without authentication with just a regular browser). At
http://forum.textdrive.com/viewtopic.php?id=2686 they are
IMO supporting tree2 with treeColumn would be *much* easier. The
javascript to support client-side toggle is extremely complicated -
you wouldn't want to start over with that. Also there is other cools
stuff in tree2 besides hide root and client-side toggle.
Yes the refactoring is checked in.
Well, I changed my pattern to /* and something strange happens in the doFilter
method...
I am coming from /login.jsp and the navigation rule looks like this..:
navigation-rule
from-view-id/login.jsp/from-view-id
navigation-case
from-outcomesuccess/from-outcome
Hi,
Has anyone seen this grid control: http://www.activewidgets.com/grid/
(would be cool if (x:)dataTable could provide the same style of
scrolling capability - not look into how it achieves it yet).
Regards,
Sean
--
Dr. Sean Radford, MBBS, MSc
[EMAIL PROTECTED]
http://bladesys.demon.co.uk/
You can pretty much achieve all of this with the existing MyFaces
components AFAIK. Not sure about the highlighting of the row as you
mouseover but that is easy enough. The rest could be done with a
combination of MyFacesComponents and adding a scoll area to the
resulting HTML.
IMO there are a
Is it possible to dynamically get the page name of a subview from the
backing bean? Is something like to following possible?
f:subview id=userPanel
jsp:include page=${sessionScope.backingBean.getPage/ c:import... /
/f:subview
The reason is I would like to dynamically load a different subview
OK, now I think I've got it:
The navigation rule is doing a forward, not a redirect. Servlet
filters don't always handle anything but the initial server
request. If you're using a servlet container that only supports
up to servlet spec 2.3, it will *only* handle the initial server
request, so I'm
On 5/4/05, Matt Blum [EMAIL PROTECTED] wrote:
OK, now I think I've got it:
The navigation rule is doing a forward, not a redirect. Servlet filters
don't always handle anything but the initial server request. If you're
using a servlet container that only supports up to servlet spec 2.3,
Well duh ... if I'd actually read the ENTIRE response I would have
seen that Matt said that already :-).
Craig
On 5/4/05, Craig McClanahan [EMAIL PROTECTED] wrote:
On 5/4/05, Matt Blum [EMAIL PROTECTED] wrote:
OK, now I think I've got it:
The navigation rule is doing a forward, not a
Can someone on the myfaces team remove the reference to the arrow.gif file in
the theme.js files and build a jar as a temporary solution?
I am trying to deliver a production quality app to users that primarily use IE
as their browser. The missing image indicator in the menu is less than
32 matches
Mail list logo