phoolhbti / imageGallery

Image Gallery Component in Adobe CQ5
MIT License
0 stars 0 forks source link

Error while parsing jsp file imageGallery.jsp #1

Open chetanvajre opened 9 years ago

chetanvajre commented 9 years ago

All other components work, except the image gallery which I was most interested in. Here is the error. I also cannot edit the component specifically the links tab. I can't click on it. And since that is blank, it probably throws error see attached error. It throws erorrs at line 46 when it is trying to loop through ./links. out.println("
NodeName"+nodeName);
String property[] = properties.get("./links",String[].class); StringBuffer result = new StringBuffer();
for (int i = 0; i < property.length; i++) { result.append( property[i] ); result.append(","); } String mynewstring = result.toString();

what's this block of code trying to do? picturegalleryerror

phoolhbti commented 9 years ago

code has been changed ....and committed in git,

Thanks. Phool Chandra

On Thu, Oct 16, 2014 at 6:10 PM, chetanvajre notifications@github.com wrote:

All other components work, except the image gallery which I was most interested in. Here is the error. I also cannot edit the component specifically the links tab. I can't click on it. And since that is blank, it probably throws error see attached error. It throws erorrs at line 46 when it is trying to loop through ./links. out.println(" NodeName"+nodeName);

String property[] = properties.get("./links",String[].class); StringBuffer result = new StringBuffer();

for (int i = 0; i < property.length; i++) { result.append( property[i] ); result.append(","); } String mynewstring = result.toString();

what's this block of code trying to do? [image: picturegalleryerror] https://cloud.githubusercontent.com/assets/9267501/4662456/70fd74a6-5531-11e4-946a-2074de6b0e9d.png

— Reply to this email directly or view it on GitHub https://github.com/phoolhbti/imageGallery/issues/1.

thanks & regards Phool Chandra

chetanvajre commented 9 years ago

Thanks I will check it out again today

Sent from my iPhone

On Oct 17, 2014, at 1:47 AM, Phool Chandra notifications@github.com wrote:

code has been changed ....and committed in git,

Thanks. Phool Chandra

On Thu, Oct 16, 2014 at 6:10 PM, chetanvajre notifications@github.com wrote:

All other components work, except the image gallery which I was most interested in. Here is the error. I also cannot edit the component specifically the links tab. I can't click on it. And since that is blank, it probably throws error see attached error. It throws erorrs at line 46 when it is trying to loop through ./links. out.println(" NodeName"+nodeName);

String property[] = properties.get("./links",String[].class); StringBuffer result = new StringBuffer();

for (int i = 0; i < property.length; i++) { result.append( property[i] ); result.append(","); } String mynewstring = result.toString();

what's this block of code trying to do? [image: picturegalleryerror] https://cloud.githubusercontent.com/assets/9267501/4662456/70fd74a6-5531-11e4-946a-2074de6b0e9d.png

— Reply to this email directly or view it on GitHub https://github.com/phoolhbti/imageGallery/issues/1.

thanks & regards Phool Chandra — Reply to this email directly or view it on GitHub.