Re: Location of wicket-ajax.js

2008-02-28 Thread Igor Vaynberg
this should happen automatically, please file a bug report -igor On Thu, Feb 28, 2008 at 11:26 PM, Chris Colman <[EMAIL PROTECTED]> wrote: > Problem found: Was a problem with

RE: Location of wicket-ajax.js

2008-02-28 Thread Chris Colman
Problem found: Was a problem with

Re: remember last visited page

2008-02-28 Thread Jon Laidler
Assuming you keep the user credentials (user ID, password etc) in a persistent layer - database table flat file etc, you could simply add a field to store the Java class name of the page when the user loads it. Then if the session ends the last page can be referenced from the field after the user

Re: AjaxSelfUpdatingTimerBehavior on home page gives session expired

2008-02-28 Thread okrohne
Hi, sorry maybe it was not clear what I did with the clock example. As I got this error with my page I copied the clock example to my project and set it as home page to check If I also get the error with another page which uses AjaxSelfUpdatingTimerBehavior. Running my project with the clock exam

Re: Location of wicket-ajax.js

2008-02-28 Thread Igor Vaynberg
it will find them in the jar -igor On Thu, Feb 28, 2008 at 10:00 PM, Chris Colman <[EMAIL PROTECTED]> wrote: > Do we have to explicitly unpack the .js files from the wicket-1.3.x.jar > and move them into that directory or should it find them while resident > in the wicket jar ? > > > > > no, r

RE: Location of wicket-ajax.js

2008-02-28 Thread Chris Colman
Do we have to explicitly unpack the .js files from the wicket-1.3.x.jar and move them into that directory or should it find them while resident in the wicket jar ? > no, resources is a path that is owned by wicket resources. so what > that url tells wicket is to look for wicket-ajax.js under > cla

Re: Location of wicket-ajax.js

2008-02-28 Thread Igor Vaynberg
no, resources is a path that is owned by wicket resources. so what that url tells wicket is to look for wicket-ajax.js under classes/org/apache/wicket/ajax -igor On Thu, Feb 28, 2008 at 9:47 PM, Chris Colman <[EMAIL PROTECTED]> wrote: > When using AJAX with wicket where are the instructions on w

Location of wicket-ajax.js

2008-02-28 Thread Chris Colman
When using AJAX with wicket where are the instructions on where and how to make the .js available to the browser? Eg., resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js Do we have to create a directory under project/web called resources/org.apache.wicket.ajax.WicketAjaxReference

Re: How to make Eclipse 3.3 run JUnit4 Test?

2008-02-28 Thread MYoung
Never mind. I found the answer. Run>Open Run Dialog... and change to JUnit4 runner. -- View this message in context: http://www.nabble.com/How-to-make-Eclipse-3.3-run-JUnit4-Test--tp15748485p15752427.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Dynamicaly add new tab to an existing AjaxTabbedPanel

2008-02-28 Thread Charly
Thank you Igor, it works perfectly ! Charly Igor Vaynberg a écrit : tab.gettabs().add(newtab); followed by an ajax repaint of the entire tabbed panel -igor On Thu, Feb 28, 2008 at 9:11 AM, Charly <[EMAIL PROTECTED]> wrote: Hi, I would like to know if it's possible to add dynamicaly new tab

Re: about servlet and wicket-spring sequence

2008-02-28 Thread James Carman
The context loader listener will put the Spring context into the ServletContext at application startup. You can access it via the org.springframework.web.context.support.WebApplicationContextUtils class. You don't need Wicket at all for this. On 2/28/08, Mead Lai <[EMAIL PROTECTED]> wrote: > >

RE: about servlet and wicket-spring sequence

2008-02-28 Thread Mead Lai
sorry, the xml had been Escaped. I send it again http://java.sun.com/dtd/web-app_2_3.dtd";> CMS Message System applicationBean wicketApplication contextConfigLocation /WEB-INF/applicationContext.xml,/WEB-INF/cms-Context.xml, encodingFilter org.springframework.web.filter

Re: Wicket as a front controller ?

2008-02-28 Thread smallufo
Oops , sorry , I found what went wrong Because the Server page inherits another Parent Page. So it output the header of its parent page... 2008/2/29 smallufo <[EMAIL PROTECTED]>: > > > > > To redirect, try: > > > > public class P1 extends WebPage { > >@Override > >protected v

about servlet and wicket-spring sequence

2008-02-28 Thread Mead Lai
Hi, I have a Servlet "ViewSurvey.do", it access the Spring Context from wicket Application. MyApplication app = (MyApplication) RequestCycle.get().getApplication(); but there is some thing strange: 1,if I visit the Servlet "ViewSurvey.do" first, It will cause some error, and all the applica

Re: Wicket as a front controller ?

2008-02-28 Thread smallufo
> > > > To redirect, try: > > public class P1 extends WebPage { >@Override >protected void onBeforeRender() { >super.onBeforeRender(); >throw new RestartResponseException(P2.class); >} > > } > Hi I want to handle a POST request , and output c

Re: OT: Wicket web.xml configuration settings and maven

2008-02-28 Thread James Carman
On 2/28/08, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > see maven resource filtering WOW! I was using the ant plugin to do this! This will save me sooo much headache. Thanks, Igor. > > > -igor > > > > On Thu, Feb 28, 2008 at 12:15 PM, Doug Leeper <[EMAIL PROTECTED]> wrote: > > > > This

RE: Does something happen other than what html is output?

2008-02-28 Thread David Leangen
> The url is a file:/// type url that points to a file on the local > filesystem. > > > in the first case it could be the browser preventing a site from > > accessing your local file system, which might be allowed if it > > sees it is a local html file. > > Ah... maybe you're right! Yep, you're

Re: Pickup up new markup without restarting webapp

2008-02-28 Thread Igor Vaynberg
see internalinit in webapplication/application and how it sets up the resource monitoring thread that reloads resources when the app is in dev mode -igor On Thu, Feb 28, 2008 at 4:37 PM, Chris Colman <[EMAIL PROTECTED]> wrote: > > Chris, > > > > I'm not that familiar with the inner working

Re: OT: Wicket web.xml configuration settings and maven

2008-02-28 Thread Igor Vaynberg
see maven resource filtering -igor On Thu, Feb 28, 2008 at 12:15 PM, Doug Leeper <[EMAIL PROTECTED]> wrote: > > This is slightly off topic but it has todo with our wicket app and utilizing > maven to create the builds. > > Maven is new to us and slightly understand the profiling concept in ma

Re: Multiple bookmarks to same page class - possible?

2008-02-28 Thread Igor Vaynberg
On Thu, Feb 28, 2008 at 12:07 PM, Chris Colman <[EMAIL PROTECTED]> wrote: > Is it possible to route multiple bookmarks using mountBookmarkablePage > to the same page class? i dont see a problem with mounting the same page class multiple times > > Also, is it possible for the page to ask what it

Re: AjaxSelfUpdatingTimerBehavior on home page gives session expired

2008-02-28 Thread Igor Vaynberg
clock examples works just fine for me -igor On Thu, Feb 28, 2008 at 9:49 AM, okrohne <[EMAIL PROTECTED]> wrote: > > Hi, > > if I use AjaxSelfUpdatingTimerBehavior on that page which is declared as > home page of the application > I get session expired after the first update. > > I could

Re: Security Features offered by Wicket

2008-02-28 Thread Igor Vaynberg
On Thu, Feb 28, 2008 at 9:43 AM, Arthur Ahiceh <[EMAIL PROTECTED]> wrote: > > Wicket urls are already session-relative and somewhat random (depend > > on the path you take through the application), so I am not sure if > > anything more needs to be done... > > > > To prevent CSRF attacks you mu

Re: Dynamicaly add new tab to an existing AjaxTabbedPanel

2008-02-28 Thread Igor Vaynberg
tab.gettabs().add(newtab); followed by an ajax repaint of the entire tabbed panel -igor On Thu, Feb 28, 2008 at 9:11 AM, Charly <[EMAIL PROTECTED]> wrote: > Hi, > I would like to know if it's possible to add dynamicaly new tab to an > existing AjaxTabbedPanel. > (I want to open and close tabs

Re: New quy question on converting input data

2008-02-28 Thread Igor Vaynberg
you can use a converter for serverside stuff. see formcomponent.setconverter() and iconverter. for clientside you can either create a behavior or subclass textfield, override oncomponenttag and do tag.put("onblur", myjavascript); -igor On Thu, Feb 28, 2008 at 7:26 AM, rmattler <[EMAIL PROTECTED]

Re: What about the FormComponentFragment?

2008-02-28 Thread Igor Vaynberg
add an rfe... -igor On Thu, Feb 28, 2008 at 5:18 AM, Vitaly Tsaplin <[EMAIL PROTECTED]> wrote: > Hi! > > Just one thought about a composite form components. The > FormComponentPanel is a perfect choice but sometimes writing a > component which has no complex markup it would be better

RE: Pickup up new markup without restarting webapp

2008-02-28 Thread Chris Colman
> Chris, > > I'm not that familiar with the inner workings of the API but based on the > description in the Javadoc, I think you are going to need to provide a > custom implementation of IMarkupCache. > > If you are looking for a simpler solution, you could enter an RFE for new > property on iMar

How to make Eclipse 3.3 run JUnit4 Test?

2008-02-28 Thread MYoung
Sorry for being way off topic here but I couldn't find the answer with my search. I would be very grateful if someone give me some help with this. Basically I have the JUnit 4.4 jar in my Build Path, I decorated my test methods with @Test, code compile with no error. But when I try to run as a

Re: AutoCompleteTextField user selection

2008-02-28 Thread Ryan Gravener
Try adding setting the outputMarkupPlaceholderTag. patientAutoCompleteTextField.setOutputMarkupId( true ); patientAutoCompleteTextField.setVisible( false ); patient.setOutputMarkupPlaceholderTag(true); and in your onUpdate target.addComponent(patient) that way you will not have to add the wh

Re: Pickup up new markup without restarting webapp

2008-02-28 Thread Jay Hogan
Chris, I'm not that familiar with the inner workings of the API but based on the description in the Javadoc, I think you are going to need to provide a custom implementation of IMarkupCache. If you are looking for a simpler solution, you could enter an RFE for new property on iMarkupSettings that

Re: AutoCompleteTextField user selection

2008-02-28 Thread Martin Funk
H... not quit sure if I understood you. Just for the fun of it I rehacked a quickstart that might simulate you problem. But even if it does I'm not quite sure if its bug, or a feature. You add an AjaxFormComponentUpdatingBehavior to an AutoCompleteTextField. As long as the keyboard is used to

Re: Pickup up new markup without restarting webapp

2008-02-28 Thread Jay Hogan
Chris, Wouldn't you need to completely replace the default MarkupCache with your own implementation. Like this: public class CustomApplication extends WebApplication { ... protected void init() { getMarkupSettings().setMarkupCache(new IMarkupCache() { [your implementation of ma

Wicket Wizard form need to add custom validation to each panel

2008-02-28 Thread AshleyAbraham
Hi everyone, I am working on a wicket wizard component, I am trying to add an AbstractFormValidation to each wizardStep, so when the wizardStep is added/replaced the wizard form will know how to custom validate that particular wizardStep. Since I am not able to find or access the wizard form

RE: Pickup up new markup without restarting webapp

2008-02-28 Thread Chris Colman
The interesting thing is that a bounce of the app reads the new variants without a problem. This seems to indicate to me that there must be some initial 'markup discovery' operation when wicket starts up and only those markup files found during that discovery operation can be loaded, ever. It is i

Re: close tag error

2008-02-28 Thread Jay Hogan
Does wicket:message require an explicit close tag? Like this: Replace me On Thu, Feb 28, 2008 at 4:28 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > Oh, I just typed this as a simplified example - it's properly done in my > real code. > > Any other suggestions? > > -Original Message- >

RE: Pickup up new markup without restarting webapp

2008-02-28 Thread Chris Colman
I wonder which of the methods I need to override: protected IMarkupLoader getMarkupLoader() In case there is a need In my app I already override ResourceStreamLocator to tell wicket where to find the markup (as it can't be in the web app itself for our app). Are there any other met

RE: close tag error

2008-02-28 Thread Michael Mehrle
Oh, I just typed this as a simplified example - it's properly done in my real code. Any other suggestions? -Original Message- From: Thijs [mailto:[EMAIL PROTECTED] Sent: Thursday, February 28, 2008 12:56 PM To: users@wicket.apache.org Subject: Re: close tag error Wicket:id="someModal

Re: Pickup up new markup without restarting webapp

2008-02-28 Thread Jay Hogan
Chris, Have you looked at subclassing MarkupCache? I'm just a Wicket user so one of the devs might want to weigh in but that is where I would start looking. http://people.apache.org/~tobrien/wicket/apidocs/org/apache/wicket/markup/MarkupCache.html Cheers, Jay On Thu, Feb 28, 2008 at 4:01 PM, Ch

RE: Pickup up new markup without restarting webapp

2008-02-28 Thread Chris Colman
> Chris, > > Generating static markup files is not really the "Wicket way" of doing > things. Couldn't you just use multiple panels and dynamically add/replace > as needed ...create-dynamic-markup-hierarchies-using-panels.html? The scope of different markup we use involves massive changes to the

Re: close tag error

2008-02-28 Thread Thijs
Wicket:id="someModal is missing a " Michael Mehrle wrote: I have like this: My code is: SomePanel somePanel - new SomePanel("somePanel", someModel); .. somePanel.add(new AjaxLink("openModal") { .. } I keep getting an error message: WicketMessage: close tag not fo

close tag error

2008-02-28 Thread Michael Mehrle
I have like this: My code is: SomePanel somePanel - new SomePanel("somePanel", someModel); .. somePanel.add(new AjaxLink("openModal") { .. } I keep getting an error message: WicketMessage: close tag not found for tag: Anyone any idea what I am doing wrong? Thanks

Re: Pickup up new markup without restarting webapp

2008-02-28 Thread Jay Hogan
Chris, Generating static markup files is not really the "Wicket way" of doing things. Couldn't you just use multiple panels and dynamically add/replace as needed (see http://cwiki.apache.org/WICKET/create-dynamic-markup-hierarchies-using-panels.html)? Or maybe variations will work for you (see htt

Re: get Form information after submit

2008-02-28 Thread taygolf
hey igor thanks for all the help I really am learning a lot here. I am having an issue forwarding the model tp my textfiled in my panel and I wanted to show you my code and see what you thought the issue is. I am sure it is something simple I have overlooked. Template.java public class Template

OT: Wicket web.xml configuration settings and maven

2008-02-28 Thread Doug Leeper
This is slightly off topic but it has todo with our wicket app and utilizing maven to create the builds. Maven is new to us and slightly understand the profiling concept in maven but not sure how to the following...on our production build, we would like to have the web.xml "configuration" setting

Multiple bookmarks to same page class - possible?

2008-02-28 Thread Chris Colman
Is it possible to route multiple bookmarks using mountBookmarkablePage to the same page class? Also, is it possible for the page to ask what it's bookmark (or URL) is? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Pickup up new markup without restarting webapp

2008-02-28 Thread Chris Colman
Is there a wicket mode I can configure in which new markup (eg., new markup variations) can be picked up at run time without restarting the app? In our app we can create/generate new markup at runtime. We don't want to have to force a bounce of the web app for wicket to 'see' this new markup. ---

AjaxSelfUpdatingTimerBehavior on home page gives session expired

2008-02-28 Thread okrohne
Hi, if I use AjaxSelfUpdatingTimerBehavior on that page which is declared as home page of the application I get session expired after the first update. I could also reproduce it with clock example : http://www.wicket-library.com/wicket-examples/ajax Do I need to configure anything? Thanks, Ol

Re: Security Features offered by Wicket

2008-02-28 Thread Arthur Ahiceh
First, thank you for your quick reply! > > > > 1. ESCAPING CHARACTERS: I have read in wicket's mailing list that all > > > wicket > > > components escape values. I have done some tests in "wicket-examples" > > > application distributed in wicket-1.3.1 release and I have modified, > in > > > F

Re: IllegalStateException with AjaxFallbackDefaultDataTable

2008-02-28 Thread jwray
Antoine, I actually approached the problem from a different direction in the end and avoided this error. But, before I did that I tracked it down to calling super.onSubmit call in the overridden onSubmit method of the AjaxEditableLabel. I didn't get any further than that I'm afraid. hope it hel

Dynamicaly add new tab to an existing AjaxTabbedPanel

2008-02-28 Thread Charly
Hi, I would like to know if it's possible to add dynamicaly new tab to an existing AjaxTabbedPanel. (I want to open and close tabs like in eclipse, when you open a file for example) I don't find any way to do it. Can you tell me if it is possible or if I have to create this component and witch

Re: Wicket DTD?

2008-02-28 Thread Charlie Dobbie
I don't know about a Wicket DTD, but you can just filter the wicket-namespaced tags so they don't get flagged as errors: http://databinder.net/site/show/workspace#eclipse_plugins http://www.aptana.com/docs/index.php/Adding_custom_error_message_filters_to_the_Problems_View Charlie. On Thu, Feb

Re: remember last visited page

2008-02-28 Thread Johan Compagner
If the previous page was a bookmarkable one then restart and intercept will work. But if it is not then the only thing i can quickly think of is that you set a cookie your self everytime you render a page. And read that back in when they login again. On 2/28/08, freak182 <[EMAIL PROTECTED]> wrot

Re: Security Features offered by Wicket

2008-02-28 Thread Igor Vaynberg
On Thu, Feb 28, 2008 at 7:53 AM, Nick Heudecker <[EMAIL PROTECTED]> wrote: > Hi Arthur, > > While I can't address all of your concerns, I can address a couple. > > > 1. ESCAPING CHARACTERS: I have read in wicket's mailing list that all > > wicket > > components escape values. I have done some t

Re: focusComponent

2008-02-28 Thread Johan Compagner
I think we do already something like that in the wicket code, setting the focus after we touch the document. So i am curious why you have to do that On 2/27/08, NateBot20002 <[EMAIL PROTECTED]> wrote: > > > NateBot2000 wrote: > > > > I'm trying to use AjaxRequestTarget.focusComponent(Component) to

Re: Security Features offered by Wicket

2008-02-28 Thread Nick Heudecker
Hi Arthur, While I can't address all of your concerns, I can address a couple. > 1. ESCAPING CHARACTERS: I have read in wicket's mailing list that all > wicket > components escape values. I have done some tests in "wicket-examples" > application distributed in wicket-1.3.1 release and I have mod

Testing (Ajax)TabbedPanel

2008-02-28 Thread Sven Schliesing
Hey, I've written a test for a page which contains an "AjaxTabbedPanel". Right now I'm testing the click on the second tab like this: AjaxTabbedPanel tabbedPanel = (AjaxTabbedPanel) tester.getComponentFromLastRenderedPage("panel:tabPanel"); WebMarkupContainer tabs = (WebMarkupContainer) ta

Security Features offered by Wicket

2008-02-28 Thread Arthur Ahiceh
Hi guys, I have a very critical application in a banking environment and I wanted to resolve the following questions over Security. This points are questioned after read some documentation from mailing lists (webappsec, struts, wicket, etc.) and projects like HDIV[2]. 1. ESCAPING CHARACTERS: I ha

New quy question on converting input data

2008-02-28 Thread rmattler
If a phone number is input as (330) 555-1212 on the form when the form is saved I want the data stored as 3305551212 in the database and when displayed again on the form as (330) 555-1212. As a bonus how do I would like data entered as 3305551212 and converted to (330) 555-1212 on the onBlur even

Re: Strict XHTML validation

2008-02-28 Thread Kaspar Fischer
On 28.02.2008, at 13:47, Hoover, William wrote: getMarkupSettings().setStripWicketTags(true); Great! Thanks a lot. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Small shared resource question...

2008-02-28 Thread Kent Tong
Try: public class P1 extends WebPage { private ResourceReference resourceRef; static { WebApplication app = (WebApplication) Application.get(); mount(app, Locale.ENGLISH); mount(app, Locale.CHINESE); } private stati

Re: IllegalStateException with AjaxFallbackDefaultDataTable

2008-02-28 Thread Antoine van Wel
Any updates on this one? I think I'm experiencing the same issue; I'm building a DataView, in its nodes there's a TextField with an OnChangeAjaxBehavior added to it. Then, from the RequestCycle, an error occurs when cleaning up the AjaxRequestTarget, followed by an IllegalStateException: no page

Re: [newbie question] How to refresh Image using an AjaxLink

2008-02-28 Thread Karol Wrzesniewski
Thanks for all your help. NonCachingImage is exacly what I wanted. It works fine but only after I open modal window, call setImageResource, close modal and reopen it again. After first call of modal window default image is created, when I'm trying to change it "nothing happens" exacly like

What about the FormComponentFragment?

2008-02-28 Thread Vitaly Tsaplin
Hi! Just one thought about a composite form components. The FormComponentPanel is a perfect choice but sometimes writing a component which has no complex markup it would be better choice to have something like the FormComponentFragment... because often writing a new components I am using

RE: Does something happen other than what html is output?

2008-02-28 Thread David Leangen
> is the /resources/ path local to the user or to the server? The url is a file:/// type url that points to a file on the local filesystem. > in the first case it could be the browser preventing a site from > accessing your local file system, which might be allowed if it > sees it is a local

Re: CompoundModel based on proxies

2008-02-28 Thread James Carman
On 2/28/08, Johan Compagner <[EMAIL PROTECTED]> wrote: > Serialization is not a problem for what we have build now because we > dont keep references to the proxies in the session. We just use them > at construction time > Well, it'll be built into v1.1 if you need it. :) I took care of that yes

RE: Strict XHTML validation

2008-02-28 Thread Hoover, William
Add getMarkupSettings().setStripWicketTags(true); to your WebApplication class -Original Message- From: Kaspar Fischer [mailto:[EMAIL PROTECTED] Sent: Thursday, February 28, 2008 5:25 AM To: users@wicket.apache.org Subject: Strict XHTML validation I am trying to validate my page using ht

Re: CompoundModel based on proxies

2008-02-28 Thread Johan Compagner
Serialization is not a problem for what we have build now because we dont keep references to the proxies in the session. We just use them at construction time On 2/27/08, James Carman <[EMAIL PROTECTED]> wrote: > On 2/26/08, Johan Compagner <[EMAIL PROTECTED]> wrote: > > Yes i would like to have s

Re: remember last visited page

2008-02-28 Thread Maurice Marrink
Just like the RestartResponseAtInterceptPageExcpetion that will create a new session or bind an already existing session, that might be ok, but you mentioned "Is there a way to remember the last page i visited after i lose the session". Which conflicts with your example where you keep the existing

Re: Does something happen other than what html is output?

2008-02-28 Thread Maurice Marrink
is the /resources/ path local to the user or to the server? in the first case it could be the browser preventing a site from accessing your local file system, which might be allowed if it sees it is a local html file. in the second case the server might prevent the browser from getting that res

RE: Does something happen other than what html is output?

2008-02-28 Thread David Leangen
Hello. > > public void renderHead( final IHeaderResponse > > response ) > > { > > response.renderString( cssLink ); > > } > > Shouldn't this read > > response.renderCssReference( cssLink ), > > in

RE: Does something happen other than what html is output?

2008-02-28 Thread David Leangen
> > > If oncomponenttag is used it should work. > > > > Really? I don't see why I'd need onComponentTag for the approach I'm > > using... > > > I misunderstood, i though that sometimes the container was to render > as an image tag and sometimes as a link tag, hence the oncomponenttag > method :

Page markup caching

2008-02-28 Thread Kaspar Fischer
Has anybody implemented page caching for Wicket? If possible, I'd like to store the markup of a page in ehcache so that subsequent requests can be served without invoking the rendering mechanism of the framework at all. Being a wicket newbie, I am not sure whether such an approach might at al

Submitting an ajaxform with multipart/form-data

2008-02-28 Thread Michael Sparer
Hi, it's a known limitation that one cannot submit an ajaxform with multipart enabled. but as i'd like to upload files without reloading the page i've been looking for an elegant solution for this problem. a possible solution (it's even called an AJAX-pattern) is to post the form data to a hidd

Re: Can i add multiple lines to a node-link in tree?

2008-02-28 Thread Thomas Kappler
On Thu, Feb 28, 2008 at 10:54 AM, Newgro <[EMAIL PROTECTED]> wrote: > firstly sorry if i brought you to the wrong way - i use a treetable, not a > tree. My effects on code below is that the nodes are diplayed only in one > row. The second row is not visible. OK, I have never used TreeTable, an

Re: remember last visited page

2008-02-28 Thread Vitaly Tsaplin
You can probably look at this http://cwiki.apache.org/WICKET/using-intercept-pages.html On Thu, Feb 28, 2008 at 11:51 AM, freak182 <[EMAIL PROTECTED]> wrote: > > Hello, > Is there a way to remember the last page i visited after i lose the session. > What i mean that for example if im going t

remember last visited page

2008-02-28 Thread freak182
Hello, Is there a way to remember the last page i visited after i lose the session. What i mean that for example if im going to checkout but i forgot to login first, When i click checkout button, it will redirect me to the login page first then when authenticated it will go directly to checkout pa

Re: Does something happen other than what html is output?

2008-02-28 Thread Maurice Marrink
> > > If oncomponenttag is used it should work. > > Really? I don't see why I'd need onComponentTag for the approach I'm > using... > I misunderstood, i though that sometimes the container was to render as an image tag and sometimes as a link tag, hence the oncomponenttag method :) Maurice ---

Re: wicket-datetime 1.3.1 css problem

2008-02-28 Thread Gerolf Seitz
this should be fixed in trunk. Gerolf On Thu, Feb 28, 2008 at 9:21 AM, Andrew Moore <[EMAIL PROTECTED]> wrote: > > I've just upgraded to wicket 1.3.1 and seem to be having a problem getting > the calendar to display correctly. > It works, but it's not picking up calendar css. > > From having a

Strict XHTML validation

2008-02-28 Thread Kaspar Fischer
I am trying to validate my page using http://validator.w3.org/. My page markup is: www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> http://www.w3.org/1999/xhtml"; xmlns:wicket="http:// svn.apache.org/repos/asf/wicket/trunk/jdk-1.4/wicket/wicket-xhtml1- strict.dtd" xml:lang="en" lang="en">

Re: Can i add multiple lines to a node-link in tree?

2008-02-28 Thread Newgro
Thanks for your help, firstly sorry if i brought you to the wrong way - i use a treetable, not a tree. My effects on code below is that the nodes are diplayed only in one row. The second row is not visible. My html: My data code public String getName() { StringBuilder sb= new Str

Re: Adding full text search in wicket phonebook

2008-02-28 Thread Martin Makundi
Do you need to perform the filtering in the database (i.e., data-heavy) or is it enough to filter it just-in-time before display? ** Martin 2008/2/28, Tauren Mills <[EMAIL PROTECTED]>: > For the simple wicket-phonebook app, what I'm suggesting is definitely > a cannon. ;) But I'm using it as an

Re: Does something happen other than what html is output?

2008-02-28 Thread Edward Yakop
On Thu, Feb 28, 2008 at 5:33 PM, David Leangen <[EMAIL PROTECTED]> wrote: > public void renderHead( final IHeaderResponse > response ) > { > response.renderString( cssLink ); > } Shouldn't this rea

RE: Does something happen other than what html is output?

2008-02-28 Thread David Leangen
Thank you for your reply. > Depends how the container produces the output. Well, like I say below, I'm just using a MarkupContainer to output pure html for images, and a HeaderContributor for the CSS, nothing more. This is the code for the CSS: private void addCss( final Page page, final S

Re: [newbie question] How to refresh Image using an AjaxLink

2008-02-28 Thread Nino Saturnino Martinez Vazquez Wael
:) I think thats the point of noncaching image thats already there, it's just that people gets confused by this... Bernard Niset wrote: Hi, I had the same issue yesterday and found a solution somewhere else in this mailing list. Adding some random query to the url forces the browser not to re

Re: Dynamic form components and disabling them

2008-02-28 Thread Federico Fanton
On Wed, 27 Feb 2008 17:16:46 -0800 "Igor Vaynberg" <[EMAIL PROTECTED]> wrote: > yes, you are correct. fixed in trunk. Ok, thanks :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[MEETUP] Wicket Meetup @ ApacheCon Europe: 5 weeks to go

2008-02-28 Thread Arje Cahn
Hi all, Here's a reminder that the Amsterdam Wicket Meetup is in slightly more than 5 weeks time! It is meetup time again! Our last Amsterdam Meetup was a big success and we want to continue that tradition. Over 80 Wicket developers attended the previous meetup and we had a blast. If you hav

wicket-datetime 1.3.1 css problem

2008-02-28 Thread Andrew Moore
I've just upgraded to wicket 1.3.1 and seem to be having a problem getting the calendar to display correctly. It works, but it's not picking up calendar css. >From having a quick look at the source of AbstractCalendar is seems to be doing a: add(HeaderContributor.forCss(AbstractCalendar.class, "a

Re: Wicket creating a session for authorization even if no user signed in

2008-02-28 Thread Maurice Marrink
another caveat with stateless pages / temporary sessions is that if you throw a restartResponseAtInterceptPageException, for example to redirect from a secured page to your login page, the session will be persisted to store the original target. Maurice On Thu, Feb 28, 2008 at 7:14 AM, Igor Vaynbe