cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicki Møller <>
Subject Dynamic content presentation
Date Mon, 17 Jul 2000 10:07:04 GMT

Hi All, 

I need help on how to get the day array presented in
my xml file(how can I refer to a dynamic var. or an

Here's how my code looks

-------- XML --------
String[] day = new String[7];
SimpleDateFormat format = 
new SimpleDateFormat("dd-MM-yyyy"); 
Calendar calendar = Calendar.getInstance(); 
while(calendar.get(Calendar.DAY_OF_WEEK) &gt;
		for(int i = 0; i &lt; 7; i++) 
		 day[i] = format.format(calendar.getTime()); 	

What I whould like to do is shomthing like 


but when I try to do it nothing gets return

All help is appreciated


Do You Yahoo!?
Få en gratis på

View raw message