Re: Bugs in wicket

2008-11-10 Thread jensiator
I've reported it to wicket JIRA. Jens Yes it seems to have a bug with datepicker in ModalWindows with IE7 (works with firefox 3). In file calendar-min.js line : this.oDomContainer.innerHTML=B.join("\n") I think that "innerHTML" property is readonly in IE7. -- View this message in context: htt

Re: Wicket & portlet

2008-11-10 Thread Nino Saturnino Martinez Vazquez Wael
Could people who use wicket in some portal container create a wiki page and report if it's working, working with problems or just not working? maybe a sub page to this: http://cwiki.apache.org/WICKET/portal-howto.html regards Nino Serkan Camurcuoglu wrote: though I've only used it in Jetspeed

Wicket in clustered environment

2008-11-10 Thread Ricardo Mayerhofer
I have a clustered environment that is already running beehive, struts 2, jsf projects. I'd like to develop a new project using wicket. Is there any special configuration needed to run wicket in a clustered environment? -- View this message in context: http://www.nabble.com/Wicket-in-clustered-

Re: Wicket & portlet

2008-11-10 Thread Serkan Camurcuoglu
though I've only used it in Jetspeed portal, I strongly recommend Wicket instead of Struts2 for portlet development.. Danny van Bruggen wrote: Hi Pierre, As far as I know (and I'm not an authority,) the status is as follows: - portlet 1.0 support is OK - portlet 2.0 support should be implem

force client to use GET method

2008-11-10 Thread eyalbenamram
Hi How do I tell the client to use a GET method instead of POST? The problem is, the client is sending the form from a previous page in a POST request, causing a double submission. -- View this message in context: http://www.nabble.com/force-client-to-use-GET-method-tp20420920p20420920.html Sent

Re: force client to use GET method

2008-11-10 Thread Piller Sébastien
write it in html? ... eyalbenamram a écrit : Hi How do I tell the client to use a GET method instead of POST? The problem is, the client is sending the form from a previous page in a POST request, causing a double submission. ---

Re: force client to use GET method

2008-11-10 Thread Jeremy Thomerson
Or the method described here: http://www.nabble.com/form-GET-calling-onSubmit-td19824816.html -- Jeremy Thomerson http://www.wickettraining.com On Mon, Nov 10, 2008 at 8:38 AM, Piller Sébastien <[EMAIL PROTECTED]>wrote: > write it in html? > > ... > > eyalbenamram a écrit : > >> Hi >> How do

Re: force client to use GET method

2008-11-10 Thread eyalbenamram
Ok.. that didn't stop the client from submitting the form of the previous page again. Any other solutions to preventing double submissions? Pills wrote: > > write it in html? > > ... > > eyalbenamram a écrit : >> Hi >> How do I tell the client to use a GET method instead of POST? >> The prob

Re: force client to use GET method

2008-11-10 Thread Jeremy Thomerson
Can you give more details on what you mean by submitting the form of the previous page again? Is this: 1 - the user is clicking the submit button, and then clicking again before the page every changes? 2 - the form is being submitted, and the user is doing refresh / etc / to resubmit? Number two

Re: force client to use GET method

2008-11-10 Thread Piller Sébastien
store a flag in the form that change to true when the form is submitted. then, in onsubmit, check "if(myflag) { return;}" should work... ugly but should work - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

form being posted many times

2008-11-10 Thread eyalbenamram
Hi I have a login page (with a form) that redirects to a progress bar page. after the user submits the login form, I redirect to the progress bar page, and it has an auto refresh so that every few seconds it refresh the page (to check if the login sequence is done). The problem is the on refresh

Re: form being posted many times

2008-11-10 Thread eyalbenamram
Lazy load doesn't work for me. I cannot use AJAX since it is supposed to work on Mobile that may not support it. Any other solution? eyalbenamram wrote: > > Hi > I have a login page (with a form) that redirects to a progress bar page. > after the user submits the login form, I redirect to the

Use provided section

2008-11-10 Thread Thies Edeling
Hello, At my current project the header and footer of each page is generated by a CMS, Fatwire, and provided as plain html. The generated header includes the section (with lots of javascript/css includes) and some layout tags. In a JSP application the header/footer were jsp:included and any

Re: SV: force client to use GET method

2008-11-10 Thread eyalbenamram
Thanks!! Wilhelmsen Tor Iver wrote: > >> Ok.. that didn't stop the client from submitting the form of >> the previous page again. >> Any other solutions to preventing double submissions? > > Tell people to use a less stupid browser than IE? (Which is the one with > that behavior if memory ser

WebMarkupContainer with AjaxTabbedPanel - duplicating panel data

2008-11-10 Thread Yazeed Isaacs
Hi I have a WebMarkupContainer with a AjaxTabbedPanel. When I click on the tab it duplicates the panel data. What am I doing wrong? Here is my code: final WebMarkupContainer terminalsContainer = new WebMarkupContainer( "terminalsContainer");

setRequired on CheckBox

2008-11-10 Thread Emond Papegaaij
Hello all, During the development of a (somewhat) generic form component, I stumbled on the following error: FormComponent can't be not required when the type is primitive class: [MarkupContainer [Component id = formField, page = , path = formField.CheckBox]] This is caused by calling setType(

Re: Wickets and Jung

2008-11-10 Thread Igor Vaynberg
what exactly is the issue you are having? -igor On Sun, Nov 9, 2008 at 3:58 PM, Jurek Piasek <[EMAIL PROTECTED]> wrote: > Hi, > > I have a legacy web application that I am trying to port to wicket. I am > having a problem with one page, in particular. The page makes use of JUNG > (Java Universal

Re: WebMarkupContainer with AjaxTabbedPanel - duplicating panel data

2008-11-10 Thread Igor Vaynberg
could you paste your cod einto a pastebin that will show it properly formatted. i cant read it in your email. also make sure you do not have any divs inside spans, that is invalid html and causes browsers to do funny things. -igor On Mon, Nov 10, 2008 at 4:12 AM, Yazeed Isaacs <[EMAIL PROTECTED]>

Re: Wicket & portlet

2008-11-10 Thread Pierre Goupil
Hello again, I did find this wiki page. Quoting it : --- First of all, you need to make sure the portal (e.g. Liferay ) provides an implementation of the Apache Portals Bridges PortletResourceURLFactoryinterface, see: PortletResourceURLFactory

Re: form being posted many times

2008-11-10 Thread Igor Vaynberg
show us some code because this doesnt make sense unless the way you refresh is set a timer that does form.submit() on your login form. -igor On Mon, Nov 10, 2008 at 3:17 AM, eyalbenamram <[EMAIL PROTECTED]> wrote: > > Hi > I have a login page (with a form) that redirects to a progress bar page. >

Re: Wicket in clustered environment

2008-11-10 Thread Igor Vaynberg
no. -igor On Mon, Nov 10, 2008 at 5:55 AM, Ricardo Mayerhofer <[EMAIL PROTECTED]> wrote: > > I have a clustered environment that is already running beehive, struts 2, jsf > projects. I'd like to develop a new project using wicket. > Is there any special configuration needed to run wicket in a clu

AutoCompleteTextField and wicket 1.3.5

2008-11-10 Thread ulrik
There seems to be a problem with the AutoCompleteTextField in wicket 1.3.5. The search results pops up in the wrong place (not below the search field). When I downgrade to wicket 1.3.4 it works perfectly. And the problem only occurs when I use Internet Explorer, not firefox. I still wish to use w

Re: force client to use GET method

2008-11-10 Thread Igor Vaynberg
why did you start another thread about this? please dont spawn more then one thread for the same problem. -igor On Mon, Nov 10, 2008 at 6:27 AM, eyalbenamram <[EMAIL PROTECTED]> wrote: > > Hi > How do I tell the client to use a GET method instead of POST? > The problem is, the client is sending t

Re: AutoCompleteTextField and wicket 1.3.5

2008-11-10 Thread bruno . borges
use firefox On Nov 10, 2008 2:06pm, ulrik <[EMAIL PROTECTED]> wrote: There seems to be a problem with the AutoCompleteTextField in wicket 1.3.5. The search results pops up in the wrong place (not below the search field). When I downgrade to wicket 1.3.4 it works perfectly. And the

Re: Use provided section

2008-11-10 Thread Igor Vaynberg
the most transparent thing to do would be to let your page have the head tags and parse the head section out of the cms header and include it via a header contributor. that way you let wicket retain control over the head element and all other head contributors will work transparently. -igor On Mo

Re: Use provided section

2008-11-10 Thread Thies Edeling
On Mon, Nov 10, 2008 at 5:09 PM, Charlie Dobbie <[EMAIL PROTECTED]> wrote: > As default, anything in a section gets included on the page. > See the following: > > > http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%27sXHTMLtags-Elementwicket:head > > Otherwise, I'd say look into IHead

Re: Use provided section

2008-11-10 Thread Christopher Lyth
There are 2 approaches i can imagine, without having the need to do this or any knowledge of the api/tool you are using to generate the headers. * Write a custom HeaderContributor that, in the renderHead method, fetches the head as generated from fatwire and write it out to the header response. *

Re: Use provided section

2008-11-10 Thread Thies Edeling
Yes but the section is in a different file, not managed by Wicket so I can't use those tags. Anyway, I'm parsing out the head section from the CMS file and then re-adding them in Wicket using indeed a iheadercontributor. (ok, I hope this mail now does get sent properly - empty mail through gmail

Re: Re: AutoCompleteTextField and wicket 1.3.5

2008-11-10 Thread bruno . borges
Not really. What version of IE are you using? On Nov 10, 2008 2:19pm, ulrik <[EMAIL PROTECTED]> wrote: Is that a joke? Bruno Borges wrote: > > use firefox > -- View this message in context: http://www.nabble.com/AutoCompleteTextField-and-wicket-1.3.5-tp20422758p20423025.html

Re: AutoCompleteTextField and wicket 1.3.5

2008-11-10 Thread ulrik
Is that a joke? Bruno Borges wrote: > > use firefox > -- View this message in context: http://www.nabble.com/AutoCompleteTextField-and-wicket-1.3.5-tp20422758p20423025.html Sent from the Wicket - User mailing list archive at Nabble.com. ---

Re: Use provided section

2008-11-10 Thread Charlie Dobbie
As default, anything in a section gets included on the page. See the following: http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%27sXHTMLtags-Elementwicket:head Otherwise, I'd say look into IHeaderContributor. --Charlie. 2008/11/10 Thies Edeling <[EMAIL PROTECTED]> > Hello, > >

combining target.addComponent and javascript

2008-11-10 Thread Steve Swinsburg
Hi all, I am wanting to combine an AjaxRequestTarget addComponent call with a javascript call as well so that the component is added to the page by wicket, but displayed using a jQuery effect. The component adds to the page fine, but the jQuery effect doesn't seem to be working, the compo

Re: force client to use GET method

2008-11-10 Thread eyalbenamram
Sorry, this seemed like two different ways that may solve the same problem. anyway, problem solved. Thanks for your great support! igor.vaynberg wrote: > > why did you start another thread about this? please dont spawn more > then one thread for the same problem. > > -igor > > On Mon, Nov 10,

Re: Wicket & portlet

2008-11-10 Thread Serkan Camurcuoglu
I think you can write an implementation of this interface for eXo portal if you know a bit about its internals.. If eXo portal supports the portlet 2.0 spec, then it should be really simple since the portal will already have some way of generating resource urls, and you will delegate the call t

CSS navigation menu & autolink

2008-11-10 Thread pgoiffon . wicket
Hello all, I'm really new in the object world in general and using Wicket particularly, so please excuse if I'm missing something... I've googled around but maybe I didn't use the good keywords. So here's my question ! I'm building a navigation menu for my web application. There are 3 d

SV: force client to use GET method

2008-11-10 Thread Wilhelmsen Tor Iver
> Ok.. that didn't stop the client from submitting the form of > the previous page again. > Any other solutions to preventing double submissions? Tell people to use a less stupid browser than IE? (Which is the one with that behavior if memory serves)? :) Real solution: Use a "hidden" token that

AW: form being posted many times

2008-11-10 Thread Stefan Lindner
Why don't you use a LazyLoadPanel? May this be an option? -Ursprüngliche Nachricht- Von: eyalbenamram [mailto:[EMAIL PROTECTED] Gesendet: Montag, 10. November 2008 12:17 An: users@wicket.apache.org Betreff: form being posted many times Hi I have a login page (with a form) that redirects

RE: AjaxFallbackDefaultDataTable with ajax lazy loading - sorting and paging throws an IllegalStateException

2008-11-10 Thread Yazeed Isaacs
I understand that the markupid needs to be there in order for ajax to update the component. The component that it complains about is called "content" which is the inner content of the AjaxLazyLoadPanel. I have set the ajaxlazyloadpanel to setRenderBodyOnly(false) and setOutputMarkupId(true) and I

Re: Wicket & portlet

2008-11-10 Thread Danny van Bruggen
Hi Pierre, As far as I know (and I'm not an authority,) the status is as follows: - portlet 1.0 support is OK - portlet 2.0 support should be implemented "soon" (maybe it has already been done?) - Websphere is broken and does not accept Wicket portlets. Neither WS or Wicket want to fix it. Hopef

Re: AW: form being posted many times

2008-11-10 Thread eyalbenamram
Can you please elaborate? Stefan Lindner wrote: > > Why don't you use a LazyLoadPanel? May this be an option? > > -Ursprüngliche Nachricht- > Von: eyalbenamram [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 10. November 2008 12:17 > An: users@wicket.apache.org > Betreff: form being pos

Re: problem with PropertyModel and setDefaultFormProcessing(false) for button

2008-11-10 Thread Christopher Lyth
Have you tried to setDefaultFormProcessing to false and in the onSubmit of the button reset the form model. Alternatively the add button could set the model of the form to a new object every time. On Sun, Nov 9, 2008 at 4:27 AM, itayh <[EMAIL PROTECTED]> wrote: > > Hi Timo, > > Changing it to lin

Help: webApplication can not go to loginPage,directory go to HomePage

2008-11-10 Thread wch2001
Dear all, Can you help me to look at my webapplication, it can not call loginpage(LoginPage.class) first, but directly call homepage(IndexPage.class), thanks a lot package sg.sphsearch.people.selfupdate.wicket.application; import java.net.MalformedURLException; import org.acegisecurity.Authent

Re: AutoCompleteTextField: Making Wicket call getChoices method on 'onClick' event

2008-11-10 Thread bruno . borges
Take a look at the source code of AutoCompleteTextField and find out which JS method is called to display the list of choices. Then from this point, you can use the onFocus javascript event (http://www.w3schools.com/jsref/jsref_onfocus.asp). Cheers, Bruno On Nov 9, 2008 9:01pm, m_salman <[EM

Wicket Ajax doesn't work in Websynergy

2008-11-10 Thread Nayak Vishal
Hello, Ajax works fine in Open portal. But it doesn't work in Websynergy. Does anyone have any clue ? Regards Vishal Nayak

ListItemMultipleChoice : How to get the selected values on submit

2008-11-10 Thread Nav Che
Hello All, I have 2 listmultiplechoice components with AvailableUsers & SelectedUsers. I had written a javascript to move the items from one listbox to another. ( Similar to palette ). ...But then onSubmit() I am not getting the selected list values to remove or add to the selectedusers list. Coul

Re: problem with PropertyModel and setDefaultFormProcessing(false) for button

2008-11-10 Thread itayh
Thank you all for all the help. Changing the type of the button to button instead of submit fix that problem. itayh wrote: > > The first line is actually name = item.getName(); there was a copy typo > when I paste here the code. Any Idea? > > Pablo Abad wrote: >> >> Seems a typo either in the

IDataProvider and Session related data.

2008-11-10 Thread Graeme Knight
Hi. Just learning about IDataProvider and DataViews. I've scoped out the repeaters examples but this may be a little different... If I have a userId (for example stored in the Session) of the user as he is logged in and I wish to use that userId as a criteria for getting hold of the correct da

Re: IDataProvider and Session related data.

2008-11-10 Thread James Carman
First of all, the userid probably isn't much information (a string, I'd imagine), so it sounds like you may be prematurely optimizing. Anyway, you can always get the current session by doing: MySession sess = (MySession)Session.get(); On Mon, Nov 10, 2008 at 4:23 PM, Graeme Knight <[EMAIL PRO

Re: IDataProvider and Session related data.

2008-11-10 Thread Jeremy Thomerson
In the data provider, you can do: YourCustomSession.get().getUser().getID(). Then this doesn't have to be serialized with the data provider, granted the cost will be very small. -- Jeremy Thomerson http://www.wickettraining.com On Mon, Nov 10, 2008 at 3:23 PM, Graeme Knight <[EMAIL PROTECTED]>

Re: combining target.addComponent and javascript

2008-11-10 Thread Timo Rantalaiho
On Mon, 10 Nov 2008, Steve Swinsburg wrote: > I am wanting to combine an AjaxRequestTarget addComponent call with a > javascript call as well so that the component is added to the page by > wicket, but displayed using a jQuery effect. The component adds to the > page fine, but the jQuery effe

PageLink or BookmarkablePageLink

2008-11-10 Thread David R Robison
Is there any advantage to using PageLink over BookmarkablePageLink? David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: [EMAIL PROTECTED] web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xu

Re: PageLink or BookmarkablePageLink

2008-11-10 Thread bruno . borges
I don't think so. They have different purposes. On Nov 10, 2008 7:50pm, David R Robison <[EMAIL PROTECTED]> wrote: Is there any advantage to using PageLink over BookmarkablePageLink? David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757

FallbackSubmitLink (yes it sounds crazy)

2008-11-10 Thread Ryan
I have a DataView component and each row has a CheckBox to select that row. I prefer not to have an ajax call on each selection by the user. The issue is that with the default PagingNavigator I lose which checkboxes were selected when the page is changed (naturally, because the form is not submitte

Size of session cache

2008-11-10 Thread David R Robison
Is there a convenient way to tell the size of user's session cache? David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: [EMAIL PROTECTED] web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xu

Re: IDataProvider and Session related data.

2008-11-10 Thread Graeme Knight
Hey guys, Thanks! Being dumb I forgot about YourCustomSession.get().getUser().getID() for the second time this week (and yes, its only Monday) That totally answers my questions! Cheers, Graeme. Graeme Knight wrote: > > Hi. > > Just learning about IDataProvider and DataViews. > > I've

mounts and resources

2008-11-10 Thread Craig Tataryn
If one were to mount a page like so: mount(new QueryStringUrlCodingStrategy("foo/ HomePage.html",HomePage.class)); How would you go about having it so resources referenced in HomePage.html are relative to foo/ and not /? So if there was an src="images/myimage.jpg" /> inside HomePage.html, c

CaptchaImageResource image style

2008-11-10 Thread ej595
Is there any way to change the style of image generated by the CaptchaImageResource. It looks very cryptic at times and my users are take approx 3 attempts to get it right. I couldnt find a setting to change the image style at all, or should i invest in another jcapture tool. many thanks -- View

Re: CaptchaImageResource image style

2008-11-10 Thread Nino Saturnino Martinez Vazquez Wael
as I remember there are some methods that you could overrride.. But there should also be the kitten auth, somewhere integrated with wicket... You could of course also roll your own.. ej595 wrote: Is there any way to change the style of image generated by the CaptchaImageResource. It looks very

Re: Re: AutoCompleteTextField and wicket 1.3.5

2008-11-10 Thread ulrik
IE 7 Bruno Borges wrote: > > Not really. What version of IE are you using? > > On Nov 10, 2008 2:19pm, ulrik <[EMAIL PROTECTED]> wrote: >> >> >> Is that a joke? >> >> >> >> >> >> Bruno Borges wrote: >> >> > >> >> > use firefox >> >> > >> >> >> >> >> >> -- >> >> View this message in context: