Wicket + WebLogic problem

2013-02-11 Thread mitziuro
, date);
 }
[4:14:27 PM] Cornel Condila:  private void checkHeader()
 {
  if (*bufferedWritten*)
  {
   throw new IllegalStateException(Header was already written to
response!);
  }
 }


*bufferedWritten* is sometimes true;





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-WebLogic-problem-tp4656235.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket + WebLogic problem

2013-02-11 Thread Martin Grigorov
 tried even with 6.5.
 The problem is in HeaderBufferingWebResponse

 ...
 @Override
  public void setDateHeader(String name, Time date)
  {
   Args.notNull(date, date);
   *checkHeader();*
   bufferedResponse.setDateHeader(name, date);
  }
 [4:14:27 PM] Cornel Condila:  private void checkHeader()
  {
   if (*bufferedWritten*)
   {
throw new IllegalStateException(Header was already written to
 response!);
   }
  }
 

 *bufferedWritten* is sometimes true;





 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Wicket-WebLogic-problem-tp4656235.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com http://jweekend.com/


Re: Wicket + WebLogic problem

2013-02-11 Thread mitziuro
More details:

*I have this html code*

embed id=Pdf wicket:id=bill_pdf width=1090px type=application/pdf
scrolling=no

*related to*

add(new Label(bill_pdf) {

   @Override
protected void onComponentTag(final ComponentTag tag){
super.onComponentTag(tag);

PageParameters pageParameters = new PageParameters();
pageParameters.add(Constants.ID_BILL_PARAM, bill.getId());

   tag.put(src, urlFor(BillPdf.class, pageParameters) +
NO_ADOBE_MENU_DISPLAY);
}

}

the url points to BillPdf (@see previous code).

About the issue.
I can't reproduce it on my computer. My colleague can.
*It happens only in IE8 kiosk-mode.
On ff, chrome, ie9, ie8 (non-kiosk-mode) works fine*
In production we have that error (and the pdf it's not delivered) from time
to time and not on all stations(3 out of 10.

I've noticed that wicket has some browser specific code in some classes.
If someone knows any reported bug about this (on IE) or I'm using wicket in
a wrong way, please tell me.





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-WebLogic-problem-tp4656235p4656238.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org