Re: sort table (extension)

2005-05-04 Thread ced_the.bear
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

Scripting DataTable Rows

2005-05-04 Thread Sean Radford
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/

Servlet Filter?

2005-05-04 Thread Bjørn T Johansen
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 --

RE: sort table (extension)

2005-05-04 Thread Keel, Paul
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

Re: JSTL-Faces bridge broken?

2005-05-04 Thread Rob Decker
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

Re: Servlet Filter?

2005-05-04 Thread Bjørn T Johansen
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?

Re: Re: DataList does not work correctly like a DataTable with input components

2005-05-04 Thread mathias . werlitz
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

Re: Re: DataList does not work correctly like a DataTable with input components

2005-05-04 Thread Brandon Goodin
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

Antwort: Re: Re: DataList does not work correctly like a DataTable with input components

2005-05-04 Thread mathias . werlitz
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

Re: Servlet Filter?

2005-05-04 Thread Jonathan Eric Miller
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,

Re: Re: Re: DataList does not work correctly like a DataTable with input components

2005-05-04 Thread Brandon Goodin
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.

Re: Servlet Filter?

2005-05-04 Thread Matt Blum
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

Antwort: Re: Re: Re: DataList does not work correctly like a DataTable with input components

2005-05-04 Thread mathias . werlitz
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

Re: Re: Re: Re: DataList does not work correctly like a DataTable with input components

2005-05-04 Thread Brandon Goodin
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.

Do I need to extend ViewHandler in order to use Tiles multi-langu age support ?

2005-05-04 Thread Cote . Mark
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

Re: Fwd: New tree2 examples

2005-05-04 Thread Sean Schofield
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

Re: Servlet Filter?

2005-05-04 Thread Bjørn T Johansen
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

Re: Servlet Filter?

2005-05-04 Thread Matt Blum
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

tree2 with treeColumn?

2005-05-04 Thread Virtudazo, Dennis \(Exchange\)
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

Re: tree2 with treeColumn?

2005-05-04 Thread Sean Schofield
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

Subclipse problem with MyFaces repository

2005-05-04 Thread Korhonen, Kalle
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

RE: tree2 with treeColumn?

2005-05-04 Thread Virtudazo, Dennis \(Exchange\)
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,

RE: Subclipse problem with MyFaces repository

2005-05-04 Thread Korhonen, Kalle
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

Re: tree2 with treeColumn?

2005-05-04 Thread Sean Schofield
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.

Re: Servlet Filter?

2005-05-04 Thread Bjørn T Johansen
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

Enhacement to dataTable

2005-05-04 Thread Sean Radford
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/

Re: Enhacement to dataTable

2005-05-04 Thread Sean Schofield
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

Dynamic Subview

2005-05-04 Thread Cenk Çivici
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

Re: Servlet Filter?

2005-05-04 Thread Matt Blum
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

Re: Servlet Filter?

2005-05-04 Thread Craig McClanahan
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,

Re: Servlet Filter?

2005-05-04 Thread Craig McClanahan
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

Quick fix to JSCookMenu problem (missing images)?

2005-05-04 Thread lbbishop
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