Hi Chauhan,

    Thanks very much for your reply,you really get what am talking about.I did 
exactly as you told me but is not yet coming up,maybe I did not get your 
explanation well.
What I really did is that I try to open the JSP(customerPicture.jsp) you told 
me which is in /doc-root/application/client/jsp/customerPicture.jsp.

  You said it has the part-URL hardcoded in it with 
/mifos/something-something,I do not undertand what you mean by that 
/something-something maybe you can help me by specifying the exact syntax 
there.But I found this syntax:

<img 
src="/mifos/clientCustAction.do?method=retrievePicture&currentFlowKey=${requestScope.currentFlowKey}"
 height="100" width="150" />
<%-- <img 
src="/mifos/clientCustAction.do?method=retrievePicture&customerId=${requestScope.clientVO.customerId}"
 height= "150" width="150"/> --%>

  I think this is the area you are 

        referring me to. So,I changed the src="/mifos/ to src="/mfi/ in both 
lines.I recompiled and also deployed the new mfi.war,but the picture is not yet 
coming up.

Please you said something about getting the context root from request and that 
I should insert it dynamically,I think this can also help. But I do not know 
where to get the context root.You also said something about servlet that 
returned the image binary,Can I know more about this also.

  Please you really know my problem,but I have not gotten your explanation 
well.I will be glad if you can explain more better on this for me.Thanks very 
much for your assistance,I really appreciate.

  I will also like to give thanks to Aliya and Mark who have also been 
assisting us since.Concerning the Issue Tracker, Aliya said it will be better 
for me to enter this in the Issue Tracker.Alhought I have not try this 
before,but my partner said he has not understand how to use it for now and we 
are still studding how to use it.

   That is why we have not been entering our issue their,but we will surely 
start entering our issue their as soon as we know how to use it better. Thanks 
very much for you support.

Please I will be expecting your reply soon.

Remain blessed.

----------------------------------------
From: "Aliya Walji" <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2008 3:35 AM
To: "Mifos functional discussions" <mifos-functional@lists.sourceforge.net>, 
<[EMAIL PROTECTED]>
Subject: RE: [Mifos-functional] Please My Client Photo Is Not Displaying 

Pooja - thank you for providing this
helpful response around this issue.  We really appreciate it.  I had
suspected this was the issue when it was first reported on the listserv a week
or so ago by Owoeye Sunday Laurence, but had not had the chance to go and check
on this myself. 

  

Matanmi - I think several other
people from your organization have posted this exact same query to the list in
the last week (both Owoeye Sunday Laurence and also Abdul-Quadri Dauda).  I
apologize that we didn't respond to them immediately.  In the
future, feel free to just send one email about this issue and respond to the
initial thread with any additional information from others in your
organization.  I think that will make it easier for the community. 

  

I think Pooja's information about
the cause of the issue is probably correct.  But, rather than doing the
work around suggested below, I would suggest that you enter this item into the
issue tracker.  The current version of Mifos is not yet complete/stable
and we are going through a process of fixing many bugs.  It is very
helpful for us if you can log any issues of this nature (where things are not
functioning as you would expect) in the issue tracker.  Once again, some
information on the best way to provide the information to help us investigate
the issue is in my last couple email messages to the community.   

  

Please go ahead and enter this item in the
issue tracker and we will look into it in more detail for you. 

  

Thanks, 

  

Aliya 

  

----------------------------------------

From: 
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pooja Chauhan

Sent: Tuesday, March 04, 2008 4:28
PM

To: [EMAIL PROTECTED]; Mifos functional discussions

Cc: [EMAIL PROTECTED]

Subject: Re: [Mifos-functional]
Please My Client Photo Is Not Displaying 

  

Matanni 

This may not be the best answer but we faced a similar problem due to renaming
the war and found this:

The JSP which opens up on clicking "See Photo",
doc-root/application/client/customerpicture.jsp has the part-URL harcoded in it
with /mifos/something-something. So, if you can just change this mifos to mfi,
do that. If that is not doable due to multi-war deployment or something
similar, you can get the context root from request and insert that dynamically.

In our case, we wrote a small servlet that returned the image binary, this made
it easy to show the picture on every page. 

Regards

--- Pooja.  

On 3/4/08, matanmi
femi <[EMAIL PROTECTED]>
wrote: 

Hi all,

  Please am having a serious challenge which I will like you to help me
look into.I do not know why my Client Photo is not displaying on the Client
Details page after clicking on the See Photo Link.

  I compiled the application to mfi.war and the name of my database is
mifos,but whenever I compiled to mifos.war everything is working fine.The
Client Photo will display,but I want use mfi.war instead of mifos.war.

  I also noticed an error at my command line,indicating
null_pointer_exception but I do not know where or how to fix it.

  Please I will be very grateful if you can help me look into this and
tell me what to do,because I need to progress on this.I have been working on
this for the past two Months now.

  Please I will be expecting your reply soon.Thanks and God bless.

Remain blessed.

-------------------------------------------------------------------------

This SF.net email is sponsored by: Microsoft

Defy all challenges. Microsoft(R) Visual Studio 2008.

http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________

Mifos-functional mailing list

Mifos-functional@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/mifos-functional 

  


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mifos-functional mailing list
Mifos-functional@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-functional

Reply via email to