Re: Page ... is not stateless ... but the stateless hint is set to true!

2013-02-11 Thread Martin Grigorov
Hi, On Mon, Feb 11, 2013 at 1:34 AM, Tom Eicher t...@teicher.net wrote: Hello, I am receiving this message in the log 01:27:01,006 WARN [org.apache.wicket.Page] Page '[Page class = com.x.yy.components.**editor.Editor$EditorPage, id = 5, render count = 0]' is not stateless

Re: find html tag

2013-02-11 Thread Michael Jaruska
thanks, studied. but in my case not working. i don't know why, where is my mistake. try this code: markup - base page: ?xml version=1.0 encoding=UTF-8 ? html xmlns:wicket head titlemy test page/title meta http-equiv=Content-Type content=text/html; charset=utf-8 / /head

Re: find html tag

2013-02-11 Thread Martin Grigorov
Hi, What do you want to do with the markup ? Maybe you don't need to bother with internals like MarkupStream for something that may be solved much easier. On Mon, Feb 11, 2013 at 10:01 AM, Michael Jaruska michael.jaru...@gmail.com wrote: thanks, studied. but in my case not working. i don't

Re: find html tag

2013-02-11 Thread Michael Jaruska
in fact, my panel is menu which is modified by javascript. i need to keep track of the previous selected entry (to get know javascript to disable element) and actual element to modify (add class) for javascript. javascript need to now at a moment page rendered where is class which it is looking

Re: find html tag

2013-02-11 Thread Martin Grigorov
MarkupStream gives you the raw html that comes from the .html file, i.e. from the template file. It doesn't give you the html from the previous page render. You need to send Ajax requests to update the server side state to be in sync with the client side state (modified by your JS). On Mon, Feb

Re: Differences in HeaderResponses: Wicket 1.4 vs 6

2013-02-11 Thread Martin Grigorov
Hi Lawrence, As far as I know this is not available out-of-the-box in Wicket 6. Sorry. The good news is that the resource filtering and bundle-ing is much simpler than in 1.4.x so I think you should be able to accomplish it. On Sat, Feb 9, 2013 at 9:27 PM, Lawrence Gadban lgad...@gmail.com

Re: find html tag

2013-02-11 Thread Michael Jaruska
yes, i need that raw html that comes from markup (my .html file which is my panel), in java code i will modify it (one step for put new class) and send it to client :-) as i thnik now i dont need to delete previous step because this modifying isn't in markup. so i just need to modify markup in

Re: find html tag

2013-02-11 Thread Michael Jaruska
based on this article: https://cwiki.apache.org/WICKET/component-rendering.html in section onRender() it should be possible to modify markup which is going from wicket (e.g. from .html file) and modyfied it send to client. On 11.2.2013 11:34, Michael Jaruska wrote: yes, i need that raw html

Wicket + WebLogic problem

2013-02-11 Thread mitziuro
we have the following page that renders a pdf: public BillPdf(PageParameters pageParameters) { ... public BillPdf(PageParameters pageParameters) { getRequestCycle().scheduleRequestHandlerAfterCurrent( new

Re: Wicket + WebLogic problem

2013-02-11 Thread Martin Grigorov
Hi, From the stacktrace we can see that a redirect is attempted. org.apache.wicket.request.handler.render.WebPageRenderer.redirectTo( WebPageRenderer.java:150) means that a page is being rendered. And this page url is different from the url of the previous page, so a redirect is issued. I think

IE DropDown onChange behavior not triggered on first time

2013-02-11 Thread divad91
Hi, I have a strange behavior on dropdowns with Internet Explorer and wicket onchange behavior. I have a basic DropDownChoice with a basic onchange AjaxFormComponentUpdatingBehavior. The first time I enter the page, the onchange event will not be triggered on first click. To make the onchange

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);

Re: IE DropDown onChange behavior not triggered on first time

2013-02-11 Thread Paul Bors
Well, are you using Wicket 1.5.x or Wicket 6.x? Wicket 6.x comes with jQuery already so you might have a conflict between those two libraries? (I'm not sure about this, never run into it) Btw, in IE on onChange is preatty much equivalent to an onBlur since the onChange dosen't bubble:

Re: Same Panel, but Formatted in 2 Different Ways (Diff. Presentation)

2013-02-11 Thread eugenebalt
Thanks, Variants worked. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Same-Panel-but-Formatted-in-2-Different-Ways-Diff-Presentation-tp4656063p4656240.html Sent from the Users forum mailing list archive at Nabble.com.

Re: IE DropDown onChange behavior not triggered on first time

2013-02-11 Thread divad91
Sorry, i am using wicket 1.4.21. My onchange behavior does not change the value. My behavior only prepend javascript only for a specific value. I am not changing the value programatically. On first page acces, if I select any option in the drowndown, the onchange event will not be trigger

Re: IE DropDown onChange behavior not triggered on first time

2013-02-11 Thread Paul Bors
I'm on Wicket 1.5.x w/ IE 9 and the following behavior attached to a DropDownChoice works just fine for me: new AjaxEventBehavior(onchange) { private static final long serialVersionUID = 1L; @Override protected void onEvent(AjaxRequestTarget target) { System.out.println(onchange of: +

AjaxButton and a HiddenField

2013-02-11 Thread Entropy
I have a javascript component that updates a HiddenField. Then I want to submit to the server via an AjaxButton. It all works fine until I try to get the value of the hiddenField which evidently did NOT hitch a ride on the Ajax request. How do I get the hiddenfield to join the ajax request?

Re: Page ... is not stateless ... but the stateless hint is set to true!

2013-02-11 Thread Tom Eicher
Hello Martin, Put a breakpoint at Page#setStatelessHint() and see where it is called with value == true. It is not being called. That is, not before the warn message appears in the log. statelesshint=true must be the deafult...? My BasePage ist just ... public class BasePage extends WebPage

Re: AjaxButton and a HiddenField

2013-02-11 Thread Paul Bors
You turn your hidden field into a Wicket FormComponent and then add it to your button's ajax request target :) Just because is hidden, it doesn't have to be treated any different. But don't confuse a hidden field with a Wicket visible field. ~ Thak you, Paul Bors On Mon, Feb 11, 2013 at 3:25

Re: ptint the whole markup of a Calendar

2013-02-11 Thread Paul Bors
Try the View Source option in your browser, also turn on the development mode for your webapp to see the Ajax debug toolbar. Consider adding the DebugToolbar to your root parent page. ~ Thank you, Paul Bors On Mon, Feb 11, 2013 at 1:57 PM, grazia grazia.russolass...@gmail.comwrote: How can

Re: [Building Sakai] Charts Wicket Sakai

2013-02-11 Thread Steve Swinsburg
Looks like your dependencies are wrong. Check the 1.5 migration guide, it should list the correct Maven coordinates to use. On Fri, Feb 8, 2013 at 7:51 AM, Antonio muñoz alonso antoniovalenciasp...@hotmail.com wrote: When I change the version from 1.5 wicket gives me an error. You can use

Using tomcat server in wicket application

2013-02-11 Thread kshitiz
Hi, I have a wicket application running fine using Jetty server. But I need to deploy the application in tomcat server. As tomcat is not able to find appropiate resources, how to configure my application to make it compatible for tomcat? -- View this message in context:

Re: Using tomcat server in wicket application

2013-02-11 Thread Francois Meillet
what do you mean by not able to find appropriate resource ? Francois Meillet AtomicThread Formation Développement Wicket Le 12 févr. 2013 à 07:37, kshitiz k.agarw...@gmail.com a écrit : Hi, I have a wicket application running fine using Jetty server. But I need to deploy the

Re: Using tomcat server in wicket application

2013-02-11 Thread Francois Meillet
1) You neeed to insert this lines in your web.xml filter filter-nameWicketFilter/filter-name filter-classorg.apache.wicket.protocol.http.WicketFilter/filter-class init-param param-nameapplicationClassName/param-name