I have a bean, Course, with a field of type CourseId, which has a
String department abbreviation and an Integer number. I would like to
have a bean edit form to edit the Course, but I can't figure out how
to modify the course id with it.

The instructions on the Tapestry website
(http://tapestry.apache.org/tapestry5/tapestry-core/guide/beaneditform.html)
define the following field in AppPropertyEditBlocks:

@Component(parameters =
    { "value=context.propertyValue", "label=prop:context.label",
            "translate=prop:currencyTranslator",
"validate=prop:currencyValidator",
            "clientId=prop:context.propertyId" })
    private TextField _currency;


I'm not sure how to adapt this to work for having two fields in the
component editing block. What would the value be set to for each?

Any help is appreciated :-)


-- 
Peter Beshai

CS 134 Tutor
University of Waterloo

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to