Re: Writing to .properties files and make changes happen?

2008-04-03 Thread Johan Compagner
What is the path you write it in? Where sits the property file? On 4/4/08, unka_hahrry <[EMAIL PROTECTED]> wrote: > > I call this method from inside a WebPage: > > public static void setNewText(String path, String textId, String neuerText) > throws IOException { > > .

Re: Writing to .properties files and make changes happen?

2008-04-03 Thread Azzeddine Daddah
Why don't you try to use the Apache Commons Configuration? Take a look http://commons.apache.org/configuration Azzeddine On Fri, Apr 4, 2008 at 8:35 AM, unka_hahrry <[EMAIL PROTECTED]> wrote: > > I call this method from inside a WebPage: > > public static void setNewText(String path, String text

IE 6 & 7 Ajax Refresh Issue

2008-04-03 Thread Cristi Manole
Hello, I have on a page 3 radio buttons in a group and for each radio a drop down: xDropDown1 V oDropDown2 V oDropDown3 V When the user selects a radio, the corresponding dropdown will be enabled and the other two disabled. In Firefox, this works as I need it to, but in IE, the drop

Re: Changing Wickets default styles

2008-04-03 Thread Nino Saturnino Martinez Vazquez Wael
Strange, but that is the way with browsers:) Steen Larsen wrote: More or less. Rearranging the order of the styles, seems to have an influence. No idea why but it looks ok now. Firebug only showed the first style (background-image), but changing the order made more show up (not all). Go figure.

Re: Mount causes strange effects on my web application

2008-04-03 Thread Igor Vaynberg
see ContextImage and how it generates the necessary ../../ prefix, do the same for your javascript inside iheadercontributor. -igor On Thu, Apr 3, 2008 at 11:22 PM, SteamR <[EMAIL PROTECTED]> wrote: > > My project structure is as follows: > > root > --> WEB-INF > --> classes >

Re: Mount causes strange effects on my web application

2008-04-03 Thread SteamR
My project structure is as follows: root --> WEB-INF --> classes --> libs --> css -->css-files --> js -->javascript files. --> images -->image files. --> html files. I have changed the default location of the resources, to reflect th

Re: Writing to .properties files and make changes happen?

2008-04-03 Thread unka_hahrry
I call this method from inside a WebPage: public static void setNewText(String path, String textId, String neuerText) throws IOException { ... getting old text as StringBuffer "alt" ... //create new String from content of .properti

Re: Tomcat dying with Wicket 1.3.2 (Windows / JDK 1.5.0_10)

2008-04-03 Thread Jeremy Thomerson
Nope - one page never holds on to another. I never even pass pages into another page or link or something as a reference. Interestingly, I DECREASED the memory the JVM could have from 1.5 GB to 1.0 GB today, and it has been stable all day (after also releasing a version using Wicket 1.3.3). That

Re: Removing the jsessionid for SEO

2008-04-03 Thread Jeremy Thomerson
I've been building a community-driven hunting and fishing site in Texas for the past year and a half. Since I have converted it to Wicket from ColdFusion, our search engine rankings have gone WAY UP. That's right, we're on the first page for tons of searches. Search for "texas hunting" - we're s

Strange behaviour with autocomplete

2008-04-03 Thread David Leangen
Hi, Using the standard wicket autocomplete widget, I just noticed that I am getting some strange behaviour. When I mouseover or scroll the list via the keyboard, the entire screen jumps to the bottom. I never noticed before because there wasn't enough content to cause the page to scroll and ther

Re: Removing the jsessionid for SEO

2008-04-03 Thread Jeremy Levy
To clarify my message below: With a CryptedUrlWebRequestCodingStrategy and alot of BookmarkablePages. On Thu, Apr 3, 2008 at 9:16 PM, Jeremy Levy <[EMAIL PROTECTED]> wrote: > We have a similar issue, and are trying the following out right now.. > > http://www.google.com/support/webmasters/bin/an

Re: Removing the jsessionid for SEO

2008-04-03 Thread Igor Vaynberg
On Thu, Apr 3, 2008 at 6:09 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote: > Ok, at least I'm not missing anything. I understand the benefits it's > providing with its stateful framework. Developing a site with Wicket is > easier than with any other framework I've used. But this statefulness, > wh

Re: Removing the jsessionid for SEO

2008-04-03 Thread Jeremy Levy
We have a similar issue, and are trying the following out right now.. http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=40367 User-agent: * Disallow: /*? On Thu, Apr 3, 2008 at 9:09 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote: > Ok, at least I'm not missing anything. I unders

RE: Removing the jsessionid for SEO

2008-04-03 Thread Dan Kaplan
Ok, at least I'm not missing anything. I understand the benefits it's providing with its stateful framework. Developing a site with Wicket is easier than with any other framework I've used. But this statefulness, which makes websites so easy to develop, seems to be counter productive to SEO:

Default selection in radio group?

2008-04-03 Thread Michael Mehrle
I created a RadioGroup with three radios attached. For some reason the form is being drawn with the last radio pre-selected, which I don't want. How can I pre-select a default radio and also how can I set the group to nothing selected? Thanks, Michael

Re: Removing the jsessionid for SEO

2008-04-03 Thread Igor Vaynberg
On Thu, Apr 3, 2008 at 5:31 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote: > Ok I did a little preliminary research on this. Right now PagingNavigator > uses PagingNavigationLink's to represent its page. This extends Link. I'm > supposed to override PagingNavigator's newPagingNavigationLink() metho

Re: should DataView.setItemsPerPage(int items) be in IDataProvider?

2008-04-03 Thread Igor Vaynberg
what is that have to do with dataprovider? i think you are doing something very strange. maybe you should subclass the dataview instead of dataprovider -igor On Thu, Apr 3, 2008 at 5:22 PM, i ii <[EMAIL PROTECTED]> wrote: > > i need update method to know how many items updated out of how many i

RE: Removing the jsessionid for SEO

2008-04-03 Thread Dan Kaplan
Ok I did a little preliminary research on this. Right now PagingNavigator uses PagingNavigationLink's to represent its page. This extends Link. I'm supposed to override PagingNavigator's newPagingNavigationLink() method to accomplish this (I think) but past that, this isn't very straightforward

RE: should DataView.setItemsPerPage(int items) be in IDataProvider?

2008-04-03 Thread i ii
i need update method to know how many items updated out of how many items shown on page > Date: Thu, 3 Apr 2008 10:02:18 -0700 > From: [EMAIL PROTECTED] > To: users@wicket.apache.org > Subject: Re: should DataView.setItemsPerPage(int items) be in IDataProvider? > > whats the usecase there? > >

Re: Removing the jsessionid for SEO

2008-04-03 Thread Martijn Dashorst
On 4/4/08, Dan Kaplan <[EMAIL PROTECTED]> wrote: > My URL ends with ;jsessionid=an7goabg0az (my actual situation). I > personally think that looks weirder than .php or .asp. Nah, it shows that you are using Java. Much more sophisticated! > Where did you get that 0.5% statistic? Regardless, my

Re: java.io.StreamCorruptedException: invalid type code: 29

2008-04-03 Thread Daniel Wu
I debugged my application and it really doesn't have a ClassNotFoundException eaten by ObjectInputStream. I compared the flow of two screens of my application, one that works and another that doesn't: 1) The line 298 of SecondLevelCacheSessionStore => getLastPage().getVersion(versionNumber) is ret

RE: Removing the jsessionid for SEO

2008-04-03 Thread Dan Kaplan
Sorry, I'm going to reply again. It differentiate between my comments and yours: > -Original Message- > From: Martijn Dashorst [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2008 3:36 PM > To: users@wicket.apache.org > Subject: Re: Removing the jsessionid for SEO > > On 4/4/08, Da

RE: Removing the jsessionid for SEO

2008-04-03 Thread Dan Kaplan
-Original Message- From: Martijn Dashorst [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008 3:36 PM To: users@wicket.apache.org Subject: Re: Removing the jsessionid for SEO On 4/4/08, Dan Kaplan <[EMAIL PROTECTED]> wrote: > Regardless, at the very least this makes your site look

RE: Removing the jsessionid for SEO

2008-04-03 Thread Dan Kaplan
Awesome, thanks -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008 3:40 PM To: users@wicket.apache.org Subject: Re: Removing the jsessionid for SEO you subclass the pagenavigator and make it use bookmarkable links also. it has factory methods

Re: Tomcat dying with Wicket 1.3.2 (Windows / JDK 1.5.0_10)

2008-04-03 Thread Matej Knopp
This is really weird. Do you have any inter-page references in your application? -Matej On Thu, Apr 3, 2008 at 9:35 PM, Jeremy Thomerson <[EMAIL PROTECTED]> wrote: > The oddness is what baffles me: Tomcat has no output anywhere. I have > grepped and tailed the entire Tomcat logs directory, stdo

Re: Removing the jsessionid for SEO

2008-04-03 Thread Igor Vaynberg
you subclass the pagenavigator and make it use bookmarkable links also. it has factory methods for all the links it uses. -igor On Thu, Apr 3, 2008 at 3:36 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote: > I wasn't talking about the links that are on the list (I already make those > bookmarkable). I

RE: Removing the jsessionid for SEO

2008-04-03 Thread Dan Kaplan
I wasn't talking about the links that are on the list (I already make those bookmarkable). I'm talking about the links that the Navigator generates. How do I make it so page 2 is bookmarkable? -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008

Re: Removing the jsessionid for SEO

2008-04-03 Thread Martijn Dashorst
On 4/4/08, Dan Kaplan <[EMAIL PROTECTED]> wrote: > Regardless, at the very least this makes your site look "weird" and > unprofessional when google puts a jsessionid on your url. 0.5% of your users care about the URL that is displayed in a google search result. It doesn't look weird or unprofessi

Re: Removing the jsessionid for SEO

2008-04-03 Thread Igor Vaynberg
instead of item.add(new link("foo") { onclick() }); do item.add(new bookmarkablepagelink("foo", page.class)); -igor On Thu, Apr 3, 2008 at 3:28 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote: > How? I asked how to do it before and nobody suggested this as a > possibility. > > > > -Original M

RE: Removing the jsessionid for SEO

2008-04-03 Thread Dan Kaplan
How? I asked how to do it before and nobody suggested this as a possibility. -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008 3:26 PM To: users@wicket.apache.org Subject: Re: Removing the jsessionid for SEO dataview can work in a stateles

RE: Removing the jsessionid for SEO

2008-04-03 Thread Dan Kaplan
Clarifications: When I said "About those 404s", I was talking about if you use the fix I provided and turn off cookies on your browser. When I said, "If I ban cookies" I mean to say, "If I require cookies" -Original Message- From: Dan Kaplan [mailto:[EMAIL PROTECTED] Sent: Thursday, Apr

Re: Removing the jsessionid for SEO

2008-04-03 Thread Igor Vaynberg
dataview can work in a stateless mode, just use bookmarkable links inside it -igor On Thu, Apr 3, 2008 at 3:22 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote: > Regardless, at the very least this makes your site look "weird" and > unprofessional when google puts a jsessionid on your url. There has g

RE: Removing the jsessionid for SEO

2008-04-03 Thread Dan Kaplan
Regardless, at the very least this makes your site look "weird" and unprofessional when google puts a jsessionid on your url. There has got to be some negative effect when google visits it the second time and the jsessionid has changed but it sees the same exact content. Worst case, it'll think y

wicket, spring and aop

2008-04-03 Thread [EMAIL PROTECTED]
Hi there, I'm just trying to integrate wicket 1.3.2, spring 2.0 and aspect oriented programming (spring-aop). I've an aspect for instrumenting a dao provider that is defined as follow: @Aspect() public class DaoProviderInstrumentation { @Around("execution(* *(..)) && target(org.mypackage.d

Re: Modifying inline CSS in head of document

2008-04-03 Thread Roman Zechner | Liland
Thanks Igor, I came up with this solution public abstract class BasePage extends WebPage() { int height = .../*get Browser height*/ String headerCss = String.format("#leftmenu {height:%spx}", height); add(new StringHeaderContributor(headerCss)); which isn't free of Javascript either - should hav

RE: Get informed about invalidation of a session

2008-04-03 Thread Warren
Just for my information, what would be some of the uses of AbstractHttpSessionStore#onBind(...) and AbstractHttpSessionStore#onUnbind(...)? It looks like they are there to manage sessions in some way. My use cases are a little more complicated, but you made some good points and I do need to rethin

Problems with wicketstuff-contrib-jasperreports

2008-04-03 Thread Peter Neubauer
Hi all, I tried using a copy of the page at http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-jasperreports/src/examples/java/wicket/contrib/jasperreports/examples/ReportLinksPage.java to get some Jasperreport out, but instead, I am getting ERROR - RequestCycle

Re: Throw AbortWithWebErrorCodeException in onBeforeRender

2008-04-03 Thread Johan Compagner
thats really a strange error at that time the application should still be there. On Wed, Apr 2, 2008 at 11:41 AM, Michael Sparer <[EMAIL PROTECTED]> wrote: > > (Using wicket 1.3.2) I have a super class (WebPage) that throws a > AbortWithWebErrorCodeException(404) depending on some properties of

Re: Get informed about invalidation of a session

2008-04-03 Thread Johan Compagner
that there only can be 100 can be checked by just having a counter And communication should just be pulled from a central data object you shouldn't push that in into the session objects (same for logging off) Ofcourse this can all work but you dont know what the container does and failover or loa

Re: Is there an AJAX Panel in Wicket

2008-04-03 Thread Johan Compagner
cant be done for the components the think you can do is what is slow (the data for the components) and do that in another thread(s) and then poll if it is ready johan On Thu, Apr 3, 2008 at 3:52 PM, kumark <[EMAIL PROTECTED]> wrote: > > I was wondering if there is a AJAXPanel available in wicke

RE: Get informed about invalidation of a session

2008-04-03 Thread Warren
Can't I rely on HttpSessionStore#onBind(...) and HttpSessionStore#onUnbind(...) to manage a ConcurrentHashMap() of Sessions? I remove the session in onUnbind(). And doesn't invalidating and onUnbind() happen in the same request?. I have some special use cases that require one device to communicate

[discuss] What do you want the Amsterdam Meetup to be?

2008-04-03 Thread Martijn Dashorst
Unfortunately Cyrille is unable to attend the Wicket meetup, so the presentation on the web framework competition (where Wicket was the winner) will not happen. So there is some room in our schedule and I'd like to know what the community expects to happen in our meetup outside the presentations?

Re: ModalWindow and Ajax?

2008-04-03 Thread Per Newgro
Hello Nino Saturnino Martinez Vazquez Wael: could you please provide a small example on this issue / solution. I think about a similiar way of doin things and i don't want to ask the same question as you in a month again :-) Thanks Per -

Re: Get informed about invalidation of a session

2008-04-03 Thread Johan Compagner
when a session is invalidated you cant call get or set attribute anymore on it also holding on the sessions outside of request is not something you should do On Thu, Apr 3, 2008 at 5:51 PM, Warren <[EMAIL PROTECTED]> wrote: > I am extending HttpSessionStore and keeping track of my sessions ther

Re: Unit testing wizards

2008-04-03 Thread lizz
Here is how you test wizards: // check that buttons main view and feedback panel exists for wizard tester.assertComponent("myWizard:form:" + Wizard.VIEW_ID, Component.class); tester.assertComponent("myWizard:form:" + Wizard.BUTTONS_ID, WizardButtonBar.class); tester

Re: ModalWindow and Ajax?

2008-04-03 Thread Nino Saturnino Martinez Vazquez Wael
Ok.. Thanks, thought it was some setup thingy. And works fine now. regards Nino Ryan Gravener wrote: You can set it as soon as the Wicket js object has been created. You need to be using wicket 1.3.x for this to work and yes, you will need to have it set before the onchange. On Thu, Apr 3

Re: Tomcat dying with Wicket 1.3.2 (Windows / JDK 1.5.0_10)

2008-04-03 Thread Jeremy Thomerson
The oddness is what baffles me: Tomcat has no output anywhere. I have grepped and tailed the entire Tomcat logs directory, stdout*, stderr*, localhost*, etc. Nothing in eventvwr. It must be memory related, though. There is a steadily increasing memory footprint - it was increasing so fast yeste

Re: Displaying date as Label.

2008-04-03 Thread Roman Zechner | Liland
use this DateLabel.forDatePattern(java.lang.String id, IModel model, java.lang.String datePattern) cheers, roman users@wicket.apache.org wrote: > > Hi All, > > I need some help displaying date correctly in Label. I am using a text > field(and DatePicker) to take date input and storing it in m

Re: Tomcat dying with Wicket 1.3.2 (Windows / JDK 1.5.0_10)

2008-04-03 Thread Al Maw
You can use as many anonymous inner classes as you like. I have them coming out of my ears, personally. It's very odd for tomcat to die with no output. There will be output somewhere. Check logs/catalina.out and also logs/localhost*. If the JVM dies, it will hotspot or even segfault and log that,

Re: Render body only

2008-04-03 Thread Al Maw
Yeah. It's a bit nasty, but there's not really any other way to have both the flexibility and the convenience, unless you have some brilliant other idea? It's like jk says, normally you would use the setter, unless you need on-demand evaluation per page-view. Regards, Alastair On Thu, Apr 3, 20

Re: Validate HTML generated from getMarkupResourceStream()

2008-04-03 Thread hjuturu
I got a solution for this and would like to share it with those interested I replaced the catch block with this code' catch (Exception e) { getSession().error("Parse Exception Occured"); throw new RestartResponseException(ParseError

Re: I cannot understand why would a panel have the getparent null

2008-04-03 Thread Al Maw
ajaxTable.setCurrentPage(ajaxTable.getUserRow(user.getUsername(), new Date(((HomePage)getParent()).getClientCalendar().getTimeInMillis())) / ROWS_PER_PAGE); Eeek. Not to be rude, but I really can't read that at all. Some well-named intermediate variables and a comment might not go amiss. Your pa

Re: Validate HTML generated from getMarkupResourceStream()

2008-04-03 Thread hjuturu
Hi Igor,All I tried to use MarkupParser as u suggested This is how my code looks public IResourceStream getMarkupResourceStream(MarkupContainer container, Class containerClass){ IResourceStream rStream = new StringResourceStream(HTMLString); MarkupResourceStream reso

Re: Removing the jsessionid for SEO

2008-04-03 Thread Matej Knopp
On the other hand, crawling non-bookmarkable pages is not very useful anyway, since ?wicket:interface url will always get page expired when you click on the result. However, preserving session makes lot of sense with hybrid url. Google remembers the original url (without page instance) while index

[Wicket 1.3.3] Possible wicket:enclosure regression.

2008-04-03 Thread Fabio Fioretti
Hi All, I'm experiencing a possible regression for wicket:enclosure in Wicket 1.3.3 (maybe related to the couple of patches that involved enclosures for 1.3.3). It thought of a regression because the following code works just fine in 1.3.1, even if I haven't tested it in 1.3.2. Basically, I have

Re: Writing to .properties files and make changes happen?

2008-04-03 Thread Johan Compagner
thats very strange writing a file in an editor or save it through java that shouldn't matter But are you constantly writing properties file from inside the webapp? johan On Thu, Apr 3, 2008 at 7:31 PM, unka_hahrry <[EMAIL PROTECTED]> wrote: > > Yes, but only if I edit the .properties file with

Wicket fail-over with Terracotta - sticky or non-sticky sessions?

2008-04-03 Thread Stefan Fußenegger
Hi all, I am currently evaluating a Wicket fail-over solution (two equal nodes with a floating IP, probably using Linux Heartbeat) with Terracotta. Of course, it would be desirable to switch between nodes without any impact on a user's session. In order to provide this, the cluster must be able t

Re: should DataView.setItemsPerPage(int items) be in IDataProvider?

2008-04-03 Thread Igor Vaynberg
whats the usecase there? -igor On Thu, Apr 3, 2008 at 6:29 AM, i ii <[EMAIL PROTECTED]> wrote: > > but what if items per page is needed not in iterator? > > > Date: Thu, 3 Apr 2008 15:08:27 +0200 > > From: [EMAIL PROTECTED] > > To: users@wicket.apache.org > > Subject: Re: should DataView.set

Re: CheckBoxMultipleChoice with sections

2008-04-03 Thread Igor Vaynberg
you could use CheckGroup/Check components -igor On Thu, Apr 3, 2008 at 6:37 AM, Brian Edwards <[EMAIL PROTECTED]> wrote: > I am trying to create a CheckBoxMultipleChoice subclass that supports > sections. The class of items in the list will have a section name and > a description. The l

Re: Throw AbortWithWebErrorCodeException in onBeforeRender

2008-04-03 Thread Igor Vaynberg
jira... -igor On Wed, Apr 2, 2008 at 2:41 AM, Michael Sparer <[EMAIL PROTECTED]> wrote: > > (Using wicket 1.3.2) I have a super class (WebPage) that throws a > AbortWithWebErrorCodeException(404) depending on some properties of its > subclasses. Therefore I can't check the subclasses' properti

Re: Removing the jsessionid for SEO

2008-04-03 Thread Igor Vaynberg
right. if you strip sessionid then all your nonbookmarkable urls will resolve to a 404. that will probably drop your rank a lot faster -igor On Thu, Apr 3, 2008 at 9:16 AM, Johan Compagner <[EMAIL PROTECTED]> wrote: > the problem is that then you have to have all stateless pages. Else google

Re: Tabbed Panel

2008-04-03 Thread Igor Vaynberg
tabbedpanel is meant for swapping inner panels not urls. you will need to roll your own variant that only has tabs and no body. see the source of tabbedpanel for inspiration. -igor On Thu, Apr 3, 2008 at 9:34 AM, Milan Křápek <[EMAIL PROTECTED]> wrote: > Hi, > I want to use tabbed panel in my

Re: wicket support for page customisation at runtime

2008-04-03 Thread Igor Vaynberg
they click the up link, you update the db with the correct order, and repaint the page. where is the problem? -igor On Thu, Apr 3, 2008 at 2:34 AM, kumark <[EMAIL PROTECTED]> wrote: > > Thanks Igor. > > Here's an example of the usecase I am referring to. Two panels lets say (one > with sports

Re: Mount causes strange effects on my web application

2008-04-03 Thread Igor Vaynberg
where does your javascript live? context folder? package folder? -igor On Thu, Apr 3, 2008 at 2:22 AM, SteamR <[EMAIL PROTECTED]> wrote: > > OK, it seems that image paths are filtered with correct path, and thus leaves > my javascript reference as is, since I add it myself. Is there somehow I

Re: I cannot understand why would a panel have the getparent null

2008-04-03 Thread Matthew Young
During construction of TodayPanel, it hasn't been added to the page yet so getParent() is null. Maybe you should do the 'if(user != null) {...' stuff in @Override ...onBeforeRender() {...}. The first time you're okay because if (user!=null) fails and getParent() is not executed. The second time

Tabbed Panel

2008-04-03 Thread Milan Křápek
Hi, I want to use tabbed panel in my web application, because this type of navigation seem good for me. I looked the examples and I have this question. Is it posible to use tabbed panel as some page navigator? The situation: My application is composed from few user models and one base model.

Re: Is there an AJAX Panel in Wicket

2008-04-03 Thread Michael Sparer
wicket has plenty of ajax components out of the box. i think what you're looking for is the lazyloading panel which is from wicket-extensions (i think) have a look at the example(s) on wicketstuff.org: http://www.wicketstuff.org/wicket13/ajax/lazy-loading.1 kumark wrote: > > I was wondering if

Re: Changing Wickets default styles

2008-04-03 Thread Steen Larsen
More or less. Rearranging the order of the styles, seems to have an influence. No idea why but it looks ok now. Firebug only showed the first style (background-image), but changing the order made more show up (not all). Go figure. But thanks for the input all. /Steen 2008/4/2, Nino Saturnino Mart

Re: Removing the jsessionid for SEO

2008-04-03 Thread Johan Compagner
the problem is that then you have to have all stateless pages. Else google can't crawl your website. And if that is the case then you could be completely stateless so you dont have a session (id) to worry about at all. johan On Thu, Apr 3, 2008 at 4:54 PM, Zappaterrini, Larry < [EMAIL PROTECTE

Re: Modifying inline CSS in head of document

2008-04-03 Thread Igor Vaynberg
see IHeaderContributor -igor On Thu, Apr 3, 2008 at 12:43 AM, rzechner <[EMAIL PROTECTED]> wrote: > I want to resize the height of my pages dynamically, therefore I need to set > the height of some markup elements dynamically. I don't want to use > Javascript (although I found a nice solution wit

RE: Get informed about invalidation of a session

2008-04-03 Thread Warren
I am extending HttpSessionStore and keeping track of my sessions there. I am able to get a hold of members of my Session while it is being invalidated. I am not quite sure what you mean by " on the unBind() / onDestroy the actual session object does not exist anymore", the session seems to be avail

Re: Render body only

2008-04-03 Thread John Krasnay
On Thu, Apr 03, 2008 at 03:50:42PM +0100, Charlie Dobbie wrote: > Off Topic, but does anyone else apart from Scott and me get confused by this > duality? > > Should I setProperty, or override getProperty? And the equally annoying > Does getComponentX give me a reference to an already-created Comp

Re: ModalWindow and Ajax?

2008-04-03 Thread Ryan Gravener
You can set it as soon as the Wicket js object has been created. You need to be using wicket 1.3.x for this to work and yes, you will need to have it set before the onchange. On Thu, Apr 3, 2008 at 11:00 AM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > this did not do the tr

Displaying date as Label.

2008-04-03 Thread nanotech
Hi All, I need some help displaying date correctly in Label. I am using a text field(and DatePicker) to take date input and storing it in mySQL database. But while displying it as a "Label" I am only seeing time (i.e it always shows 12:00 am).The date in database is correct. Here is how I am doi

Re: ModalWindow and Ajax?

2008-04-03 Thread Nino Saturnino Martinez Vazquez Wael
this did not do the trick in my onchange: target.appendJavascript("Wicket.Window.unloadConfirmation = false;"); should it be prepended or when should it be append before the onchange event in my dropdown? As a kind of setup, I guess? Ryan Gravener wrote: Yes, append this java

RE: Removing the jsessionid for SEO

2008-04-03 Thread Zappaterrini, Larry
When Google asks to not have special treatment for their bot, they are referring to content more than anything. Regarding the session id being coded in the URL, see the Technical guidelines section of Google's Webmaster Guidelines - http://www.google.com/support/webmasters/bin/answer.py?answer=3576

Re: Render body only

2008-04-03 Thread Charlie Dobbie
Off Topic, but does anyone else apart from Scott and me get confused by this duality? Should I setProperty, or override getProperty? And the equally annoying Does getComponentX give me a reference to an already-created ComponentX, or do I override it to supply my own ComponentX? Charlie. On T

Re: Unit testing wizards

2008-04-03 Thread romand
cruiserdude wrote: > > Hi, > > Bit of a noob question but I was hoping somebody might be able to give an > example of unit testing a Wizard, I'm not entirely sure how to test the > individual pages. > > So far I've got to the point that I can check that my child of > Wizard.class has rendered

Re: ModalWindow and Ajax?

2008-04-03 Thread Ryan Gravener
Yes, append this javascript in your ajax call: Wicket.Window.unloadConfirmation = false; On Thu, Apr 3, 2008 at 10:33 AM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > Hi > > I have a modalwindow which contains a dropdown. I've attached an > ajaxbehavior to the dropdown but w

Re: Render body only

2008-04-03 Thread Scott Sauyet
Ryan Gravener wrote: You can try wicket:container ... http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%2527sXHTMLtags-WicketTags And that's even better. No ugly tags in the markup either. Thanks Jeremy and Ryan for your quick responses. -- Scott --

Re: Render body only

2008-04-03 Thread Scott Sauyet
Jeremy Levy wrote: Did you try setRenderBodyOnly(true) ? D'Oh! No, I was looking to subclass and override getRenderBodyOnly(). Sheer brilliance! -- Scott - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

ModalWindow and Ajax?

2008-04-03 Thread Nino Saturnino Martinez Vazquez Wael
Hi I have a modalwindow which contains a dropdown. I've attached an ajaxbehavior to the dropdown but when it fires I get a confirmation box "are you sure you want to navigate away from this page"... Is it supposed to work this way? -- -Wicket for love Nino Martinez Wael Java Specialist @ Ja

Re: Render body only

2008-04-03 Thread Ryan Gravener
You can try wicket:container ... http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%2527sXHTMLtags-WicketTags On Thu, Apr 3, 2008 at 10:28 AM, Scott Sauyet <[EMAIL PROTECTED]> wrote: > Hi, I'm looking to do exactly what was discussed in a thread a few years ago > (http://tinyurl.com/

Re: Render body only

2008-04-03 Thread Jeremy Levy
Did you try setRenderBodyOnly(true) ? On Thu, Apr 3, 2008 at 10:28 AM, Scott Sauyet <[EMAIL PROTECTED]> wrote: > Hi, I'm looking to do exactly what was discussed in a thread a few years > ago (http://tinyurl.com/3yo43s), namely to dynamically include or exclude > a group of tags. > > I can wrap

Render body only

2008-04-03 Thread Scott Sauyet
Hi, I'm looking to do exactly what was discussed in a thread a few years ago (http://tinyurl.com/3yo43s), namely to dynamically include or exclude a group of tags. I can wrap them in a with a WebMarkupContainer, but I like to have valid HTML and really don't want the tag in the final outpu

I cannot understand why would a panel have the getparent null

2008-04-03 Thread Cristi Manole
Hello, I have a HomePage where, in constructor, i add a Panel : public HomePage(final PageParameters parameters) { Date clientDate = getClientCalendar().getTime(); Label label = new Label("today", "Today's Status [" + DateFormat.getDateInstance(DateFormat.SHORT).format(clientD

Re: Is there an AJAX Panel in Wicket

2008-04-03 Thread Erik van Oosten
Oops, AjaxLazyLoadPanel is not asychronous. Wicket does not have the ability to do more then one request concurrently within the same session. They are pipelined. (Sorry for previous message, pressed send too soon.) Regards, Erik. kumark schreef: > I was wondering if there is a AJAXPanel av

Re: Is there an AJAX Panel in Wicket

2008-04-03 Thread Erik van Oosten
I think AjaxLazyLoadPanel does the job exactly as you desribe it. Regards, Erik. kumark schreef: > I was wondering if there is a AJAXPanel available in wicket. If a page has 10 > panels with in it, I want all of them to load in an asynchronous fashion, > which ever is available first and so

Is there an AJAX Panel in Wicket

2008-04-03 Thread kumark
I was wondering if there is a AJAXPanel available in wicket. If a page has 10 panels with in it, I want all of them to load in an asynchronous fashion, which ever is available first and so on, Instead of waiting for all the 10 panels to load before the page is displayed? Many Thanks. -- View thi

Re: StackOverflowError using 1.3.2

2008-04-03 Thread Gerolf Seitz
i was able to reproduce it in a quickstart. see WICKET-1476 Gerolf On Wed, Apr 2, 2008 at 9:02 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > if we have a quickstart for this we could look for the solution... > > > On Wed, Apr 2, 2008 at 8:26 PM, André Souza <[EMAIL PROTECTED]> > wrote: > >

CheckBoxMultipleChoice with sections

2008-04-03 Thread Brian Edwards
I am trying to create a CheckBoxMultipleChoice subclass that supports sections. The class of items in the list will have a section name and a description. The list will guarantee that it is grouped by sections. My idea was to override getPrefix(), call a getter to get the current choice, and if

RE: should DataView.setItemsPerPage(int items) be in IDataProvider?

2008-04-03 Thread i ii
but what if items per page is needed not in iterator? > Date: Thu, 3 Apr 2008 15:08:27 +0200 > From: [EMAIL PROTECTED] > To: users@wicket.apache.org > Subject: Re: should DataView.setItemsPerPage(int items) be in IDataProvider? > > iterator(int start, int count) > > the count parameter is the i

Re: [WUG] Copenhagen

2008-04-03 Thread Nino Saturnino Martinez Vazquez Wael
Thanks:) Frank Bille wrote: Good initiative. I'm glad you are taking lead on this. I think I can come and have signed up on the wiki page. Frank On Thu, Apr 3, 2008 at 10:54 AM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: So in order to have this meetin, i'd like to s

Re: Ajax DropDownChoice and null values

2008-04-03 Thread Java Programmer
I added onError when Required failed, now works - closed: @Override protected void onError(AjaxRequestTarget target, RuntimeException e) { carPartsModel.setCarModel(null); carPartsModel.

Re: should DataView.setItemsPerPage(int items) be in IDataProvider?

2008-04-03 Thread Martijn Dashorst
iterator(int start, int count) the count parameter is the items per page. Martijn On 4/3/08, i ii <[EMAIL PROTECTED]> wrote: > > when i need to get items per page in data provider i cannot unless i have > data view. should this method be in data provider and not data view? the data > provider

Re: Ajax DropDownChoice and null values

2008-04-03 Thread Java Programmer
AbstractValidator should work like this: _carMarkDDC.add(new AbstractValidator(){ @Override protected void onValidate(IValidatable validatable) { if(validatable.getValue() == null){

should DataView.setItemsPerPage(int items) be in IDataProvider?

2008-04-03 Thread i ii
when i need to get items per page in data provider i cannot unless i have data view. should this method be in data provider and not data view? the data provider is providing data and items per page is data, no?

Re: Customerize captcha image

2008-04-03 Thread Vitaly Tsaplin
Create your own captcha :) The idea of the RenderedDynamicImageResource is brilliant. You just need to implement the render (Graphics2D gfx) method. Draw there whatever you want. It's even better. No one will be able to reuse the algorithm to teach a neuronet :) On Thu, Apr 3, 2008 at 2:32 PM,

Re: Throw AbortWithWebErrorCodeException in onBeforeRender

2008-04-03 Thread lars vonk
Why not implement this in the subclass itself? It sounds really specific for a certain class right? So I think the subclass itself is the correct place. On Wed, Apr 2, 2008 at 11:41 AM, Michael Sparer <[EMAIL PROTECTED]> wrote: > > (Using wicket 1.3.2) I have a super class (WebPage) that throws a

Customerize captcha image

2008-04-03 Thread wenm
Does anybody have an idea how to change the background image and font size etc of wicket captcha image? -- View this message in context: http://www.nabble.com/Customerize-captcha-image-tp16467447p16467447.html Sent from the Wicket - User mailing list archive at Nabble.com. -

  1   2   >