-
1. Re: [forge-users] FacesFacet not available from Project ? (Forge 2 add-on)
rdul064 Feb 4, 2014 10:00 AM (in response to gastaldi)Hi all,
I created the issue https://issues.jboss.org/browse/FORGE-1551 for this.
Rudy
On 3 February 2014 21:38, George Gastaldi <ggastald@redhat.com> wrote:
I think I see your problem. Try invalidating the project cache before
browsing the facets by calling projectFactory.invalidateCaches() to test if
the facet list changes.
Could you create a JIRA about this?
Btw, in the latest SNAPSHOT I added a new command (project-list-facets)
which does the same as the code you provided.
>
On 03-02-2014 12:33, Rudy De Busscher wrote:
Hey Lincoln,
I have stripped down the add-on to his bare minimum to have a small test
case.
Just a class which extends AbstractProjectCommand which the action in
execute()
>
You can find it in the attachment.
Thx
Rudy
>
On 3 February 2014 15:20, Lincoln Baxter, III <lincolnbaxter@gmail.com>wrote:
>> Hey Rudy,
>>
>> The FacesFacet should be there. I think it would help if we looked at
>> your code. I'm not really sure why this would be the case without seeing
>> exactly what you're doing. Is that possible?
>>
>> Thanks!
>> ~Lincoln
>>
>>
>> On Mon, Feb 3, 2014 at 9:18 AM, Rudy De Busscher <rdebusscher@gmail.com>wrote:
>>
>>>
>>> Hi George,
>>>
>>> Through AbstractProjectCommand.getSelectedProject(UIContext)
>>>
>>> Or is there any other way to know if faces-setup has been called on
>>> the project
>>>
>>> Thx
>>> Rudy
>>>
>>>
>>> _______________________________________________
>>> forge-users mailing list
>>> forge-users@lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/forge-users
>>>
>>
>>
>>
>> --
>> Lincoln Baxter, III
>> "Simpler is better."
>>
>> _______________________________________________
>> forge-users mailing list
>> forge-users@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/forge-users
>>
>
>
_______________________________________________
forge-users mailing listforge-users@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/forge-users
>
_______________________________________________
forge-users mailing list
https://lists.jboss.org/mailman/listinfo/forge-users
-
att1.html.zip 1.6 KB
-
-
2. Re: [forge-users] FacesFacet not available from Project ? (Forge 2 add-on)
gastaldi Feb 4, 2014 10:03 AM (in response to rdul064)Thanks Rudy! I'll personally take care of this.
On 04-02-2014 13:00, Rudy De Busscher wrote:
Hi all,
I created the issue https://issues.jboss.org/browse/FORGE-1551 for this.
Rudy
>
On 3 February 2014 21:38, George Gastaldi <ggastald@redhat.com
<mailto:ggastald@redhat.com>> wrote:
I think I see your problem. Try invalidating the project cache
before browsing the facets by calling
projectFactory.invalidateCaches() to test if the facet list changes.
Could you create a JIRA about this?
Btw, in the latest SNAPSHOT I added a new command
(project-list-facets) which does the same as the code you provided.
>
On 03-02-2014 12:33, Rudy De Busscher wrote:
>> Hey Lincoln,
>>
>> I have stripped down the add-on to his bare minimum to have a
>> small test case.
>>
>> Just a class which extends AbstractProjectCommand which the
>> action in execute()
>>
>>
>> You can find it in the attachment.
>>
>> Thx
>> Rudy
>>
>>
>>
>> On 3 February 2014 15:20, Lincoln Baxter, III
>> <lincolnbaxter@gmail.com <mailto:lincolnbaxter@gmail.com>> wrote:
>>
>> Hey Rudy,
>>
>> The FacesFacet should be there. I think it would help if we
>> looked at your code. I'm not really sure why this would be
>> the case without seeing exactly what you're doing. Is that
>> possible?
>>
>> Thanks!
>> ~Lincoln
>>
>>
>> On Mon, Feb 3, 2014 at 9:18 AM, Rudy De Busscher
>> <rdebusscher@gmail.com <mailto:rdebusscher@gmail.com>> wrote:
>>
>>
>> Hi George,
>>
>> Through AbstractProjectCommand.getSelectedProject(UIContext)
>>
>> Or is there any other way to know if faces-setup has been
>> called on the project
>>
>> Thx
>> Rudy
>>
>>
>> _______________________________________________
>> forge-users mailing list
>> forge-users@lists.jboss.org
>> <mailto:forge-users@lists.jboss.org>
>> https://lists.jboss.org/mailman/listinfo/forge-users
>>
>>
>>
>>
>> --
>> Lincoln Baxter, III
>> "Simpler is better."
>>
>> _______________________________________________
>> forge-users mailing list
>> forge-users@lists.jboss.org <mailto:forge-users@lists.jboss.org>
>> https://lists.jboss.org/mailman/listinfo/forge-users
>>
>>
>>
>>
>> _______________________________________________
>> forge-users mailing list
>> forge-users@lists.jboss.org <mailto:forge-users@lists.jboss.org>
>> https://lists.jboss.org/mailman/listinfo/forge-users
>
_______________________________________________
forge-users mailing list
forge-users@lists.jboss.org <mailto:forge-users@lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/forge-users
>
>
_______________________________________________
forge-users mailing list
-
att1.html.zip 2.0 KB
-