How do I set the initial page size in Pager?
To adjust initial page size, you will have to first locate where the pager is initialized, then add the
following block into your pager options:
If you created your pager based on the Pager tutorial at http://wiki.fluidproject.org/display/fluid/Pager+Tutorial, then look for the following block:
Next, checking the Pager API, http://wiki.fluidproject.org/display/fluid/Pager+API#PagerAPI-optionsdescription, under header "The Pager Model", we see the following:
The number of "items" which may be shown on a page
This tells us that if we want to modify the initial pageSize, we will have to modify the model option, as follow:
Now, let's put this option into the pager, assuming 20 is the new page size
That's it! More information can be found here http://wiki.fluidproject.org/display/fluid/Pager+Tutorial.
I have a pager setup with sortable columns, the table head looks like:
How do you make it so the user can click anywhere in the <th> to sort (instead of clicking just the link)?
To sort the column with the entire table header, you just need to move the "rsf:id" out from the anchor(<a>)to the table header(<th>), as follow:
For reorders, how do I send new order back to the server?
Take a look at: http://wiki.fluidproject.org/display/fluid/Talking+to+the+Server+Using+The+afterMove+Event
Is it possible to have a multiline inline edit, without the "Rich Text" functionality?
No. You will have to use the "Rich Text".
My uploaded files aren't saving where I want them to - why?
Check your server script, this problem has nothing to do with the FLUID uploader. The server script handles where the files save to. This server script is specified by the uploadURL variable, which is located at the queueSettings block,
In this case, the script is "/sakai-imagegallery2-web/site/multiFileUpload.jsp".
fluid.defaults() stores and retrieve a component's default settings. "Settings" are the
optionsthat are basically configuration to a components. On run time, components settings are generated by merging the default settings (which is by
fluids.defaults()) and the users' instance of
option(which is the last argument to a component creator).
fluid.defaults()API can be found here.
fluid.demands(), why do we need it, and what does it do?
Infusion includes an Inversion of Control (IoC) system, which helps developers organize dependencies between objects in their application. This makes code easier to reuse and test. Instead of directly instantiating other objects or dependencies, a component "demands" them from the Infusion IoC system. When the component is instantiated, the framework automatically sets up everything the component needs in order to operate. Dependencies are declared, or "wired up," using the
fluid.demands() framework function. More information on using
fluid.demands() can be found at Demands Specification and the .