datatable.setmetadata(mykey, myobject);
.. somewhere in a component under datatable
public mytype findreference() {
datatable table=findparent(datatable.class);
return table.getmetadata(mykey);
}
-igor
On Thu, Nov 26, 2009 at 11:02 PM, Keith Bennett wrote:
> Igor -
>
> Thanks for re
Adding another reference to component would increase the memory
footprint for all users. You are the first one to ask so there's
little to no demand for it. Wicket already has a default object slot:
the model. If that doesn't solve your problem use the metadata.
Martijn
On Friday, November 27, 20
Igor -
Thanks for responding.
The User solution would work where all components would share the same
reference, but I need each table would have its own reference.
Also, I was thinking it would be nice for each component to have its
own Object. I realize I could have been clearer about th
override convertinput() on that textfield and do not throw a
conversion exception
-igor
On Thu, Nov 26, 2009 at 6:26 PM, Keith Bennett wrote:
> Hi all...
>
> We have a form that has a table, and the table has a column that is
> populated with TextField's. When there are nonnumeric characters
>
datatable {
populateitem(item i) {
int col=i.getindex();
int row=i.getparent(Item.class).getindex();
}
}
-igor
On Thu, Nov 26, 2009 at 7:27 PM, Keith Bennett wrote:
> Hi, all. I'd like some feedback as to whether my need is already addressed
> in Wicket, or, if not, if I'm on the right
create your own subclass of websession that holds the user and then
anywhere within a wicket request you can get to it via:
((MySession)Session.get()).getUser()
-igor
On Thu, Nov 26, 2009 at 6:20 PM, Keith Bennett wrote:
> All -
>
> I'm coding a Wicket table and would like all the components in
Bas,
I will try to explain what it is going on with this scenario (anyway I
think you understood).
1. an user logs in the site using .com.ar
2. the user gets a flex component in the site's page. The flex component is
compiled to point to .com services.
3. the flex component asks a specific
Hi, all. I'd like some feedback as to whether my need is already
addressed in Wicket, or, if not, if I'm on the right track with some
code I've written to address this need.
I've been working with a DataTable and need to be able to query it for
things like:
For a given component:
* What
Hi all...
We have a form that has a table, and the table has a column that is
populated with TextField's. When there are nonnumeric
characters in several of these fields, we get an error message in the
feedback panel for each offending field. We'd rather combine them
into a single messa
All -
I'm coding a Wicket table and would like all the components in the
table to have access to a specific reference.
Another framework I worked with a very long time ago (Vermont Views, I
believe) addressed this by providing a user pointer in the class that
could be used for any purpose
The proxy-based approach runs into problems when the return types of
the "getters" are final or non-proxyable in some way (at least for
nested properties). We discussed this idea of "recording" the
property expression (and I even wrote some code in Commons Proxy for
it). I even proposed an entire
Hi,
Thanks igor for your reply.
I think that I will follow your suggestion and I will use the
IComponentResolver.
Cheers,
Ibrahim
On Thu, Nov 26, 2009 at 10:45 PM, Igor Vaynberg wrote:
> nothing wrong with using icomponentresolver,
>
> we already have which is analogous to
> which does our ow
nothing wrong with using icomponentresolver,
we already have which is analogous to
which does our own transformations, so you can take a look at how that
is implemented. see WicketLinkResolver and WicketTagHandler
-igor
On Thu, Nov 26, 2009 at 12:51 PM, ibrahim CHAEHOI wrote:
> Hi all,
>
> I
Some time ago I was experimenting with lambdaJ. It uses the proxy way to
obtain the propertyName.
This way, your code could look like
new TextField("orderNumber", new SafePropertyModel(target,
property(on(Order.class).getOrderNumber(;
If there is interest in this thing, I'm willing to contri
Hi all,
I'm working on Jawr, a java library, which handle the bundling and
compressing process for web resources. ( https://jawr.dev.java.net/ )
I would like to know the best way to integrate Jawr in Wicket.
In fact, Jawr generates a custom URL for a specific resource bundle.
For example, if you
Lombok looks preety cool.
I think i will use it cause it saves a lot of typing and holds equals and
hashcode in sync.
-Ursprüngliche Nachricht-
Von: Gerolf Seitz [mailto:gerolf.se...@gmail.com]
Gesendet: Donnerstag, 26. November 2009 19:36
An: users@wicket.apache.org
Betreff: Re: Proper
http://cwiki.apache.org/WICKET/calling-wicket-from-javascript.html
found the solution here.
_
Windows 7: It works the way you want. Learn more.
http://www.microsoft.com/Windows/windows-7/d
that's why i was wondering about a lombok based bindgen implementation,
since
lombok is available as apt processor and eclipse plugin :)
On Thu, Nov 26, 2009 at 5:13 PM, Igor Vaynberg wrote:
> you guys are missing the point. Bindgen is a *standard apt processor*.
> it is not an eclipse plugin. a
I need to add the following in a div
AudioPlayer.embed("player", {
soundFile: "/mylocation/mymusic.mp3"
});
wtithe the soundFile dynamically changing.
thx
> From: ed_b...@hotmail.com
> To: users@wicket.apache.org
> Subject
I am trying to dynamically add a media player to a page.
How to I add the content to the html since the media files are going to be
picked from the db.
Is there a way to use WebMarkUpContainerWithAssociatedMarkup for this.
Essentially want to provide the contents of a div.
thanks!
you guys are missing the point. Bindgen is a *standard apt processor*.
it is not an eclipse plugin. all major IDEs have support for
annotation processors baked in.
refactoring support is definetely *possible*, but it would require an
actual IDE pliugin.
-igor
On Thu, Nov 26, 2009 at 5:20 AM, Mar
very cool, i like propertyModels more than Compounds :)
NM
On Thu, Nov 26, 2009 at 11:09 AM, James Carman wrote:
> I figured there had to be support for that. Very cool
>
> On Thu, Nov 26, 2009 at 8:14 AM, Johan Compagner
> wrote:
> >
> http://help.eclipse.org/help32/index.jsp?topic=/org.eclip
I figured there had to be support for that. Very cool
On Thu, Nov 26, 2009 at 8:14 AM, Johan Compagner wrote:
> http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/api/org/eclipse/ltk/core/refactoring/participants/package-summary.html
>
> On Thu, Nov 26, 2009 a
Ah.. the next big thing, (in) refactoring (bindings?)!!! All glory to
the person that does it.
**
Martin
2009/11/26 Johan Compagner :
> http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/api/org/eclipse/ltk/core/refactoring/participants/package-summary.html
>
>
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/api/org/eclipse/ltk/core/refactoring/participants/package-summary.html
On Thu, Nov 26, 2009 at 13:52, James Carman wrote:
> Refactoring could definitely be supported in IDEA. With the Hibernate
> support, when
On Thu, Nov 26, 2009 at 1:52 PM, James Carman
wrote:
> The configuration files are changed for you. I don't know how eclipse
> works with this kind of
> stuff, but IDEA definitely has hooks for this kind of stuff.
>
> if you refactor->rename a class, you can have eclipse look for the FQCN in
comm
Refactoring could definitely be supported in IDEA. With the Hibernate
support, when you change a property name it will change your mapping
hbm.xml (yes, we still use them) files for you automatically. Same
thing happens with the Spring support. The configuration files are
changed for you. I don
I really want to know how to encode-decode params in new PageParamters() calls.
Do I need to use WicketURLEncoder and WicketURLDecoder?
If so, how?
-- Tony
On Tue, Nov 24, 2009 at 1:56 PM, Anton Veretennikov
wrote:
> Hi!
>
> Sorry for simple question.
> Do we need URLEncode when we use
>
> new
the pro's of this compared to the SafeProperty is that the safe property
needs to generate proxies at runtime so you need CGLIB and you could have
issues with final classes
this is more a develop environment solution which is because of that a bit
nicer.
On Thu, Nov 26, 2009 at 10:53, Maarten Bos
Just found out a component that does what I proposed below more cleanly:
SimpleFormComponentLabel.
I'll finally be using this component, and seize the opportunity to insert
automatically the 'required' textflag (*):
public class MyLabel extends SimpleFormComponentLabel {
String mandatory = "";
p
Did you check if a session is actually created, e.g. do you see a cookie?
I cannot imagine that if you use the exact same flow, and the only
difference is the domain name, it would work in the one case but not the
other.
What happens exactly? Getting the session returns null?
I suggest you try a
Well, I don't use Spring integration in my projects, so I cannot tell you for
sure if that could be the reason for this. I do however find it unlikely
that Spring integration would alter html tags.
What you could try is step through the rendering process with a debugger and
see what's happening w
Igor,
Very interesting stuff.
What are the pro's and con's when compared with the SafePropertyModel from
https://issues.apache.org/jira/browse/WICKET-1327 ?
Maarten
On Thu, Nov 26, 2009 at 10:04 AM, Jeremy Thomerson <
jer...@wickettraining.com> wrote:
> Strings do break. Silently. They're th
Strings do break. Silently. They're the silent app killer.
Wouldn't you rather know at compile-time that something is broken? That's
the point of using Java over PHP.
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Nov 26, 2009 at 1:28 AM, Martin Makundi <
martin.maku...@koodaripa
s/getDefaultModelObjectAsString/getModelObjectAsString/...
On Wed, Nov 25, 2009 at 5:29 PM, Xavier López wrote:
> Thanks anyway Pedro, it's a good insight, and pretty original ;-) Didn't
> think of it, nor knew about visitors...
>
> Sadly, I'm on Wicket 1.3.5 and it wouldn't be working anyway, as
On Thu, Nov 26, 2009 at 8:54 AM, Martin Makundi <
martin.maku...@koodaripalvelut.com> wrote:
> I would say that refactoring calls for improvement in the bindgen
> approach. Is it theoretically possible to facilitate refactoring with
> bindgen? Is it practically possible to facilitate refactoring w
36 matches
Mail list logo