[errai-dev] Thoughts on errai-nav

Christian Sadilek csadilek at redhat.com
Tue Mar 4 12:26:02 EST 2014


Hi,

I think this would be a great addition. Other frameworks (i.e. Angular.js) support that.

Cheers,
Christian

On 2014-02-19, at 6:33 AM, Eric Wittmann <eric.wittmann at redhat.com> wrote:

> Hey guys.  I was wondering if anyone else would be interested in 
> expanding the page navigation path support.  Currently I think 
> @Page(path="blah") only supports relatively basic tokens.  Additionally, 
> the @PageState feature expresses the state values similar to query params.
> 
> What I would like to do is something like this:
> 
> @Templated
> @Page(path="/{customerId}/orders/{orderId}")
> public class OrderDetailsPage extends Composite {
> 
>   @PageState String customerId;
>   @PageState String orderId;
> 
> }
> 
> This would allow a very flexible system for generating interesting URLs. 
>  So the URL for my app might look like:
> 
> http://example.org/myapp#/CustomerABC/orders/order-17
> 
> Does anyone else desire something like this?
> 
> -Eric
> _______________________________________________
> errai-dev mailing list
> errai-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/errai-dev




More information about the errai-dev mailing list