Re: creating RSS feeds with Wicket

2007-08-23 Thread thijs
Hi Ryan, I've added this as a comment to your blog entry as wel, but is was marked as spam... "Wow, cool is the right word for this. Does it also incorporate responses to http headers? For example: I had to modify the RssPage example to work with "If-Modified-Since" headers because some feed

Re: conditional markup change

2007-08-23 Thread Igor Vaynberg
there are a few ways to do this one is to add both and override isvisible() on them to conditionally hide one or the other another way would be for that link to replace one with the other -igor On 8/23/07, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote: > > I need to change presentation dynami

conditional markup change

2007-08-23 Thread Konstantin Ignatyev
I need to change presentation dynamically depending on object status and I can do it with conditionally using different panels like this: if( getWSSession().getVisit().isSaved( v.getId() ) ){ add( new VehicleUncompareControl( "compareControl", new Model( v ), new Component[]{ ajaxTarget

Re: Can Panel replace itself ?

2007-08-23 Thread Igor Vaynberg
i dont get it, where do you expect it to go? it looks like you are replacing an item inside panel7, not inside the panel that is inside the table? maybe you should build a quickstart so we have something to play with. -igor On 8/23/07, Artur W. <[EMAIL PROTECTED]> wrote: > > > > igor.vaynberg w

Re: DownloadLink hanging

2007-08-23 Thread Thomas Singer
Done: https://issues.apache.org/jira/browse/WICKET-878 Tom Igor Vaynberg wrote: yep -igor On 8/23/07, Thomas Singer <[EMAIL PROTECTED]> wrote: Should I report a bug in JIRA? -- Best regards, Thomas Singer _ SyntEvo GmbH Brunnfeld 11 83404 Ainring Germany www.syntevo.com Igor

Re: Can Panel replace itself ?

2007-08-23 Thread Artur W.
igor.vaynberg wrote: > > does it do that in all browsers? > > also call view.setreuseitems(true); > I've checked it with ff2 and ie7. Also with Wicket1.3beta2 and beta3. I've set view.setreuseitems(true); The problem is that the wicket generate span tags for panels after body tag and before

Re: Question regarding old post (ResultSet and DataTable)

2007-08-23 Thread dtoffe
Hi Ayodeji ! I fully agree with you specially if you have few tables and adhere totally to ORM. But consider what happens when yo have to fill a DataTable with the result of three+ tables joined, with subselects, group by and dinamic where clauses... Would you consider correct to define o

Re: creating RSS feeds with Wicket

2007-08-23 Thread Ryan Sonnek
I'm not sure how the wicketstuff licenses work with the apache core, but I've put up documentation on the wicketstuff WIKI and added a link to that from the main wicket wiki for now. On 8/23/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > why not replace the wiki project with a quickstart tutoria

Re: creating RSS feeds with Wicket

2007-08-23 Thread Igor Vaynberg
why not replace the wiki project with a quickstart tutorial for this new project and a quick description. no point keeping stale info around. -igor On 8/23/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote: > > http://www.jroller.com/wireframe/entry/wicket_and_rss_feeds > > Just wanted to post an announ

creating RSS feeds with Wicket

2007-08-23 Thread Ryan Sonnek
http://www.jroller.com/wireframe/entry/wicket_and_rss_feeds Just wanted to post an announcement that there's a new wicket stuff project (wicketstuff-rome) to allow for creation of RSS (or Atom) feeds from within Wicket. I've been using it for the past several weeks and it's allowed me to integrat

Re: [newb] sorting, paging table

2007-08-23 Thread somethingRandom
igor.vaynberg wrote: > > On 8/23/07, somethingRandom <[EMAIL PROTECTED]> wrote: >> What's the easiest way to take an arraylist of objects and display them >> in >> a >> sortable, pageable table? > > > class mydataprovider extends sortabledataprovider { > abstract List getList(String sortcol,

Re: Constructor of Component not DRY?

2007-08-23 Thread Eelco Hillenius
> private component init(String, IModel) which can assume null arguments > > do the null checks in the constructor and forward to that method That's an option in general, though the disadvantage of that is that you can't use final fields. Anyway, for this case, if anyone cares, we can fix it in e

Re: Constructor of Component not DRY?

2007-08-23 Thread Igor Vaynberg
just add a private component init(String, IModel) which can assume null arguments do the null checks in the constructor and forward to that method -igor On 8/23/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > > hmmm... that would go against my taste of chaining from the constructor > > with

Re: RadioGroup and posted Values

2007-08-23 Thread Igor Vaynberg
hmm, dont know why you would do this inside a converter of another component but you can get to it like this: rg.convert(); rg.getconvertervalue(); -igor On 8/23/07, Jan Kriesten <[EMAIL PROTECTED]> wrote: > > > hi, > > I'm trying to get the posted value of a RadioGroup (within a converter

Re: Can Panel replace itself ?

2007-08-23 Thread Igor Vaynberg
does it do that in all browsers? also call view.setreuseitems(true); -igor On 8/23/07, Artur W. <[EMAIL PROTECTED]> wrote: > > > > igor.vaynberg wrote: > > > > c.replacewith(a) is the same as c.getparent().replace(a) > > > > I want to extend this example and replace the panel but inside the >

Re: [newb] sorting, paging table

2007-08-23 Thread Igor Vaynberg
On 8/23/07, somethingRandom <[EMAIL PROTECTED]> wrote: > > > I am trying out wicket, coming from the action-based world, so please bear > with me. > > I made a simple report (we have a backend using spring and hibernate in > place). It was very easy to take the ArrayList that hibernate returns to >

RadioGroup and posted Values

2007-08-23 Thread Jan Kriesten
hi, I'm trying to get the posted value of a RadioGroup (within a converter of a textfield), but i only get the posted string values, not the model values of the radio elements: RadioGroup rg = new RadioGroup( "takedown" ); add( rg ); rg.add( new Radio( "takedownFalse", new Model( false ) ) ); r

Re: PageStore listener...

2007-08-23 Thread Igor Vaynberg
well, that is pretty interesting. set a break point after the injection has finished and see what really is assigned to that field. i didnt write the guice injector, but from what i can see it always injects wicket's lazy lookup proxy. you should see something like: [EMAIL PROTECTED] one peculiar

Re: Constructor of Component not DRY?

2007-08-23 Thread Eelco Hillenius
> hmmm... that would go against my taste of chaining from the constructor > with the least parameters to the constructor with the most parameters. > I'd just tend to chose the constructor with the most complex signature > as the default constructor, doing the 'real' construction part of the > objec

Re: Constructor of Component not DRY?

2007-08-23 Thread Martin Funk
Johan Compagner schrieb: i think that is grown this way, previously the model constructor did some more i believe Also i don't like this(id,null) because thats just horrible, If you call the constructor with the model then the model shouldn't be null. a nicer way could be public Component(

Re: Component Factory and code against interface

2007-08-23 Thread Johan Compagner
this is how we also do it. Have a changes recorder per component, that records changes and when the component renders it sets the dirty flag to false On 8/23/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > On 8/23/07, Sam Hough <[EMAIL PROTECTED]> wrote: > > > > > > Two motivations for dirty compon

Re: Can Panel replace itself ?

2007-08-23 Thread Artur W.
igor.vaynberg wrote: > > c.replacewith(a) is the same as c.getparent().replace(a) > I want to extend this example and replace the panel but inside the ListView. But I've found another problem. I did like you wrote but the panel isn't replaced. The new panel is being added at the top of the ta

[newb] sorting, paging table

2007-08-23 Thread somethingRandom
I am trying out wicket, coming from the action-based world, so please bear with me. I made a simple report (we have a backend using spring and hibernate in place). It was very easy to take the ArrayList that hibernate returns to me and display that in a DataView using the ListDataProvider. So I

Re: PageStore listener...

2007-08-23 Thread Jan Kriesten
hi igor, > are you using wicket-guice? or just the guice' raw injection? wicket-guice: addComponentInstantiationListener( new GuiceComponentInjector( this, injector ) ); regards, --- jan. - To unsubscribe, e-mail: [EMAIL PR

Re: PageStore listener...

2007-08-23 Thread Igor Vaynberg
are you using wicket-guice? or just the guice' raw injection? -igor On 8/23/07, Jan Kriesten <[EMAIL PROTECTED]> wrote: > > > hi igor, > > > public mypanel extends panel { > > @SpringBean private Service service; > > actually, if i use guice-injection > > @Inject private ContentManager cm; > > w

Re: Question regarding old post (ResultSet and DataTable)

2007-08-23 Thread Ayodeji Aladejebi
i think its proper to have a Dataprovider for each table. why i enjoy dataprovider in wicket is that it gives me this feeling that SELECT * FROM TABLE will not return 1 million records and crash my application, its gives you a simple way to fetch the data you want to display per time and you can cr

Re: PageStore listener...

2007-08-23 Thread Jan Kriesten
hi igor, > public mypanel extends panel { > @SpringBean private Service service; actually, if i use guice-injection @Inject private ContentManager cm; where ContentManager isn't serializable, i get tons of exceptions regarding 'not serializable. so, to me it seems that the proxy-stuff not alw

Re: Component Factory and code against interface

2007-08-23 Thread Igor Vaynberg
On 8/23/07, Sam Hough <[EMAIL PROTECTED]> wrote: > > > Two motivations for dirty components being sent automatically are: > 1) What gets updated may be through quite convoluted logic. e.g. user > changes ownership of a record so delete button gets disabled. I don't > really > want to code that the

Re: Component Factory and code against interface

2007-08-23 Thread Sam Hough
Two motivations for dirty components being sent automatically are: 1) What gets updated may be through quite convoluted logic. e.g. user changes ownership of a record so delete button gets disabled. I don't really want to code that the delete button needs resending... 2) I'm probably missing some

Re: Page and compoenent level feedback are mixing together

2007-08-23 Thread Scott Swank
Use case: We implemented form-component-level feedback panels that we add to the components via borders -- though behaviors would be nicer and we may move to that. Then we ajaxily (sic) hide/display them beside or below the relevant components. Anything else that is form-level we display at the

Re: Can Panel replace itself ?

2007-08-23 Thread Igor Vaynberg
c.replacewith(a) is the same as c.getparent().replace(a) -igor On 8/23/07, Artur W. <[EMAIL PROTECTED]> wrote: > > > > > Eelco Hillenius wrote: > > > > do: > > > >TestPanel newOne = new TestPanel(TestPanel.this.getId(), "another > > param"); > >TestPanel.this.replaceWith(newOne);<---

Re: Can Panel replace itself ?

2007-08-23 Thread Artur W.
Eelco Hillenius wrote: > > do: > >TestPanel newOne = new TestPanel(TestPanel.this.getId(), "another > param"); >TestPanel.this.replaceWith(newOne);< >target.addComponent(newOne); > > I didn't know about replaceWith method. It works great! Thanks a lot!!! Artur

Re: DownloadLink hanging

2007-08-23 Thread Igor Vaynberg
yep -igor On 8/23/07, Thomas Singer <[EMAIL PROTECTED]> wrote: > > Should I report a bug in JIRA? > > -- > Best regards, > Thomas Singer > _ > SyntEvo GmbH > Brunnfeld 11 > 83404 Ainring > Germany > www.syntevo.com > > > Igor Vaynberg wrote: > > hm, this looks like an old bug. johan

Re: Component Factory and code against interface

2007-08-23 Thread Igor Vaynberg
On 8/23/07, Sam Hough <[EMAIL PROTECTED]> wrote: > > > Say my onSubmit handler changes three components, as I understand it, I > have > to hand code feeding those three components to the AjaxRequestTarget. This > seems cumbersome and slightly error prone. I think for our application, if > the compo

Re: Question regarding old post (ResultSet and DataTable)

2007-08-23 Thread dtoffe
Done, I've offered to write some example of use for the wiki or example page. Thanks !! Daniel igor.vaynberg wrote: > > perhaps you can email frank and ask him, it is unfortunate he did not post > his code on a wiki page somewhere. > > http://www.nabble.com/displaying-java.sql.Timestamp-

Re: Can Panel replace itself ?

2007-08-23 Thread Eelco Hillenius
On 8/23/07, Artur W. <[EMAIL PROTECTED]> wrote: > > hi, > > I have a panel with AjaxLink. I want to replace this panel with another one > when user clicks this link. > > TestPage.java: > public class TestPage extends Page { > > public TestPage() { > this(null); > } >

Re: wicket vs tapestry ? (Back Button Detection-Support)

2007-08-23 Thread Eelco Hillenius
On 8/23/07, William Hoover <[EMAIL PROTECTED]> wrote: > Possible starting point for a client solution for back button > detection/support: > > http://www.onjava.com/pub/a/onjava/2005/10/26/ajax-handling-bookmarks-and-back-button.html?page=1 Thanks for suggesting. We have discussed that and other

Can Panel replace itself ?

2007-08-23 Thread Artur W.
hi, I have a panel with AjaxLink. I want to replace this panel with another one when user clicks this link. TestPage.java: public class TestPage extends Page { public TestPage() { this(null); } public TestPage(PageParameters parameters) {

Re: DownloadLink hanging

2007-08-23 Thread Thomas Singer
Should I report a bug in JIRA? -- Best regards, Thomas Singer _ SyntEvo GmbH Brunnfeld 11 83404 Ainring Germany www.syntevo.com Igor Vaynberg wrote: hm, this looks like an old bug. johan didnt we fix this a while ago? -igor On 8/23/07, Thomas Singer <[EMAIL PROTECTED]> wrote: i

Re: Component Factory and code against interface

2007-08-23 Thread Sam Hough
Say my onSubmit handler changes three components, as I understand it, I have to hand code feeding those three components to the AjaxRequestTarget. This seems cumbersome and slightly error prone. I think for our application, if the components kept track of changes, I could automate which components

Re: Layout Panel

2007-08-23 Thread Igor Vaynberg
only pages/panels/borders have associated markup files by default. -igor On 8/23/07, andrea pantaleoni <[EMAIL PROTECTED]> wrote: > > > the reason is that I need to consider the panel as a single component > which > is used inside a listview > Anyway you could be right I saw that in wicket you c

Re: Bypass form validation

2007-08-23 Thread Andrew Klochkov
Andrew Klochkov wrote: Try using Button.setDefaultProcessing(false) Sorry, I meant setDefaultFormProcessing -- Andrew Klochkov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Bypass form validation

2007-08-23 Thread Andrew Klochkov
Juan Gabriel Arias wrote: Hi, i have a form, that is submited by different AjaxSubmitLinks. I want that only one (completely identified) of those links triggers a validation. I though two main solutions: - Add validation only to specific components, not to the complete form. (i think is the cle

Re: No get method defined for expression recorder when using Palette and CompoundPropertyModel

2007-08-23 Thread Igor Vaynberg
i dont know if it is by design or not. it makes sense to me that you pass in a model with at least an empty collection, otherwise palette has to create an instance of some collection which isnt as clean. -igor On 8/23/07, Federico Fanton <[EMAIL PROTECTED]> wrote: > > On Fri, 6 Jul 2007 08:48:56

Re: PageStore listener...

2007-08-23 Thread Igor Vaynberg
On 8/23/07, Jan Kriesten <[EMAIL PROTECTED]> wrote: > > > hi matej, hi johan, > > > Why can't you just implement read/writeObject on your page/component? > > that would be an effort... here a listview, there a link and over there > another > image... > > that way i loose all the benefits of using i

Re: Component Factory and code against interface

2007-08-23 Thread Igor Vaynberg
not really sure what you mean when you say marking components as dirty... have you seen ajaxfallback* components? those will use ajax when its there, and fallback on regular requests when its not. so you dont even need a factory necessarily. -igor On 8/23/07, Sam Hough <[EMAIL PROTECTED]> wrote

Re: POJO Adapter in Wicket

2007-08-23 Thread Igor Vaynberg
i would use the pojos directly and put the presentation stuff into the model -igor On 8/23/07, Vincenzo Vitale <[EMAIL PROTECTED]> wrote: > > Hi All, > > I'm using Wicket (1.3.0 beta2), Hibernate and Spring. > > In my Wicket project for each POJO of my business model I created an > Adapter maint

Bypass form validation

2007-08-23 Thread Juan Gabriel Arias
Hi, i have a form, that is submited by different AjaxSubmitLinks. I want that only one (completely identified) of those links triggers a validation. I though two main solutions: - Add validation only to specific components, not to the complete form. (i think is the cleanest, but dunno if it si po

Re: Question regarding old post (ResultSet and DataTable)

2007-08-23 Thread dtoffe
Hi !!! Thanks for your reply, this solution is simple, easy to understand and is not hard to code at all. My only objection would be the MyBean class, if I understood it right, the DataProvider is tied to the bean in a way that makes it not reusable: String query = "SELECT name, age FROM

Re: Constructor of Component not DRY?

2007-08-23 Thread Johan Compagner
i think that is grown this way, previously the model constructor did some more i believe Also i don't like this(id,null) because thats just horrible, If you call the constructor with the model then the model shouldn't be null. a nicer way could be public Component(final String id, IModel mod

Constructor of Component not DRY?

2007-08-23 Thread Martin Funk
Hi, doing a little code reading and trying to understand what I read, I came across org.apache.wicket.Component 's constructors. To my eyes the two constructors look very much alike and I wonder why they were not chained like this: public Component(final String id) {

Re: Layout Panel

2007-08-23 Thread Sam Hough
Should really use DIVs else the HTML coders will go on and on about Java geeks using tables for layout ;) -- View this message in context: http://www.nabble.com/Layout-Panel-tf4317423.html#a12294891 Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: Layout Panel

2007-08-23 Thread Paolo Di Tommaso
I'm still thinking that's a pure html problem, Try with a table like this: wicketcomponentup wicketcomponentdown Paolo On 8/23/07, andrea pantaleoni <[EMAIL PROTECTED]> wrote: > > > the reason is that I need to consider the panel as a single component > which > is used inside a listview

Re: Layout Panel

2007-08-23 Thread andrea pantaleoni
the reason is that I need to consider the panel as a single component which is used inside a listview Anyway you could be right I saw that in wicket you can create a html markup for each single component naming the file in this way: pagename$componentname.html So maybe I can add the drodownchoi

Re: No get method defined for expression recorder when using Palette and CompoundPropertyModel

2007-08-23 Thread Federico Fanton
On Fri, 6 Jul 2007 08:48:56 -0700 "Igor Vaynberg" <[EMAIL PROTECTED]> wrote: > > Thanks for the tip but I absolutly need a compoundPropertyModel. > > https://issues.apache.org/jira/browse/WICKET-723 I had the same issue, thanks! Now I'm using beta3.. Another question though: I see that Recorder.

Re: Layout Panel

2007-08-23 Thread Ernesto Reinaldo Barreiro
What about http://www.w3.org/1999/xhtml"; xmlns:wicket="http://wicket.sourceforge.net/";> MyDropDown: MyTextField: On wicket you have the flexibility to desi

Re: Layout Panel

2007-08-23 Thread Paolo Di Tommaso
Umh .. I think the best things are simple .. Why don't just handle the components position using html or css in your panel? Bye, Paolo On 8/23/07, andrea pantaleoni <[EMAIL PROTECTED]> wrote: > > > Hi, > I have a little problem with Panel > In a table I added a Panel > Now in this Panel I wan

Layout Panel

2007-08-23 Thread andrea pantaleoni
Hi, I have a little problem with Panel In a table I added a Panel Now in this Panel I want to add two different components, let's say, a dropdownchoice up and a textfield down. If I remember well, in swing it could be possible to add a layout to a panel and then for example add a component in no

Re: Changes made for http://www.wicketstuff.org/bamboo/browse/issue/WICKET-702

2007-08-23 Thread Jean-Baptiste Quenot
I just checked a fix in, can you see if it works better for you? See http://svn.apache.org/viewvc?view=rev&revision=568960 -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - To unsubscribe, e-mail:

Re: PageStore listener...

2007-08-23 Thread Matej Knopp
There is wicket-ioc project that does the injection, but if you feel like reinventing the wheel, be my guest. -Matej On 8/23/07, Jan Kriesten <[EMAIL PROTECTED]> wrote: > > hi matej, hi johan, > > > Why can't you just implement read/writeObject on your page/component? > > that would be an effort.

Re: PageStore listener...

2007-08-23 Thread Jan Kriesten
hi matej, hi johan, > Why can't you just implement read/writeObject on your page/component? that would be an effort... here a listview, there a link and over there another image... that way i loose all the benefits of using injection - i build new logic in the components which i just wanted to

Re: Changes made for http://www.wicketstuff.org/bamboo/browse/issue/WICKET-702

2007-08-23 Thread Maurice Marrink
After eclipse finished building my workspace and i stepped through your junit test i realized the exact same thing is happening in your code. You just chose to ignore it for the time being, hence the fixme. However people like me who continue to work with the returned page will have to resort to ha

RE: wicket vs tapestry ? (Back Button Detection-Support)

2007-08-23 Thread William Hoover
Possible starting point for a client solution for back button detection/support: http://www.onjava.com/pub/a/onjava/2005/10/26/ajax-handling-bookmarks-and-back-button.html?page=1 -Original Message- From: Matej Knopp [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 22, 2007 6:30 PM To: us

Re: PageStore listener...

2007-08-23 Thread Johan Compagner
Or make the fields itself not transient, but a proxy that has a transient field and the proxy can deserialize and inject itself again (see wicket-ioc project) johan On 8/23/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > Why can't you just implement read/writeObject on your page/component? > > -M

Re: {wicket 1.3 beta 2} AjaxFormComponentUpdatingBehavior broken?

2007-08-23 Thread Nino Saturnino Martinez Vazquez Wael
I've now created a quickstart project. This does however not show this behavior. Im also using spring injection, not doing so in the quickstart. I'll dig deeper into this. regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Ok, i've removed all other stuff from the page, error are still t

Re: PageStore listener...

2007-08-23 Thread Matej Knopp
Why can't you just implement read/writeObject on your page/component? -Matej On 8/23/07, Jan Kriesten <[EMAIL PROTECTED]> wrote: > > Hi, > > is there a way to add a listener to PageStore events (storePage/getPage)? > > I'm still looking for a clean way to re-inject Pages/Components when they are

PageStore listener...

2007-08-23 Thread Jan Kriesten
Hi, is there a way to add a listener to PageStore events (storePage/getPage)? I'm still looking for a clean way to re-inject Pages/Components when they are deserialized. This way I could just set some fields transient and have them injected again if necessary. I gave IComponentOnBeforeRenderLis

Re: {wicket 1.3 beta 2} AjaxFormComponentUpdatingBehavior broken?

2007-08-23 Thread Nino Saturnino Martinez Vazquez Wael
Ok, i've removed all other stuff from the page, error are still there, wierd thing is that the dropdowns are working on the other pages. I guess next step are to create a quickstart and see if it works there.. Should I try with beta 3 or? regards Nino Nino Saturnino Martinez Vazquez Wael wrot

Re: {wicket 1.3 beta 2} AjaxFormComponentUpdatingBehavior broken?

2007-08-23 Thread Nino Saturnino Martinez Vazquez Wael
Thats wierd. I've now changed it to not use ajax and are using wantonselectionchangednotifications.. This yields the same result, not working. This is really wierd cant belive that it should not work, some of the processing must be broken by some of the other components I add, are there any

Re: Component Factory and code against interface

2007-08-23 Thread Sam Hough
Thanks Igor, Because we have to support Ajax and non-Ajax version I was wondering about hiding details of making components Ajax friendly in the factory. so setOutputMarkupId(true) etc and hiding Ajax specific handlers where possible. Have you seen anybody automatically marking components as dirt

Re: {wicket 1.3 beta 2} AjaxFormComponentUpdatingBehavior broken?

2007-08-23 Thread Oleg Taranenko
Hello Nino, It seems to be the same issue as i've encountered a week ago. see thread "Order-Items master detail page" started at 16 august Possible Solution in you case: declare private Phone selectedItem; in function protected void onUpdate(AjaxRequestTarget target) { ... selectedItem = (P

Re: {wicket 1.3 beta 2} AjaxFormComponentUpdatingBehavior broken?

2007-08-23 Thread Nino Saturnino Martinez Vazquez Wael
Hmm, im not using the dataview or iDataprovider, although I have a listview in one of the singlephonecomparepanels. However it seems as theres something about these two issues that match. But the wierd thing are that it never ever picks up the change in the dropdownchoice. I'll try going back

Re: {wicket 1.3 beta 2} AjaxFormComponentUpdatingBehavior broken?

2007-08-23 Thread Oleg Taranenko
Hello Nino, It seems to be the same issue as i've encountered a week ago. see thread "Order-Items master detail page" started at 16 august Possible Solution in you case: declare anywhere posible in page private Phone selectedItem; in function protected void onUpdate(AjaxRequestTarget target)

Re: Wicket Acegi Integration.

2007-08-23 Thread Maurice Marrink
Well it really depends on your security needs. If you only have a few roles in your system auth-roles might be quicker to set up but if you have tons of roles, and need to grant or deny access not only based on some acl but also on data you have about the current user you will find swarm is easier

Re: Wicket Acegi Integration.

2007-08-23 Thread Ian Godman
Hi I am currently using Acegi with Wicket-auth-roles and it works well. Any advantage in changing to Swarm/Acegi ? I need to keep Acegi as we are also using the ACL . Ian - Original Message From: Vincenzo Vitale <[EMAIL PROTECTED]> To: users@wicket.apache.org Sent: Thursday, 23 August

Re: {wicket 1.3 beta 2} AjaxFormComponentUpdatingBehavior broken?

2007-08-23 Thread Nino Saturnino Martinez Vazquez Wael
I do not have any Id attached as I have not begun styling the page yet:( Shoud outputmarkup id be enabled on the dropdownchoice? http://papernapkin.org/pastebin/view/1388 (html part) regards Nino Francis De Brabandere wrote: if found a similar bug yesterday there is a bug report + temp fix

Re: Wicket Acegi Integration.

2007-08-23 Thread Vincenzo Vitale
Ok. Thanks for the clarification... I will let you know how we'll proceed. Ciao, V. On 8/23/07, Maurice Marrink <[EMAIL PROTECTED]> wrote: > There is no reason why Acegi should not be able to integrate with > swarm as long as you just use it for authentication (like > wicket-auth-roles does). I

Re: Wicket Acegi Integration.

2007-08-23 Thread Maurice Marrink
There is no reason why Acegi should not be able to integrate with swarm as long as you just use it for authentication (like wicket-auth-roles does). In fact i think that by following the auth-roles tutorial and replacing the auth-roles components with there swarm counterpart you should be getting t

Re: {wicket 1.3 beta 2} AjaxFormComponentUpdatingBehavior broken?

2007-08-23 Thread Francis De Brabandere
if found a similar bug yesterday there is a bug report + temp fix for this: https://issues.apache.org/jira/browse/WICKET-665 removing the id attribute from the html tag (input) should fix this On 8/23/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > Hi > > I have a page where

POJO Adapter in Wicket

2007-08-23 Thread Vincenzo Vitale
Hi All, I'm using Wicket (1.3.0 beta2), Hibernate and Spring. In my Wicket project for each POJO of my business model I created an Adapter maintaining the original object and having methods for the presentation layer (like getCompleteName()); I have not created a delegate getter or setter for all

Re: wicket vs tapestry ?

2007-08-23 Thread Eelco Hillenius
> > If you're interested, a contribution for the address book example with > > exPOJO/ JPOX would be more than welcome. > > Definitely, not a problem. When do you need it by? Whenever you feel like it. > Where can I find the spec for the address book app? No spec, only code :) https://wicket-st

Re: DownloadLink hanging

2007-08-23 Thread Igor Vaynberg
hm, this looks like an old bug. johan didnt we fix this a while ago? -igor On 8/23/07, Thomas Singer <[EMAIL PROTECTED]> wrote: > > > inside shared > > resource you can simply call Session.get() to get to wicket session. > > Unfortunately, it looks like this is not possible, because I'm getting

Re: wicket vs tapestry ?

2007-08-23 Thread Igor Vaynberg
On 8/22/07, Onno Scheffers <[EMAIL PROTECTED]> wrote: > > > > It's ok to be a control freak about it. But you should measure, not go > > by your hunch. :) > > > > You're right of course. > But since I'm currently learning, I can't help wondering at each step > where the data gets stored magically.

Re: DownloadLink hanging

2007-08-23 Thread Thomas Singer
inside shared resource you can simply call Session.get() to get to wicket session. Unfortunately, it looks like this is not possible, because I'm getting following exception: java.lang.IllegalStateException: you can only locate or create sessions in the context of a request cycle or

Re: Page and compoenent level feedback are mixing together

2007-08-23 Thread Eelco Hillenius
> what we need to do is collect usecases from our users. Agreed. Users please give your say! > what you propose > sounds great if you are doing component-hierarchy based filtering - but is > this common. I think this is a natural way of thinking about it yeah. And I think it is better than not d

RE: wicket vs tapestry ?

2007-08-23 Thread Chris Colman
> On 8/22/07, Chris Colman <[EMAIL PROTECTED]> wrote: > > Hi Eelco, > > > > I saw you mention Hibernate in the intro but I've been using JPOX with > > great success with Wicket also. You might want to mention that in the > > book or new comers might think Wicket is a Hibernate only framework. > >

Re: wicket vs tapestry ?

2007-08-23 Thread Eelco Hillenius
> But since I'm currently learning, I can't help wondering at each step > where the data gets stored magically. Likely that will go away once I > know my way around Wicket. It's also not a complaint, just part of > getting to know the best way of doing things. I think it's a very good idea you hav

{wicket 1.3 beta 2} AjaxFormComponentUpdatingBehavior broken?

2007-08-23 Thread Nino Saturnino Martinez Vazquez Wael
Hi I have a page where theres two dropdownchoices and two panels acordingly. when you click dropdown a and select a new item panel a should be updated to the new item, I've used ajaxformComponentupdatingbehavior( have also tried ajaxformsubmittingbehavior). However it seems as the model of

Re: Wicket Acegi Integration.

2007-08-23 Thread Vincenzo Vitale
Thanks Erik, yes I also have seen something about Wicket and Swarm integration (http://wicketstuff.org/confluence/display/STUFFWIKI/Getting+started+with+Swarm) but Acegi is at the moment the most known technology in my department so at the moment I will use it, also because interested in showing h