History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WW-1041
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: tm_jee
Reporter: Don Brown
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
WebWork

Showcase - Edit Employee form broken

Created: 22/Dec/05 03:50 PM   Updated: 03/Jan/06 10:35 AM
Component/s: Examples
Affects Version/s: None
Fix Version/s: 2.2


 Description  « Hide
Specifically, the primary skills field won't render, throwing:

2005-12-22 13:45:06,781 ERROR (com.opensymphony.webwork.components.Component:116) - tag select, field list: You must specify a collection/array/map/enumeration/iterator. Example: people or people.{name}

The source for that field in editEmployee.jsp

29 <ww:select list="#skillAction.availableItems" listKey="name" label="Main Skill"
30 name="currentEmployee.mainSkill.name"/>


 All   Comments   Change History      Sort Order:
tm_jee - [03/Jan/06 10:35 AM ]
the root cuase is a bad namespace

<ww:action id="skillAction" namespace="/showcase/skill" name="list"/>

should be

<ww:action id="skillAction" namespace="/skill" name="list"/>