You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@deltaspike.apache.org by Juliano Marques <ju...@gmail.com> on 2014/08/14 08:39:00 UTC

ViewConfig

Hi,

I'm trying to use ViewConfigs with DS but I can't get it working.
The outcome is not found.
Can you provide me guidance?

demo:
Glassfish - https://github.com/julianomqs/ds-view-config-glassfish
Wildfly - https://github.com/julianomqs/ds-view-config-wildfly

Regards,

*Juliano M.*

Re: ViewConfig

Posted by Juliano Marques <ju...@gmail.com>.
This works...
Thanks a lot... DS is great :-)

Atenciosamente,

*Juliano M.*



On Thu, Aug 14, 2014 at 3:30 PM, Gerhard Petracek <
gerhard.petracek@gmail.com> wrote:

> hi juliano,
>
> please move the beans.xml file to WEB-INF and it will work.
>
> regards,
> gerhard
>
> http://www.irian.at
>
> Your JSF/JavaEE powerhouse -
> JavaEE Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>
>
> 2014-08-14 20:09 GMT+02:00 Juliano Marques <ju...@gmail.com>:
>
> > Hi,
> >
> > Here, the samples:
> > Glassfish - https://github.com/julianomqs/ds-view-config-glassfish
> > Wildfly - https://github.com/julianomqs/ds-view-config-wildfly
> >
> > Atenciosamente,
> >
> > *Juliano M.*
> >
> >
> >
> > On Thu, Aug 14, 2014 at 3:05 PM, Gerhard Petracek <
> > gerhard.petracek@gmail.com> wrote:
> >
> > > hi juliano,
> > >
> > > the view-config also works on wildfly (we have integration tests for
> it).
> > > you can deploy [1] to other ee6+ servers as well.
> > > if you still have issues, please provide a link to a demo which
> > > illustrates the
> > > issue.
> > >
> > > regards,
> > > gerhard
> > >
> > > [1] https://github.com/os890/ee6-ds-demo/tree/in-memory
> > >
> > > http://www.irian.at
> > >
> > > Your JSF/JavaEE powerhouse -
> > > JavaEE Consulting, Development and
> > > Courses in English and German
> > >
> > > Professional Support for Apache MyFaces
> > >
> > >
> > >
> > > 2014-08-14 18:04 GMT+02:00 Juliano Marques <ju...@gmail.com>:
> > >
> > > > Hi,
> > > >
> > > > Yes, I follow the documentation and saw this example, and the only
> > > > difference I saw between my project and ds-demo is the app server.
> > > > My project uses Wildfly, and the demo uses TomEE.
> > > > I keep getting the error "outcome "Unable to find matching navigation
> > > case
> > > > with from-view-id '/index.xhtml' for action
> '#{myController.toPage2()}'
> > > > with
> > > > outcome 'view.config.Test$Test2$Page2'"
> > > >
> > > >
> > > >
> > > > Regards,
> > > >
> > > > *Juliano M.*
> > > >
> > > >
> > > >
> > > > On Thu, Aug 14, 2014 at 4:49 AM, Gerhard Petracek <
> > > > gerhard.petracek@gmail.com> wrote:
> > > >
> > > > > hi juliano,
> > > > >
> > > > > most parts are covered by the documentation [1].
> > > > > furthermore, you can compare your setup and usage e.g. with [2].
> > > > >
> > > > > regards,
> > > > > gerhard
> > > > >
> > > > > [1] http://deltaspike.apache.org/jsf.html#type-safe-view-configs
> > > > > [2] https://github.com/os890/ee6-ds-demo
> > > > >
> > > > > http://www.irian.at
> > > > >
> > > > > Your JSF/JavaEE powerhouse -
> > > > > JavaEE Consulting, Development and
> > > > > Courses in English and German
> > > > >
> > > > > Professional Support for Apache MyFaces
> > > > >
> > > > >
> > > > >
> > > > > 2014-08-14 8:39 GMT+02:00 Juliano Marques <ju...@gmail.com>:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I'm trying to use ViewConfigs with DS but I can't get it working.
> > > > > > The outcome is not found.
> > > > > > Can you provide me guidance?
> > > > > >
> > > > > > demo:
> > > > > > Glassfish -
> https://github.com/julianomqs/ds-view-config-glassfish
> > > > > > Wildfly - https://github.com/julianomqs/ds-view-config-wildfly
> > > > > >
> > > > > > Regards,
> > > > > >
> > > > > > *Juliano M.*
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: ViewConfig

Posted by Gerhard Petracek <ge...@gmail.com>.
hi juliano,

please move the beans.xml file to WEB-INF and it will work.

regards,
gerhard

http://www.irian.at

Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces



2014-08-14 20:09 GMT+02:00 Juliano Marques <ju...@gmail.com>:

> Hi,
>
> Here, the samples:
> Glassfish - https://github.com/julianomqs/ds-view-config-glassfish
> Wildfly - https://github.com/julianomqs/ds-view-config-wildfly
>
> Atenciosamente,
>
> *Juliano M.*
>
>
>
> On Thu, Aug 14, 2014 at 3:05 PM, Gerhard Petracek <
> gerhard.petracek@gmail.com> wrote:
>
> > hi juliano,
> >
> > the view-config also works on wildfly (we have integration tests for it).
> > you can deploy [1] to other ee6+ servers as well.
> > if you still have issues, please provide a link to a demo which
> > illustrates the
> > issue.
> >
> > regards,
> > gerhard
> >
> > [1] https://github.com/os890/ee6-ds-demo/tree/in-memory
> >
> > http://www.irian.at
> >
> > Your JSF/JavaEE powerhouse -
> > JavaEE Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
> >
> >
> > 2014-08-14 18:04 GMT+02:00 Juliano Marques <ju...@gmail.com>:
> >
> > > Hi,
> > >
> > > Yes, I follow the documentation and saw this example, and the only
> > > difference I saw between my project and ds-demo is the app server.
> > > My project uses Wildfly, and the demo uses TomEE.
> > > I keep getting the error "outcome "Unable to find matching navigation
> > case
> > > with from-view-id '/index.xhtml' for action '#{myController.toPage2()}'
> > > with
> > > outcome 'view.config.Test$Test2$Page2'"
> > >
> > >
> > >
> > > Regards,
> > >
> > > *Juliano M.*
> > >
> > >
> > >
> > > On Thu, Aug 14, 2014 at 4:49 AM, Gerhard Petracek <
> > > gerhard.petracek@gmail.com> wrote:
> > >
> > > > hi juliano,
> > > >
> > > > most parts are covered by the documentation [1].
> > > > furthermore, you can compare your setup and usage e.g. with [2].
> > > >
> > > > regards,
> > > > gerhard
> > > >
> > > > [1] http://deltaspike.apache.org/jsf.html#type-safe-view-configs
> > > > [2] https://github.com/os890/ee6-ds-demo
> > > >
> > > > http://www.irian.at
> > > >
> > > > Your JSF/JavaEE powerhouse -
> > > > JavaEE Consulting, Development and
> > > > Courses in English and German
> > > >
> > > > Professional Support for Apache MyFaces
> > > >
> > > >
> > > >
> > > > 2014-08-14 8:39 GMT+02:00 Juliano Marques <ju...@gmail.com>:
> > > >
> > > > > Hi,
> > > > >
> > > > > I'm trying to use ViewConfigs with DS but I can't get it working.
> > > > > The outcome is not found.
> > > > > Can you provide me guidance?
> > > > >
> > > > > demo:
> > > > > Glassfish - https://github.com/julianomqs/ds-view-config-glassfish
> > > > > Wildfly - https://github.com/julianomqs/ds-view-config-wildfly
> > > > >
> > > > > Regards,
> > > > >
> > > > > *Juliano M.*
> > > > >
> > > >
> > >
> >
>

Re: ViewConfig

Posted by Juliano Marques <ju...@gmail.com>.
Hi,

Here, the samples:
Glassfish - https://github.com/julianomqs/ds-view-config-glassfish
Wildfly - https://github.com/julianomqs/ds-view-config-wildfly

Atenciosamente,

*Juliano M.*



On Thu, Aug 14, 2014 at 3:05 PM, Gerhard Petracek <
gerhard.petracek@gmail.com> wrote:

> hi juliano,
>
> the view-config also works on wildfly (we have integration tests for it).
> you can deploy [1] to other ee6+ servers as well.
> if you still have issues, please provide a link to a demo which
> illustrates the
> issue.
>
> regards,
> gerhard
>
> [1] https://github.com/os890/ee6-ds-demo/tree/in-memory
>
> http://www.irian.at
>
> Your JSF/JavaEE powerhouse -
> JavaEE Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>
>
> 2014-08-14 18:04 GMT+02:00 Juliano Marques <ju...@gmail.com>:
>
> > Hi,
> >
> > Yes, I follow the documentation and saw this example, and the only
> > difference I saw between my project and ds-demo is the app server.
> > My project uses Wildfly, and the demo uses TomEE.
> > I keep getting the error "outcome "Unable to find matching navigation
> case
> > with from-view-id '/index.xhtml' for action '#{myController.toPage2()}'
> > with
> > outcome 'view.config.Test$Test2$Page2'"
> >
> >
> >
> > Regards,
> >
> > *Juliano M.*
> >
> >
> >
> > On Thu, Aug 14, 2014 at 4:49 AM, Gerhard Petracek <
> > gerhard.petracek@gmail.com> wrote:
> >
> > > hi juliano,
> > >
> > > most parts are covered by the documentation [1].
> > > furthermore, you can compare your setup and usage e.g. with [2].
> > >
> > > regards,
> > > gerhard
> > >
> > > [1] http://deltaspike.apache.org/jsf.html#type-safe-view-configs
> > > [2] https://github.com/os890/ee6-ds-demo
> > >
> > > http://www.irian.at
> > >
> > > Your JSF/JavaEE powerhouse -
> > > JavaEE Consulting, Development and
> > > Courses in English and German
> > >
> > > Professional Support for Apache MyFaces
> > >
> > >
> > >
> > > 2014-08-14 8:39 GMT+02:00 Juliano Marques <ju...@gmail.com>:
> > >
> > > > Hi,
> > > >
> > > > I'm trying to use ViewConfigs with DS but I can't get it working.
> > > > The outcome is not found.
> > > > Can you provide me guidance?
> > > >
> > > > demo:
> > > > Glassfish - https://github.com/julianomqs/ds-view-config-glassfish
> > > > Wildfly - https://github.com/julianomqs/ds-view-config-wildfly
> > > >
> > > > Regards,
> > > >
> > > > *Juliano M.*
> > > >
> > >
> >
>

Re: ViewConfig

Posted by Gerhard Petracek <ge...@gmail.com>.
hi juliano,

the view-config also works on wildfly (we have integration tests for it).
you can deploy [1] to other ee6+ servers as well.
if you still have issues, please provide a link to a demo which illustrates the
issue.

regards,
gerhard

[1] https://github.com/os890/ee6-ds-demo/tree/in-memory

http://www.irian.at

Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces



2014-08-14 18:04 GMT+02:00 Juliano Marques <ju...@gmail.com>:

> Hi,
>
> Yes, I follow the documentation and saw this example, and the only
> difference I saw between my project and ds-demo is the app server.
> My project uses Wildfly, and the demo uses TomEE.
> I keep getting the error "outcome "Unable to find matching navigation case
> with from-view-id '/index.xhtml' for action '#{myController.toPage2()}'
> with
> outcome 'view.config.Test$Test2$Page2'"
>
>
>
> Regards,
>
> *Juliano M.*
>
>
>
> On Thu, Aug 14, 2014 at 4:49 AM, Gerhard Petracek <
> gerhard.petracek@gmail.com> wrote:
>
> > hi juliano,
> >
> > most parts are covered by the documentation [1].
> > furthermore, you can compare your setup and usage e.g. with [2].
> >
> > regards,
> > gerhard
> >
> > [1] http://deltaspike.apache.org/jsf.html#type-safe-view-configs
> > [2] https://github.com/os890/ee6-ds-demo
> >
> > http://www.irian.at
> >
> > Your JSF/JavaEE powerhouse -
> > JavaEE Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
> >
> >
> > 2014-08-14 8:39 GMT+02:00 Juliano Marques <ju...@gmail.com>:
> >
> > > Hi,
> > >
> > > I'm trying to use ViewConfigs with DS but I can't get it working.
> > > The outcome is not found.
> > > Can you provide me guidance?
> > >
> > > demo:
> > > Glassfish - https://github.com/julianomqs/ds-view-config-glassfish
> > > Wildfly - https://github.com/julianomqs/ds-view-config-wildfly
> > >
> > > Regards,
> > >
> > > *Juliano M.*
> > >
> >
>

Re: ViewConfig

Posted by Juliano Marques <ju...@gmail.com>.
Hi,

Yes, I follow the documentation and saw this example, and the only
difference I saw between my project and ds-demo is the app server.
My project uses Wildfly, and the demo uses TomEE.
I keep getting the error "outcome "Unable to find matching navigation case
with from-view-id '/index.xhtml' for action '#{myController.toPage2()}' with
outcome 'view.config.Test$Test2$Page2'"



Regards,

*Juliano M.*



On Thu, Aug 14, 2014 at 4:49 AM, Gerhard Petracek <
gerhard.petracek@gmail.com> wrote:

> hi juliano,
>
> most parts are covered by the documentation [1].
> furthermore, you can compare your setup and usage e.g. with [2].
>
> regards,
> gerhard
>
> [1] http://deltaspike.apache.org/jsf.html#type-safe-view-configs
> [2] https://github.com/os890/ee6-ds-demo
>
> http://www.irian.at
>
> Your JSF/JavaEE powerhouse -
> JavaEE Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>
>
> 2014-08-14 8:39 GMT+02:00 Juliano Marques <ju...@gmail.com>:
>
> > Hi,
> >
> > I'm trying to use ViewConfigs with DS but I can't get it working.
> > The outcome is not found.
> > Can you provide me guidance?
> >
> > demo:
> > Glassfish - https://github.com/julianomqs/ds-view-config-glassfish
> > Wildfly - https://github.com/julianomqs/ds-view-config-wildfly
> >
> > Regards,
> >
> > *Juliano M.*
> >
>

Re: ViewConfig

Posted by Gerhard Petracek <ge...@gmail.com>.
hi juliano,

most parts are covered by the documentation [1].
furthermore, you can compare your setup and usage e.g. with [2].

regards,
gerhard

[1] http://deltaspike.apache.org/jsf.html#type-safe-view-configs
[2] https://github.com/os890/ee6-ds-demo

http://www.irian.at

Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces



2014-08-14 8:39 GMT+02:00 Juliano Marques <ju...@gmail.com>:

> Hi,
>
> I'm trying to use ViewConfigs with DS but I can't get it working.
> The outcome is not found.
> Can you provide me guidance?
>
> demo:
> Glassfish - https://github.com/julianomqs/ds-view-config-glassfish
> Wildfly - https://github.com/julianomqs/ds-view-config-wildfly
>
> Regards,
>
> *Juliano M.*
>