argh! It's very clean on the upload side of stuff. Anyway when we get
confluence sorted out i'll put the diagram on this page :
http://cwiki.apache.org/confluence/display/WICKET/Wicket+Cheat+Sheet
Michael Allan wrote:
Nino Saturnino Martinez Vazquez Wael wrote:
I've created a small wicket
Hi guys!
Is there a way to configure the wicket components using the html markup?
I would like to do something like this:
table
tr wicket:id=group1
...
/tr
tr wicket:id=group2 wicket:component=parent=group1
...
/tr
tr wicket:id=group3 wicket:component=parent=group2
...
/tr
/table
The
what's wrong with the wiki page? there's plenty of code and fun for everyone
;-)
http://cwiki.apache.org/WICKET/spring.html
Samit wrote:
Sorry to say but U did nothing in code
I am asking fro steps...
I am awarre of few like:
1. Change in web.xml for
If only... if only
we had this construct:
class ComponentT default Void
{
}
then all our problems with verbosity would be gone..
TextField tf = new TextField(id) // just default Void
Also only declare it once:
TextFieldStirng tf = new TextField(id);
And both ways type guessing, so
there are an example on this on the wicket examples...
http://www.wicket-library.com/wicket-examples/upload/single
Milan K?ápek wrote:
Well I think I have the way how to let users to download the files from server.
When the request comes I just take the file from database, set the right
Hello all,
We have a StyledAjaxButton that extends AjaxButton.
We want to add a confirmation when clicking.
We added this:
@Override
protected String getOnClickScript() {
String warning =
LocalizationHelper.getMessage(page.confirmation.message,
Thanks for your quick answers.
The TreeTable doesn't help me because I have different objects in the
table rows. And the groups should be able to span acros more columns.
TreeTable doesn't let me configure the table appearance using the static
html... I hope I'm not wrong :D
I guess I'll send
The plan is to first get at least a beta out for 1.3.1 and then start
working on 1.4.
Given the amount of time i have been able to put into wasp and swarm
lately it would not be feasible to actively develop 2 branches at the
same time. Even with someone helping out on the 1.4 branch we would
still
Hi Scott
I realized that you cant compare to UUID with '==' in Java. You need to
compare the as if(UUID1.equals(UUID2)). I been working to much in csharp,
where you compare two Guid as this: if(Guid1==Guid2)
Just a stupid mistake
Jens
Scott Swank wrote:
Sorry to jump in at the last minute,
Sorry to say but U did nothing in code
I am asking fro steps...
I am awarre of few like:
1. Change in web.xml for listener..
2. make applicationContext.xml file
3.
Now what?
-
Samit :confused:
--
View this message in context:
Look carefully. Your code sample does:
Thread.currentThread().getContextClassLoader().getResourceAsStream(MyComponent.properties)
Which loads it from the default package.
I think you should do:
MyComponent.class.getResourceAsStream(MyComponent.properties)
Which loads it from the package
Why being not stripping the comments and whitespaces makes a difference in
Effect.js i.e.
getResourceSettings().setStripJavascriptCommentsAndWhitespace(false)?
Thanks.
Matej Knopp-2 wrote:
Are there still compression problems with current trunk? I've been
testing that with YUI and DOJO
hi stefan,
Is there a way to configure the wicket components using the html markup?
I would like to do something like this:
table
tr wicket:id=group1
...
/tr
tr wicket:id=group2 wicket:component=parent=group1
...
/tr
tr wicket:id=group3 wicket:component=parent=group2
...
/tr
/table
great. Frank is working on the diagram stuff, to be able to give
clearance to me i think.
Gwyn Evans wrote:
On Tue, Jun 3, 2008 at 8:25 AM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
argh! It's very clean on the upload side of stuff. Anyway when we get
confluence sorted
Does it has something to do with isTransparentResolver() , so that the
listViewContainer is transparent between the panel and the listView ?
But WebMarkupContainer seems doesn't have setTransparentResolver() method...
2008/6/3 smallufo [EMAIL PROTECTED]:
2008/6/3 Gwyn Evans [EMAIL
Or you could try this:
I think it's a direct link :
http://www20.flyupload.com/dl?fid=9436254x=9hfpy_sVT1WmQM_gAqdMeQ..
Nino Saturnino Martinez Vazquez Wael wrote:
argh! It's very clean on the upload side of stuff. Anyway when we get
confluence sorted out i'll put the diagram on this page :
Hi,
first of all let me say that Wicket is a fantastic framework :clap:and I
never had so much fun programming Java (I am more of a Perl / Lisp fan...) I
have written an application which is now in production mode and the
introduction of the StatelessForm class (maybe a minor thing) prompted me
AFAIK there's no way to this in the markup as you'd like to do it, as
wicket's component hierarchy is bound to the html hierarchy. However it's
quite easy to implement the logic in the code.
If you use AJAX and perform a roundtrip on each collapse, just set the rows
to invisible onclick, or
generics for formcomponents do not make sense, most of the time they
can figure out the type by inspecting their model. further, generics
did not get rid of the need to specify the type as a constructor
argument: new TextFieldInteger(num, Integer.class)
Agreed.
+1 for NOT generifying
remember the two dots..
Nino Saturnino Martinez Vazquez Wael wrote:
Or you could try this:
I think it's a direct link :
http://www20.flyupload.com/dl?fid=9436254x=9hfpy_sVT1WmQM_gAqdMeQ..
Nino Saturnino Martinez Vazquez Wael wrote:
argh! It's very clean on the upload side of stuff. Anyway
1) Generifying* Wicket
[X] Can best be done like currently in the 1.4 branch, where models
and components are both generified. I care most about the improved
static type checking generified models and components give Wicket.
2) How strongly do you feel about your choice above?
[X] Whatever
Johan Compagner wrote:
On Mon, Jun 2, 2008 at 9:33 PM, Martin Funk [EMAIL PROTECTED]
wrote:
Hi Sebastiann,
just for clarifying my understanding of the vocabulary:
A_HomePage extends WebPage
and
B_HomePage extends WebPageVoid
are both non-generified java classes.
No the last one is
Hi,
I need your help. I am trying to upload and download some files via the
Wicket presentation layer, but I realy do not know how to do it. I try to get
some inspiration from upload example on wicket pages, but this is not what I
want.
Here is the description of my problem:
I have some
[x] Can best be done in a limited fashion, where we only generify
IModel but not components.
[x] Whatever choice ultimately made, I'll happily convert/ start
using 1.4 and up.
I basically agree to what Igor says on this issue.
-
--
Kent Tong
Wicket tutorials freely available at
Well I think I have the way how to let users to download the files from server.
When the request comes I just take the file from database, set the right
content type of the response and then I get the outputStream of the Response
and fill it with the file. Is it true? Or am I wrong?
And what
hmm, just add it to the ajaxrequesttarget instead...
target.prependJavascript(javascript) ? Not sure if this does the trick
though.
Eyal Golan wrote:
Hello all,
We have a StyledAjaxButton that extends AjaxButton.
We want to add a confirmation when clicking.
We added this:
Why do you need todo it that way, cant you just change it? Otherwise i'd
look into how that wicket component from the example does it.
regards
Milan K?ápek wrote:
Thanks for your respnse. Yes I know I have seen this example, but as I wrote
this in not the think I want to do. In that example
Suppose I am having a html page...having fields like : Name and
Ageand I want to save the records in db..So how will i
create dao..where i'll open the conenction.how will i write in
db..Can u plz explain now?
-
Samit :confused:
--
View this message in
As I write the HTTP request that contains the file is generated by standalone
application. And the application do not need graphical interface. It is very
simple to get file contained in HTTP request in PHP, I have hoped that wicket
have some easy access to this data too.
To your advice to
Thanks Nino, first phase is done. I get the error message.
My code is like this:
In the AjaxButton:
@Override
protected void onSubmit(AjaxRequestTarget target, Form form)
{
String warning =
See the blog tutorial(search for it on the wiki), it uses JPA for this..
Or see wicket iolite, it creates a project for you, which you can expand
Samit wrote:
Suppose I am having a html page...having fields like : Name and
Ageand I want to save the records in db..So how
As Martijn would put it: http://www.google.at/search?q=spring+wicket+example
;-)
sorry, I don't have the time to write a whole example of using it as there
are already plenty available. If you don't know how to create a DAO and
howto use spring please refer to the spring (and/or hibernate)
Thank u
Michael Sparer wrote:
As Martijn would put it:
http://www.google.at/search?q=spring+wicket+example ;-)
sorry, I don't have the time to write a whole example of using it as there
are already plenty available. If you don't know how to create a DAO and
howto use spring please refer
Thank u
Stefan Fußenegger wrote:
Martijn Dashorst compiled a nice list of books (3 for beginners, another 3
on advanced topics) that will certainly help you to get started:
http://martijndashorst.com/blog/2008/05/25/wicket-starter-kit/
Regards
-
Samit :confused:
--
View this
I have created a behavior (WIP), which takes care of that:
http://svn2.assembla.com/svn/planningpoker/trunk/planningpoker-wicket/src/main/java/org/planningpoker/wicket/behaviours/ClickConfirmBehavior.java
Frank
On Tue, Jun 3, 2008 at 11:01 AM, Eyal Golan [EMAIL PROTECTED] wrote:
Hello all,
We
One more thing.
If I understand correctly, AjaxButton should override the getOnClickScript()
method, return null and be declared final.
What to you people think?
--
Eyal Golan
[EMAIL PROTECTED]
Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74
Martijn Dashorst compiled a nice list of books (3 for beginners, another 3 on
advanced topics) that will certainly help you to get started:
http://martijndashorst.com/blog/2008/05/25/wicket-starter-kit/
Regards
-
---
Stefan Fußenegger
http://talk-on-tech.blogspot.com // looking for a
Thanks Frank,
It is exactly what I needed.
cheers :)
On Tue, Jun 3, 2008 at 1:00 PM, Frank Bille [EMAIL PROTECTED] wrote:
I have created a behavior (WIP), which takes care of that:
I have a PagingNavigator with a DataView
I found in the IPageable has only the following method
int getCurrentPage();
void setCurrentPage(int page);
int getPageCount();
How can I get the DateView's size ?
thanks a lot!
--
View this message in context:
Hi
I have observed that using AJAX to update of large content of a page is much
slower than
updating the full page withou AJAX. For example AJAX sorting a big DataTable
(10x25) can be much slower that without AJAX, and I often see Client
parsetime of more than a second in IE.
FireFox seems to
Milan K?ápek wrote:
As I write the HTTP request that contains the file is generated by standalone
application. And the application do not need graphical interface. It is very
simple to get file contained in HTTP request in PHP, I have hoped that wicket
have some easy access to this data
Hi,
I've extended AjaxFormComponentUpdatingBehavior and try to get hold of
all error messages in the onError() method. I've added two validators to
the formcomponent, but it seems I can only get hold of the first one I
added to the component.
Spesifically if I do:
... not to mention our free draw for 3 pre-paid http://manning.com/dashorst/
Wicket In Action MEAP licences.
I've looked through all the presentations now (all except Al's that is),
including Ian's talk on Stateless vs Statefull that we may also squeeze in
as a bonus (time permitting) but that
I have it. It was hidden under the wicket request. It can be done by cast the
request to IMultipartWebRequest. This request then can access the file stored
in the HTTP request.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Doug,
Congratulations on getting your site into production so quickly - I hope
it's a big success.
It sounds like you are more than satisfied with your decision to choose
Wicket for your presentation layer and importantly, it's especially
encouraging to get a resounding thumbs up for all the
In java 1.7 it will allow: TextFieldStirng tf = new TextField(id);
So, at least one of your wishes will come true ;o)
I like the default idea.
-Original Message-
From: Johan Compagner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2008 4:15 AM
To: users@wicket.apache.org
Subject: Re:
I want to do a popup menu (using a z-indexed layer) that should closed if i
click anywhere, EXCEPT on the menu itself.
Its the close behavior I need to know. Everything but that, is clear to
me. A similar behavior to a opened desktop app File,Edit, .. Help menu
or a context menu (not opened
If you're using DataView try getDataProvider().size();
Dreamltf wrote:
I have a PagingNavigator with a DataView
I found in the IPageable has only the following method
int getCurrentPage();
void setCurrentPage(int page);
int getPageCount();
How can I get the DateView's size ?
Hi,
We haven't worked with 1.4 enough to form an opinion, but we'll
definitely upgrade to it for the next project.
On 6/3/08, Johan Compagner [EMAIL PROTECTED] wrote:
If only... if only
we had this construct:
class ComponentT default Void
If only we had type inference :-)
Is this any
If only we had type inference :-)
Is this any nicer in scala?
in scala you wouldn't have to have the getModel/getModelObject within Component
in the first place (you could use mixins for this purpose).
--- Jan.
-
To
Gabor Szokoli wrote:
Hi,
We haven't worked with 1.4 enough to form an opinion, but we'll
definitely upgrade to it for the next project.
On 6/3/08, Johan Compagner [EMAIL PROTECTED] wrote:
If only... if only
we had this construct:
class ComponentT default Void
If only we had type
On 6/3/08, Jan Kriesten [EMAIL PROTECTED] wrote:
If only we had type inference :-)
Is this any nicer in scala?
in scala you wouldn't have to have the getModel/getModelObject within
Component in the first place (you could use mixins for this purpose).
I was thinking about using the
really?
i still cant find information what will really be 1.7..
On Tue, Jun 3, 2008 at 1:29 PM, Hoover, William [EMAIL PROTECTED] wrote:
In java 1.7 it will allow: TextFieldStirng tf = new TextField(id);
So, at least one of your wishes will come true ;o)
I like the default idea.
Type inference alone will not really help us
To kill the verbosity on components that are not used with models we need
something like T default Void
johan
On Tue, Jun 3, 2008 at 1:34 PM, Gabor Szokoli [EMAIL PROTECTED] wrote:
Hi,
We haven't worked with 1.4 enough to form an opinion, but
On Tue, Jun 3, 2008 at 8:46 AM, Jan Kriesten [EMAIL PROTECTED] wrote:
Hi Gabor,
I was thinking about using the existing wicket 1.4 API from scala, if
that's any more comfortable.
I tried to migrate a bigger project from 1.3 to 1.4 api - and it isn't
really more comfortable. It's easier to
Doug,
Another congratulations from me. I took a look at the site and I
might just sign up. My dad likes to play Texas Hold 'em and I'd like
to kick his butt! :) Glad to hear the generic model/components work
for you too. I'm using them and there have been some headaches, but
overall I like
Hi Gabor,
I was thinking about using the existing wicket 1.4 API from scala, if
that's any more comfortable.
I tried to migrate a bigger project from 1.3 to 1.4 api - and it isn't really
more comfortable. It's easier to do one or two casts than trying to conform the
generics Component
Look in the section Laguage Proposals Shorter Instance Creations
in:
http://blogs.sun.com/dannycoward/resource/Java7Overview_Prague_JUG.pdf
Other useful links:
http://blogs.sun.com/ahe/resource/java-se-7-EclipseCon-2007.pdf
http://puredanger.com/techfiles/java7.pdf
-Original Message-
For those that use SpringBean, starting from m2 you also need the jar
wicket-ioc.
Regards,
Erik.
Frank Bille wrote:
Help the Apache Wicket team to determine the future of your Wicket based web
application development. We have released our second milestone release of
our Java 5 based web
I need an example of wicketstuff-minis' veil behavior. I added this to one of
my components but keep getting the error that the behavior is already bound
to another component and cannot be reused.
All I am doing is:
Button button = new Button(test);
button.add(new Veil());
form.add(button);
Hi James,
Remember that 1.4 isn't done yet either. Perhaps these are just
growing pains that the wicket team is going through (or perhaps it's
not).
it's not... ;-)
No, really, I have invested quite some time to get comfortable with Components +
Generics. And I came to the conclusion:
Hi, Timo:
I want to do as the same as Form Example in wicket-examples-1.3.3
After copying Form Example source and modify it, now it works.
Thanks.
Timo Rantalaiho wrote:
On Mon, 02 Jun 2008, liny wrote:
1. When I enter data into input field and key up,
AjaxFormValidatingBehavior
doesn't
1) Generifying* Wicket
[X] Can best be done in a limited fashion, where we only generify
IModel but not components. I care more about what generifying can do
for API clarity (declaring a component to only accept certain models
for instance) than static type checking.
2) How strongly do you feel
Hey everyone. I am wanting to customize autocomplete textfield a little and I
am not sure what I need to do to get the behavior I would like. I am using
the 1.4-m2 jars for my development because I am really wanting the choices
to show up with an empty textfield.
Basically I would like the Div
all added validators are ANDed together. if you want to add an OR you
have to roll your own validator.
-igor
On Tue, Jun 3, 2008 at 7:16 AM, liny [EMAIL PROTECTED] wrote:
Hi,
I want to have a text field that can validate multi values, like below:
FormComponent fc;
fc = new
On Tue, 03 Jun 2008, gurgel2 wrote:
I want to do a popup menu (using a z-indexed layer) that should closed if i
click anywhere, EXCEPT on the menu itself.
Its the close behavior I need to know. Everything but that, is clear to
me. A similar behavior to a opened desktop app File,Edit, ..
Hi, i am starting new wicket application, my first one. I think this is an
awesome framework!!
I am having this issue, i have a css file and i am including it on a pageA,
then i have another pageB (subclass of pageA) that is on another package.
When i navigate to pageB, i have no stlyes because
Add it to the wiki:)
Milan K?ápek wrote:
I have it. It was hidden under the wicket request. It can be done by cast the
request to IMultipartWebRequest. This request then can access the file stored
in the HTTP request.
-
To
In this case you could quite easily combine these in a single regexp.
-- Edvin
all added validators are ANDed together. if you want to add an OR you
have to roll your own validator.
-igor
On Tue, Jun 3, 2008 at 7:16 AM, liny [EMAIL PROTECTED] wrote:
Hi,
I want to have a text field that
Hi, Igor,
thanks for replying, but I do not understand your statement. My impression
is that the default is true, otherwise I would not have to set it to false
all over the place. Please clarify
José
igor.vaynberg wrote:
the default is false, unless you attach some sort of behavior (ajax)
I am one of adopters laterst release and I invested much time
for upgrading all our projects to 1.4M2 .
I think, that generification of Wicket has many positive impacts, but
also some negative impact on simplicity and ease of use.
I don't see too many advantages of fully typed components - the
Hi,
I want to have a text field that can validate multi values, like below:
FormComponent fc;
fc = new RequiredTextField(name);
fc.add(StringValidator.minimumLength(8));
fc.add(new PatternValidator(cab\\d{2}));
fc.add(new PatternValidator([aAxX]\\d{7}));
I hope the value of this text field is
if the table is the only expensive component on your page then there
is really no advantage to using ajax since you are adding all the
overhead of javascript processing without saving anything.
-igor
On Tue, Jun 3, 2008 at 3:57 AM, Niels Bo [EMAIL PROTECTED] wrote:
Hi
I have observed that
On Tue, Jun 3, 2008 at 1:19 AM, jd17 [EMAIL PROTECTED] wrote:
The first and most important one is the fact that per default Wicket now
makes css ids unique, which isn't even mentioned in the migration guide (Can
you please add it?). I make heavy use of css in my application and it was
really
Hi,
I finally know why I was redirected to tomcat's home page.
It's because wrong setting of WicketFilter's filter mapping in web.xml.
Thanks, guys~
liny wrote:
Hi, Timo:
I want to do as the same as Form Example in wicket-examples-1.3.3
After copying from Form Example source and modify
Thanks, igor and Edvin!
Edvin Syse wrote:
In this case you could quite easily combine these in a single regexp.
-- Edvin
all added validators are ANDed together. if you want to add an OR you
have to roll your own validator.
-igor
On Tue, Jun 3, 2008 at 7:16 AM, liny [EMAIL
Nino Saturnino Martinez Vazquez Wael wrote:
That page is so ridden with ad-spam, Nino, there's no visible content!
argh! It's very clean on the upload side of stuff. Anyway when we get
confluence sorted out i'll put the diagram on this page :
Eelco Hillenius wrote:
1) Generifying* Wicket
[x] Can best be done like currently in the 1.4 branch, where models
[x] Can best be done in a limited fashion, where we only generify
Both are acceptable to me
2) How strongly do you feel about your choice above?
[x] I definitively
[ X] Can best be done in a limited fashion, where we only generify
IModel but not components. I care more about what generifying can do
for API clarity (declaring a component to only accept certain models
for instance) than static type checking.
2) How strongly do you feel about your
On Tue, Jun 3, 2008 at 9:19 AM, jd17 [EMAIL PROTECTED] wrote:
The first and most important one is the fact that per default Wicket now
makes css ids unique, which isn't even mentioned in the migration guide (Can
you please add it?). I make heavy use of css in my application and it was
really
not really sure what to tell you other then my impression is that it
is false by default...
-igor
On Tue, Jun 3, 2008 at 8:47 AM, jd17 [EMAIL PROTECTED] wrote:
Hi, Igor,
thanks for replying, but I do not understand your statement. My impression
is that the default is true, otherwise I would
Eelco Hillenius wrote:
[x] Can best be done in a limited fashion, where we only generify
IModel but not components. I care more about what generifying can do
for API clarity (declaring a component to only accept certain models
for instance) than static type checking.
[x] Whatever
Thanks and sorry to have bothered you. I will take a closer look and see what
I overlooked in my code. I started migrating last tuesday and everything is
up and running, there are just a few warnings I will look into, so i am
quite happy with the transition.
José
--
View this message in
I'm no js shark either, but I had created something like that a while ago
and I got around that problem by setting a flag when the mouse was over the
popup (onmouseover) and reset it onmouseout. Then you can use that flag when
detecting the click event.
Frank
On Tue, Jun 3, 2008 at 1:40 PM,
Hi,
I'm going to give an intro presentation about Wicket at my home company (I
work as an outsource).
There are so many cool things in Wicket and I probably know some / most of
them.
Can you give your advice / thoughts?
Things like Ajax support, markup inheritance, POJO usage, clear and clean
Have a look here
(http://cwiki.apache.org/confluence/display/WICKET/Articles+about+Wicket)
and a quick seach with Nabble, as I think there were similar requests
on the list not too long ago.
/Gwyn
On Tue, Jun 3, 2008 at 8:37 PM, Eyal Golan [EMAIL PROTECTED] wrote:
Hi,
I'm going to give an
One big selling point for me was the encapsulation of components.
Because the code and all required resources (markup, CSS, JS,
localization properties) are by default retrieved from the classpath,
it's trivial to create reusable libraries of common components, page
layouts, etc.
jk
On Tue, Jun
Okay, I may have this all wrong, and then that's my problem. I have an
application that was developed under the 2.0 branch that I recently migrated
to 1.4. This application uses a servlet to handle requests for Jasper
Reports, and under 2.0 everything worked great. I store the report request
in
You can't access the Wicket Session from outside a Wicket request
using Session.get(). It is a thread local that is maintained by the
request cycle. If it was possible in 2.0, then that was a bug and most
certainly a security risk.
You should try to look up the Wicket session in the HttpSession
I have knowledgde of Servlets, JSP and JSF, and reading a bit about Wicket.
Something that turns me immediately off is that you have to use something
like
add(new Label(firstName, person.getName()));
add(new Label(lastName, person.getName()));
add(new Label(address, person.getAdress()));
add(new
[X ] Can best be done in a limited fashion, where we only generify
IModel but not components. I care more about what generifying can do
for API clarity (declaring a component to only accept certain models
for instance) than static type checking.
I've spent a couple of afternoons trying to
Check out the api for WicketSessionFilter, it will tell you how to make the
session available for non wicket servlets.
http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/protocol/http/servlet/WicketSessionFilter.html
On Tue, Jun 3, 2008 at 4:30 PM, Martijn Dashorst
On Tue, Jun 3, 2008 at 9:38 PM, FastGorilla [EMAIL PROTECTED] wrote:
I have knowledgde of Servlets, JSP and JSF, and reading a bit about Wicket.
Something that turns me immediately off is that you have to use something
like
add(new Label(firstName, person.getName()));
add(new
Also http://cwiki.apache.org/WICKET/more-on-models.html
On Tue, Jun 3, 2008 at 9:58 PM, Gwyn Evans [EMAIL PROTECTED] wrote:
On Tue, Jun 3, 2008 at 9:38 PM, FastGorilla [EMAIL PROTECTED] wrote:
I have knowledgde of Servlets, JSP and JSF, and reading a bit about Wicket.
Something that turns me
no it is not possible. in wicket the view is dumb, it contains no
knowledge or logic. if, for example, the person has first name and
last name and you wanted to output a full name you would have to do
the concatenation in java code, and the view would simply have span
wicket:id=fullname/
I'm creating a AjaxFallbackDefaultDataTable, just as shown in the live
examples, and things are working great. My only problem though is
that I would like to scramble one of the columns of information that I
present depending on the user (in this case, the column holds SSN, and
I want it to
thx for your reply Gwyn and Igor. That was the info I was looking for.
igor.vaynberg wrote:
no it is not possible. in wicket the view is dumb, it contains no
knowledge or logic. if, for example, the person has first name and
last name and you wanted to output a full name you would have to
you can also subclass propertycolumn itself
-igor
On Tue, Jun 3, 2008 at 2:36 PM, Steve Thompson [EMAIL PROTECTED] wrote:
I'm creating a AjaxFallbackDefaultDataTable, just as shown in the live
examples, and things are working great. My only problem though is
that I would like to scramble one
You could do something like this:
new PropertyColumn(new Model(your-object-model-replaces-this-one),
property.expression) {
@Override
protected IModel createLabelModel(final IModel embeddedModel) {
return new Model() {
@Override
Check out the api for WicketSessionFilter, it will tell you how to make the
session available for non wicket servlets.
http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/protocol/http/servlet/WicketSessionFilter.html
Yeah, that's how I had my filter and servlet
1 - 100 of 116 matches
Mail list logo