Hi Igor,

Yeah, this is true. Even for Tapestry build in components, such as
actionlink, after input <t:actionlink, TapestryTools does not supply a
auto complete for its parameters such as anchor or disabled. Or even
more, in a normal jsp page, if you drag a jsp component, such as
jsp:forward, Eclipse WTP does not supply a parameters auto complete
list too, so this is because Eclipse WTP does not supply this feature,
but in the future, we can think about how to do this thing.

There is indeed some difference between Tapestry built in components
and custom components, if you added a built component, we can edit its
parameters in Eclipse's property view, but we can not do this for
custom components. I am working for this feature now, and i think we
can fix this problem soon.

在 2011年8月29日 下午10:14,Igor Drobiazko <[email protected]> 写道:
> Hi Gavin,
> I'm sorry I wasn't clear enough. Autocompletion for components works, but
> not for component parameters. Juts add a new parameter to Menu like:
>
> public class Menu {
>
>     @Parameter
>
>    private String title;
>
> }
>
> Then type <t:menu and try to get an autocomplete box for parameters. It
> doesn't work.
>
> 2011/8/29 Gavin Lei <[email protected]>
>>
>> Hi Igor
>>
>> 在 2011年8月29日 下午5:23,Gavin Lei <[email protected]> 写道:
>> > Hi Igor
>> >
>> > 在 2011年8月29日 下午5:04,Igor Drobiazko <[email protected]> 写道:
>> >> Hi Gavin,
>> >> installing the plugin into Eclipse Indigo JavaEE the way you described
>> >> works. I can confirm that the components appear in the Palette. I can
>> >> drag
>> >> and drop components.
>> >> Autocompletion seems to be broken. It works for most of Tapestry
>> >> components,
>> >> but it doesn't work for custom components.
>> >
>> > I will check this point soon
>> >
>>
>> I just checked this feature, it worked well, i added a custom
>> component named Menu, and then collected it, then i use it in
>> Start.tml, once i input <t:, Menu appear in auto complete list. After
>> i selected Menu, it added <t:Menu></t:Menu>. So, i think it really
>> works
>>
>> >> Also page's class properties are
>> >> not available in autocompletion.
>> >
>> > This is issue 8
>> > problem(http://code.google.com/p/tapestrytools/issues/detail?id=8), we
>> > will fix it in the future
>> >
>> >>
>> >>
>> >> --
>> >> Best regards,
>> >>
>> >> Igor Drobiazko
>> >> http://tapestry5.de
>> >>
>> >
>> >
>> >
>> > --
>> > ---------------------------------
>> > Best Regards
>> > Gavin Lei (雷银)
>> > Email: [email protected]
>> >
>>
>>
>>
>> --
>> ---------------------------------
>> Best Regards
>> Gavin Lei (雷银)
>> Email: [email protected]
>
>
>
> --
> Best regards,
>
> Igor Drobiazko
> http://tapestry5.de
>



-- 
---------------------------------
Best Regards
Gavin Lei (雷银)
Email: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to