File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Trying to get MyFaces header to sort Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Trying to get MyFaces header to sort" Watch "Trying to get MyFaces header to sort" New topic
Author

Trying to get MyFaces header to sort

Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 948
In looking at the sortable header component, the "Instructions"

say that the component ... "Must be nested inside an extended DataTable <t ataTable>"

Ok, so far so good, but then it goes on to say:

"(see examples/simpleSortList.jsp for an example)"

I've downloaded everything on the Apache MyFaces site at:

http://myfaces.apache.org/binary.cgi

but can't find the simpleSortList.jsp file in any of the zips!

============

Since there doesn't seem to be any documentation on "using" the MyFaces stuff, but there is supposedly a "non-findable" file that shows you some code.

Yikes!!!

Why is this so hard?

Is MyFaces popular? I also saw no books on Amazon even coming next year.

MyFaces is potentially so very cool, but right now, it's just costing me time. There don't appear to be *any* resources with examples.

=============

I also downloaded the sample application, but didn't see how the sorting was actually implemented. There were a lot of .class files that looked like they could be the ones, but no source!

HELP!

-- Mike
Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15229

Source Distributions. This contains the example source as well which will have the file(s) you are looking for. This is what I was talking about in that other thread.
Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15229

Also note that the majority of MyFaces users and developers don't come to Javaranch. So joining their mailing list would probably help you find MyFaces specific answers more quickly.
Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 948
Thanks very much Gregg.

I keep forgetting that with MyFaces, the source *is* the documentation. <g>

Happy new year!!!

-- Mike
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trying to get MyFaces header to sort
 
Similar Threads
Using t:jscookmenu results in "cmDraw is not defined" error
List of components in MyFaces
Components Libraries
validateCompareTo
File input with input type=file?