[Building Sakai] Problem during development

Sam Chow samchow at ln.edu.hk
Sun Apr 18 23:59:37 PDT 2010


Dear AZ,

I am working on a excel export function, i am trying:

FacesContext faces = FacesContext.getCurrentINsstance();
HttpServletResponse response =
(HttpServletResponse)faces.getExternalContext().getResponse();

but when it run to faces.getExternalContext().getResponse() , it have a null
pointer error.

What should i config?

Many Thanks.

Best Regards,
Sam Chow


Aaron Zeckoski-3 wrote:
> 
> On Fri, Apr 16, 2010 at 9:27 AM, Sam Chow <samchow at ln.edu.hk> wrote:
>>
>> Dear AZ,
>>
>> Thanks for your reply.
>>
>> 1)where is the example? I think i should read this carefully.
> 
> Just do a search in the code that was generated by the app builder for
> ".write.any" and you will find the permission key and then you can
> trace it from there.
> 
>> 2)Thanks!
>>
>> 3)Actually, it is just a static selection box which contains 3 choice
>> (Absent, Persent, Late), when the instructut choose all the status for
>> the
>> student, then he click submit button. I am no idea how to get back the
>> value, cos the number of student is dynamic.
> 
> Check the RSF wiki starting here:
> http://rsf.fluidproject.org/wiki/Wiki.jsp?page=UISelect
> 
> There are code samples doing exactly what you want to do in the sample
> apps (linked on the wiki) and also in some of the sakai apps that use
> RSF (like evaluation for example).
> 
> :-)
> -AZ
> 
> 
> 
> -- 
> Aaron Zeckoski - Software Engineer - http://tinyurl.com/azprofile
> _______________________________________________
> 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"
> 
> 


-----
Best Regards,

Sam Chow
Research Assistant
Lingnan Unviersity
Hong Kong
-- 
View this message in context: http://old.nabble.com/Problem-during-development-tp28264137p28287608.html
Sent from the Sakai - Development mailing list archive at Nabble.com.



More information about the sakai-dev mailing list