Hello all,

I have a base component called Dialog which has a number of parameters. I
have created another component DialogRepairBatches which extends Dialog

public class Dialog {
    @Parameter(required=true)
    @Property
    private String id;

    @Parameter(required=true)
    @Property
    private Boolean enabled;

    @Parameter
    @Property
    private String title = "No title";

    @Parameter
    @Property
    private Integer height = 650;

    @Parameter
    @Property
    private Integer width = 450;

    @InjectComponent
    private Zone zone;


public class DialogRepairBatches extends Dialog {

    @Parameter(required=true)
    private long selectedItemId;

    @Parameter(required=true)
    private String serialNum;

    @Parameter(required=true)
    private Repair repair;

    @Parameter(required=true)
    private RepairListStatus selectedBatchStatus;

    @Property
    private RepairBatch repairBatch;

    @Inject
    private RepairBatchDAO repairBatchDAO;

    @Inject
    private ComponentResources componentResources;

My html looks like

<t:DialogRepairBatches t:id="dialogRepairBatches"
t:enabled="showRepairBatchList" t:selectedItemId="selectedItemId"
t:serialNum="selectedSerialNum" t:repair="repair"
t:selectedBatchedStatus="selectedBatchStatus"/>

I get the following error

Parameter(s) 'id, selectedBatchStatus' are required for
com.technolog.components.DialogRepairBatches, but have not been bound.

I'm not sure why the binding is not happening.

Anybody got any ideas?

FYI I'm also using template inheritance. I don't think this is going to make
any difference.

-- 
Thanks

 A Jabbar Azam

Reply via email to