Question1: I do not understand the part where the id and the action sent in to be automatically connected to a data source. can you please explain this. I need to get hold of the parameter values in order to hide stuff based on the parameter, how?
The data source used parameters from the URL, either the requestMap or the requestParameterMap. This dynamic control temporarily push the arguments to these map, and the data source uses them
Look at the sample in the DemoDB
Question2: what is show(facet,param) ?
This is a server side method - See the demo DB where it is being used.
Question 3: I do not understand the difference between using hash or not in the dynamic content control, hash seem to be used regardless if enabled or not.
Hash is only used when specified. It is a way foe the user to bookmark a url with the state. Without the hash, it works but the url cannot be bookmarked
Question 4: when I click the first "edit first contact" link in the demo an ajax call is being made, how does this work, what do I need to do to make this ajax call besides to add the url: #content=messages&action=editDocument&documentId=1234
The demo database shows the 4 ways for changing the current content, with a client side or a server side piece of code, depending on what you need.