Mark Loren Brown

Greenhorn
+ Follow
since Dec 20, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mark Loren Brown

What is the difference between ECMA script and Javascript?
Hi Tim!

http://livedemo.exadel.com/richfaces-demo/richfaces/componentControl.jsf?c=componentControl&tab=usage

Here's a link to the Exadel Live Demo that gives an example of using componentControl to control a modalPanel
13 years ago
JSF
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?

13 years ago
JSF
Okay so I guess there is no list that documents the built-ins for the operation= attribute of a rich:componentControl tag
that's controlling a modal

I've been googling for examples and find some things that way. But a documented list of supported operations
for a modal panel would enable everyone to create more freely.

QUESTION: So how do you all find out what else you can do with a modal panel rich:componentControl ???
13 years ago
JSF
Hi Tim thanks for your reply!

I'm still not any closer to what I'm looking for though.

Are the built-in "operations" listed/documented on a per component basis
(however incomplete)???

i.e. a list of built-in operations for modalPanel would be very helpful

Thanks!
13 years ago
JSF
I"m looking for a list of the built-in javascript functions that I can use in rich:componentControl tag on the operation= attribute.
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" . . .

Thank you!
13 years ago
JSF