Can Frame labels in a sitemap be changed dynamically?

I have a page of my sitemap that I would like to show the forecast for the next five days. I have each days forecast in a seperate frame and would like to have the label of the frame be the day of the week (Monday, Tuesday, etc). Is it possible to dynamically change the frame label so that I could accomplish this?

You can create an Item for each of the five days and put the frame under it.

Items:

String Day_0 "[%s]"
String Day_1 "[%s]"
String Day_2 "[%s]"
String Day_3 "[%s]"
String Day_4 "[%s]"

Rule:

rule "Update forecast days of the week"
when
    Time cron "0 0 0 * * ?"
then
    Day_0.postUpdate(now.dayOfWeek) // not tested, you may get a number instead of a word for dayOfWeek, some more work here may be needed
    Day_1.postUpdate(now.plusDays(1).dayOfWeek) 
    ...
end

Sitemap:

Text item=Day_0 {
    Frame{
        // Day 0 forecast
    }
}
Text item=Day_1 {
    Frame{
        // Day 1 forecast
    }
}

Another approach can be instead of using String for the Day_x Items you can use a DateTime and use the DateTime formatting in the label to get the day of the week. In the rule you would set the item to now, now.plusDays(1), etc.

Of course there are some limitations. The dynamic label will be right justified.

Awesome, thanks for the workaround! I will give it a try and see what I can do.