|
Revision 312
(checked in by douglm, 7 years ago)
|
A number of webclient changes
1. Move events related jsp into docs/event
2. Split out common/short/detailed/all event fields
3. Emit more xml, organizer and attendees
4. Add taglib component to webcommon and add tag to emit tagged xml
|
| Line | |
|---|
| 1 |
<%@ taglib uri='struts-bean' prefix='bean' %> |
|---|
| 2 |
<%@ taglib uri='struts-logic' prefix='logic' %> |
|---|
| 3 |
<%-- Output any event fields with forms specific to short format displays --%> |
|---|
| 4 |
<logic:present name="event" property="location"> |
|---|
| 5 |
<bean:define id="location" name="event" property="location"/> |
|---|
| 6 |
<location> |
|---|
| 7 |
<id><bean:write name="location" property="id"/></id><%-- |
|---|
| 8 |
Value: integer - location id --%> |
|---|
| 9 |
<address><bean:write name="location" property="address"/></address><%-- |
|---|
| 10 |
Value: string - physical address of the location --%> |
|---|
| 11 |
<link><bean:write name="location" property="link"/></link><%-- |
|---|
| 12 |
Value: URI - link to a web address for the location --%> |
|---|
| 13 |
</location> |
|---|
| 14 |
</logic:present> |
|---|
| 15 |
<logic:notPresent name="event" property="location"> |
|---|
| 16 |
<location> |
|---|
| 17 |
<address></address> |
|---|
| 18 |
</location> |
|---|
| 19 |
</logic:notPresent> |
|---|
| 20 |
<categories> |
|---|
| 21 |
<logic:present name="event" property="categories"> |
|---|
| 22 |
<logic:iterate id="category" name="event" property="categories"> |
|---|
| 23 |
<category> |
|---|
| 24 |
<id><bean:write name="category" property="id"/></id><%-- |
|---|
| 25 |
Value: integer - category id --%> |
|---|
| 26 |
<value><bean:write name="category" property="word"/></value><%-- |
|---|
| 27 |
Value: string - the category value --%> |
|---|
| 28 |
</category> |
|---|
| 29 |
</logic:iterate> |
|---|
| 30 |
</logic:present> |
|---|
| 31 |
</categories> |
|---|
| 32 |
|
|---|