In general you don't let the "filterbar" provide the list of results
but have it update a filter bean. This filter is then used inside your
dataprovider to get the list of results.
Maurice
On Nov 13, 2007 4:16 AM, Joshua Jackson <[EMAIL PROTECTED]> wrote:
> Dear all,
>
> Is it possible to have a
Thanks Igor but it doesnt seem to work still.
Just some more hints:
I have the listview on a form and the form is on the page.
The uploads collection object is on the form.
It keeps telling me that there is no such uploads object on the page and so
I changed the call from
MultiFileUploadField f
Hi! guys
I have a defaultDataTable in a form, and the dataTable uses
SortableDataProvider,
when the submit button clicked, the selected rows will be deleted.
The problem is the sortableDataProvider.size() excute before button.submit()
as a result
the total num
On Monday 12 November 2007 22:13:33 ChuckDeal wrote:
> > You're right. But if you were not using List you could return SortedSet
> > from
> > SortingModel and it would work :)
>
> But then I'd be using a Set instead of a List. DropDownChoice (via
> AbstractChoice) expects the choices model to repr
I think that by now, everybody knows where I stand. :-)
+1 GENERICS!
On Mon, 2007-11-12 at 18:02 -0500, William Hoover wrote:
> +1 GENERICS!!!
>
> -Original Message-
> From: mathias axelsson [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 12, 2007 5:35 PM
> To: users@wicket.apa
On Nov 12, 2007 6:33 PM, anita nichols <[EMAIL PROTECTED]> wrote:
> Please unsubscribe
Nah. Nick is a good guy. Let's keep him around ;-)
Eelco
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
On Nov 12, 2007 9:23 PM, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> On Nov 12, 2007 6:21 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > afaik the current pagestore will save the page to disk after its been
> > replicated...or was that another pagestore subclass you were working
> > on matej?
>
On Nov 12, 2007 6:21 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> afaik the current pagestore will save the page to disk after its been
> replicated...or was that another pagestore subclass you were working
> on matej?
Also see
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk
On Mon, 12 Nov 2007, cwilkes wrote:
> However I'm not sure if internalBeforeRender() should call isVisible()
> before onBeforeRender(), or at least there should be a note in the javadoc
> that isVisible() is called very early on in the game and not just in the
> render() method.
This was discussed
I had code in onAttach() that set a field that was read in isVisible(). Now
with onAttach removed I put this code in the onBeforeRender() method.
However internalBeforeRender() calls isVisible() before onBeforeRender().
The fix was pretty easy -- move that code into isVisible().
However I'm no
On Fri, 09 Nov 2007, Pills wrote:
> public void edit(MyClass l) {
> [...]
>
> shops.modelChanging();
> formTarget.setShops(l.getShops());
> shops.modelChanged();
>
> [...]
What's the point of this method?
And why is it calling modelChanging and modelChanged? I think
that n
On Fri, 09 Nov 2007, BatiB80 wrote:
> example: myfield.add(new AttributeModifier("class", getClassValue());
myfield.add(new RedIfInvalid(myfield));
public class RedIfInvalid extends AttributeModifier() {
private final FormComponent component;
public RedIfInvalid(FormComponent component)
Hi again,
That works fine for me! Now I understand how it should be.
Thank you very very much,
Oskar
Dmitry Kandalov wrote:
>
> On Friday 09 November 2007 12:24:12 Dmitry Kandalov wrote:
>> Probably that is because this component is already rendered.
>
> I mean the component has been alre
On Thu, 08 Nov 2007, Toscano wrote:
> IModel regionModelChoices = new AbstractReadOnlyModel()
> {
> public Object getObject(Component component)
> {
>if (professionalInfo.getCountryWork()!=null)
> regions =
> getRegionDaoInterfac
Hi
It is a ListView
But I haven't called setReuseItems()
The radio buttons are dynamic and replaced each time the page is loaded but
this exception is thrown rarely.
Johan Compagner wrote:
>
> is that a listview?
> do you have called setReuseItems() ?
>
> else the radio's are constantly repl
Dear all,
Is it possible to have a Page with Search Form and Search List on the same Page?
It seems that the List object that is retrieved from onSubmit() is not
updated to my DataView that lies inside the Page constructor. Or is
there anyway I can have something like afterRender after the button
Please unsubscribe
afaik the current pagestore will save the page to disk after its been
replicated...or was that another pagestore subclass you were working
on matej?
so that way every node you replicate to has a full copy of all the
pages from the source node.
-igor
On Nov 12, 2007 6:06 PM, mfs <[EMAIL PROTECTE
I am talking of the scenario where the old page instances (and their model)
are serialized to the disk ? how would those be synchronised on the other
machine/server in the cluster ?
Farhan.
igor.vaynberg wrote:
>
> wicket stores its pages in session, so if your sessions are replicated
> within
Found the problem - I had two FilterToolbars associated with the same
FilterForm. The second FilterToolbar was clobbering the value set by the
first. Removing the second FilterToolbar corrected the problem.
On Nov 12, 2007 7:34 PM, Nick Heudecker <[EMAIL PROTECTED]> wrote:
> Since updating to W
wicket stores its pages in session, so if your sessions are replicated
within the cluster you should have no problem
-igor
On Nov 12, 2007 4:42 PM, mfs <[EMAIL PROTECTED]> wrote:
>
> Hi Guys,
>
> Another question relating to the serialization of pages, so lets say we have
> multiple instance of
Since updating to Wicket 1.3RC1 it appears that updates to the filter
columns aren't getting set. For instance, if enter a first name into a text
field filter column, the value I enter isn't passed through to the
DataProvider implementation.
Is anyone else seeing odd behavior in the DataTable/Dat
Hi Guys,
Another question relating to the serialization of pages, so lets say we have
multiple instance of an application deployed in a load-balancing
environment, now lets stay in case of wizard type use-case if subsequent
requests get forwarded to different server (based on load sharing), would
> Evan Chooly wrote:
> >
> >> Do you know if theres any plans on making a maven2 archetype for
> qwicket?
> >
> > That's a definite feature i plan on adding as soon as I can. As a
> > noted maven hater, though, it'll take some time and libations to
help
> > me swallow my pride. :)
> >
>
> Good l
> Chris Colman schrieb:
>
> > The obvious benefit in such an approach is that your POJO model and the
> > services that you provide to implement business rules etc., remain
> > completely portable to different persistence engines - ie., no vendor
> > lock in.
>
> well, i thought that was JPA was
thank you both for your answers, but there are still problems...
I already tried what Don suggested, but that only allows for the
autocomplete text to be displayed correctly in IE, but not in FF (at
least not in 2.0.0.9).
I really cannot figure out why.
On Nov 9, 2007 7:21 PM, Don Hass <[EMAIL P
+1 GENERICS!!!
-Original Message-
From: mathias axelsson [mailto:[EMAIL PROTECTED]
Sent: Monday, November 12, 2007 5:35 PM
To: users@wicket.apache.org
Subject: Re: Apache Wicket 1.3.0-rc1 released!
Mmmm... Generics
Thanks alot for a great framework!
On Nov 12, 2007 7:33 PM, Johan Com
Mmmm... Generics
Thanks alot for a great framework!
On Nov 12, 2007 7:33 PM, Johan Compagner <[EMAIL PROTECTED]> wrote:
> yes after 1.3 there will be a java 5 version. Still not really know what we
> will call it (1.4,1.5 or 2.0)
>
> First finish the 1.3 release then there could be a first alph
Ate, your the man :)
I'll try to dive into the parameter problem this week.
Thnx
Thijs
Ate Douma wrote:
Thijs wrote:
I'm trying to get wicket portlets to work in Liferay.
As fas as I can tell there are at least 2 issues at the moment:
1.) A nullpointer exception in WebResponse due to an is
yes after 1.3 there will be a java 5 version. Still not really know what we
will call it (1.4,1.5 or 2.0)
First finish the 1.3 release then there could be a first alpha/beta version
with generircs pretty fast.
johan
On Nov 12, 2007 5:35 PM, Anders Peterson <[EMAIL PROTECTED]>
wrote:
> Thanks,
Bolshoi Spasiba Gaspadin
On Nov 12, 2007 5:11 PM, Dmitry Kandalov <[EMAIL PROTECTED]> wrote:
> On Monday 12 November 2007 23:40:51 Francisco Diaz Trepat - gmail wrote:
> > Hi, I have a Label who's model maight come with markup for bold italic,
> > bullets, etc. (e.g. "This is a Message")
>
It seams the formatted message I set didn't show well.
I want to (as the subject says) Render HTML content from the String.
Is there a way to get the label to render:
"*This* is a *Message*" [this line here and in the original message is
formatted with bold and italics]
On Nov 12, 2007 5:02 PM,
On Monday 12 November 2007 23:40:51 Francisco Diaz Trepat - gmail wrote:
> Hi, I have a Label who's model maight come with markup for bold italic,
> bullets, etc. (e.g. "This is a Message")
>
> Obviously I get "This is a Message" rendered.
>
> Is there a way to get the label to render:
>
> "*This*
Hehe, nasty! :-)
I suggest doing it in one replaceAll though:
text.replaceAll("<[^>]*>", "*")
This has the added benefit of correctly treating unexpected and as yet
unknown tags, and thus is more future proof!
Regards,
Sebastiaan
Martijn Dashorst wrote:
this should get what you want:
add(n
Thijs wrote:
I'm trying to get wicket portlets to work in Liferay.
As fas as I can tell there are at least 2 issues at the moment:
1.) A nullpointer exception in WebResponse due to an issue in de Liferay
code that returns null in the encodeRedirectUrl (see
http://www.liferay.com/web/guest/commun
this should get what you want:
add(new Label("foo", text.replaceAll("", "*")
.replaceAll("", "*")
.replaceAll("", "*")
.replaceAll("", "*")));
Martijn
On 11/12/07, Francisco Diaz Trepat - gmail
<[EMAIL PROTECTED]> wrote:
> Hi, I have a Label who's model maight come with markup for bol
Hi, I have a Label who's model maight come with markup for bold italic,
bullets, etc. (e.g. "This is a Message")
Obviously I get "This is a Message" rendered.
Is there a way to get the label to render:
"*This* is a *Message*"
thanks,
f(t)
http://web.mac.com/jonathan.locke/iWeb/JonathanLocke/Blog/CA4A74A0-820C-4FDF-BF65-F4C14754D13E.html
Chris Colman wrote:
>
> The trouble is that the answers to the kitten questions usually have a
> small number of possible combinations: 1 - 5 roughly so on average a
> robot may be successful 20
Hi,
Thanks for the reply!
Actually, in some cases the page is not stateless all the time (which is
why I use that strategy), i.e. it starts out on a stateless form.
Another reason why I use it on non-stateless pages is because the URL
looks so much better. ;-)
Anyway, I do use Link, so yes
If the page is stateless, why are you using hybrid url coding strategy
for it? You should just mount it.
Also, even more important thing, is the page really stateless?
Stateless pages don't have versions.
Link is not a stateless component so if you use it on a page, it will
make it statefull.
As f
there are no questions. the kittens are merged into an image that functions
like an image map. the robot would be guessing co-ordinates, not
combinations.
the idea is that the robot is going to have to actually recognize kittens in
the image
(from among other animals) and send the server co-ord
Uwe Schäfer wrote:
i plan to use JPA together with Wicket. Are there any battle-proven
best-practices out there of how to handle EnityManagers and Transactions?
What do other people use (no, not the spring crowd ;) ?
One EntityManager per Request seems to be the obvious idea and a guice
Provi
Dmitry Kandalov wrote:
>
> On Thursday 08 November 2007 23:28:40 ChuckDeal wrote:
>> > Perhaps I didn't get the explanation but why can't you wrap models in
>> > this order?
>> >
>> > AppendingListModel(
>> > SortingModel(
>> > HibernateListModel()
>> > )
>> > )
>>
>> In that o
Thanks!
cblehman wrote:
>
> You can also use onRender()
>
> @Override
> protected void onRender()
> {
> getResponse().write("StuffBeforeComponent");
> super.onRender();
> getResponse().write("StuffAfterComponent");
> }
>
> But IComponentBorder will do all that for you...
>
> -Cla
did you call listview.setreuseitems(true)
it is usually easier if you provide a quickstart...
-igor
On Nov 12, 2007 7:28 AM, Franklin Antony <[EMAIL PROTECTED]> wrote:
>
> Dear Friends,
>I am having a problem with putting MultiFileUploadField inside a
> ListView. I am following the example,
Gwyn Evans wrote:
Does generification of the core make that much difference to a user of
the API? I've been focused on JDK 1.4, so didn't have a change to
look at Wicket 2 in practice.
Don't want to exaggerate, but once you start using Java 5 you don't want
to go back and you want all code yo
Hi,
I have a page mounted using the hybrid coding strategy. In the page I
have a language link, to change the locale in the session (to show
another language). Now what happens is, I have
http://mysite/mypage.1.1 (in Dutch)
http://mysite/mypage.1.2 (in English)
http://mysite/mypage.1.1
As I understand it, that's still the plan, but having said that, I'd
not expect to see too much work on a 1.4 until we've got a reasonable
amount of confidence that the released 1.3 is stable, so expect to see
a 1.3.1 before 1.4. If we jump into 1.4 too quickly, we'll be back to
dual-branch workin
Thanks, everyone who contributed!
Is Wicket 1.4 still planned to be a Java 5 version of Wicket 1.3? How
far away is Wicket 1.4?
I have a small prototype application built using Wicket 1.2.6. I believe
that little prototype may soon graduate to a real application, and when
that happens I'd li
is that a listview?
do you have called setReuseItems() ?
else the radio's are constantly replaced with new once and that could be the
problem
On Nov 12, 2007 10:31 AM, tbt <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> Here is the code that uses RadioGroup
>
>
> public class RadioListView extends ListVie
Evan Chooly wrote:
>
>> Do you know if theres any plans on making a maven2 archetype for qwicket?
>
> That's a definite feature i plan on adding as soon as I can. As a
> noted maven hater, though, it'll take some time and libations to help
> me swallow my pride. :)
>
Good luck! Archetypes a
Thanks (and to Johan as well).
The simple solution of using a small anonymous implementation of
LoadableDetachableModel will work just fine for my current needs. If I later
feel that I need something more enterprisy I'll look into building something
more complex.
// Matthias
> Date: Mon, 12
Dear Friends,
I am having a problem with putting MultiFileUploadField inside a
ListView. I am following the example, but somehow the uploads collection is
not getting populated with the files. However when I directly add the
MultiFileUploadField on a form everything seems to work. Could someon
The trick is to let the models do the reloading by id part for you.
If you take a look at LoadableDetachableModel you see it has an
abstract load() method. A very common implementation would be this:
public Object load()
{
return myDao.get(Movie.class,movieId);
}
of course you have to make the da
LoadableDetachableModel ldm = new LoadableDetachableModel(movie) {
load(){ reload the movie}
}
Form form = new Form("xx", new CompoundPropertyModel(ldm));
On Nov 12, 2007 2:46 PM, Matthias Karlsson <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have recently started to use Wicket and I'm finally get
That's a definite feature i plan on adding as soon as I can. As a
noted maven hater, though, it'll take some time and libations to help
me swallow my pride. :)
On Nov 12, 2007 3:47 AM, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
> Do you know if theres any plans on making a m
Hi,
I have recently started to use Wicket and I'm finally getting up to speed after
getting my Dao-framework and Spring integrated nicely with it. However, I'm
having problems figuring out how to implement detachable models.
Let's take a simple example from my code base (I'm free-typing here s
You can also use onRender()
@Override
protected void onRender()
{
getResponse().write("StuffBeforeComponent");
super.onRender();
getResponse().write("StuffAfterComponent");
}
But IComponentBorder will do all that for you...
-Clay
-Original Message-
From: Johan Compagner [mai
We dont, we have one css for them all. Thats. IE 6,7 FF 1.5,2 Safari
for us.
regards Nino
Sjoerd Lohuis wrote:
There are a few ways to include your browser specific styles in a
project:
- CSS hacks to target specific browsers
- IE Conditional Comments
- Server-side browsercheck
I'm not aski
thanks for the quick answer...
regards Nino
Johan Compagner wrote:
This is already fixed but it didn't make it into the RC as it seems
It is because you use a BufferedWebResponse with your mock application
if you make it a WebResponse then it works fine for now.
/**
* [EMAIL PROTECTED]
org
This is already fixed but it didn't make it into the RC as it seems
It is because you use a BufferedWebResponse with your mock application
if you make it a WebResponse then it works fine for now.
/**
* [EMAIL PROTECTED]
org.apache.wicket.protocol.http.WebApplication#newWebResponse(
javax.servl
Chris Colman schrieb:
The obvious benefit in such an approach is that your POJO model and the
services that you provide to implement business rules etc., remain
completely portable to different persistence engines - ie., no vendor
lock in.
well, i thought that was JPA was all about !?
As wel
Hi
After updating our maven dependencies to 1.3 rc1 we are now getting null
pointer exceptions in almost all our tests.. Is this something that are
expected?
A quick look at the migration guide did not give anything. Any ideas? We
do not get these errors in beta 4, but we do get the redirect
I'm trying to get wicket portlets to work in Liferay.
As fas as I can tell there are at least 2 issues at the moment:
1.) A nullpointer exception in WebResponse due to an issue in de Liferay
code that returns null in the encodeRedirectUrl (see
http://www.liferay.com/web/guest/community/forums/mes
Hi
Here is the code that uses RadioGroup
public class RadioListView extends ListView
{
/**
*
*/
private static final long serialVersionUID = 1L;
//private static Logger log =
Logger.getLogger(RadioListView.class.getName());
public Rad
On Nov 9, 2007 1:54 PM, Murat Yücel <[EMAIL PROTECTED]> wrote:
> When is the meeting? I have just signed up for the new wicket mailing
> list.
> Maybe i should participate this time :). Flemming do you give a ride?
of course :-)
>
>
> /Murat
>
> 2007/11/9, Flemming Boller <[EMAIL PROTECTED]>:
>
On Nov 11, 2007 2:24 AM, Johan Compagner <[EMAIL PROTECTED]> wrote:
> Session.getClientInfo() ?
See also the HelloBrowser example
(http://wicketstuff.org/wicket13/hellobrowser/).
Eelco
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
> I hope people don't start thinking that "this damn newbie" comes and wants
> to change a proven framework without knowing it really. But as owner of the
> patch I am very interested in this discussion and probably even responsible
> for it - or maybe eelco was, when he said "And hey, maybe some w
Thanks Roland,
It worked. I didn't understand what's written on the wiki.
Thanks alot. :)
On 11/12/07, Roland Kaercher <[EMAIL PROTECTED]> wrote:
> Hello Joshua,
>
> if you just want to display the feedback in your default feedback
> panel all you have to do is add it to your page, there is no n
Do you know if theres any plans on making a maven2 archetype for qwicket?
Evan Chooly wrote:
There's also qwicket.sf.net that specifically uses JPA+spring. I'm
finishing up updates now for 1.3 support and improved project setup.
SVN is your best bet there but I'm hoping to put up the new versio
We havent agreed on a actual date yet. I think we will be waiting for
wicket 1.3 to get released so that Frank can participate.. I think 1.3
are somewhat neer a release at least somewhere before christmas.
Murat Yücel wrote:
When is the meeting? I have just signed up for the new wicket mailin
Hello Joshua,
if you just want to display the feedback in your default feedback
panel all you have to do is add it to your page, there is no need to
tell the form which feedback panel to use then.
roland
On Nov 12, 2007 8:25 AM, Joshua Jackson <[EMAIL PROTECTED]> wrote:
> Dear all,
>
> How do I
super:)
Flemming Boller wrote:
done :-)
On Nov 9, 2007 9:22 AM, Nino Saturnino Martinez Vazquez Wael <
[EMAIL PROTECTED]> wrote:
Could more people signup if interested? We cant only be 3 guys in
denmark interested in this..
I think the release of wicket 1.3 should be an excellent time to
73 matches
Mail list logo