hi Swapnil,
how about you use
<loop count="10" field="i"><log level="info" message="${i}"/></loop>
never tried it, but i guess it would work.
Please use 'User Mailing List' for such questions.
--
Thanks & Regards
Atul Vani
Enterprise Software Developer
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com/We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself.
Swapnil Sawant wrote:
> Hi,
>
> Can anyone pl let me know if there is any looping functionality (for loop) implemented in simple method of ofbiz ?
>
> I want to do iteration in simple method as given below :
>
> int start = <user entered value>;
> int end = <user entered value>;
>
> for(int i=start;i<=end;i++){
>
> //some processing here
>
> }
>
> Any sample piece of code would be of great help.
>
>
> Thanks,
> Swapnil Sawant
>
> ________________________________
> This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
>
> ______________________________________________________________________
>