Pass additional information to the server selector from the client
See original GitHub issueIs it possible to have a server side filter/selector that’s other than userId
? I have the data stored in a Session
, but not sure how to pass it back to the server for security other than the basic userId
.
TabularTables.Books = new Tabular.Table({
// other properties...
selector: function( userId ) {
return { documentOwner: userId }
}
});
Ideally, it would be great if we can pass in the collection at the time of rendering the template, something like.
{{> tabular table=TabularTables.Books data=.}}
where .
represents the the data array of elements passed by iron router.
Issue Analytics
- State:
- Created 9 years ago
- Reactions:1
- Comments:10
Top Results From Across the Web
Passing parameters from client to server when submit a form
Hi I would like to know if there is a nice way to pass additional parameters from client side to servers side when...
Read more >Using Python Flask and Ajax to Pass Information between the ...
The following provides an example of how we can pass information from the client to the server in a Python Flask application.
Read more >Client-Server Overview - Learn web development | MDN
Additional information can be encoded with the request (for example, HTML form data). Information can be encoded as:.
Read more >Client installation parameters and properties - Configuration ...
Learn about the ccmsetup command-line parameters and properties for installing the Configuration Manager client.
Read more >tcp - Number of clients at Server and Client Varies Java NIO
I am just accepting connections and not doing any read/write. This could be very fundamental but I am stuck and unable to debug...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@allenfuller
changeSelector
function should work for you. See https://github.com/aldeed/meteor-tabular#modifying-the-selectorHi, I have a similar need to pass a parameter to the server-side publish for validation. I’m using the Roles package and I need to verify that a user has a certain role for a specific role group that I’d like to pass to the publish when subscribing. While I can check the roles for userId I don’t have enough information without being able to pass the role group I am checking for as well.