I'm a bit confused with your example.
But what you sould have is something like this:

<input jwcid="[EMAIL PROTECTED]" value="ognl:search" class="itemsarea"/>

And in your page java class:

public String search;
public String getSearch();
public void setSearch(String value);

Tap will then create all the code for the getter and setter when it inherits
you r abstract class.
The ognl will read search as property search witch sould have a getter and
setter for setting and reading the value.

There are other ways to do it, with anotation, in the .page, but I think
this was what you we're after by the exemple you posted.
If not post away... ;-)

Regards,


On 5/6/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:

Hi all

I have a TextField and I am trying to set my value="" property.
I am currently using <input jwcid="[EMAIL PROTECTED]" value="ognl:
listeners.getSearch" class="itemsarea"/>, so I can set the value of the
TextField in my component. But what happens is that when I load the page
for
the first time, I get a string in the TextField: "
[EMAIL PROTECTED]"

How do the value properties work? I have read the manual, but obviously
there's something I am not doing right.

--
Cumprimentos,
Rui Pacheco




--
Pedro Viegas

Reply via email to