Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
how to update date in listbox
Migrateduser
<p>i have created a report with date as parameter as of now i have to update a date for next month automatically</p><p>its possible in normal jsp.. as like below</p><p> </p><p> </p><p> </p><div><select name="trandate" id="trandate" onchange="refresh()" class="FIELD" ></div><div> <%</div><div> String PrevoiusWeekDates[]=gMt.getPreviousDates(30);</div><div> </div><div> if(PrevoiusWeekDates != null)</div><div> {</div><div> for(int i=0; i<PrevoiusWeekDates.length; i++)</div><div> {</div><div> if(PrevoiusWeekDates
!= null)</div><div> {</div><div> //out.println("<option value='"+PrevoiusWeekDates
+"' >"+PrevoiusWeekDates
+"</option>");</div><div> %></div><div> <option value="<%=PrevoiusWeekDates
%>"<%if(PrevoiusWeekDates
.equals(trandate)){ %>selected <% } %> ><%=PrevoiusWeekDates
%></option></div><div> <%</div><div> </div><div> }</div><div> }</div><div> }</div><div> %></div><div> </select></div><p> </p><p>how to do in birt report? </p>
Find more posts tagged with
Comments
There are no comments yet