Re: Wicket GAE performance

2010-04-09 Thread Anton Veretennikov
-template/ -- Tony On Thu, Apr 8, 2010 at 11:13 PM, Anton Veretennikov anton.veretenni...@gmail.com wrote: Very interesting, Jake, thank you, i'll look into it. I think i'm solving my problem just trying to modify the status of object inside a transaction - at the end it is throwing an exception

Re: Wicket GAE performance

2010-04-08 Thread Anton Veretennikov
Very interesting, Jake, thank you, i'll look into it. I think i'm solving my problem just trying to modify the status of object inside a transaction - at the end it is throwing an exception that it can't commit. I'm testing if it really doing what i need. -- Tony On Wed, Apr 7, 2010 at 8:59 PM,

Re: Wicket GAE performance

2010-04-06 Thread Anton Veretennikov
assume it must be and then update it to new status. But i'm not sure yet how to do this in GAE. -- Tony On Tue, Apr 6, 2010 at 12:06 AM, Ian Marshall ianmarshall...@gmail.comwrote: Hello Tony, Anton Veretennikov wrote: This is a transaction of every session? I believe

Re: Wicket GAE performance

2010-04-04 Thread Anton Veretennikov
Hello, i'm working with GAE too, may i clarify something? Transaction tx = pm.currentTransaction(); This is a transaction of every session? If no, how may i handle this situation: When one user is accessing a page i must return data from one entity from the datastore, then close it from

Re: WARN BorderBodyResolver

2010-01-09 Thread Anton Veretennikov
a mismatch. you need to reparent the wicket:body tag. the wicket:body is represented by the getbodycontainer, so in your border constructor you need to do: foo.add(getbodycontainer()) -igor On Thu, Jan 7, 2010 at 12:31 AM, Anton Veretennikov anton.veretenni...@gmail.com wrote: Good day, I'm

WARN BorderBodyResolver

2010-01-07 Thread Anton Veretennikov
Good day, I'm a bit confused, can't understand what i really need to do after getting this warning: Please consider to change your java code to something like: c.add(getBodyContainer()); for the component hierarchy to better reflect the markup hierarchy. For example, say that you have a border

Re: some questions from newbie[2]

2009-12-15 Thread Anton Veretennikov
2. does the tag starts with wicket: take arguments or not, if yes, is there an ide that support this future. i read the book wicket in action, and couldnt see such an example    if answer no, i suggests below(maybe they are silly for wicket, but i see such a feature in asp.net)     lets

Re: enclosure changes in 1.4.4

2009-12-13 Thread Anton Veretennikov
Consistency is one of wicket's strengths. My tiny vote for 1.4.4 -- Tony On Sun, Dec 13, 2009 at 3:35 PM, Girts Ziemelis girts.zieme...@gmail.com wrote: I also liked the behaviour - it made the code shorter, as I did not have to mirror the component tree in both then and else branches. I

Re: PageParameters an URLEncode

2009-11-26 Thread Anton Veretennikov
I really want to know how to encode-decode params in new PageParamters() calls. Do I need to use WicketURLEncoder and WicketURLDecoder? If so, how? -- Tony On Tue, Nov 24, 2009 at 1:56 PM, Anton Veretennikov anton.veretenni...@gmail.com wrote: Hi! Sorry for simple question. Do we need

PageParameters an URLEncode

2009-11-23 Thread Anton Veretennikov
Hi! Sorry for simple question. Do we need URLEncode when we use new PageParameters(param=value1); -- Tony - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Opera. AjaxSelfUpdatingTimerBehavior inside iframe not rendering

2009-10-30 Thread Anton Veretennikov
Hi, Anyone encountered that AjaxSelfUpdatingTimerBehavior doesn't update markup when site is inside iframe on Opera browser? When outside iframe there is no problem. And it is floating - some markup is updated fine and when it is more complex, page become frozen. Opera versions tested: 9.64,

Re: Behind proxy

2009-10-23 Thread Anton Veretennikov
is /app and the cookie is set on /app. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Oct 23, 2009 at 12:19 AM, Anton Veretennikov anton.veretenni...@gmail.com wrote: Jeremy, thank you, For experiment, guys, Open, please, http://www.wickettraining.com and click in sequence

Re: Behind proxy

2009-10-23 Thread Anton Veretennikov
, 2009 at 1:38 AM, Anton Veretennikov anton.veretenni...@gmail.com wrote: Yes, I see, Jeremy. You are lucky! :) Okey, I run my local Tomcat 6.0.18: I remove all localhost cookies from my browser, close it, open it again and enter: http://localhost:8084/FivePinSite-1.0-SNAPSHOT/ I see

Re: Behind proxy

2009-10-23 Thread Anton Veretennikov
, Anton Veretennikov anton.veretenni...@gmail.com wrote: Why in this localhost case I see jsessionid after I press any *bookmarkable* link? Why when I *first* press *non-bookmarable* link, jsessionid disappears? Why when I press *bookmarkable* link and then non-bookmarkable, I see jsessionid

Re: Behind proxy

2009-10-22 Thread Anton Veretennikov
, Oct 21, 2009 at 9:44 AM, Anton Veretennikov anton.veretenni...@gmail.com wrote: 1. I checked it with Tomcat 5.5. Problem remained. All my bookmarkable links to Home page with parameters contained jsessionid. 2. I got 1.5-SNAPSHOT, compiled, tried, problem remained. 3. I removed lines

Re: Behind proxy

2009-10-21 Thread Anton Veretennikov
.. One of my sites are running a beta 1.4 i'll try to upgrade and see if I can replicate the error. But it might take some time.. Im taking this issue back to the wicket list as it may speed up responses to it. So please respond to it there. 2009/10/20 Anton Veretennikov anton.veretenni

Re: Behind proxy

2009-10-21 Thread Anton Veretennikov
/10/20 Anton Veretennikov anton.veretenni...@gmail.com Nino, seems to me that it has something with BookmarkablePageLinks. I use them everywhere except expanding tree links where Ajax is used. Look, when you press on +/- signes of tree, jsessionid disappears after first click (only in this tree

Re: Behind proxy

2009-10-21 Thread Anton Veretennikov
it be that it's tomcat related? 2009/10/21 Anton Veretennikov anton.veretenni...@gmail.com Additional info to jsessionid problem: This is seen on Tomcat 6.0.18 WITHOUT any proxy on bookmarkable links. Glassfish 2.1 seems not appending jsessionid to url even on first call (I have default

Really strange markup exception

2009-10-16 Thread Anton Veretennikov
Hello, wicket users and developers, I need your help, can't find the reason of problem. Tried this with 1.4.1 and 1.4.2 wicket versions. My class IconImage extends WebMarkupContainer and adds src attribute to img tag depending on some logic and I use it in several panels. It works perfectly

Re: Really strange markup exception

2009-10-16 Thread Anton Veretennikov
Forget it, please, I found my fault after 1 minute!!! Thank you! On Fri, Oct 16, 2009 at 4:38 PM, Anton Veretennikov anton.veretenni...@gmail.com wrote: Hello, wicket users and developers, I need your help, can't find the reason of problem. Tried this with 1.4.1 and 1.4.2 wicket versions

Re: WicketMessage: Error attaching this container for rendering

2009-10-16 Thread Anton Veretennikov
Subtree.java:133 throws java.lang.NullPointerException -- Tony On Fri, Oct 16, 2009 at 4:50 PM, ping ping sping_p...@hotmail.com wrote: Can i have some brief explanation on what could have possibly caused this to happen? WicketMessage: Error attaching this container for rendering:

Re: Open Source projects using Wicket

2009-10-16 Thread Anton Veretennikov
Nice app! If http://www.ehour.nl/ is written using Wicket itself, I see the same strange ;jsessionid= added to all pages after I upgraded to 1.4. while navigating and it does not remove. And google started to contain all links with this attribute. Does anybody knows what's the promlem is? --

Re: Open Source projects using Wicket

2009-10-16 Thread Anton Veretennikov
I can't understand what do you mean, Nino? Cookies are set, I see them in browser. -- Tony On Fri, Oct 16, 2009 at 6:04 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: It's the servlet container reverting to url rewrite since it cannot set the session cookie.. 2009/10/16 Anton

Re: Open source Wicket blog

2009-10-14 Thread Anton Veretennikov
I'm interested. This will be definitely something desirable for many website builders. I want to assist in developing because I need such functionality in several sites. -- Tony On Wed, Oct 14, 2009 at 2:30 PM, Daniel Frisk dan...@jalbum.net wrote: Hi, we have developed a blog tool in Wicket

Re: Wicket 1.4.2 Released!

2009-10-10 Thread Anton Veretennikov
Congratulations! This is a great news for all wicket lovers! -- Tony - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: how to inject arbitrary javascript code to a component markup?

2009-10-10 Thread Anton Veretennikov
For example I use this markup: script wicket:id=focusScript/script and associate it with simple class: public class FocusScript extends Label { public FocusScript(String id, String focusFieldMarkupId, boolean selectAll) { super(id, getFocusScript(focusFieldMarkupId, selectAll));

Re: How to change raw body content of SubmitLink?

2009-10-06 Thread Anton Veretennikov
May be overriding of onComponentTagBody will do your trick: public class TextLink extends Link { public TextLink(String id, IModel model) { super(id, model); } @Override protected void onComponentTagBody(final MarkupStream markupStream, final ComponentTag openTag) { if

Re: Sending data to a wicket form through a POST from an external site

2009-08-24 Thread Anton Veretennikov
They mean trigger a form submit somehow as if it was a wicket form as I understood. -- Tony On Tue, Aug 25, 2009 at 12:07 PM, Igor Vaynbergigor.vaynb...@gmail.com wrote: give paypal a url to a bookmarkable page, you can retrieve the post params from PageParameters. -igor On Wed, Jan 7,

Re: [announce] Wicket 1.4.1

2009-08-20 Thread Anton Veretennikov
Thank you! Great news! On Thu, Aug 20, 2009 at 10:14 PM, Jeremy Thomersonjer...@wickettraining.com wrote: 1.4.1 is now available as source in the releases dir. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Aug 20, 2009 at 2:40 AM, Martin Funkmafulaf...@googlemail.com wrote:

Re: Firefox, be afraid be very afraid!!!

2009-08-05 Thread Anton Veretennikov
how, how? On Wed, Aug 5, 2009 at 3:24 PM, Johan Compagnerjcompag...@gmail.com wrote: wicket can also do that for you On Wed, Aug 5, 2009 at 06:45, Anton Veretennikov anton.veretenni...@gmail.com wrote: As I remember, GWT appends some garbage to JS filenames as they change to prevent

Re: Firefox, be afraid be very afraid!!!

2009-08-05 Thread Anton Veretennikov
, Aug 5, 2009 at 3:24 PM, Johan Compagnerjcompag...@gmail.com wrote: wicket can also do that for you On Wed, Aug 5, 2009 at 06:45, Anton Veretennikov anton.veretenni...@gmail.com wrote: As I remember, GWT appends some garbage to JS filenames as they change to prevent this. -- Tony On 8/5/09

Re: Firefox, be afraid be very afraid!!!

2009-08-04 Thread Anton Veretennikov
As I remember, GWT appends some garbage to JS filenames as they change to prevent this. -- Tony On 8/5/09, John Armstrong siber...@siberian.org wrote: Install the web developers toolkit plugin for firefox. Its a must if your doing front-end web development. Among many many many other features

Re: jWicket -- jQuery with Wicket integration

2009-07-22 Thread Anton Veretennikov
May I ask about wicketstuff-jquery's future? -- Tony On Wed, Jul 22, 2009 at 3:09 AM, Stefan Lindnerlind...@visionet.de wrote: Yes! Fixed. Now it's http://subversion.visionet.de/project/WicketJQuery/browser/tags/0.3.7/WicketJQueryDemo.war -Ursprüngliche Nachricht- Von: satar

Re: jWicket -- jQuery with Wicket integration

2009-07-22 Thread Anton Veretennikov
I mean, 1. What are things in other jQuery integrations that are not already done in wicketstuff-jquery? 2. When I move to wicket 1.4-rcX, what version I need to use of wicketstuff-jquery? (I mean conflicts of versions) 3. What are statuses of all different integrations? -- Tony On Wed, Jul

Re: border setVisible false

2009-07-19 Thread Anton Veretennikov
If isVisible of border returns false it will definitely hide all it's children. Paste your code, please. On Mon, Jul 20, 2009 at 3:44 AM, Fernando Wermusfernando.wer...@gmail.com wrote: Hi all,     I thought the correct behavior for a border that its visibility is set to false, it would be not

Re: border vs Link.setBeforeDisabledLink

2009-07-19 Thread Anton Veretennikov
The code of a constructor is executed only once, so after setVisible(true) it will not be called again for other isTitle value (this is not a model). Simply override isVisible of your border. It will be called each time page is going to be rendered. -- Tony On Mon, Jul 20, 2009 at 6:27 AM,

Re: How to LDM refreshed after submit?

2009-07-19 Thread Anton Veretennikov
If you provide methods for updating underlying objects that hold data in object setters, this must be sufficient. Or may be you forgot about Feedback messages. If validation goes wrong, setters will not be called. Paste your code, please. On Mon, Jul 20, 2009 at 6:05 AM, Mauro

Re: border vs Link.setBeforeDisabledLink

2009-07-19 Thread Anton Veretennikov
...@gmail.com wrote: I cannot override it, it is final On Sun, Jul 19, 2009 at 7:37 PM, Anton Veretennikov anton.veretenni...@gmail.com wrote: The code of a constructor is executed only once, so after setVisible(true) it will not be called again for other isTitle value (this is not a model

Re: Not working AjaxFormSubmitBehavior in Tomcat behind HTTP Server

2009-07-17 Thread Anton Veretennikov
working on one server. They can't all be ROOT.war. -- Tony On Fri, Jul 17, 2009 at 11:40 AM, Igor Vaynbergigor.vaynb...@gmail.com wrote: rename it to ROOT.war -igor On Thu, Jul 16, 2009 at 7:00 PM, Anton Veretennikov anton.veretenni...@gmail.com wrote: Thank you, Igor

Not working AjaxFormSubmitBehavior in Tomcat behind HTTP Server

2009-07-16 Thread Anton Veretennikov
Hello, wicket users and developers, This is a problem I can't work out myself, I need your help. In a local environment (direct calls to Tomcat) AjaxFormSubmitBehavior works as expected. But in production I try to hide application name (let's say, AppNamePay-1.0-SNAPSHOT) from URL using

Re: Not working AjaxFormSubmitBehavior in Tomcat behind HTTP Server

2009-07-16 Thread Anton Veretennikov
Thank you, Igor, for your suggestion. I need full hiding of app name. Renaming still creates additional path in url like http://sitename.com/AppName/ May be there exists other way or my URL Rewriting is not correct: VirtualHost *:80 ServerName www.sitename.com ServerAlias sitename.com

Re: Not working AjaxFormSubmitBehavior in Tomcat behind HTTP Server

2009-07-16 Thread Anton Veretennikov
Igor, I have several applications working on one server. They can't all be ROOT.war. -- Tony On Fri, Jul 17, 2009 at 11:40 AM, Igor Vaynbergigor.vaynb...@gmail.com wrote: rename it to ROOT.war -igor On Thu, Jul 16, 2009 at 7:00 PM, Anton Veretennikov anton.veretenni...@gmail.com wrote

Submiting a form to external page with SubmitLink

2009-07-10 Thread Anton Veretennikov
Hello, wicket users and developers, I need to post a form to external page and open it in a new window. I found an advice to use a simple WebMarkupContainer instead of a form here:

Re: Submiting a form to external page with SubmitLink

2009-07-10 Thread Anton Veretennikov
Honestly, I tried it :) but it didn't work Thank you. On Fri, Jul 10, 2009 at 10:50 PM, Igor Vaynbergigor.vaynb...@gmail.com wrote: you can subclass form, override oncomponenttag and change the value of the action attribute to point to the external page. -igor On Fri, Jul 10, 2009 at

Re: Wicket behind proxy (AJP)

2009-07-04 Thread Anton Veretennikov
Sergey, RewriteRule is not a magic. I checked seveal methods but this one is at least working. But if you have only one application, you can replace ROOT app with it then configuration will be: #for ROOT app: VirtualHost *:80 ServerName www.sitename.ru ServerAlias sitename.ru ProxyPass /

Re: Wicket behind proxy (AJP)

2009-07-03 Thread Anton Veretennikov
Hello, Sergey, May be this is not a nice solution, but I could solve this problem only by using RewriteRule as follows: VirtualHost *:80 ServerName www.sitename.ru ServerAlias sitename.ru ProxyPass / ajp://127.0.0.1:8009/SiteApp-1.0-SNAPSHOT/ ProxyPassReverse /

Re: DefaultDataTable loses pagination after filtering

2009-04-28 Thread Anton Veretennikov
expect 1.4-rc3 to be available (that's the fixed version, according to the jira listed there) Thanks, Jason Anton Veretennikov wrote: If I'm true, this was solved. https://issues.apache.org/jira/browse/WICKET-2175 On Tue, Apr 28, 2009 at 8:25 AM, Jason Rosenberg jbrosenb

Strange maven warning

2009-04-27 Thread Anton Veretennikov
Hello all, Strange warning I began to see last time: [WARNING] POM for 'org.apache.wicket:wicket-extensions:pom:1.4-SNAPSHOT:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM for project org.apache.wicket:wicket-extensions at Artifact

Re: DefaultDataTable loses pagination after filtering

2009-04-27 Thread Anton Veretennikov
If I'm true, this was solved. https://issues.apache.org/jira/browse/WICKET-2175 On Tue, Apr 28, 2009 at 8:25 AM, Jason Rosenberg jbrosenb...@gmail.com wrote: If it matters, I forgot to mention, I'm using wicket 1.4-rc2 Jason Jason Rosenberg wrote: Hi, I have an issue with the

AbstractColumn's getSortProperty()

2009-04-23 Thread Anton Veretennikov
Hi, Wicket community While working with AbstractColumn I found that overriding getSortProperty() does not make column sortable until isSortable() is not overrided also. AbstractColumn::isSortable() is looking like now: public boolean isSortable() { return

jQuery query for all Ajax-enabled links

2009-04-23 Thread Anton Veretennikov
Hi, all wicket users, I hope somebody knows. What is the jQuery filter for all wicket Ajax-enabled links? Wicket version is 1.4-SNAPSHOT. -- Tony. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: simple Link

2009-03-29 Thread Anton Veretennikov
http://www.nabble.com/Link-text-td13585396.html On Sun, Mar 29, 2009 at 2:28 PM, Khlystov Alexandr allex.khlys...@gmail.com wrote: I've googled a bit words wicket textlink and found only http://www.mail-archive.com/wicket-u...@lists.sourceforge.net/msg08875.html, with your Igor comments.

Re: FeedbackPanel.isVisible override

2009-03-29 Thread Anton Veretennikov
anyMessage(); On Sun, Mar 29, 2009 at 1:56 PM, Luther Baker lutherba...@gmail.com wrote: I am using the built-in functionality of the FeedbackPanel and I'd like to tweak it just a bit. I have some default padding/margin setup for that div ... and so even empty, it takes up some space on my

Re: using jquery with wicket

2009-03-19 Thread Anton Veretennikov
As you told about blockUI. There is Jquery integration from WicketStuff. You need to add dependency groupIdorg.wicketstuff/groupId artifactIdwicketstuff-jquery/artifactId version1.4-SNAPSHOT/version /dependency to your pom.xml Then create

Re: newSession() not being called

2009-03-19 Thread Anton Veretennikov
May be your web.xml have wrong WicketApplication attached? filter filter-namewicket.FILTERNAME/filter-name filter-classorg.apache.wicket.protocol.http.WicketFilter/filter-class init-param

Re: using jquery with wicket

2009-03-19 Thread Anton Veretennikov
: {opacity: '0.1'} }), ;)); and   $.unblockUI(); Anton Veretennikov wrote: As you told about blockUI. There is Jquery integration from WicketStuff. You need to add     dependency             groupIdorg.wicketstuff/groupId             artifactIdwicketstuff-jquery/artifactId

Re: Dynamic Tabbedpanel Page

2009-03-19 Thread Anton Veretennikov
All tabs may be instances of the same class. If you can make it universal - make a loop of your fields (and of markup) and provide a model for them that will look for exact fields for values. -- Tony On Thu, Mar 19, 2009 at 9:34 PM, dyolf.knip manig...@gmail.com wrote: HI, I have a object

Re: Wicket:enclosure does not work with navigation toolbar of data table

2009-03-19 Thread Anton Veretennikov
wicket:enclosure must have child attribute to know which child component to ask about visibility? Example: wicket:enclosure child=name trthFirst/thtd wicket:id=first/td/tr trthLast/thtd wicket:id=last/td/tr /wicket:enclosure -- Tony On Thu, Mar 19, 2009

Re: Wicket:enclosure does not work with navigation toolbar of data table

2009-03-19 Thread Anton Veretennikov
even if you add the child attribute. Regards Robin --- On Thu, 3/19/09, Anton Veretennikov anton.veretenni...@gmail.com wrote: From: Anton Veretennikov anton.veretenni...@gmail.com Subject: Re: Wicket:enclosure does not work with navigation toolbar of data   table To: users

Re: setRowsPerPage with AjaxFallbackDefaultDataTable

2009-03-17 Thread Anton Veretennikov
Replacing onBeforeRender() in NavigationToolbar to @Override public boolean isVisible() { return table.getPageCount()1; } works well. Do I need to open issue? On Mon, Mar 16, 2009 at 4:57 PM, Anton Veretennikov anton.veretenni...@gmail.com wrote: It is AjaxFallbackDefaultDataTable

Re: setRowsPerPage with AjaxFallbackDefaultDataTable

2009-03-16 Thread Anton Veretennikov
? (If not, the Ajax-code can't find the component anymore.) Linda Anton Veretennikov wrote: Good day! My impression about AjaxFallbackDefaultDataTable is - fantastic! Thank you, Igor! I'm implementing small Ajax panel that changes amount of rows shown. It looks like standart 20 40 60 80

Re: setRowsPerPage with AjaxFallbackDefaultDataTable

2009-03-16 Thread Anton Veretennikov
have to add it to the target as well. Anton Veretennikov wrote: Thank you, Linda. I don't hide it. It hides itself. I suppose it must show itself again if rowsCount rowsPerPage. -- Tony. On Mon, Mar 16, 2009 at 3:51 PM, Linda van der Pal lvd...@heritageagenturen.nl wrote: When you

setRowsPerPage with AjaxFallbackDefaultDataTable

2009-03-15 Thread Anton Veretennikov
Good day! My impression about AjaxFallbackDefaultDataTable is - fantastic! Thank you, Igor! I'm implementing small Ajax panel that changes amount of rows shown. It looks like standart 20 40 60 80 ... Everything is working but: Once top bar with navigation 1 2 3 4 hides (when amount of rows

Re: Why are we top-posting...

2009-03-15 Thread Anton Veretennikov
Those who receive first part of e-mail through sms message are very thankful if valuable part is on top. On Sun, Mar 15, 2009 at 5:35 PM, Johan Compagner jcompag...@gmail.com wrote: I vote for top or interleaved, dont bottom post thats the most horrible one On 14/03/2009, taha siddiqi

Re: log4j

2009-03-09 Thread Anton Veretennikov
slf4j is used as a layer and log4j by default is contained in pom.xml if you use Wicket quickstart. You can add it manualy: dependency groupIdorg.slf4j/groupId artifactIdslf4j-log4j12/artifactId version1.4.2/version /dependency dependency groupIdlog4j/groupId

Re: localization and session expiration

2009-03-06 Thread Anton Veretennikov
: No need to use spring for that, the locale of a WebSession is initialized from ServletRequest#getLocale() by default, which is based on the Accept-Language header. On Fri, Mar 6, 2009 at 12:57 PM, Leszek Gawron lgaw...@apache.org wrote: Anton Veretennikov wrote: May be cookie? You can

Re: localization and session expiration

2009-03-05 Thread Anton Veretennikov
May be cookie? On Fri, Mar 6, 2009 at 12:20 PM, ElSe els...@mail.ru wrote: Hello! I have a question: in my application there are several locales and the user can choose locale on the fly. Locale is stored in the session and all is ok while the session exists. But! When the session is

Re: Question re: style and variation

2009-03-03 Thread Anton Veretennikov
String getFileNameTemplate() { return fileName([styleName][_variationName])[language[_territory][.codese...@modifier]]; } On Wed, Mar 4, 2009 at 11:47 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: but there is a special rule about the _ prefix to indicate a variation, where as a simple

Re: Question re: style and variation

2009-03-03 Thread Anton Veretennikov
this syntax, now my app wont pick up your styles and variations. so we need to come up with something simple that everyone can agree on. -igor On Tue, Mar 3, 2009 at 8:48 PM, Anton Veretennikov anton.veretenni...@gmail.com wrote: String getFileNameTemplate() {  return fileName([styleName

Re: Question re: style and variation

2009-03-03 Thread Anton Veretennikov
extend common base component? On Wed, Mar 4, 2009 at 11:56 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: that would be extremely tedious if you want to override it for all components in your application :) -igor On Tue, Mar 3, 2009 at 8:54 PM, Anton Veretennikov anton.veretenni

Re: Question re: style and variation

2009-03-03 Thread Anton Veretennikov
, tabbedpanel, etc, etc, etc? -igor On Tue, Mar 3, 2009 at 8:58 PM, Anton Veretennikov anton.veretenni...@gmail.com wrote: extend common base component? On Wed, Mar 4, 2009 at 11:56 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: that would be extremely tedious if you want to override

Re: 1.4 RC2 multiple forms within a border

2009-03-02 Thread Anton Veretennikov
16 hours ago: http://www.nabble.com/Multiple-Forms-in-A-Border-tp22252817p22273577.html On Mon, Mar 2, 2009 at 5:44 PM, Ron Meyers christ...@armstrongconsulting.net wrote: I'm having a page contained in a border. Both the border and the  pages contain forms (adjacent not nested forms). This

Re: Switching between markup files for borders

2009-03-02 Thread Anton Veretennikov
, Anton Veretennikov anton.veretenni...@gmail.com wrote: Quickstart is attached. Tested with last 1.4-SNAPSHOT. On Sun, Mar 1, 2009 at 12:29 AM, Anton Veretennikov anton.veretenni...@gmail.com wrote: Hmm. Strange things I see with image paths in my borders with variants. My page is mounted

Another borders scenario

2009-03-02 Thread Anton Veretennikov
Hello! I'm again with borders. May be I'm not using them right... Is everything okey with this mix of border and child: Block.html: wicket:panel div wicket:id=border wicket:child / /div /wicket:panel Block.java (extends Panel)

Re: Another borders scenario

2009-03-02 Thread Anton Veretennikov
The only way I found is to hold reference to added border inside to be extended class and to do getBorder().add(new Link(link)); in child constructor. May be there exists better approach? On Mon, Mar 2, 2009 at 11:41 PM, Anton Veretennikov anton.veretenni...@gmail.com wrote: Hello! I'm

Re: Switching between markup files for borders

2009-02-28 Thread Anton Veretennikov
border images are touching server with .../getFrame/theme/images/bar/white/t.gif address. So, as there is no images there, 404 Not Found is returned for them. They must be .../images/bar/white/t.gif Quickstart? On Thu, Feb 26, 2009 at 2:52 PM, Anton Veretennikov anton.veretenni...@gmail.com wrote

Switching between markup files for borders

2009-02-25 Thread Anton Veretennikov
Hi! I have a problem with theme support for borders. I want to exchange real markup of border depending on theme name, for example: RoundedCornerBorder_black.html RoundedCornerBorder_white.html How to do this in Wicket? - To

Re: Switching between markup files for borders

2009-02-25 Thread Anton Veretennikov
Thank you very much! On Thu, Feb 26, 2009 at 12:19 AM, Michael Sparer michael.spa...@gmx.at wrote: http://cwiki.apache.org/WICKET/newuserguide.html#Newuserguide-LocaleandStyle regards Anton Veretennikov wrote: Hi! I have a problem with theme support for borders. I want to exchange

Quickstart for jar

2009-02-25 Thread Anton Veretennikov
Hi, Do we have jar quickstart with resources filter added by default? -- Tony. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Switching between markup files for borders

2009-02-25 Thread Anton Veretennikov
you a ton of code duplication over having MyBorder_white, MyPanel_white, etc. Maybe you already are, but I couldn't bare to see what appears to be pain and suffering without at least trying to help.  :) On Wed, Feb 25, 2009 at 10:13 AM, Anton Veretennikov anton.veretenni...@gmail.com wrote

Re: Switching between markup files for borders

2009-02-25 Thread Anton Veretennikov
-image: (/url/blackimages/bar.jpg); } As to performance, not sure I understood the question, but selecting the themed borders rather than normal borders doesn't slow anything down.  Is that what you meant? On Thu, Feb 26, 2009 at 1:15 AM, Anton Veretennikov anton.veretenni...@gmail.com wrote

What happens with AjaxSelfUpdatingTimerBehavior on slow response

2009-02-22 Thread Anton Veretennikov
Hello, wicket users, Seems to me that AjaxSelfUpdatingTimerBehavior works great on my dev machine but does not on remote server. Firebug shows only count of requests and no reponses. So may be this happens when response is too late and new request is started? I wonder of variant that will wait

Re: What happens with AjaxSelfUpdatingTimerBehavior on slow response

2009-02-22 Thread Anton Veretennikov
Excuse me, it works! My test was invalid. On Mon, Feb 23, 2009 at 1:10 PM, Anton Veretennikov anton.veretenni...@gmail.com wrote: Hello, wicket users, Seems to me that AjaxSelfUpdatingTimerBehavior works great on my dev machine but does not on remote server. Firebug shows only count

Re: Ways to fully disable back button

2009-02-20 Thread Anton Veretennikov
you delete or mark a message as spam. They provide a feedback message with a link that allows the user to undo the operation. 2 messages have been marked as spam (_undo_) Martijn On Fri, Feb 20, 2009 at 8:39 AM, Anton Veretennikov anton.veretenni...@gmail.com wrote: Really, my question

Ways to fully disable back button

2009-02-19 Thread Anton Veretennikov
Hello, wicket users, I would like to know how to write wicket links so that it will not be possible to return back. Thank you. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: Ways to fully disable back button

2009-02-19 Thread Anton Veretennikov
to show user some info or what can be done? -- Tony On Fri, Feb 20, 2009 at 2:04 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: you can't. use google to see why. Martijn On Fri, Feb 20, 2009 at 6:02 AM, Anton Veretennikov anton.veretenni...@gmail.com wrote: Hello, wicket users

Re: Effects library in Wicket

2009-02-16 Thread Anton Veretennikov
Also look at other JQuery integrations with Wicket: http://code.google.com/p/wickext/ and http://code.google.com/p/jquery4wicket/ From one of postings on wickext forum I saw they plan to merge. -- Tony On Mon, Feb 16, 2009 at 9:12 AM, Jeremy Thomerson jer...@wickettraining.com wrote: See some

ComponentPropertyModel inside some border

2009-02-15 Thread Anton Veretennikov
Hello, Wicket users, Please, help me to find the difference between theese two ComponentPropertyModel's (inside some Panel): add(new Label(currencyPayed, new ComponentPropertyModelString(currentPriceSumCurrency))); and this (inside some border): border.add(new Label(currencyPayed, new

Re: How to handle this exception properly

2009-02-11 Thread Anton Veretennikov
Igor, Excuse me, but I really don't understand. I'm asking about how to show Wicket error page. I thought that throwing WicketRuntimeException will result in showing it. But I get SERVER error page. I attached an image to clarify matters. And error below is seen in Tomcat output, not in Wicket

Re: How to handle this exception properly

2009-02-11 Thread Anton Veretennikov
or not, are handled in the same way - redirect to the error page. do you have a custom error page? if you do - if your error page has an error then what you describe might happen. -igor On Wed, Feb 11, 2009 at 6:49 AM, Anton Veretennikov anton.veretenni...@gmail.com wrote: Igor, Excuse me

Re: How to handle this exception properly

2009-02-11 Thread Anton Veretennikov
); Anton Veretennikov wrote: I don't have custom error page. Link to image: http://img3.imageshack.us/img3/2244/bb476f8ece2116133419587ba3.gif On Wed, Feb 11, 2009 at 10:22 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: your attachment got stripped, but i can imagine what it looks like. all

Re: How to handle this exception properly

2009-02-10 Thread Anton Veretennikov
should be fine, you can throw any kind of runtime exception you want. -igor Igor, thank you for answer. Did you mean that HTTP Status 500 error I get is not what it must be? It's a bug or what? I can make jira if it is so. -- Tony On Mon, Feb 9, 2009 at 11:57 PM, Anton Veretennikov

Re: How to handle this exception properly

2009-02-10 Thread Anton Veretennikov
I get it. On Wed, Feb 11, 2009 at 12:01 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: do you get 500 or do you not? -igor On Tue, Feb 10, 2009 at 8:57 AM, Anton Veretennikov anton.veretenni...@gmail.com wrote: should be fine, you can throw any kind of runtime exception you want. -igor

Re: How to handle this exception properly

2009-02-10 Thread Anton Veretennikov
How to get standart Error page then instead of this error? considering 5xx codes are server-related failures i would say it is correct. -igor On Tue, Feb 10, 2009 at 9:03 AM, Anton Veretennikov anton.veretenni...@gmail.com wrote: I get it. On Wed, Feb 11, 2009 at 12:01 AM, Igor Vaynberg

How to handle this exception properly

2009-02-09 Thread Anton Veretennikov
Hello, all wicket users! I receive HTTP Status 500 error in this situation: I have a page with empty html-file and page's onRender() looks like: OutputStreamWriter writer = null; try { writer = new OutputStreamWriter(getResponse().getOutputStream(), encoding); String enc =

Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-04 Thread Anton Veretennikov
I mean when wicket attributes and tags are stripped for production, please, remove this namespace too. On Wed, Feb 4, 2009 at 3:36 PM, Timo Rantalaiho timo.rantala...@ri.fi wrote: On Wed, 04 Feb 2009, Anton Veretennikov wrote: Please, don't forget to remove it when mode is DEPLOYMENT. What do

Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-03 Thread Anton Veretennikov
Please, don't forget to remove it when mode is DEPLOYMENT. On Wed, Feb 4, 2009 at 8:29 AM, James Carman jcar...@carmanconsulting.com wrote: Ahhh, that's right. The archetype is released with wicket. DUH! :) On Tue, Feb 3, 2009 at 8:17 PM, jWeekend jweekend_for...@cabouge.com wrote: James,

Re: Feedback Panel

2009-01-30 Thread Anton Veretennikov
This is a simple Panel (without filtering) that can be used instead of FeedbackPanel. It shows itself is any session messages are available. As any Panel it has it's own html. public class MyFeedbackPanel extends Panel { public MyFeedbackPanel(String id) { super(id);

Re: Frozen error form object

2009-01-28 Thread Anton Veretennikov
this: add(new listpanel() { onclicked() { editpanel.inputchanged(); }}): that way everything is still nicely encapsulated, but accessible. -igor On Tue, Jan 27, 2009 at 11:35 PM, Anton Veretennikov anton.veretenni...@gmail.com wrote: Thank you very much, Igor This really works. I think

Re: Convert a null Model to a custom string rather than

2009-01-28 Thread Anton Veretennikov
(AbstractPropertyModel.java:169) at common.component.DefaultWhenNullModel.setObject(DefaultWhenNullModel.java:41) On Wed, Jan 28, 2009 at 11:51 AM, Anton Veretennikov anton.veretenni...@gmail.com wrote: Not very nice but works (Jeremy Thomerson's variant with setObject changes): public

  1   2   >