Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Trying to get MyFaces header to sort

 
Mike London
Ranch Hand
Posts: 1290
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1290
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks very much Gregg.

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

Happy new year!!!

-- Mike
 
I yam what I yam and that's all that I yam - the great philosopher Popeye. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!