[Building Sakai] Problem during development

Aaron Zeckoski azeckoski at unicon.net
Fri Apr 16 01:22:17 PDT 2010


(1)
You should use a permission like the example ones in the tool and
check for that permission:
yourapp.write.any or yourapp.read.hidden
Not all sites have the same roles so it is dangerous to check roles directly.

(2) Try the POI library: org.apache.poi

(3) Can you provide more details on this one? Are you trying to detect
when the box is checked (this would require ajax) or that it was
checked when it is submitted or something else entirely?

Hope this helps
-AZ


On Fri, Apr 16, 2010 at 9:02 AM, Sam Chow <samchow at ln.edu.hk> wrote:
>
> Dear all,
>
> I am using a sakai app builder to develop a tools to take attendance. Now i
> have 3 problems:
>
> 1) I want the student only can view the record but instructor can update it.
> How should i set this permission? Should i check the user role in the
> producer?
>
> 2) I want to has a function to export the attendance information to excel
> file, any hints on this?
>
> 3) A question relate to RSF, i want to use a selection box to contain the
> student status, how can i catch the return value after the instrucutor
> change the student status?
>
> Many Thanks
>
> Best Regards
> Sam Chow
>
> -----
> Best Regards,
>
> Sam Chow
> Research Assistant
> Lingnan Unviersity
> Hong Kong
> --
> View this message in context: http://old.nabble.com/Problem-during-development-tp28264137p28264137.html
> Sent from the Sakai - Development mailing list archive at Nabble.com.
>
> _______________________________________________
> 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