[Building Sakai] RSF Question
    Aaron Zeckoski 
    azeckoski at unicon.net
       
    Fri Apr  1 05:27:45 PDT 2011
    
    
  
There is a method for causing an element to not be rendered. Just wrap
an if statement around the .make methods (or somehow cause those
methods to not be executed). This will cause the element with the
corresponding ID to not be rendered.
Example:
        if (draft) {
            UIOutput.make(entrydiv, "my-id-draft", " ");
        }
Here the element if my-id-draft will only be rendered if the draft
variable is true.
-AZ
On Fri, Apr 1, 2011 at 7:35 AM, Adrian Fish <a.fish at lancaster.ac.uk> wrote:
> RSF Question: Is there a method for showing or hiding UI elements from a
> producer? I can't find one so I'm using the UICSSDecorator.
>
> Cheers,
> Adrian.
>
> --
> ==================================
> Adrian Fish
> Software Engineer
> Centre for e-Science
> Bowland Tower South C Floor
> Lancaster University
> Lancaster
> LA1 4YW
> email: a.fish at lancaster.ac.uk
>
> http://confluence.sakaiproject.org/display/YAFT/Yaft
> http://confluence.sakaiproject.org/display/CLOG/Home
> http://confluence.sakaiproject.org/display/BBB/Home
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>
-- 
Aaron Zeckoski - Software Engineer - http://tinyurl.com/azprofile
    
    
More information about the sakai-dev
mailing list