shark
and analyze it. This won't be possble.
Thanks,
Artur
On 06/11/13 15:53, Martin Funk wrote:
Hi,
have you thought about wireshark?
Easy to set up and not all that hard to handle. Filters are powerful and most
interestingly for Web-Development
ist the "Follow TCP st
Nov 5, 2013 at 4:05 PM, Artur Kronenberg <
artur.kronenb...@openmarket.com> wrote:
Hi,
I have a rather odd problem with a page of mine. The design is that the
model on the page gets a flag set that indicates that the send button has
been clicked (so the user doesn't send multiple time
utton so I am guessing
this is where things happen, but overwriting onConfigure fixed it for
most cases).
Thanks!
Artur
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mai
aData in
RequestCycleListeners.onBeginRequest?
Or should I do this somewhere else?
And should I null the MetaData in onEndRequest or Wicket will nullify
all MetaData automatically at the end of each request?
Thanks!
Artur
On Thu, Mar 7, 2013 at 12:20 PM, Artur wrote:
Hi Everybody!
We
void onEndRequest(RequestCycle cycle) {
((CustomSession)Session.get()).detachUser();
}
}
Becouse I am not sure if RequestCycleListeners is just one for application
or unique for every session/user?
Thanks for help,
Hi,
try something on the lines...
@Override
public void afterRender(Component component) {
component.getResponse().write("your HTML here");
}
THANK YOU!
It was exactly what I was looking for!
Works great.
Artur
--
ut request to the server.
So the question is how to properly add this html snipped to the page.
Thanks for help,
Artur
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
}
}
And the error msg from the console:
ERROR: Wicket.Head.Contributor.processScript: SyntaxError: syntax error:
eval -> <<\/a>
Thanks for help in advance,
Artur
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
; at
> 800x600. When it comes to the mobile devices and their web browsers the
> screen resolutions may be even smaller.
>
I think this might help:
http://www.nabble.com/Screen-resolution-and-diffrent-markup-files-to13872387.html#a13872387
Best regards,
Artur
--
View this message in
One more thing. The resource returns dynamic xml and it depends on the form
that was submitted by the user. So AFAIK I cannot use mountSharedResource
which works for the whole application. Am I right?
Artur
--
View this message in context:
http://www.nabble.com/pretty-url-resource%2C-problem
wicket:interface/:28:t::IResourceListener::/ into
something like this wicket_interface/_28_t__IResourceListener__/
I do not want to change the coding strategy for the whole application, just
for this one resource.
Thanks,
Artur
--
View this message in context:
http://www.nabble.com/pretty-url-resource%2C
coding("ISO-8859-1");
tester.getApplication().getMarkupSettings().setDefaultMarkupEncoding("UTF-8");
but it didn't help.
Best regards,
Artur
--
View this message in context:
http://www.nabble.com/WicketTester.assertErrorMessages---encoding-problem-tp20280074p20280503.ht
;),
"UTF-8") );
}
WicketTesterHelper.assertEquals(Arrays.asList(expectedErrorMessages),
msgs);
What do you think about fixing the tester code as above? Maybe this is a
good idea because AFAIK Wicket works in UTF-8 but default.
Thanks,
Artur
--
View this message in context:
http://www.nabble.com/WicketTester
(1):
Pole 'domena' musi zawierać od 3 do 32 znaków.
but was (1):
Pole 'domena' musi zawieraÄ od 3 do 32 znaków.
I compile my tests with javac with encoding set to UTF-8. I don't know how
are feedback messages encoded or if it is some other problem when comparing
error
her cancel migration and stay with wicket 1.3 or
add this all voids and questions marks (thanks Stefan!) and get used to it.
How long do you want to support (bug fixing, adding small improvements to
1.3)
and when do you plan do release 1.5 :)
Thanks in advance for your advices.
Artur
--
View thi
re. For example
this doesn't compile:
new AjaxButton("cancelButton") {
@Override
protected void onSubmit(AjaxRequestTarget target, Form<Void>
form) {
modal.close(target);
}
}
Artur
--
View this message in context:
http://www.nabbl
hat it will be
abandon in a year or something.
Thanks in advance,
Artur
--
View this message in context:
http://www.nabble.com/Migration-to-1.4---generic-headache-tp20205449p20205449.html
Sent from the Wicket - User mailing list archive at Nabble.com.
--
\"changeDate('" + component.getMarkupId() + "', " +
Integer.toString(days) + ")\"><</a>");
}
@Override
public void bind(Component component) {
this.component = component;
}
DatePicker());
}
}
It is rendering ok. But when the component is re-rendered via ajax
(target.addComponent(dateTextField))
my behavior is re-added. After each re-render my link looks like this:
[component] (DEC)(DEC)(DEC)(DEC)... [calendarIcon]
How to fix it?
Thanks in advance,
Artur
--
View
lutter your js calls putting extra stress on
> server and client.
>
Every cell has a different refresh time. The cells show the pictures from
different internet's cameras.
Do you know about any limitation when using AjaxSelfUpdatingTimerBehavior?
Thanks in advance,
Artur
--
View
havior?
I use Wicket 1.4M3, and FF3.03 and IE7.
Thanks,
Artur
--
View this message in context:
http://www.nabble.com/AjaxSelfUpdatingTimerBehavior---how-many-of-them-I-can-add-to-one-page--tp19757365p19757365.html
Sent from the Wicket - User mailing list archive at
icket 1.3.4.
Thanks in advance,
Artur
--
View this message in context:
http://www.nabble.com/BookmarkablePageLink-in-ModalWindow%2C-a-bug--tp19430177p19430177.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Congratulations!
The book is great and was very helpful for us. We ported our huge ERP
application from JSF to Wicket.
Artur
--
View this message in context:
http://www.nabble.com/-announce--Wicket-in-Action-e-book-has-been-published%21-tp18971645p18976514.html
Sent from the Wicket - User
Hi!
Timo Rantalaiho wrote:
>
> @Override
> public void onDetach() {
> positionToDisplay.detach();
> super.onDetach();
> }
> ...
> }
>
Thanks for your help! It fixed my problem.
Artur
--
View this message in cont
,
Artur
--
View this message in context:
http://www.nabble.com/LoadableDetachableModel---should-I-call-deatch%28%29-manually--tp18335895p18335895.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To
TH Lim wrote:
>
> Hi,
>
> Is there a way to know if a request is a POST or GET in WebPage?
>
> TQ
>
is a post?
return
"POST".equals(((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest().getMethod());
Artur
--
View this message in context:
More info:
- Error appears only once in a session
- When it appears it never happen again in the same session
- Only appear when the pageMapName was not set for the second ModalWindow
I thought that setPageMapName is not a mandatory, isn't it?
Artur
--
View this message in context:
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
What is strange I cannot create a test case for it because the error appears
very very seldom.
It works correct most of the time!
I use Wicket 1.3.2 and FF 2 and 3.
Thanks for help,
Artur
--
View this messa
osed) {
throw new IOException("This output stream has already been
closed");
}
[...]
}
So the problem is in BufferedHttpServletResponse. I don't know if it is
necessary?
Thanks,
Artur
--
View this message in context:
http://www.nabble.com/G
s the
stream and because of it the filter throws exception.
Artur
--
View this message in context:
http://www.nabble.com/Gzipping-of-pages-%28HTML-output%2C-not-only-resources%29-tp16849900p16921105.html
Sent from the Wicket - User mailing list archive a
sn't work with Wicket because wicket very often close the
stream and you get the:
if (closed) {
throw new IOException(
"Cannot write to a closed output stream");
}
I asked about the same here:
https://issues.apache.org/jira/browse/WICKET-1240
Artur
--
View this messag
Gerolf Seitz wrote:
>
> you could do that in your own WebRequestCycle subclass in the
> onBeginRequest method.
>
Thanks, This was exactly what I was looking for!
Artur
--
View this message in context:
http://www.nabble.com/Logging-every-request-into-db-tp16740900p16743061.ht
tResponse response,
FilterChain chain) throws IOException, ServletException {
super.doFilter(request, response, chain);
RequestCycle requestCycle = RequestCycle.get();
// logging goes here
}
}
But RequestCycle.get() returns null.
I will appreciate any suggestions.
Tha
WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest().getHeader("User-Agent");
for(String bot : botAgents) {
if (agent.toLowerCase().indexOf(bot) != -1) {
retur
Sorry, it was my bug..
PropertyModel works great! :)
Artur
--
View this message in context:
http://www.nabble.com/using-PropertyModel-in-abstract-class-tp16323331p16323342.html
Sent from the Wicket - User mailing list archive at Nabble.com
String(Component.java:1573)
at
org.apache.wicket.markup.html.form.FormComponent.getModelValue(FormComponent.java:1267)
at
org.apache.wicket.markup.html.form.FormComponent.getValue(FormComponent.java:780)
at
org.apache.wicket.markup.html.form.TextField.onComponentTag(TextField.java:100)
Is is a bug? I use wicket 1.3.2
Thanks for he
(yourTextField);
}
});
Artur
--
View this message in context:
http://www.nabble.com/Pass-form-input-from-modal-window-back-to-the-caller-page-tp14944556p14952950.html
Sent from the Wicket - User mailing list archive at Nabble.com
Ayodeji Aladejebi wrote:
>
> The javadoc does not come with the wicket 1.3 bundle.
>
> Where can the javadoc for all the wicket1.3 builds be found?
>
You can generate it from the source:
mvn javadoc:javadoc
Artur
--
View this message in context:
http://www.nab
e.printStackTrace();
}
}
});
In both cases I've got an error in Firefox console:
Error: not well-formed
Source File: http://127.0.0.1:8080/myapp/wickete/page
Line: 1, Column: 9
Source Code:
%PDF-1.4--
Uwe Schäfer wrote:
>
> Hi Artur,
>
> I suppose it isn´t the AppendingStringBuffer that is causing your problem.
> Did you attach a profiler? http://YourKit.com is just one example of a
> good, easy to setup&run profiler.
>
>
I did like you said. I turns out th
n caused by simple mistakes, such as keeping
> pages references from your session/ application.
>
I will do that! Thanks for help to everyone!
Artur
--
View this message in context:
http://www.nabble.com/OutOfMemoryError%3A-Java-heap-space---AppendingStringBuffer-tp14525029p14537843.html
Sen
something else?
Runtime.getRuntime().freeMemory() returns 165MB.
Thanks in advance.
Artur
--
View this message in context:
http://www.nabble.com/OutOfMemoryError%3A-Java-heap-space---AppendingStringBuffer-tp14525029p14527774.html
Sent from the Wicket - User mailing list archiv
y once. But this kind
of errors makes me worry so
I wanted to ask about it.
Artur
--
View this message in context:
http://www.nabble.com/OutOfMemoryError%3A-Java-heap-space---AppendingStringBuffer-tp14525029p14526513.html
Sent from the Wicket - User mailing li
Hello Everybody!
I just got OutOfMemoryError in our production application (wicket 1.3rc2).
Any ideas what was the reason?
Artur
java.lang.OutOfMemoryError: Java heap space at
org.apache.wicket.util.string.AppendingStringBuffer.expandCapacity(AppendingStringBuffer.java:158)
at
case.
I have a abstract page to which I add my Panel (menu). All of the other
pages extends this abstract page so I don't create/add this panel to them.
Best regards,
Artur
--
View this message in context:
http://www.nabble.com/getPage%28%29-throws-IllegalStateException%3A-No-Page-found-for
:1600)
How can I do this? (I use Wicket 1.3rc2)
Thanks,
Artur
--
View this message in context:
http://www.nabble.com/getPage%28%29-throws-IllegalStateException%3A-No-Page-found-for-component-tp14496019p14496019.html
Sent from the Wicket - User mailing list archive at Nabbl
neo anderson wrote:
>
> Thanks your reply. I still have one question. If I want to achieve the
> effect as following html code in Wicket. What should I do? Thank you very
> much.
>
>
>
>
>
>
>
> date
>
>
You could try org.apache.wicket.beh
Johan Compagner wrote:
>
> did somebody made a jira issue for this with a small test case then?
> so that we do fix this for the final
>
I did.
https://issues.apache.org/jira/browse/WICKET-1239
Artur
--
View this message in context:
http://www.nabble.com/AjaxEditableLabe
ditableLabel$1
}
};
editor.setOutputMarkupId(true);
editor.setVisible(false);
editor.add(new EditorAjaxBehavior());
return editor;
}
Should I open issue?
Artur
--
View this message in context:
http://www.nabble.com/AjaxEditableLabel-not-saving-tp14413223p1442
Eelco Hillenius wrote:
>
>> I had the same problem after migration from rc1 to rc2 :(
>
>
> Not sure what changed, but did you upgrade both wicket and wicket-stuff to
> rc2?
>
>
Yes, I upgraded everything to rc2. wicket-extensions too.
Artur
--
View thi
bel$1
> at
>
I had the same problem after migration from rc1 to rc2 :(
Artur
--
View this message in context:
http://www.nabble.com/AjaxEditableLabel-not-saving-tp14413223p14421788.html
Sent from the Wicket - User mail
Johan Compagner wrote:
>
> it should work fine.
>
I updated from rc1 to rc2 and it works!!!
Thanks!
Artur
--
View this message in context:
http://www.nabble.com/How-to-refresh-component-many-times-in-one-ajax-request-tp14374053p14399364.html
Sent from the Wicket - User mai
}.start();
target.addComponent(this);
target.addComponent(counterLabel);
}
Artur
--
View this message in context:
http://www.nabble.com/How-to-refresh-component-many-times-in-one-ajax-request-tp143740
Alex Objelean wrote:
>
> I think that the better approach would be to enable/disable the behavior,
> instead of adding it.
>
Is there a convenience method to do this?
There is no enable/disable method in the AjaxSelfUpdatingTimerBehavior.
Thanks,
Artur
--
View this messag
Gerolf Seitz wrote:
>
> On Dec 17, 2007 10:33 PM, Artur W. <[EMAIL PROTECTED]> wrote:
>
>>
>> The component doesn't refresh. Only for the last time. How to make it
>> work?
>>
>
> that's because the response is sent *AFTER* loop is ove
target.addComponent(counterLabel);
}
}
}
});
The component doesn't refresh. Only for the last time. How to make it work?
Thanks,
Artur
--
View this message in context:
http://www.nabble.com/How-to-refresh-component-many-times-in-one-ajax-request-tp14374053p14374053.html
Sen
o to true in the app.
When I access the page directly with url address it displays ok.
But when I click on the link that use setResponsePage I only gets this ajax
message.
When I click on this link for the second time the page is displayed
correctly.
I will try to make a quickstart for it.
Ar
r the second time (in the same session)
everything is ok.
I would appreciate any help. Thanks,
Artur
--
View this message in context:
http://www.nabble.com/problem-with-setResponsePage-to-page-that-use-WebClientInfo-tf4937773.html#a14133844
Sent from the Wicket - U
Matej Knopp-2 wrote:
>
> Check the response headers.
>
Sorry for the stupid question but how can i do that?
There is no getHeader method in the HttpServletResponse.
Thanks,
Artur
--
View this message in context:
http://www.nabble.com/Gzip-filter-and-resource-problem-tf491
press it be myself is to force wicket to
compress everything not only resources? Is is possible?
Thanks,
Artur
--
View this message in context:
http://www.nabble.com/Gzip-filter-and-resource-problem-tf4914410.html#a14104145
Sent from the Wicket - User mailing list arc
Window/res/modal.js
The pages are decompressed correctly!
Any ideas?
Thanks,
Artur
--
View this message in context:
http://www.nabble.com/Gzip-filter-and-resource-problem-tf4914410.html#a14067683
Sent from the Wicket - User mailing list archive at
(WebClientInfo)getRequestCycle().getClientInfo();
> ClientProperties p = info.getClientProperties();
>
> // Defaults to -1 if not available (JS disabled).
> int width = p.getScreenWidth();
>
Thanks for grate example! I really appreciate it!!
Artur
--
View thi
hi!
Is is possible to create different markup files (for the same page) depends
on user screen resolution?
I want to change components layout depends on user screen. It is not always
possible to do using only css.
Thanks,
Artur
--
View this message in context:
http://www.nabble.com/Screen
AjaxRequestTarget.addComponent(...)?
Thanks for help,
Artur
--
View this message in context:
http://www.nabble.com/Component-autorefresh-with-Ajax-tf4691652.html#a13409367
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe
Hi,
I use MetaDataRoleAuthorizationStrategy.authorize but it authorize if user
has ANY of the roles.
It's ok, but sometimes I need to authorize when user has ALL the roles.
It is possible?
Thanks,
Artur
--
View this message in context:
http://www.nabble.com/authorize---hasAny---h
Uwe Schäfer wrote:
>
> Gwyn Evans schrieb:
>> On Friday, October 5, 2007, 9:18:22 AM, Artur <[EMAIL PROTECTED]>
>> wrote:
>>
>>> I know that Wicket in development mode does hot redeploy of html
>>> templates.
>>> Is it possible to co
Gwyn wrote:
>
> On Friday, October 5, 2007, 9:18:22 AM, Artur <[EMAIL PROTECTED]> wrote:
>
>> I know that Wicket in development mode does hot redeploy of html
>> templates.
>> Is it possible to configure it to does a hot redeploy of java classes
>> too?
Hi!
I know that Wicket in development mode does hot redeploy of html templates.
Is it possible to configure it to does a hot redeploy of java classes too?
It would boost the development time!!
Thanks,
Artur
--
View this message in context:
http://www.nabble.com/hot-redeploy-of-java-classes
nverters for the same type?
For example I need sometimes to show numbers with 2 and sometimes with 5
fraction digits.
Is is possible with newConverterLocator or in some other way?
Thanks,
Artur
--
View this message in context:
http://www.nabble.com/TextField-rounds-doubles%2C-why--tf4554400.htm
Hi!
TextField rounds doubles values up to 3 fraction digits. Why?
For example
container.add(new TextField("price", new PropertyModel(this, "price"),
Double.class)); //price = 0,96104
gives 0,961.
How to change it?
Thanks,
Artur
--
View this message in context:
h
lizz wrote:
>
> Has anyone made a menu (with menu items and submenus) in wicket? I would
> like a menu that looks more or less like the Swing JMenu.
>
I use AdxMenu:
http://www.aplus.co.yu/adxmenudev/adxmenu-v4-flyout-drop-down-menu/
It fits very well with Wicket.
Artur
-
Hi!
Where should I put global variables that are not related to the user but to
the application.
In JSP I've used servletContext.setAttribute
How to do this in Wicket?
Thanks,
Artur
--
View this message in context:
http://www.nabble.com/Global-variables-tf4509527.html#a12860998
Sent
Eelco Hillenius wrote:
>
> Do you still have this problem?
>
This problem was resolved. Work like a charm :)
But I have problem with missing cursor in input fields. Please look:
http://www.nabble.com/No-cursor-in-Modal-Window-in-FF-tf4421726.html
Thanks,
Artur
--
View this m
Hi!
There is no cursor in input fields in Modal Window.
I use Wicket wicket-1.3.0-beta3 and ff 2.0.0.6
Thanks for help,
Artur
--
View this message in context:
http://www.nabble.com/No-cursor-in-Modal-Window-in-FF-tf4421726.html#a12612071
Sent from the Wicket - User mailing list archive at
Form
form) {
[...]
}
protected void onError(AjaxRequestTarget target, Form
form) {
target.addComponent(form);
}
};
Artur
--
View this message in cont
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax.js
:: anonymous :: line 755" data: no]
ERROR: Received Ajax response with code: unavailable
INFO: Invoking post-call handler(s)...
INFO: Invoking failure handler(s)...
I use Wicket 1.3-beta3.
Thanks,
Artur
--
View this message in
or you replay Igor.
The panel is put inside the table. But when I replace it with ajax it appear
outside the table.
Here is the working example with full source code:
http://sunet.pl/files/test.war
Artur
--
View this message in context:
http://www.nabble.com/Can-Panel-replace-itself---tf4318533.
);return !wcall;"
href="#"><span>click</span></a></td>
<td><span>ONE</span></td>
<td><span>one</span></td>
</tr>...
Full generated html file:
http://sunet.pl/testpage.html
Full gene
link.add(new Label("label0", "click"));
add(link);
add(new Label("label1", param.toUpperCase()));
add(new Label("label2", param.toLowerCase()));
}
<wicket:panel>
<td><a
Eelco Hillenius wrote:
>
> do:
>
>TestPanel newOne = new TestPanel(TestPanel.this.getId(), "another
> param");
>TestPanel.this.replaceWith(newOne);<
>target.addComponent(newOne);
>
>
I didn't know about replaceWith m
osed to operate in before you can call this
method (Component#getMarkupId)
Root cause:
org.apache.wicket.WicketRuntimeException: This component is not (yet)
coupled to a page. It has to be able to find the page it is supposed to
operate in before you can call this method (Component#getMarkupId)
at org.
Sam Hough wrote:
>
> Do you have an element with id content111?
>
>
Ok. I have found the problem.
The id wasn't generated becouse I have set setRenderBodyOnly(true) in Panel.
Thanks for you help!
Artur
--
View this message in context:
http://www.nabble.com/ModalWindo-
don't need to
return any results.
Artur
--
View this message in context:
http://www.nabble.com/ModalWindo-problem-tf4311370.html#a12274574
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-m
tId()));
modal.setTitle("This is modal window with panel content.");
modal.setCookieName("modal-2");
AjaxLink link;
add(link = new AjaxLink("notesLink")
{
public void onClick(AjaxRequestTarget target)
{
modal.show(target);
}
});
ully.
INFO: Invoking post-call handler(s)...
INFO: Calling focus on notesLink16
INFO: focus set on
I think I did everything like in the examples. I use wicket 1.3beta3.
Artur
--
View this message in context:
http://www.nabble.com/ModalWindo-problem-tf4311370.html#a12273834
Sent from the Wicket -
tml catalogue
and so on.
How can I achieve this?
Thanks,
Artur
--
View this message in context:
http://www.nabble.com/urls-and-localization-tf4278995.html#a12179363
Sent from the Wicket - User mailing list archive at Nabble.com.
-
>Shopping cart is not supposed to be page scoped, so you need to keep
>it in session. Also if you want page to be refreshed on back button,
>you need to send the Cache-Control: no-store http header.
Thanks for pointing the difference. It explains everything! :)
Artur
--
View this m
st practice to control which state we want
to versioning and which not? Could the state be partially versionable?
Thanks,
Artur
--
View this message in context:
http://www.nabble.com/shopping-cart-and-back-button-tf4254382.html#a12116192
Se
rt :(
How can I fix it?
Thanks,
Artur
--
View this message in context:
http://www.nabble.com/shopping-cart-and-back-button-tf4254382.html#a12108062
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscri
89 matches
Mail list logo