Re: Problem with two users logging in two tabs of same browser window

2010-11-04 Thread Jeremy Thomerson
; focus on this in the first place. > Probably why they were removed in 1.5 :) http://apache-wicket.1842946.n4.nabble.com/1-5-Page-Maps-tt2998780.html#a3000647 -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Free wicket from component hierarchy hell

2010-11-04 Thread Jeremy Thomerson
om within. Oh, and you could have meant for the one added in HomePage.java to replace the one added in BasePage.java. How do you propose we do all that? -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: generated form and form IDs vs model confusion

2010-11-03 Thread Jeremy Thomerson
CompoundPropertyModel(model)); } } Form form = new YourForm(); form.setModel(new LoadableDetachableFooBarSomethingOrOtherModel()); form.add(new TextField("someKeyThatRepresentsAPropertyOnTheThingReturnedByAboveModel")); That should work. -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Send an object to page

2010-11-03 Thread Jeremy Thomerson
e if the object is an "entity." That part of the thread is what I was replying to - that it was then insecure because the DB ID is in the URL. This is not a standard way of doing most links in Wicket - because of the security leak -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Lazy Load Panel at runtime from another jar

2010-11-03 Thread Jeremy Thomerson
runtime. It must be classpath / classloader related, although I haven't seen that error and don't know what it means without digging in more. HTML panels are loaded from jars all the time. Every time you use a DataTable or a FeedbackPanel or dozens of other Wicket components, you're l

[ANNOUNCE] Release Wicket 1.4.13

2010-11-01 Thread Jeremy Thomerson
** New Feature * [WICKET-3082] - Introduce IComponentOnInitializeListener for cross-cutting concerns -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Really basic help...

2010-11-01 Thread Jeremy Thomerson
as I teach and consult on Wicket projects. [1] - It is true that 76.98% of statistics are made up on the spot. -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Send an object to page

2010-11-01 Thread Jeremy Thomerson
if the object is an "entity." > > And, of course, it opens you up to doing more security checks i.e., you have editUserProfile.html?userID=123 - now you have to check that the signed in person is allowed to edit whatever user they are trying to edit (since they can tw

Re: Force DownloadLink

2010-10-30 Thread Jeremy Thomerson
> Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Replacing markup generated by a Behavior

2010-10-28 Thread Jeremy Thomerson
your behavior's markup. You render that in your behavior-generated markup, and then Wicket will use the same ID for when it replaces the markup for that component - thus replacing both together. -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Disable button double-click without breaking Form.setDefaultButton

2010-10-28 Thread Jeremy Thomerson
- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additiona

Re: Replacing markup generated by a Behavior

2010-10-28 Thread Jeremy Thomerson
the markup id up to the wrapping div. - if you are using wicket 1.4.10 or greater, implement IAjaxRegionMarkupIdProvider, which allows you to override the id of the markup region that will updated via ajax -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Wicket scalability

2010-10-28 Thread Jeremy Thomerson
! Here are some really great benchmarks that you may find useful: http://ptrthomas.wordpress.com/2009/01/14/seam-jsf-vs-wicket-performance-comparison/ http://ptrthomas.wordpress.com/2009/09/14/perfbench-update-tapestry-5-and-grails/ -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Wicket product on set-top boxes

2010-10-28 Thread Jeremy Thomerson
I have a couple of ideas, but wanted to hear other angels on it.. > No angels on this list. Although, occasionally we have obtuse angles. -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Updating inmethod grid from the server

2010-10-27 Thread Jeremy Thomerson
y your domain objects) do not implement equals and/or hashcode properly 2. when you created the things in your row items, you didn't use models properly, so they have old, stale data in them Posting code is the only way to get more help. -- Jeremy Thomerson http://wickettraining.com *N

Re: Accessing the cells in a row of a DataTable

2010-10-26 Thread Jeremy Thomerson
> > >>>> case LINK : > > >>>> // add in the ajax link to the cell item > > >>>> // inside the onclick do: > > >>>> // get the row model object and then set its editable > > >>>> field. > > >>>> cellItem.add(new AjaxLink(componentId) { > > >>>> public void onClick(AjaxRequestTarget target) { > > >>>> BusinessObject bo = > > >>>> rowModel.getObject(); > > >>>> > > >>>> > > >>>> bo.setEditable(true); > > >>>> // get the table to rerender > > >>>> target.addComponent(this.getParent()); > > >>>> } > > >>>> }); > > >>>> > > >>>> break; > > >>>> > > >>>> case COL1: > > >>>> case COL2: > > >>>> > > >>>> BusinessObject bo = rowModel.getObject(); > > >>>> > > >>>> > > >>>> if (bo.isEditable()) { > > >>>> // this might not work as textfield wants an input > > >>>> tag but you can put the field on a panel and then add in the panel > > here. > > >>>> cellItem.add (new TextField(componentId, ) > > >>>> } > > >>>> else { > > >>>> cellItem.add(new Label(componentId, ...) > > >>>> } > > >>>> > > >>>> } > > >>>> > > >>>> } > > >>>> }; > > >>>> > > >>>> Regards, > > >>>> > > >>>> Mike > > >>>> > > >>>> Hi all, > > >>>>> > > >>>>> I'm having a bit of trouble wrapping my head around the DataTable > > with > > >>>>> regards to what I need to do. > > >>>>> > > >>>>> The perfect example of my goal is in Wicket Examples, namely, the > > Ajax > > >>>>> Editable Tree Table: > > >>>>> http://wicketstuff.org/wicket14/ajax/tree/table/editable.0 > > >>>>> > > >>>>> <http://wicketstuff.org/wicket14/ajax/tree/table/editable.0>Rather > > than > > >>>>> use > > >>>>> the Tree table I must alter an existing DataTable. I was thinking > > that > > >>>>> I could create an editable textfield for the cells which I could > > enable > > >>>>> or > > >>>>> disable using an edit link in the first column. > > >>>>> > > >>>>> A bit like this: > > >>>>> > > >>>>> Edit | col1 | col2 > > >>>>> > > >>>>> edit | text | ksfuh > > >>>>> - > > >>>>> edit | text | fsdkl > > >>>>> > > >>>>> Using the edit link I can get the model object of the row but I'm > not > > >>>>> sure > > >>>>> how I can get the row that represents this and set it's cells to > > >>>>> editable. > > >>>>> > > >>>>> The Editable text field is much like the one in the example and > with > > the > > >>>>> entire table wrapped in a form. This means I can deal with the > > >>>>> submission > > >>>>> of the changes easy enough. > > >>>>> > > >>>>> > > >>>>> Perhaps this is the wrong way to go about ithmmm, thoughts? > > >>>>> > > >>>>> > > >>>> > > >>>> > - > > >>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > >>>> For additional commands, e-mail: users-h...@wicket.apache.org > > >>>> > > >>>> > > >>> > > >> > > > -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Fwd: Nested CompoundModel

2010-10-25 Thread Jeremy Thomerson
ving it to list like > this... > > RepeatingView rp = new RepeatingView(); > for(int i =0; i< n; i++){ > WebMarkupContainer parent = new WebMarkupContainer(rp.newChildID()); > > } > > 2010/10/22 Jeremy Thomerson > > > On Fri, Oct 22, 2010 at 11:38 AM, Sven Me

Re: ArrayList, Label and Model

2010-10-23 Thread Jeremy Thomerson
; >>>> http://user/SendEmail.jtp?type=node&node=3008166&i=1> >>>> For additional commands, e-mail: [hidden email]< >>>> http://user/SendEmail.jtp?type=node&node=3008166&i=2> >>>> >>>> >>>> >>>> >>> - >>> To unsubscribe, e-mail: [hidden email]< >>> http://user/SendEmail.jtp?type=node&node=3008166&i=3> >>> For additional commands, e-mail: [hidden email]< >>> http://user/SendEmail.jtp?type=node&node=3008166&i=4> >>> >>> >>> >>> -- >>> View message @ >>> >>> http://apache-wicket.1842946.n4.nabble.com/ArrayList-Label-and-Model-tp3007849p3008166.html >>> To unsubscribe from ArrayList, Label and Model, click here< >>> http://apache-wicket.1842946.n4.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_code&node=3007849&code=cGdyb25raWV3aWN6QGdtYWlsLmNvbXwzMDA3ODQ5fC0xMTUwMjA4NDM= >>> >. >>> >>> >>> >>> >>> >> >> > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: ArrayList, Label and Model

2010-10-22 Thread Jeremy Thomerson
On Fri, Oct 22, 2010 at 4:17 PM, Sven Meier wrote: > according to the API PropertyModel(this, "house_cost.4") should work: > try new PropertyModel(this, "house_cost[4]") -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: AjaxLazyLoadPanel load asynchronously

2010-10-22 Thread Jeremy Thomerson
same pagemap, which is being locked on. You would have to get them in different pagemaps, like by using an iframe for each. I have to ask, though, if that many lazy-loading panels on a page is good from a UI perspective? And it certainly isn't good from a server load perspective. -- Jere

Re: Wicket Merchandise store back in action

2010-10-22 Thread Jeremy Thomerson
>>> > -Wicket for love > >>> > > >>> > Nino Martinez Wael > >>> > Java Specialist @ Jayway DK > >>> > http://www.jayway.dk > >>> > +45 2936 7684 > >>> > > >>> > > >>>

Re: Fwd: Nested CompoundModel

2010-10-22 Thread Jeremy Thomerson
; > HTH > > Sven Sven is spot-on, and this method he showed you above will absolutely save you some bugs down the road! Thanks Sven!! -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: AjaxButton documentation error?

2010-10-21 Thread Jeremy Thomerson
cket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: using link to open mail composer

2010-10-21 Thread Jeremy Thomerson
pache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Safari and AjaxEditableMultiLineLabel incompatibility?

2010-10-21 Thread Jeremy Thomerson
ere a known fix, if so? > > tia, > arturo > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: wicket-push upgrade to 1.4.12 ContinuationCometdServlet class not found

2010-10-21 Thread Jeremy Thomerson
w this message in context: > http://apache-wicket.1842946.n4.nabble.com/wicket-push-upgrade-to-1-4-12-ContinuationCometdServlet-class-not-found-tp3006617p3006617.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Check on LoadabledetachableModel

2010-10-21 Thread Jeremy Thomerson
By referencing the object within the LDM, you've made the compiler put a reference to it in your LDM class, which means it will now be serialized. Take the final off the user object and do: final int id = object.getID() so that only the id is serialized. Jeremy Thomerson

Re: Wicket Merchandise store back in action

2010-10-21 Thread Jeremy Thomerson
way DK > http://www.jayway.dk > +45 2936 7684 > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Avoid getObject on Model if component not rendered

2010-10-21 Thread Jeremy Thomerson
f I recall correctly this was done to remove the > > "callOnBeforeRenderIfInvisble()" method and switching visibility in > > onBeforeRender(). > > > > Bas > > > > - Original Message - From: "Jeremy Thomerson" > > > > To: > > Sent: Th

Re: Avoid getObject on Model if component not rendered

2010-10-21 Thread Jeremy Thomerson
gt; WEB.DE DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit > gratis Notebook-Flat! http://produkte.web.de/go/DSL_Doppel_Flatrate/2 > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional comma

Re: Avoid getObject on Model if component not rendered

2010-10-21 Thread Jeremy Thomerson
On Thu, Oct 21, 2010 at 2:07 PM, meduolis wrote: >usersChoice.setModelObject(usersChoice.getChoices().get(0)); > You're calling it yourself. The line above is the culprit. -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Session.attach

2010-10-20 Thread Jeremy Thomerson
> > Added: https://issues.apache.org/jira/browse/WICKET-3125 > And now completed (for 1.5-M3) -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: setEnabled based on Model

2010-10-20 Thread Jeremy Thomerson
s, e-mail: users-h...@wicket.apache.org > > So, just override isVisible and setVisible to take the IModel class LinkDataColumn extends Foo { private IModel visibility; isVisible() { // do null check return visibility.getModelObject(); } setVisible(IModel vis) { visibility = vis; } } Done

Re: Session.attach

2010-10-20 Thread Jeremy Thomerson
or these kinds of things. > > > Added: https://issues.apache.org/jira/browse/WICKET-3125 <https://issues.apache.org/jira/browse/WICKET-3125>James / Igor: any other places you can think of off the top of your head where this pattern would be useful? -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Session.attach

2010-10-20 Thread Jeremy Thomerson
unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > RequestCycle#onBeginRequest? -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Using JavaScript to check a field by id, when Wicket will change the id

2010-10-20 Thread Jeremy Thomerson
pId(true)... which the original poster obviously must be if he's seeing his ID change. -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Using JavaScript to check a field by id, when Wicket will change the id

2010-10-20 Thread Jeremy Thomerson
l or > nothing scenario. > Actually, Wicket really does change your markup ID by default. Try adding a field to the page like 'new Label("name", someModel)' and you will end up with or something like that, depending on other components on the page, if it's in

Re: Using JavaScript to check a field by id, when Wicket will change the id

2010-10-20 Thread Jeremy Thomerson
is? > > Call setMarkupId("foo") on it. Or, even better, is to include your JS as a behavior that uses the markup ID generated by Wicket. i.e: hiddenField.add(new AbstractBehavior() { onRenderHead(IHeaderResponse resp) { resp.addOnDomReadyJavaScript("some-script");

Re: setEnabled based on Model

2010-10-20 Thread Jeremy Thomerson
ject as shown (depending on what doc is - I'm assuming you won't want it serialized, but you may not care depending on where this is). -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Mount a page to root path in wicket 1.5

2010-10-20 Thread Jeremy Thomerson
ge() then she can always add another mapper which: > * will be asked first because added later mapper are asked before the > older ones with the same compat score > * may have a higher compat score > > WDYT? > I think that's a great idea, as long as it is easy (like you say it is) to override that mount with a single line. -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Mount a page to root path in wicket 1.5

2010-10-20 Thread Jeremy Thomerson
to maintain the / in the address bar. Also, a bookmarkable link to your home page class wouldn't actually link to /, but to the otherwise mounted url. -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: _extend48 - ring any bells?

2010-10-20 Thread Jeremy Thomerson
xtend for example? > Any hints on how I can track this down? > > Show us the java code for the two panels that you sent HTML for. -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Mount a page to root path in wicket 1.5

2010-10-19 Thread Jeremy Thomerson
ds, e-mail: users-h...@wicket.apache.org > > Yes - see the notes in HomePageMapper, and you can also see the wicket-examples RequestMapperApplication class. -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Long running task with download

2010-10-19 Thread Jeremy Thomerson
on the right track. Typically, one of the easiest ways to do this is: background thread -> doing long task AJAX timer behavior -> checking status of background job, updating UI to show status updates When the job is done, the AJAX timer behavior does a redirect to the download, opens a window to

Re: _extend48 - ring any bells?

2010-10-19 Thread Jeremy Thomerson
That is the id for the wicket extend tag in your markup Jeremy Thomerson http://wickettraining.com -- sent from my "smart" phone, so please excuse spelling, formatting, or compiler errors On Oct 19, 2010 12:46 PM, "Wayne W" wrote: Hi, I've got a problem in productio

Re: Can AjaxFormComponentUpdatingBehavior handle more than only one field in the form?

2010-10-18 Thread Jeremy Thomerson
----- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: My New Book: Now in Dead Tree Format

2010-10-18 Thread Jeremy Thomerson
Jonathan, there are contributors who put much more time than me into Wicket code and supporting it non-commercially. -- Jeremy Thomerson http://www.wickettraining.com

Re: My New Book: Now in Dead Tree Format

2010-10-18 Thread Jeremy Thomerson
o do this on Amazon. Even gifting a Kindle book is > not possible at the moment. -- Jeremy Thomerson http://www.wickettraining.com

Re: My New Book: Now in Dead Tree Format

2010-10-18 Thread Jeremy Thomerson
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > If you purchase the dead-tree version, is the Kindle version included (like Manning does their books where you get the PDF along with it)? I haven't quite made the switch to reading tech books on a phone or other device. -- Jeremy Thomerson http://www.wickettraining.com

Re: [wiQuery] Creating a script without a component

2010-10-18 Thread Jeremy Thomerson
;m using the no-arg constructor. > > Am I going about this the wrong way (and if so, what's the right way?!) or > is this a bug? > > Many thanks, > Peter > Have you tried emailing the wiquery users' list? I believe it's wiqu...@googlegroups.com -- Jeremy Thomerson http://www.wickettraining.com

Re: How to add image to table column and how to change image this on click?

2010-10-16 Thread Jeremy Thomerson
If you don't mind doing it in javascript, just add an onclick to the header that "clicks" the link. Jeremy Thomerson http://wickettraining.com -- sent from my "smart" phone, so please excuse spelling, formatting, or compiler errors On Oct 15, 2010 2:27 PM, "goutha

Re: Cannot create statless page

2010-10-15 Thread Jeremy Thomerson
HomePage extends WebPage { > public HomePage() { > add(new Label("label", new Model("Hello, World"))); > } > } > > > > HELLO > > > The session is always going to be created for every request (stateless or not). But, if the session wasn't bound during the request, it is temporary and thrown away at the end of the request. -- Jeremy Thomerson http://www.wickettraining.com

Re: Getting the html output of a wicket page

2010-10-15 Thread Jeremy Thomerson
running this outside of the container. If this is your goal, see the examples for running WicketTester - they show how to set up your application outside the container. -- Jeremy Thomerson http://www.wickettraining.com

Re: How to update a Panel when user selects a drop down chioce in Wicket?

2010-10-13 Thread Jeremy Thomerson
Also, if you haven't seen it, look at the Wicket Examples: http://wicketstuff.org/wicket14/ And specifically, this page: http://wicketstuff.org/wicket14/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.PagingPage On Wed, Oct 13, 2010 at 7:45 PM, Jeremy Thomerson

Re: How to update a Panel when user selects a drop down chioce in Wicket?

2010-10-13 Thread Jeremy Thomerson
o unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Jeremy Thomerson http://www.wickettraining.com

Re: How to update a Panel when user selects a drop down chioce in Wicket?

2010-10-13 Thread Jeremy Thomerson
tp2994412p2994557.html > Sent from the Users forum mailing list archive at Nabble.com. > > ----- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Jeremy Thomerson http://www.wickettraining.com

Re: How to update a Panel when user selects a drop down chioce in Wicket?

2010-10-13 Thread Jeremy Thomerson
or, the table will not retrieve updated values based on the changed dropdownchoice value. Instead of calling your database or service layer in the constructor (nearly always a bad idea), you should do that in a model, like: IModel> listModel = new LoadableDetachableModel>() { public List load() { MyService.getLotsOfFooBasedOn(thePropertyThatIsChangedByYourDropDown); } } Doing that will make your table automatically update when it's repainted after the drop down changes values. -- Jeremy Thomerson http://www.wickettraining.com

Re: mountBookmarkablePage and BookmarkablePageLink with PageParameters

2010-10-13 Thread Jeremy Thomerson
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Jeremy Thomerson http://www.wickettraining.com

Re: Form model changes when onSubmit method is called for the first time.

2010-10-13 Thread Jeremy Thomerson
in context: > http://apache-wicket.1842946.n4.nabble.com/Form-model-changes-when-onSubmit-method-is-called-for-the-first-time-tp2956133p2956133.html > Sent from the Users forum mailing list archive at Nabble.com. > > ------

Re: Problem using wicket-extensions

2010-10-13 Thread Jeremy Thomerson
org.apache.maven.plugins > > maven-eclipse-plugin > > > true > > > > FTS > > >1.4.3 >6.1.4 > > > > > Thanks again... > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Problem-using-wicket-extensions-tp2965023p2966215.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Jeremy Thomerson http://www.wickettraining.com

Re: Feedback message does not show in new WebPage

2010-10-13 Thread Jeremy Thomerson
o cases expected > Wicket behaviour? Am I missing something or doing something wrong? I would > appreciate any tips. > > Ian Marshall > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Feedback-message-does-not-show-in-new-WebPage-tp2993413p2993413.html > Sent from the Users forum mailing list archive at

Re: AjaxRequestTarget not refreshing Component

2010-10-13 Thread Jeremy Thomerson
What does the Wicket AJAX debug window say in that response? Jeremy Thomerson http://wickettraining.com -- sent from my "smart" phone, so please excuse spelling, formatting, or compiler errors On Oct 13, 2010 12:20 AM, "LutherBaker" wrote: I have created an outer list of

Re: MinimumValidator and Long problem

2010-10-12 Thread Jeremy Thomerson
ading to not enough, or too many } -- Jeremy Thomerson http://www.wickettraining.com

Re: MinimumValidator and Long problem

2010-10-12 Thread Jeremy Thomerson
easy way to convert nulls to 0 when you submit empty > TextFields? > Create an IConverter and override getConverter -- Jeremy Thomerson http://www.wickettraining.com

Re: submit or refresh form via ajax from javascript ?

2010-10-12 Thread Jeremy Thomerson
trigger-server-side-method-when-user-clicks-on-a-Table-Row-tp2991576p2991835.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Jeremy Thomerson http://www.wickettraining.com

Re: How to trigger server-side method when user clicks on a Table Row

2010-10-12 Thread Jeremy Thomerson
rg > > Nowhere in that code do you attach any ajax behavior that I see. All you need is this (in your populate item method): item.add(new AjaxEventBehavior("onclick") { ... onEvent(AjaxRequestTarget target) { /* do something here */ } }); -- Jeremy Thomerson http://www.wickettraining.com

Re: MinimumValidator and Long problem

2010-10-12 Thread Jeremy Thomerson
lem? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/MinimumValidator-and-Long-problem-tp2992468p2992468.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Jeremy Thomerson http://www.wickettraining.com

Re: repaint a fragment

2010-10-12 Thread Jeremy Thomerson
m mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Jeremy Thomerson http://www.wickettraining.com

Re: RadioChoice - what's wrong?

2010-10-11 Thread Jeremy Thomerson
s that you define variable rc two times: > > the first time as form private field and the second time just below > > between braces. When onSubmit method calls rc.getModelObject() it uses > > private field rc which was not initialized and so triggers a > > NullPointerException

Re: repaint a fragment

2010-10-11 Thread Jeremy Thomerson
You can call item.setOutputMarkupId(true) and add that item to the AjaxRequestTarget to repaint it (and the frag inside it). Jeremy Thomerson http://www.wickettraining.com

Re: How to set selected RadioChoice

2010-10-09 Thread Jeremy Thomerson
You shouldn't. The radio choice should have a model that allows it to pull the selected value (and set the updated value). Jeremy Thomerson http://wickettraining.com -- sent from my "smart" phone, so please excuse spelling, formatting, or compiler errors On Oct 9, 2010 1:06

Re: RadioChoice - what's wrong?

2010-10-07 Thread Jeremy Thomerson
On Thu, Oct 7, 2010 at 5:04 PM, Zeldor wrote: > Caused by: java.lang.NullPointerException >at com.spiritia.auth.Registration$1.onSubmit(Registration.java:186) > The error is obviously at Registration.java:186 - please show us that code if you can't figure it out. -- Je

Re: multiple html pages to 1 class

2010-10-07 Thread Jeremy Thomerson
46.n4.nabble.com/file/n2967852/multitemplates.tar.gz Best regards, -- Jeremy Thomerson http://www.wickettraining.com On Thu, Oct 7, 2010 at 11:26 PM, jer...@wickettraining.com < jer...@wickettraining.com> wrote: > > Here is a quickstart that demonstrates two ways of accomplishing this. >

Re: Problem using wicket-extensions

2010-10-06 Thread Jeremy Thomerson
che.org > For additional commands, e-mail: users-h...@wicket.apache.org > > Are you using Maven? It automatically fixes this stuff for you. Are you using matching versions of Wicket / Wicket Extensions? You could always create a (Maven) quickstart for your Wicket version and then grab the jars from it. -- Jeremy Thomerson http://www.wickettraining.com

Re: urls after a form submission

2010-10-06 Thread Jeremy Thomerson
s URL is not changed by either HybridUCS or QueryStringUCS. 3. IRedirectListener (like ?wicket:interface=:13:1::: by default) - this is where you are being redirected to the second version (0, then 1) of the 14th page in session. Your QueryStringUCS is not encoding this URL, but the HybridUCS is to give it its functionality (see the javadocs for this class as well). Hope this helps. -- Jeremy Thomerson http://www.wickettraining.com

Re: urls after a form submission

2010-10-06 Thread Jeremy Thomerson
- with the state of the form - when you submit the form. If you want a bookmarkable URL that still has state, use HybridUrlCodingStrategy. -- Jeremy Thomerson http://www.wickettraining.com

Re: wickert:id changes to attribute

2010-10-06 Thread Jeremy Thomerson
That should be "quotation" marks Jeremy Thomerson http://wickettraining.com -- sent from my "smart" phone, so please excuse spelling, formatting, or compiler errors On Oct 6, 2010 5:24 PM, "Jeremy Thomerson" wrote: You probably have two shoptalk marks after your

Re: wickert:id changes to attribute

2010-10-06 Thread Jeremy Thomerson
You probably have two shoptalk marks after your equals sign. Jeremy Thomerson http://wickettraining.com -- sent from my "smart" phone, so please excuse spelling, formatting, or compiler errors On Oct 4, 2010 7:49 PM, "Jered Myers" wrote: My markup looks like this: ...

Re: ApacheCon 2010

2010-10-06 Thread Jeremy Thomerson
It was canceled due to a scheduling conflict - I have to be on-site at one of my large clients that week. Sorry :) Jeremy Thomerson http://wickettraining.com -- sent from my "smart" phone, so please excuse spelling, formatting, or compiler errors On Oct 6, 2010 11:53 AM, "Nelson

Re: Form with dynamic fields model not updating

2010-10-04 Thread Jeremy Thomerson
You could use visitChildren Jeremy Thomerson http://wickettraining.com -- sent from my "smart" phone, so please excuse spelling, formatting, or compiler errors On Oct 4, 2010 7:02 AM, "armandoxxx" wrote: Hi ppl Got a little problem with my form with dynamic fields. My fo

Re: Rendering Html on Ajax Request

2010-10-03 Thread Jeremy Thomerson
tting > bold effect or any Html formatting. > > > > > > Hope someone know how to fix this. > > > > Thanks > > > > > > > > > > > > -- > Mauro Ciancio > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Jeremy Thomerson http://www.wickettraining.com

Re: New App - Best Practices

2010-10-03 Thread Jeremy Thomerson
#x27;ve worked with Brian on other projects, and he is very good with architecture. His advice here is sound. I would be curious just to be sure - which reference in particular do you mean? -- Jeremy Thomerson http://www.wickettraining.com

Re: New App - Best Practices

2010-10-03 Thread Jeremy Thomerson
> > So, ideas on what to use? > > UI = Wicket. >+ 1.4? >+ 1.5? > middle layer? > Persistence? > Wicket / Spring / Hibernate is a very common setup, so you will have an easy time finding examples, help, etc. -- Jeremy Thomerson http://www.wickettraining.com

Re: StatelessLink

2010-10-03 Thread Jeremy Thomerson
Show your link code. You're obviously holding a reference to the aspect, which can't be serialized. Jeremy Thomerson http://wickettraining.com -- sent from my "smart" phone, so please excuse spelling, formatting, or compiler errors On Oct 3, 2010 2:16 PM, "Altuğ Bilgin A

Re: IDataProvider advice needed – caching?

2010-09-30 Thread Jeremy Thomerson
t worry about these details. At the service layer, you can use something like memcached and set the timeout appropriately for your session length / usage combo. -- Jeremy Thomerson http://www.wickettraining.com

Re: Lazy load exception with LoadableDetachableModel

2010-09-29 Thread Jeremy Thomerson
e pt : x) { //lazy load here > > . > > > What am I missing? > Well, it's impossible for us to tell you. You are obviously making this call in LDM#load() after your transaction manager has closed the Hibernate session. What are you using to do transaction / session management, etc? -- Jeremy Thomerson http://www.wickettraining.com

Re: Bug in Wicket Push TimerChannelService when used with background threads

2010-09-29 Thread Jeremy Thomerson
WicketRuntimeException will occur in such a case. The attached patch fixes > this issue. > > This is a WicketStuff project. Request commit permissions for sf.net and commit the patch. -- Jeremy Thomerson http://www.wickettraining.com

Re: Which component to use for Data Grid's with selectable items?

2010-09-29 Thread Jeremy Thomerson
They're the best I've seen for this. I believe they're ASL2, but you can check the source to see. Jeremy Thomerson http://wickettraining.com -- sent from my "smart" phone, so please excuse spelling, formatting, or compiler errors On Sep 29, 2010 2:37 PM, "Ch

Re: how to get resource path of files in server to be used by wicket

2010-09-28 Thread Jeremy Thomerson
path, like "/file.mp3", but > like an absolute local path, my javascript still couldn't find it... > > i've also tried the one done by drobson, but still doesn't work... > Try using a PackageResourceReference and urlFor(...) -- Jeremy Thomerson http://www.wickettraining.com

Re: Bookmarking, getting the url hash value

2010-09-28 Thread Jeremy Thomerson
the hash as a query string parameter 2 - use JS to call back to Wicket and send the hash manually -- Jeremy Thomerson http://www.wickettraining.com

Re: Estimated number of developers in the Wicket community

2010-09-28 Thread Jeremy Thomerson
block, you can get help with. You've already demonstrated one and two. Number three can be demonstrated by asking them to subscribe to the dev and users lists here for a week. Then dare them to find an open source web framework that has better community support. I haven't seen one. -- Jeremy Thomerson http://www.wickettraining.com

Re: multiple html pages to 1 class

2010-09-28 Thread Jeremy Thomerson
en to other suggestions. > > - Alex Rass > > > -Original Message- > From: Jeremy Thomerson [mailto:jer...@wickettraining.com] > Sent: Tuesday, September 28, 2010 1:00 PM > To: users@wicket.apache.org > Subject: Re: multiple html pages to 1 class > > If you'

Re: multiple html pages to 1 class

2010-09-28 Thread Jeremy Thomerson
nsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > > ----- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Jeremy Thomerson http://www.wickettraining.com

Re: how to get resource path of files in server to be used by wicket

2010-09-28 Thread Jeremy Thomerson
-used-by-wicket-tp2717381p2717381.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail:

Re: setEnabled(true) doesn't enable a subcomponent

2010-09-27 Thread Jeremy Thomerson
If you want everything in the form disabled except the link, use a visitor on the form to disable everything but the link. All parents of the link must be enabled. Jeremy Thomerson http://wickettraining.com -- sent from my "smart" phone, so please excuse spelling, formatting, or compi

Re: RESTful URLS with AJAX tabbed panel

2010-09-26 Thread Jeremy Thomerson
back to the server to load the correct tab. You can add a custom Behavior that integrates a wicket callback with your custom JS for this. Best regards, -- Jeremy Thomerson http://www.wickettraining.com

Re: Is it a good practice to use intern() in all ids ?

2010-09-26 Thread Jeremy Thomerson
s James mentioned on this thread, string literals in your code are automatically interned, so there is no need to do what he is asking, because it is done by the compiler. http://download.oracle.com/javase/1.4.2/docs/api/java/lang/String.html#intern() -- Jeremy Thomerson http://www.wickettraining.com

Re: FeedbackPanel does not clean up after displaying error messages using Ajax

2010-09-22 Thread Jeremy Thomerson
t;} > > This was the reason the feedback panel never cleaned up. > Don't worry, we've all had those head <--> palm moments :) -- Jeremy Thomerson http://www.wickettraining.com

Re: Removing jsessionid from URl

2010-09-21 Thread Jeremy Thomerson
geLinks. > > am using wicket 1.4.8 on Apache Tomcat/6.0.29 > Search the list. This has been covered a bajillion times. This is a feature of the servlet container, not Wicket. -- Jeremy Thomerson http://www.wickettraining.com

Re: Message resources in database?

2010-09-18 Thread Jeremy Thomerson
To the best of my knowledge there are none. You'll have to write one yourself. Typically these are so tied to the application schema/domain that it's not worth writing one others could use. Jeremy Thomerson http://wickettraining.com -- sent from my "smart" phone, so pl

<    1   2   3   4   5   6   7   8   9   10   >