e.g. <rich:componentControl for="panel" attachTo="link" operation="show" event="onclick"/>
what other JS built-ins are there I can fill in operation with? "hide" . . .
Mark Loren Brown
Joined: Dec 20, 2008
I'm gonna get flamed for this I just know it. So don't forget I'm a greenhorn, but this is a friendly place for greenhorns
I take your point that the RichFaces components I"m asking about are JS at bottom. But telling me the operations I can invoke
are the ones the JS class supports doesn't answer my question. I'm asking specifically about the "modalPanel". WHAT operations are there and more importantly where can I look for such information when I have questions about other components?
My question has SOMETHING to do with RichFaces bc I'm not accessing the JS components directly. I'm accessing the RichFaces components directly.
Look: I have a richfaces component "modalPanel"
<rich:modalPanel id="printPanel" . . .>. . .</rich:modalPanel>
I have another richFaces component "componentControl":
<rich:componentControl for="printPanel" attachTo="printLabel" operation="show" event="onclick"/>
I can "show" the RichFaces modalPanel. I can "hide" the RichFaces component modalPanel.
Question: what else can I do with a RichFaces modalPanel from a RichFaces componentControl???
(here's where I'm expecting someone to insert a hilarious flame )
and more importantly: where can I look for that kind of information when I'm working with a different component?
Naw, we don't do flaming here, but it does help when you RTFM.
Of course, like a lot of FM's the RichFaces one doesn't say much about things that were obvious to the people who designed RichFaces (like proper use of the "data=" attibute on the backing bean side). And of course, since it's written by someone whose native language isn't English, it can be rough going some times.