Thanks a lot Dan. It worked like a charm. Previously the encoding I had tried have not overridden because I have not specified my preference and the application uses default values.
Best Regards,
Vishma.

On 2/15/2016 7:58 PM, Dan Haywood wrote:
Hi Vishma,

You should just be able to implement your own version of the
UrlEncodingService, using @DomainServiceLayout#menuOrder to ensure that
your version is picked up in preference to the framework-provided default
[1].  For example, you could start with the demo implementation in the
todoapp [2].

HTH
Dan

[1]
https://github.com/isisaddons/isis-app-todoapp/blob/master/app/src/main/java/todoapp/app/services/urlencoding/UrlEncodingServiceUsingInMemoryCache.java
[2]
http://isis.apache.org/guides/ugbtb.html#_ugbtb_other-techniques_replacing-default-service-implementations



On 15 February 2016 at 11:52, Vishma Senadhi Dias <[email protected]>
wrote:

Hi all,

I am using isis simple archetype in my development. I use JAXB annotated
classes as view models in my application. Some of my view models have
several layers of nested objects.
  I cannot access the deeper nested classes, as per my opinion caused by
excess length of the URL.  It takes around 3000 characters per one URL at
some stages.
The warning I get is,

2016-02-15 16:55:20.049:WARN:oejh.HttpParser:HttpParser Full for
SCEP@4ed37991
{l(/0:0:0:0:0:0:0:1:50106)<->r(/0:0:0:0:0:0:0:1:8080),s=1,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@98f3730,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-1,l=2415,c=-3},r=25}


I have been trying to modify UrlEncodingService. Is there any workaround
so that I can shorten the URL to support the browser. Any suggestions ?

Can I continue developing using the archetype or shall I move to develop
with the ISIS source?
---------------------->>> ISIS version : 1.11.0
<<<------------------------------
Thanks in advance,
Vishma.



Reply via email to