Wicket dev oppty in Redwood City, CA

2010-10-24 Thread Nikita Tovstoles
Hi, folks: We're scrappy startup looking for a generalist dev; familiarity with Wicket a definite plus. Here's the req: http://bit.ly/dogOl0 Feel free to reply to me directly if interested. thanks, -nikita

Re: robots.txt

2010-08-08 Thread Nikita Tovstoles
..that assumes that the app's context path is /. On Sun, Aug 8, 2010 at 3:03 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! You can insert static stuff in webapp/. directory. ** Martin 2010/8/8 Sefa Irken sefair...@gmail.com: This is a ridicilous question, I am

Re: robots.txt

2010-08-08 Thread Nikita Tovstoles
then be deployed @ root context. -nikita On Sun, Aug 8, 2010 at 11:28 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Not really... 2010/8/8 Nikita Tovstoles nikita.tovsto...@gmail.com: ..that assumes that the app's context path is /. On Sun, Aug 8, 2010 at 3:03 AM, Martin

OT: html validator that parses add'l dtd's?

2010-06-11 Thread Nikita Tovstoles
Can anyone recommend a validator (browser plugin, online, or eclipse plugin) that won't complain about wicket tags when dtd is declared properly. W3C complains about those tags even if the following is declared: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN

Re: OT: html validator that parses add'l dtd's?

2010-06-11 Thread Nikita Tovstoles
...@gmail.comwrote: set up your app en deployment mode, or copy the development mode setup of wicket and modify it in order to not show wicket:id tag On Fri, Jun 11, 2010 at 3:36 PM, Nikita Tovstoles nikita.tovsto...@gmail.com wrote: Can anyone recommend a validator (browser plugin, online

Re: pass request context to jquey in wicket pages

2010-05-20 Thread Nikita Tovstoles
Take a look at: WebRequest.getURL() and RequestUtils.toAbsolutePath() -nikita On Thu, May 20, 2010 at 9:19 AM, fachhoch fachh...@gmail.com wrote: here is my jqery $(document).ready(function(){ $(a.downloadHelp).live('click', function(e){ e.preventDefault();

Re: WicketTester fails with a custom WebRequestCodingStrategy

2010-04-26 Thread Nikita Tovstoles
could you please post the value of Location (302) header? On Sat, Apr 24, 2010 at 8:41 PM, Kent Tong k...@cpttm.org.mo wrote: Hi Martin, You may take a look at http://wicketpagetest.sourceforge.net/ which will work for your case.

Re: Wicketstuff updated!

2010-04-18 Thread Nikita Tovstoles
Could someone pls point me to 1.4.7-SNAPSHOT maven repo location? It's not here: http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-core/ thanks -nikita On Wed, Mar 24, 2010 at 2:26 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: artifacts should find their way into

Re: PackageResource that isn't tied to session; returns 302?

2010-04-15 Thread Nikita Tovstoles
Answering my own question: use Resource Reference: new Image(img, new ResourceReference(Page2.class, image.png)); On Wed, Apr 14, 2010 at 3:23 PM, Nikita Tovstoles nikita.tovsto...@gmail.com wrote: Correction: PackageResource packageResource = PackageResource.get(Page2.class, image.png

Re: Newbie Question about populating form values

2010-04-14 Thread Nikita Tovstoles
If you're using a CPM there's no need to explicitly set models for child components. Also think about what you want to happen on page reload. Generally I'd imagine you want current data, so set CPM's object on Page.onBeforeRender(): public class EmployeeMain extends BasePage{ final private

Re: Newbie Question about populating form values

2010-04-14 Thread Nikita Tovstoles
of setting on onBeforeRender()? On Wed, Apr 14, 2010 at 12:10 PM, Nikita Tovstoles nikita.tovsto...@gmail.com wrote: If you're using a CPM there's no need to explicitly set models for child components. Also think about what you want to happen on page reload. Generally I'd imagine you want

PackageResource that isn't tied to session; returns 302?

2010-04-13 Thread Nikita Tovstoles
Given this page: public class Page2 extends WebPage { public Page2() { add(new Image(plainImage, image.png)); PackageResource packageResource = PackageResource.get(Page2.class, image.png); add(new Image(pkgImage, packageResource)); } } plainImage produces an img that returns a 304 on page

Re: debugging PageExpiredExceptions

2010-04-12 Thread Nikita Tovstoles
response.encodeURL(generatedURL) for whatever reason? -nikita On Fri, Apr 9, 2010 at 3:51 PM, Nikita Tovstoles nikita.tovsto...@gmail.com wrote: Here's a typical exception: 00:01:17,644 ERROR CLPWebRequestCycle:34 - Cannot find the rendered page in session [pagemap=null,componentPath=7

Re: wicket redirecting to relative URLs

2010-04-09 Thread Nikita Tovstoles
/bugzilla/show_bug.cgi?id=49083 apply to JMeter trunk On Thu, Apr 8, 2010 at 12:06 PM, Nikita Tovstoles nikita.tovsto...@gmail.com wrote: ahh, good point. I was looking at this: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30 http://www.w3.org/Protocols/rfc2616/rfc2616

debugging PageExpiredExceptions

2010-04-09 Thread Nikita Tovstoles
We're seeing a PageExpiredExceptions in roughly 2-6% of our production web sessions and cannot determine the root cause: 1. it's not a session affinity problem (we went as far as running a single node - the exceptions persisted) 2. it's not a session expiration case (our avg production

Re: debugging PageExpiredExceptions

2010-04-09 Thread Nikita Tovstoles
) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312) On Fri, Apr 9, 2010 at 3:35 PM, Nikita Tovstoles nikita.tovsto...@gmail.com wrote: We're seeing a PageExpiredExceptions in roughly 2-6% of our production web sessions and cannot determine the root cause

wicket redirecting to relative URLs

2010-04-08 Thread Nikita Tovstoles
I am working on a patch to JMeter to rewrite absolute URLs containing '/../' before issuing GETs and have an observation and a question. The problem is described here: http://markmail.org/thread/3ci5hayvqyjhi2ud FWIW this was discussed before and there's WICKET-2728 and related JIRAs. My

Re: wicket redirecting to relative URLs

2010-04-08 Thread Nikita Tovstoles
for the Location response header OR - deal with those URLs when parsing a request? -nikita On Thu, Apr 8, 2010 at 8:35 AM, Nikita Tovstoles nikita.tovsto...@gmail.com wrote: I am working on a patch to JMeter to rewrite absolute URLs containing '/../' before issuing GETs and have an observation

CookieValuePersister and addOrReplace

2010-04-02 Thread Nikita Tovstoles
Hi, We have a TextField whose object value we'd like to populate from a Cookie using CookieValuePersister. Things work fine (persister.save and .load) when the input is added to the form at Form's construction time. However, in cases when the input's added to the form using addOrReplace during

Re: what's an 'ajax-only' page (wrt HybridUrlCodingStrategy)?

2010-03-23 Thread Nikita Tovstoles
the hybrid coding strategy, the hybrid part being that it is both bookmarkable and stateful. -igor On Mon, Mar 22, 2010 at 7:39 PM, Nikita Tovstoles nikita.tovsto...@gmail.com wrote: The javadoc for HybridUrlCodingStrategy says: Also to preserve state on refresh with ajax-only pages

what's an 'ajax-only' page (wrt HybridUrlCodingStrategy)?

2010-03-22 Thread Nikita Tovstoles
The javadoc for HybridUrlCodingStrategy says: Also to preserve state on refresh with ajax-only pages the HybridUrlCodingStrategy does an immediate redirect after hitting bookmarkable URL, e.g. it immediately redirects from /mount/path to /mount/path.3 where 3 is the next page id. This preserves

Re: can intermittent 'illegal relative path' be cause by something besides broken session affinity?

2010-03-20 Thread Nikita Tovstoles
as an in-memory IPageStore impl (as a band-aid at least...) On Sat, Mar 20, 2010 at 10:11 AM, Nikita Tovstoles nikita.tovsto...@gmail.com wrote: We're suddenly seeing a fair number of exceptions like one below. Thought the root cause is failing session affinity in our clusters, but the exceptions

Re: can intermittent 'illegal relative path' be cause by something besides broken session affinity?

2010-03-20 Thread Nikita Tovstoles
its the diskstore since you are the only one seeing this problem. is this happening on multiple pages or just a particular one? -igor On Sat, Mar 20, 2010 at 10:34 AM, Nikita Tovstoles nikita.tovsto...@gmail.com wrote: I wonder if this is a serialization problem: the following request

Re: can intermittent 'illegal relative path' be cause by something besides broken session affinity?

2010-03-20 Thread Nikita Tovstoles
); pages.put(id, page); return page; } On Sat, Mar 20, 2010 at 3:53 PM, Nikita Tovstoles nikita.tovsto...@gmail.com wrote: OK, here's what I can surmise thus far: - Only 'wicket:interface' JS requests - from 'onchange' Ajax validator or from a SubmitLink-initiated form submission trigger

TextField w/ bean as model object?

2010-03-12 Thread Nikita Tovstoles
I'd appreciate another pair of eyes on the following: I have a US ZIP Code input text field that I'd like to bind to an Area bean. The idea is that the component would prompt/display for a 5-digit zip code but getModelObject() would return an Area: class ZipInput extends RequiredTextFieldArea;

Re: setResponsePage() in AjaxSubmitLink.onSubmit() redirects to relative URL

2010-03-04 Thread Nikita Tovstoles
: Nikita, The wicket team started the vote on if 1.4.7 was ready to go out a few days ago, it should be either late this week or early next when the release goes out if that helps at all (don't know how immediate your need is). -R On Wed, Mar 3, 2010 at 4:16 PM, Nikita Tovstoles

lazily loading sublist on vertical scroll?

2010-03-03 Thread Nikita Tovstoles
Hi, We have a listView that may contain 100s of rows. Instead of introducing a pager, we'd like to: - initially load some subset of size N rows - load (and display) additional rows in N increments as user scrolls down - bonus pts: for dropping least recently loaded rows Several sites

setResponsePage() in AjaxSubmitLink.onSubmit() redirects to relative URL

2010-03-03 Thread Nikita Tovstoles
Hello, I have a page with a form and an AjaxSubmitLink. onSubmit(), I need to either render an ajax response or a plain redirect to the same page, depending on a certain condition. I cannot get the latter case (redirect to same page) to work correctly: The Page is mounted like so: mount(new

Re: setResponsePage() in AjaxSubmitLink.onSubmit() redirects to relative URL

2010-03-03 Thread Nikita Tovstoles
Looks like this bug was identified, and resolved but the fix hasn't been released yet: https://issues.apache.org/jira/browse/WICKET-2717 So, yeah, any tips on an alternative way of combining Ajax validation + plain form submits? thanks -nikita

StringResourceModel and Hashtable...

2010-02-18 Thread Nikita Tovstoles
) org.apache.tomcat.util.net.JIoEndpoint$Worker.run() java.lang.Thread.run() -- --- Nikita Tovstoles cell: +1-650-996-8173 ---

Re: @SpringBean injection expensive - a bug?

2010-02-17 Thread Nikita Tovstoles
...@wicket.apache.org -- --- Nikita Tovstoles cell: +1-650-996-8173 ---

results of WebApplication.getConfigurationType() should be cached to avoid synchronization

2010-02-12 Thread Nikita Tovstoles
() -- --- Nikita Tovstoles cell: +1-650-996-8173 ---

Re: @SpringBean injection expensive - a bug?

2010-02-10 Thread Nikita Tovstoles
FWIW, explicitly specifying a name with @SpringBean worked around the problem On Tue, Feb 9, 2010 at 11:34 AM, Nikita Tovstoles nikita.tovsto...@gmail.com wrote: Wicket's SpringWebApplication is deprecated and the javadoc advocates using @SpringBean to inject dependencies at component level

@SpringBean injection expensive - a bug?

2010-02-09 Thread Nikita Tovstoles
Wicket's SpringWebApplication is deprecated and the javadoc advocates using @SpringBean to inject dependencies at component level. However, that appears to be an expensive proposition: I have a listView component that renders a (new) ExternalLink subclass per item. That subclass uses a service (a