Hi @all,
I would like to develop a dynamic/generic BSP extension for an inputField. Now i have the following Problem. I have a view with a number of parameters. The model instance of the calling BSP is also passed as an attribute to my view. Now the view simply contains an InputField:
<htmlb:inputField id="<%=vh_id%>"
type="string"
visible="true"
disabled="false"
value="//model/client.clientno"
maxlength="<%=vh_width%>"
size="<%=vh_width%>" />
If I call it like this the InputField is filled with the value of //model/client.clientno. Now I would like to parametrize the value Attribute too:
<htmlb:inputField id="<%=vh_id%>"
type="string"
visible="true"
disabled="false"
value="<%=vh_value%>"
maxlength="<%=vh_width%>"
size="<%=vh_width%>" />
Now if I pass "//model/client.clientno" as vh_value in the call of my BSP-Extension:
<bsp:parameter name="vh_value" value="//model/client.clientno" />
it doesn't fill in the value but it simply writes "//model/client.clientno" (without the quotation marks) into the input field.
I know there is a workaround like this:
<bsp:parameter name="vh_value" value="<%=model->client-clientno%>" />
But with this the workaround if I change the value of my InputField in the browser the changed value is never returned to the model.
any ideas?
thx in advance,
Stefan