Hi Sven, the tag I want to read is in the header section.
The jQuery code simply gets the text within the <style> tag (which is in the header) and passes it into the event data. I assume you have no alternative, e.g. changing the limit only for this request? Regards Sabine On Thu, Jul 3, 2014 at 11:34 AM, Sven Van Caekenberghe-2 [via Smalltalk] < ml-node+s1294792n4766309...@n4.nabble.com> wrote: > Hi, > > The jQuery code is above my level of understanding I am afraid. I wonder > where/how exactly you hit the line length limit. Because it is only > applicable when reading the HTTP header, normally not the body. > > Sven > > On 02 Jul 2014, at 15:42, Sabine Knöfel <[hidden email] > <http://user/SendEmail.jtp?type=node&node=4766309&i=0>> wrote: > > > Hi Sven, all, > > > > I ran into the same problem as described here: > > > > > http://forum.world.st/ZnLineReader-set-limit-when-reading-a-header-td4649479.html#a4649489 > > > > My question is: that thread was created in 2012, perhaps today you have > > another alternative/idea to override it globally in ZNConstants. I want > to > > avoid this. > > > > The situation is: > > > > I use lesscss. This creates a style tag like this: > > > > > > > > With a button click like this: > > > > html button > > onClick: (html jQuery ajax callback: [ :eventData | ( Delay forSeconds: > 10) > > wait. eventData inspect ] value: (JSStream > > on:'jQuery(''#less\\:files-RKALibrary-mainStylesFile'').text()')); > > script: html jQuery this button; > > with: 'CSS File generieren' > > > > I want to get the "very very long css file string" and use it (to create > a > > css file from it). > > > > This action is done not so often and I don't want to override the limit > it > > for all requests. > > I would have to change it to at least 150000 instead of currently 4096. > I > > assume this would not be a good solution... > > > > OTOH, this will be used only while a redesign is done, before going > > productive. So, in the worst case I will change it for 4 weeks during > > redesign. What do you think, does that make sense? > > > > Background: I wrote a less editor for my app and the css designer will > be > > able to edit the less code and see the changes immediately in the > > application. > > > > Regards > > Sabine > > > > > > > > > > > > -- > > View this message in context: > http://forum.world.st/ZnLineTooLong-override-alternative-tp4766100.html > > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > > > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://forum.world.st/ZnLineTooLong-override-alternative-tp4766100p4766309.html > To start a new topic under Pharo Smalltalk Users, email > ml-node+s1294792n1310670...@n4.nabble.com > To unsubscribe from Pharo Smalltalk Users, click here > <http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1310670&code=c2FiaW5lLmtub2VmZWxAZ21haWwuY29tfDEzMTA2NzB8MTA0OTM5MTYx> > . > NAML > <http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://forum.world.st/ZnLineTooLong-override-alternative-tp4766100p4766320.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.