Re: Consequences of sharing ajax request target by attribute or by static determination

2009-09-30 Thread Pedro Santos
I think ajax fallback strategy is a good idea: class AjaxFallbackEvent{ void handleSomething( target){ // user implementations test for target == null } } On Wed, Sep 30, 2009 at 4:38 AM, Per Newgro wrote: > Hi *, > > i would like to know if there "hidden" consequences if i exchange sharing

Re: Component initModel() order (design issue?)

2009-09-30 Thread Pedro Santos
The child model's initModel() gets called first There are no especial ordering programing to initModels calls. Basically they are called by public final IModel getDefaultModel() { IModel model = getModelImpl(); // If model is null if (model == null) {

Re: What is preferred/recommended way to localize texts of non-visual components

2009-09-30 Thread Pedro Santos
I don't know if you need wicket api to reach your objective: public enum MapType { UNDEFINED, ROADMAP, MOBILE, SATELITE, TERRAIN, HYBRID; public String toKeyword() { return toString().toLowerCase(); } public String verbose() {

Re: AjaxPagingNavigation

2009-09-30 Thread Pedro Santos
using ajax. > It is redrawing the page. > > D/ > > On Sep 29, 2009, at 3:56 PM, Pedro Santos wrote: > > > I'm using the AjaxPagingNavigation component and it works well, but > > when I > > click on one of the links, my url is replaced with > > &

Re: AjaxPagingNavigation

2009-10-01 Thread Pedro Santos
lt; doug...@douglasferguson.us> wrote: > I just realized that this might be what you wanted to know.. > > href="?wicket:interface=:3:pagination:navigation: > 1:pageLink::ILinkListener::"> > 2 > > > > On Sep 30, 2009, at 2:07 PM, Pedro Santos wrote: > > &

Re: Click link lost during self updating

2009-10-01 Thread Pedro Santos
I have a page that's refreshing its components every n seconds using AbstractAjaxTimerBehavior. Among these components there's a list of links. Would be nice if you apply AbstractAjaxTimerBehavior only to components that need to be updated. Than you don't get in trouble with your links... On Thu,

Re: is it possible to somehow create a url to return the contents of a panel

2009-10-01 Thread Pedro Santos
1) Is there a component (the someMadeUpAjaxComponent) that I can get a URL for which will trigger the onClick method http://wicket.apache.org/docs/1.4/org/apache/wicket/IRequestTarget.html http://wicket.apache.org/docs/1.4/org/apache/wicket/behavior/AbstractAjaxBehavior.html#getCallbackUrl%28%29 2

Re: is it possible to somehow create a url to return the contents of a panel

2009-10-01 Thread Pedro Santos
> > Is type of behavior possible? If not, does anyone have any other ideas as > to how I could show a dynamic tooltip with data retrieved using ajax? Thank > you very much. > > Joe > > > -Original Message- > From: Pedro Santos [mailto:pedros...@gmail.com] >

Re: Click link lost during self updating

2009-10-01 Thread Pedro Santos
ation. There are lots of components that need to be refreshed, and > adding to each of them the behavior don't seem trivial. > > I'll give it a try anyway. > > Thank you > Ale > > On Thu, Oct 1, 2009 at 1:17 PM, Pedro Santos wrote: > > > I

Re: Custom session is null

2009-10-01 Thread Pedro Santos
I have bookmarkable pages for the login and the form page. Now I go to the form page If you using a link to go to form page, for some reason you don't get an cookie on your browser holding your session information. If you just writing the url to form page on browser, you are not passing session in

Re: Custom session is null

2009-10-01 Thread Pedro Santos
en Nelson wrote: > > On 1 Oct 2009, at 15:11, Pedro Santos wrote: > > I have bookmarkable pages for the login and the form page. >> Now I go to the form page >> If you using a link to go to form page, for some reason you don't get an >> cookie on your browser holdin

Re: Doubt with Link

2009-10-01 Thread Pedro Santos
Refresh the page is default link behavior, you may want to use AjaxLink to avoid it On Thu, Oct 1, 2009 at 5:44 PM, Pedro Sena wrote: > Hi Guys, > > First of all, sorry for a so newbie question, but I'm really a newbie in > Wicket. > > I'm trying to add a Behaviou to my link, it works fine with

Re: ModalWindow and LazyLoading Exception

2009-10-02 Thread Pedro Santos
use *OpenSessionInViewFilter* to avoid lazy initialization exceptions On Fri, Oct 2, 2009 at 8:42 AM, Albert Romanius wrote: > The line that throws the exception is below: > CheckBoxMultipleChoice subMessagesCB = new CheckBoxMultipleChoice( > "subMessages", new PropertyModel(this, >

Re: table columns ajax update

2009-10-03 Thread Pedro Santos
Hi Semwal, I'm currently working on Table class design to turn simple this kind of extension. On Sat, Oct 3, 2009 at 10:38 AM, vineet semwal wrote: > can i update some columns in wicket-stuff table with ajax timer ? > i have seen wicket-stuff table example but can't understand how to do it .. > >

Re: table columns ajax update

2009-10-04 Thread Pedro Santos
n ;) > > thank you ! > -- > regards, > Vineet Semwal > > > On Sun, Oct 4, 2009 at 3:57 AM, Pedro Santos wrote: > > > Hi Semwal, I'm currently working on Table class design to turn simple > this > > kind of extension. > > > > On Sat, Oct 3, 2

Re: Nav bar - stateful

2009-10-05 Thread Pedro Santos
You can keep page instances on session. On Mon, Oct 5, 2009 at 7:57 AM, Phillip Sacre wrote: > Hi > > Another newbie question, sorry! > > Is there any way of making a nav bar like this: > > >Browse | >Search > > > Stateful, i.e. only one instance of each page is created. So if y

Re: WebSession Casting unable

2009-10-05 Thread Pedro Santos
your implementation needs to return an instance of SecurePageSession On Mon, Oct 5, 2009 at 8:43 AM, Peter Arnulf Lustig wrote: > I have overwritten the newSession Method: > > > > public class Application extends WebApplication { > >@Override >protected void init() { >super.init()

Re: How to list files by name in Eclipe's Package Explorer?

2009-10-05 Thread Pedro Santos
I hope that work: https://bugs.eclipse.org/bugs/show_bug.cgi?id=291387 On Mon, Oct 5, 2009 at 1:27 PM, David Chang wrote: > Thanks for your input! It seems to does the trick. The only thing I don't > like is that it shows all the levels of directories, which is unnecessary > and makes the Naviga

Re: table columns ajax update

2009-10-05 Thread Pedro Santos
wrote: > Pedro, > eagerly waiting for next version ;) > > thank you , > > -- > regards, > Vineet Semwal > > On Mon, Oct 5, 2009 at 4:25 AM, Pedro Santos wrote: > > > Hi Semwal, > > it has capability to update some columns. I update HomePage on > > ta

Re: Wicket LinkTree and Performance

2009-10-06 Thread Pedro Santos
No really something nice for user, I had this issue and combine extensible selectable and hierarchical data presentation with an accordion container for major data organization, and inners LinkTree components on it. http://www.dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/layout/accordion-contai

Re: custom resolving of relative paths in head section of panel

2009-10-07 Thread Pedro Santos
Hi Ittay, you can use wicket:link tag to resolve that path dynamically too. that way you keep the reference valid whe html is viewed as standalone, and in the context of the application On Wed, Oct 7, 2009 at 8:26 AM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > You could do

Re: custom resolving of relative paths in head section of panel

2009-10-07 Thread Pedro Santos
sorry, I miss that that tag will handle the 'href' attribute, the script tag has 'src' On Wed, Oct 7, 2009 at 8:58 AM, Ittay Dror wrote: > > > Pedro Santos wrote: > >> Hi Ittay, you can use wicket:link tag to resolve that path dynamically >> too. &

Re: how to get TextField value which belongs to the first tab when click on the button which belongs to tabbedpanel

2009-10-07 Thread Pedro Santos
It is up to your object structure, use wicket api to get such object reference sounds bad On Wed, Oct 7, 2009 at 6:43 AM, wrote: > There are 3 tabs in a tabbedpanel, a TextField component is in the first > tab, and several form components in the other tabs for user input. I added a > save button

Re: custom resolving of relative paths in head section of panel

2009-10-07 Thread Pedro Santos
This works well when the html is viewed as standalone. but in the context of the application i need the tag to be rendered as: I think that is the case to use: On Wed, Oct 7, 2009 at 9:55 AM, Ittay Dror wrote: > > > Ernesto Reinaldo Barreiro wrote: > > This solution will wor

Re: Feedback messages, input and label

2009-10-07 Thread Pedro Santos
Wicket is Sparta? http://www.mail-archive.com/wicket-u...@lists.sourceforge.net/msg17023.html On Wed, Oct 7, 2009 at 3:05 PM, Tomás Rossi wrote: > Yeah, we'd need 300 programmers for that task ;) > > So you have to specify the label for each component in a property file? And > then you'd have a

Re: London Wicket Event, Saturday November 21st

2009-10-07 Thread Pedro Santos
Hi Nicolas, great idea On Wed, Oct 7, 2009 at 3:25 PM, Nicolas Melendez wrote: > When a Wicket Event in Buenos Aires, Argentina ?? We also have lots of > pubs > :) > > On Wed, Oct 7, 2009 at 5:21 PM, Ioannis Mavroukakis < > imavrouka...@gameaccount.com> wrote: > > > If my mate can't lend me his

Re: Showing Modal window within a wizard step

2009-10-08 Thread Pedro Santos
Hi Jeffrey, the wiki example refers to an "chooserPanel", that is not the case of your "editorPanel". Simple use the same model on step 1 on your Modal window. On Wed, Oct 7, 2009 at 5:19 PM, Jeffrey Schneller < jeffrey.schnel...@envisa.com> wrote: > I am trying to show a modal window within a wi

Re: wicketstuff-progressbar and Wicket 1.4.1 problem

2009-10-08 Thread Pedro Santos
This project is using wicket 1.3 If there are no problem, wicket stuff devs can update the project dependencies. It is just update pom + refactoring or need to create an branch in svn? 2009/10/8 zabian > Hi there, > > I'm working on progress bar in my app, i'm trying to use > wicketstuff-progres

Re: Showing Modal window within a wizard step

2009-10-08 Thread Pedro Santos
both the wizard > step and the modal window. > > Regards, > > Mike > > > Passing a model between a page to modal window is the same as passing a > model between pages > > Ok. How do I use the same model? The model I have on step 1 if I > pass > > it into

Re: Showing Modal window within a wizard step

2009-10-08 Thread Pedro Santos
Ops, the modal window object on browser is created on 'document.body' level. Maybe you want to create an form to your ModifyPeoplePanel form components. On Thu, Oct 8, 2009 at 1:38 PM, Pedro Santos wrote: > I had an similar problem time ago. In my case a solve adding an submi

Re: Showing Modal window within a wizard step

2009-10-08 Thread Pedro Santos
riginal Message- > From: Pedro Santos [mailto:pedros...@gmail.com] > Sent: Thursday, October 08, 2009 12:38 PM > To: users@wicket.apache.org > Subject: Re: Showing Modal window within a wizard step > > I have built multiple large sites with jsp/servlets/javascript/ajax that &

Re: Showing Modal window within a wizard step

2009-10-09 Thread Pedro Santos
t; > > called from. You would think this is easy. But again I am stuck. > > > > > > Wizard > > > WizardStep ==> data show is read only with a modify link > > > which brings > > > the modal up. > > > Modal =

Re: How to organize pages layout in real world applications

2009-10-13 Thread Pedro Santos
You can write the links on Nav Page with target for Client page, and no ajax is needed 2009/10/13 Zenberg Ding > Hi all, > > We'll plan to use wicket in our application for one enterprise's > information management system. > > the app's portal layout is someting like this: > >

Re: Could someone please give me access to the wicketstuff wiki front page?

2009-10-13 Thread Pedro Santos
Hi Erik, it is just apply some label to your page, and it goes to wiki page. I add the 'component' one, hope that help. http://wicketstuff.org/confluence/display/STUFFWIKI/Wiki On Tue, Oct 13, 2009 at 9:23 AM, Erik Post wrote: > Hi all, > > I created a page on the wicketstuff wiki for Inmethod's

Re: Multirequest Feedback

2009-10-13 Thread Pedro Santos
you have many form components and only one feedback panel - user put invalid entry on form component 1, panel show error 1 - user put invalid entry on form component 2, panel show error 2, no longer error 1 this is it? 1 - you can create one ComponentFeedbackPanel for each form component 2 - you ca

Re: Many forms on one page and submit handling

2009-10-13 Thread Pedro Santos
you can add an ComponentFeedbackPanel for each form On Tue, Oct 13, 2009 at 10:39 AM, Peter Arnulf Lustig wrote: > Hi, > > I have one Form-Class which has one main form -- in this form I've got some > more forms. Each of them has their own submit button. > How can I tell wicket, that it only has

Re: Many forms on one page and submit handling

2009-10-13 Thread Pedro Santos
>q.setTitle(title.getDefaultModelObjectAsString()); >if (!isUpdate) { >Worker.SaveQuestion(q); >} else { >Worker.UpdateQuestion(q); > } >info("Frage gespeichert"); >

Re: Multirequest Feedback

2009-10-13 Thread Pedro Santos
you can create one ComponentFeedbackPanel for each form and use only ajax submit buttons or links, it will to keep error mesagens on page. On Tue, Oct 13, 2009 at 10:51 AM, Alexander Elsholz < alexander.elsh...@widas.de> wrote: > hi pedro, > > Pedro Santos gmail.com> writes:

Re: Many forms on one page and submit handling

2009-10-13 Thread Pedro Santos
t; >protected void onSubmit() { > >try { > >if (!isUpdate) { > >q = new Question(); > >} > >q.setText(fragestellung.getDefaultModelObjectAsString()); > >q.setTitle(title.getDefaultModelObjectAsString(

Re: Modular Application

2009-10-13 Thread Pedro Santos
Looks like you have an project dependency compiled with other Wicket version. That can to be easy detected with eclipse maven pluging, using the hierarchy view On Tue, Oct 13, 2009 at 4:36 PM, Ben Tilford wrote: > Something other than? > >org.apache.wicket >wicket >${wicket.version}

Re: Modular Application

2009-10-13 Thread Pedro Santos
Isn't it the case for you manually run mvn install on your parent project? Your local repository may have old .class bytecodes On Tue, Oct 13, 2009 at 5:11 PM, Ben Tilford wrote: > No base page is in a common module (probably will be used by more than 1 > app > in the end). > > The wicket depend

Re: Ongoing Erractic Form Submit Issue

2009-10-14 Thread Pedro Santos
Did you implement the onError method too? Maybe you has an form without an feedback panel, and some form component don't pass by validations. On that case the onSubmit method don't get called, for example. On Wed, Oct 14, 2009 at 3:34 PM, Dane Laverty wrote: > I've built several Wicket apps for

Re: Question about Javascript DOM + Wicket

2009-10-15 Thread Pedro Santos
My question is: is this also possible with Wicket? I don't want to use Ajax forms, I'd rather do everything in the DOM of the browser and then submit it yes, you can work on your form dom, adding form components with known names, and dial with then on your onSubmit method like: getRequest().

Re: How to add list-entities dynamicly to ListMultipleChoice Component?

2009-10-15 Thread Pedro Santos
for the textfield you can use an ajax behaviour, or put it into an form with ajax submit. in your handle code, you update the model object on your listmultiplechoise, and add it or its parent component to ajaxrequesttarget On Thu, Oct 15, 2009 at 9:56 AM, Peter Arnulf Lustig wrote: > And how is t

Re: Updating Component On a Different Page

2009-10-15 Thread Pedro Santos
IMO: MyAccountPanel{ public boolean isVisible{ return getSession().isSignedIn(); } } On Thu, Oct 15, 2009 at 11:24 AM, wrote: > Hello, > > I have 2 pages, one is called HomePage and the other is called SignInPage. > On the HomePage I have a MyAccountPanel that is hidden until the user is > sign

Re: AW: Null Model Error

2009-10-16 Thread Pedro Santos
You have a list of tagging keys that user can select and a render to it, but you don't have an model to receive the selection made on component. Consider to use this contructor parsing an "putTheUserSelectionHereModel" http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/form/ListMultip

Re: AW: Null Model Error

2009-10-16 Thread Pedro Santos
reat information > > But how can I create / define such a model -- I can't find anything in the > wicket examples! > > > > - Ursprüngliche Mail > Von: Pedro Santos > An: users@wicket.apache.org > Gesendet: Freitag, den 16. Oktober 2009, 13:24:45 Uhr > Be

Re: Open Source projects using Wicket

2009-10-16 Thread Pedro Santos
Nice site, it was deployed in development mode and has a nice performance :) On Fri, Oct 16, 2009 at 5:16 PM, Vytautas Racelis wrote: > Hi, > i've been working with Wicket for a while. > It is not my primary job, but i've implemented some ideas at > http://www.xaloon.org/blog such as: > * enhanc

Re: Wicket Abstract Tree Question

2009-10-19 Thread Pedro Santos
1) I need to dynamically update wicket linked/abstract tree data, is that in order to do that, the only way is to remove the abstract tree on the form based on its ID, then adding it back to the form again, is there other alternatives to resolve that? I have it working just adding new nodes to tr

Re: Ajax Send TextField Input to Server without Form / Submit

2009-10-19 Thread Pedro Santos
how is it possible to submit TextField Input to the server without having a Form (and submit) for this task? yes, you can use an AjaxFormComponentUpdatingBehavior for it I figured out, that AjaxButton only has onSubmit() Method -- I expected also something like onClick -- you can use AjaxEventBeha

Re: AW: Ajax Send TextField Input to Server without Form / Submit

2009-10-19 Thread Pedro Santos
Gesendet: Montag, den 19. Oktober 2009, 13:36:31 Uhr > Betreff: AW: Ajax Send TextField Input to Server without Form / Submit > > What do I do with a "click"-button? The User gets a new TextField when I > try to add an AjaxFormComponentUpdatingBehavior. > I just want to

Re: AW: Ajax Send TextField Input to Server without Form / Submit

2009-10-19 Thread Pedro Santos
all I put into onUpdate() Method (tagTitle textfield) > > many thanks in advance. > > > > - Ursprüngliche Mail > Von: Pedro Santos > An: users@wicket.apache.org > Gesendet: Montag, den 19. Oktober 2009, 13:50:33 Uhr > Betreff: Re: AW: Ajax Send TextF

Re: Showing session-stored messages in another window/tab

2009-10-19 Thread Pedro Santos
- app sends him an email with a generated link can this link encode an parameter like:isActivationFromEmail ? so: loginPageOrActivationPage.add(new Label("id","User account activated").setVisible(getPageParameters().get("isActivationFromEmail")); On Mon, Oct 19, 2009 at 4:24 PM, Esteban Masoero

Re: Reusable components and wicket:id

2009-10-19 Thread Pedro Santos
Actually the panel wicket id is an parameter for panel constructor, can you some code? On Mon, Oct 19, 2009 at 5:07 PM, Tomás Rossi wrote: > Then I'm unable to use the properties file for tweaking the string in > question. > > What is the beauty of panels if they don't prefix its internal ids >

Re: Reusable components and wicket:id

2009-10-20 Thread Pedro Santos
lueMap claveCaptcha = new ValueMap(); > > public FormEncuesta(String id) { > super(id); > ... > add(new PanelEncuesta("panelTelefonico", > new Model(datosEncuestaTelefonico))); > add(new PanelEncuesta("panelPersonal&quo

Re: Reusable components and wicket:id

2009-10-20 Thread Pedro Santos
allaEncuesta.html (means SurveyScreen): > ... > > > ¿Cómo calificaría los siguientes aspectos de la atención telefónica de > Informática? > Acá va la encuesta de atención > telefónica > > > > > > ¿Cómo calificaría los siguientes aspectos de la atención de

Re: Reusable components and wicket:id

2009-10-20 Thread Pedro Santos
Problema' is required. > * Field 'panel2-rapidezAtencion' is required. > * Field 'panel2-explicacionClara' is required. > * Field 'panel2-resolucionProblema' is required. > > So that I can change those labels with a properties file later. >

Re: AjaxFallbackDefaultDataTable - modifying look

2009-10-20 Thread Pedro Santos
example of how to create an DataTable? you can use the AjaxFallbackDefaultDataTable as an example :) On Tue, Oct 20, 2009 at 4:00 PM, Jeffrey Schneller < jeffrey.schnel...@envisa.com> wrote: > Fair enough. Is there an example of how one should be created? > > -Original Message- > From: I

Re: Model property name different than wicket:id, is possible?

2009-10-20 Thread Pedro Santos
the problem I have is that the field name of the model object is different on every form, and the wicket:id is the same you has: public class ObjectThatGoesToModel{ private Object propetyThatGoesToSomeForm; private Object propetyThatGoesToOtherFormInSomeSituations; } ?? I think you can use

Re: Secured/Constraint IDataProvider and DropDownChoice choices

2009-10-20 Thread Pedro Santos
you can put user on session, and use this information as an filter to queries than fill the lists on your application models... On Tue, Oct 20, 2009 at 6:14 PM, Roman Ilin wrote: > Hi *, > > I develop WebApplication where database records belong to different > organizations. > I use AjaxFallback

Re: Audit Trail For Fatal Error

2009-10-20 Thread Pedro Santos
if you serialize the pagemap object to an file and attache it on your error report email? later you can set pagemape error analysis environment to reproduce the user steps, seems possible... On Tue, Oct 20, 2009 at 6:15 PM, Douglas Ferguson < doug...@douglasferguson.us> wrote: > I have a feature

Re: Secured/Constraint IDataProvider and DropDownChoice choices

2009-10-20 Thread Pedro Santos
every time for every component why not for every query? On Tue, Oct 20, 2009 at 6:23 PM, Roman Ilin wrote: > Sure I save my user in session. > The problem is that I have to implement this filter functionality > every time for every component. > > > > On Tue, Oct 20, 20

Re: Secured/Constraint IDataProvider and DropDownChoice choices

2009-10-20 Thread Pedro Santos
I had application with components that override the isVisible method testing for return session.getUser().hasAccessFor(this) but the major access logic is implemented on data access layer On Tue, Oct 20, 2009 at 6:26 PM, Pedro Santos wrote: > every time for every component > why not for

Re: how to update a form model when clicking a link

2009-10-21 Thread Pedro Santos
you can add an AjaxFormComponentUpdatingBehavior on your textarea to keep the model updated On Wed, Oct 21, 2009 at 9:58 AM, Peter Arnulf Lustig wrote: > Have you tried assign a Model to the component which needs to be updated? > > Model model = new Model(""); > ---> assign to the component of th

Re: how to update a form model when clicking a link

2009-10-21 Thread Pedro Santos
k. Or can I let clicking the > link generate an event which then will be picked up by the component? > > > > > Antoine > > > On Wed, Oct 21, 2009 at 2:03 PM, Pedro Santos wrote: > > you can add an AjaxFormComponentUpdatingBehavior on your textarea to keep > >

Re: Wicket Eclipse plugin, is there another?

2009-10-21 Thread Pedro Santos
You can write one Enviado de meu iPhone Em 21/10/2009, às 18:10, Nicolas Melendez escreveu: I'm not very fan of netbeans :) Thanks, for answer. another sugggestion? On Wed, Oct 21, 2009 at 6:57 PM, Fernando Wermus wrote: I know, but I havent tested it, that netbeans comes with a plu

Re: Exceptions in MyApplication.init()

2009-10-23 Thread Pedro Santos
The init method is called by the wicket servlet filter. If it throw an exception the web container will not place the filter into service, than the request will not be handled by wicket. On Fri, Oct 23, 2009 at 3:26 PM, Josh Glassman wrote: > There is a wiki page with information on creating cus

Re: Component parent null after replace

2009-10-23 Thread Pedro Santos
referenceToDatabaseParentComponent.replace(replacement) you has an reference to referenceToDatabaseParentComponent, right? On Fri, Oct 23, 2009 at 4:05 AM, wicketnewuser wrote: > > Hi I have similiar situation but i'm using autonomous inner class >final AjaxFallbackDefaultDataTable data

Re: refreshing AjaxFallbackDefaultDataTable

2009-10-23 Thread Pedro Santos
protected void onPostProcessTarget(AjaxRequestTarget target) { referenceToReportListProvider.updateIt(conditions); } On Fri, Oct 23, 2009 at 4:53 PM, Swarnim Ranjitkar wrote: > > If I attach AjaxSelfUpdatingTimerBehavior to AjaxFallbackDefaultDataTable > should it refresh AjaxFallbackDefaul

Re: using wicket ajax to add components containing javascript

2009-10-23 Thread Pedro Santos
I think it is related: http://markmail.org/search/?q=list%3Aorg.apache.wicket.users+from%3A%22Pedro+Santos%22+ajaxrequesttarget+date%3A200909+#query:list%3Aorg.apache.wicket.users%20from%3A%22Pedro%20Santos%22%20ajaxrequesttarget%20date%3A200909%20+page:1+mid:vuen2437dyh6a5tw+state:results On Fri

Re: wizard step window size / width

2009-10-26 Thread Pedro Santos
Hi, how are you using wizard? The addDefaultCssStyle method is to be overridden to add your own css. On it you configure the width properties to 100% ex: .wicketExtensionsWizardOuterTable{ width: 100%; } .wicketExtensionsWizardInnerTable { width: 100%; } On Sun, Oct 25, 2009 at 8:53 AM, Sa

Re: Isssues in Modal Window display in IE8

2009-10-26 Thread Pedro Santos
What document mode are you using? Modal window is working fine for me. Anyway, I had to take care to don't let IE load my page in quirk mode: http://en.wikipedia.org/wiki/Quirks_mode On Sun, Oct 25, 2009 at 4:54 PM, Per Newgro wrote: > The only thing we had here was that transparency of backgrou

Re: ListMultipleChoice - Pre fill out

2009-10-26 Thread Pedro Santos
yes: List options = Arrays.asList("a", "b", "c"); add(new ListMultipleChoice("select", new Model((Serializable)Arrays.asList("b")), options)); On Mon, Oct 26, 2009 at 11:06 AM, Peter Arnulf Lustig wrote: > and in the html it is also showed as "selected" ? > > > > - Ursprüngliche Mail >

Re: Force page expiration

2009-10-27 Thread Pedro Santos
The page returned from back button came from pagemap. Make sure to remove it from there and you get the expired exception. On Tue, Oct 27, 2009 at 11:57 AM, Tomás Rossi wrote: > Hi, I have another question... > > in Wicket (1.4.2), can I force the expiration of a page? > Specifically, if users h

Re: Setup for stepping into wicket source in eclipse

2009-10-27 Thread Pedro Santos
Debug Configuration > your server configuration > Source tab > remove older source codes from it if there is one On Tue, Oct 27, 2009 at 10:55 AM, Nicolas Melendez < nmelen...@getsense.com.ar> wrote: > is your build automatically checked? > > On Mon, Oct 26, 2009 at 1:07 AM, Flavius wrote: > > >

Re: Check(box) loses checked state after error

2009-10-27 Thread Pedro Santos
call ListView.setReuseItems(true) On Tue, Oct 27, 2009 at 1:24 PM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > > I'm using a CheckGroup together with a few Check in a repeater because > the > > number of boxes displayed is dynamic. > > If you have a repeater the redraw event in

Re: Treetable nodes with no links

2009-10-27 Thread Pedro Santos
you can override newNodeLink or newLink methods to return disabled links, or any other components On Tue, Oct 27, 2009 at 2:11 PM, sakthi vel wrote: > Hello, > > The tree table should be generated with links for certain nodes and no > links > for certain nodes. Can anyone tell how to acheive thi

Re: Generate dynamic tables

2009-10-27 Thread Pedro Santos
You can use table form wicketstuff if you like to create an tableModel to present your xml data. Then you get dynamic columns... On Tue, Oct 27, 2009 at 2:22 PM, sakthi vel wrote: > Hello, > > How to generate tables with dynamic columns using any one of the repeaters. > I need to parse the xml

Re: Time textfield

2009-10-27 Thread Pedro Santos
Hi, I'm using DateTextField in one project, like: new DateTextField("time", null, new PatternDateConverter("HH:mm", true)) On Tue, Oct 27, 2009 at 2:55 PM, hill180 wrote: > I understand there is the DateTimeField, is there a textfield specifically > for time only. Or a way to turn the date off

Re: Force page expiration

2009-10-27 Thread Pedro Santos
: > Nothing seems to work. > > Does the fact that the page I want to expire is the home page has anything > to do with it? > > Pedro Santos escribió: > > The page returned from back button came from pagemap. Make sure to remove >> it >> from there and you get the exp

Re: Wicket GAE Performance

2009-10-27 Thread Pedro Santos
What profiler is telling you? I had performance problem on file system file access, and solve it removing this time consuming task from the wicket-request-cycle thread On Tue, Oct 27, 2009 at 5:36 PM, Alexander Elsholz < alexander.elsh...@widas.de> wrote: > Hi, > > we build a wicket-application,

Re: Force page expiration

2009-10-28 Thread Pedro Santos
> are versioned pages/components, what problems they solve and how to use > them. If anyone can point us where to read on these subjects we'll > appreciate it very much. > > Kind regards and thanks, > > Tom; > > Pedro Santos escribió: > > You are aware that to a

Re: Tree markup

2009-10-29 Thread Pedro Santos
It can be done in the css, configure the overflow property of the component you want with the scrollbar On Wed, Oct 28, 2009 at 10:03 PM, Haulyn R. Jason wrote: > Hi, I know how to add links. override newLink method. Thanks again. > > On Thu, Oct 29, 2009 at 7:35 AM, Haulyn R. Jason > wrote: > >

Re: Generate dynamic tables

2009-10-29 Thread Pedro Santos
Hi, I had written some doc on wiki: http://wicketstuff.org/confluence/display/STUFFWIKI/Table hope it is enough to you evaluate if is what you need on your project and get start On Thu, Oct 29, 2009 at 10:24 AM, vela wrote: > > Hello again, > > Could you tell, which class to use to achieve this

Re: Glue for composing panels

2009-10-29 Thread Pedro Santos
Hi Frank, about your final question, the ListView class is an component that partially use you approach: his children components are created on abstract method implementations. This abstract is called due an condition that test for reuseItems and size properties. And this call is originated in onBe

Re: Glue for composing panels

2009-10-29 Thread Pedro Santos
Nice approach, the only missing is that you hasn't how to prevent your component users from call addLeftNavChild after render phase at development time. But it is no big deal, since they will get an exception at runtime... On Thu, Oct 29, 2009 at 5:47 PM, John Krasnay wrote: > Rather than having

Re: Glue for composing panels

2009-10-29 Thread Pedro Santos
Mean other programmes Em 29/10/2009, às 17:00, John Krasnay escreveu: On Thu, Oct 29, 2009 at 05:58:02PM -0200, Pedro Santos wrote: Nice approach, the only missing is that you hasn't how to prevent your component users from call addLeftNavChild after render phase at development time

Re: Help with "you can only locate or create sessions in the context of a request cycle" error

2009-10-30 Thread Pedro Santos
Hi Yasa, can you make sure that getWebRequestCycle().getSession() is called on the same thread that WicketFilter is responding the request? RequestCycle use thread locals to keep his reference, if you are working in an multi thread response, you can get that exception. On Fri, Oct 30, 2009 at 3:53

Re: wicket + jdbc template app

2009-11-01 Thread Pedro Santos
Hi, I got it working using spring. You can see an template application using spring on wicket stuff: phone book http://static.springsource.org/spring/docs/2.0.8/reference/jdbc.html On Sun, Nov 1, 2009 at 5:07 PM, dtoffe wrote: > >Just set up your connection in your Application subclass and

Re: Dynamic Rendering and Common Paramenters

2009-11-03 Thread Pedro Santos
> But when I submit the form the constructer gets not called anymore. this is an expected behavior, an component instance is held on pagemap between requests. > But as I have to build the form I do not have a dynamic model on page. Can't you manage an instance of an dynamic model on your component

Re: Dynamic Rendering and Common Paramenters

2009-11-03 Thread Pedro Santos
text)RequestContext.get()).getPortletRequest().getParameter("crmportal:userId"); > > -- > > > I can do it in submit but then I should be able to communicate it to the > new component and > make it render again. > > Is there a common way to d

Re: Dynamic Rendering and Common Paramenters

2009-11-03 Thread Pedro Santos
Hi Gonzalo, I thought that with buildForm implementation I will see how you create your form component. But seams that it is created on the line: QuestionComponentFactory.getComponent(question,response) Instead of ask you for more code, I will try to explain myself: >So no matter what's the value

Re: Dynamic Rendering and Common Paramenters

2009-11-03 Thread Pedro Santos
only get in constructor so never gets updated > and I want to know what's the correct way to do this. > > I don't think I'm updating a object instance that isn't the one from my > model. I took this into account. > > Tnx > > > El mar, 03-11-2009

Re: Dynamically insert/remove WizardSteps based on user input ?

2009-11-03 Thread Pedro Santos
I guess: http://wicket.apache.org/docs/wicket-1.3.2/wicket-extensions/apidocs/org/apache/wicket/extensions/wizard/dynamic/IDynamicWizardStep.html On Tue, Nov 3, 2009 at 6:38 PM, smallufo wrote: > Hi all : > > It seems the WizardSteps are added into WizardModel in the constructor > time. > I wond

Re: LinkTree

2009-11-04 Thread Pedro Santos
Add you need to replace your old detailsPanel for the new one. Like: HomePage.this.replace(targetPanel) On Wed, Nov 4, 2009 at 11:20 AM, Vytautas Racelis wrote: > Hi, > you should have a container and add that container into target. > > This is how i've done this: > > http://xaloon.googlecode.

users@wicket.apache.org

2009-11-04 Thread Pedro Santos
Hi Sven, he stell can write some specialized render... but I think the best way is you have your depid property of type Department. Than all this thread would not have started :) class YourCustomRender { @Override public String getIdValue(Object object, int index) {

users@wicket.apache.org

2009-11-04 Thread Pedro Santos
be assumed by having the former > CompoundPropertyModel... > > Any thoughts ? Maybe rendering labels independently ? > > It's strange nobody has bumped into this situation before.. Maybe it's > because i'm still thinking like I was using Struts... > >

Re: Asynchronous construction of page

2009-11-04 Thread Pedro Santos
One question: if component renderComponent method wasn't final if Kaspar page structure was -page - panel1 - paneln if page renderComponent method implementation was buildPanel1.start() buildPaneln.start() and renderClosingComponentTag implementation was allPanelReady.join() super.(...)

Re: Transactions with RuntimeException

2009-11-05 Thread Pedro Santos
Here at work we abandon this strategy, and create the transaction for service. On Thu, Nov 5, 2009 at 5:20 PM, Steve Lowery wrote: > We have a filter that runs in our context before the wicket filter that > starts a hibernate transaction, does a chain.doFilter() and then commits > the > transacti

Re: Transactions with RuntimeException

2009-11-05 Thread Pedro Santos
(...)transaction per service. On Thu, Nov 5, 2009 at 5:33 PM, Pedro Santos wrote: > Here at work we abandon this strategy, and create the transaction for > service. > > > On Thu, Nov 5, 2009 at 5:20 PM, Steve Lowery > wrote: > >> We have a filter that runs in ou

<    1   2   3   4   5   6   >