[Building Sakai] RSF Question

Adrian Fish a.fish at lancaster.ac.uk
Fri Apr 1 05:57:51 PDT 2011


Ok, thanks. I thought that might cause an unpopulated element warning or 
something. Should have tried it :)

Cheers,
Adrian.

On 01/04/2011 13:27, Aaron Zeckoski wrote:
> 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"
>>
>
>

-- 
==================================
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



More information about the sakai-dev mailing list