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
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
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
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
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
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
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
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
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
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
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,
> 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
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
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
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
>
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
>
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
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
> 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
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(
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
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
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
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
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
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
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
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
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
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
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);<---
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
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
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
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-
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);
> }
>
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
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) {
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
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
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
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]
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
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
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
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
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
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
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
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
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)
{
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.
-
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
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
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.
What about
http://www.w3.org/1999/xhtml";
xmlns:wicket="http://wicket.sourceforge.net/";>
MyDropDown:
MyTextField:
On wicket you have the flexibility to desi
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
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
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:
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.
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
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
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
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
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
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
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
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
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
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
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
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
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)
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
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
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
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
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
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
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
> > 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
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
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.
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
> 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
> 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.
> >
> 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
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
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
89 matches
Mail list logo