|
|
|
|
|
|
Re: content assist/validation for custom variableResolver and propertyResolver [message #474018 is a reply to message #473998] |
Wed, 28 March 2007 15:50 |
Xiaonan Jiang Messages: 14 Registered: July 2009 |
Junior Member |
|
|
See an example in the following URL:
http://publib.boulder.ibm.com/infocenter/wsadhelp/v5r1m2/ind ex.jsp?topic=/com.ibm.etools.jsf.doc/topics/tjsflists.html
For an expression e.g., "selectitems.myBean.label.value.toArray", both
"label" and "value" are the properties of the bean "myBean". So to get the
symbols for "value" will need to know "myBean".
In Runtime, the property resolver will have a pointer to its base (parent)
property resolver.
Thanks.
- Xiaonan
"Cameron Bateman" <cameron.bateman@oracle.com> wrote in message
news:bc435ee829c68b0647e8ba4713f5c7c3$1@www.eclipse.org...
> It is possible, although I'm not sure ISymbol is the correct place to do
> it since this places the burden on all producers of symbols to have this
> information. Can you give a little more information about the specific
> use case so that I can form a canonical understanding of the use case?
> What is it about 'c' that knowing about b isn't enough? How does your
> runtime property resolver solve this?
>
>
> --Cam
>
> Xiaonan Jiang wrote:
>
>> Hi, Cameron,
>
>> For an expression e.g., "A.b.c", when generating the symbols for "c",
>> sometime we need to know the information in the symbol "A".
>> Is it possible to add an API getBase() for ISymbol interface?
>
>> Thanks.
>> - Xiaonan
>
>> "Cameron Bateman" <cameron.bateman@oracle.com> wrote in message
>> news:f8234cde00320b9b243e8d0a2764b501$1@www.eclipse.org...
>>> It is in the built in help system if you the JSF feature installed.
>>> After unzipping the JSF build into Eclipse, try Help->Help Contents.
>>>
>>>
>>> --Cam
>>>
>
>
|
|
|
|
|
|
|
|
|
Re: content assist/validation for custom variableResolver and propertyResolver [message #608459 is a reply to message #473998] |
Wed, 28 March 2007 15:50 |
Xiaonan Jiang Messages: 14 Registered: July 2009 |
Junior Member |
|
|
See an example in the following URL:
http://publib.boulder.ibm.com/infocenter/wsadhelp/v5r1m2/ind ex.jsp?topic=/com.ibm.etools.jsf.doc/topics/tjsflists.html
For an expression e.g., "selectitems.myBean.label.value.toArray", both
"label" and "value" are the properties of the bean "myBean". So to get the
symbols for "value" will need to know "myBean".
In Runtime, the property resolver will have a pointer to its base (parent)
property resolver.
Thanks.
- Xiaonan
"Cameron Bateman" <cameron.bateman@oracle.com> wrote in message
news:bc435ee829c68b0647e8ba4713f5c7c3$1@www.eclipse.org...
> It is possible, although I'm not sure ISymbol is the correct place to do
> it since this places the burden on all producers of symbols to have this
> information. Can you give a little more information about the specific
> use case so that I can form a canonical understanding of the use case?
> What is it about 'c' that knowing about b isn't enough? How does your
> runtime property resolver solve this?
>
>
> --Cam
>
> Xiaonan Jiang wrote:
>
>> Hi, Cameron,
>
>> For an expression e.g., "A.b.c", when generating the symbols for "c",
>> sometime we need to know the information in the symbol "A".
>> Is it possible to add an API getBase() for ISymbol interface?
>
>> Thanks.
>> - Xiaonan
>
>> "Cameron Bateman" <cameron.bateman@oracle.com> wrote in message
>> news:f8234cde00320b9b243e8d0a2764b501$1@www.eclipse.org...
>>> It is in the built in help system if you the JSF feature installed.
>>> After unzipping the JSF build into Eclipse, try Help->Help Contents.
>>>
>>>
>>> --Cam
>>>
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04980 seconds