[forge-users] FacesFacet not available from Project ? (Forge 2 add-on)
George Gastaldi
ggastald at redhat.com
Tue Feb 4 10:03:30 EST 2014
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 at redhat.com
> <mailto:ggastald at 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 at gmail.com <mailto:lincolnbaxter at 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 at gmail.com <mailto:rdebusscher at 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 at lists.jboss.org
>> <mailto:forge-users at lists.jboss.org>
>> https://lists.jboss.org/mailman/listinfo/forge-users
>>
>>
>>
>>
>> --
>> Lincoln Baxter, III
>> http://ocpsoft.org
>> "Simpler is better."
>>
>> _______________________________________________
>> forge-users mailing list
>> forge-users at lists.jboss.org <mailto:forge-users at lists.jboss.org>
>> https://lists.jboss.org/mailman/listinfo/forge-users
>>
>>
>>
>>
>> _______________________________________________
>> forge-users mailing list
>> forge-users at lists.jboss.org <mailto:forge-users at lists.jboss.org>
>> https://lists.jboss.org/mailman/listinfo/forge-users
>
>
> _______________________________________________
> forge-users mailing list
> forge-users at lists.jboss.org <mailto:forge-users at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/forge-users
>
>
>
>
> _______________________________________________
> forge-users mailing list
> forge-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-users/attachments/20140204/6cc4183a/attachment-0001.html
More information about the forge-users
mailing list