Hi,
I love using wicket (1.4) its by far the best web framework for java I
have used. However the one thing that really is hard work is the url
handling for me.
Our users all the time want to copy and paste the url of a given page
in to an email or use in a comment to link to something in the
setResponsePage(Page.class, new PageParameters());
On Wed, Feb 9, 2011 at 9:37 AM, Wayne W waynemailingli...@gmail.com wrote:
Hi,
I love using wicket (1.4) its by far the best web framework for java I
have used. However the one thing that really is hard work is the url
handling for me.
Our
On Wed, Feb 9, 2011 at 9:37 AM, Wayne W waynemailingli...@gmail.com wrote:
2- is there a better strategy to having all url's bookmarkable
(providing the page supports pageparamters)? Are there any changes in
wicket 1.5 to make life more easy?
Default constructor or constructor with
thanks Martijn,
I was looking at someone's else code and it was :
params.add(PROJECTID, info.getId().toString());
setResponsePage(new =ProjectPage(params));
rather than:
params.add(PROJECTID, info.getId().toString());
setResponsePage(ProjectPage.class, params);
Need coffee.
Sorry about that.
On Wed, Feb 9, 2011 at 10:20 AM, Wayne W waynemailingli...@gmail.com wrote:
Another question if you don't mind? Quite often we have a bookmarkable
page with a form or link on it. This form/link will update the model
and redisplay the current page. When this happens we loose the
bookmarkable
Hello,
I have a strange problem with statelessForm :
I would like a stateless application with 2 statelessForm and with somes
required validators on form :
public class HomePage extends WebPage {
private static final long serialVersionUID = 1L;
public HomePage(final
Hi,
hrbaer wrote:
...
try {
pm.makePersistent( ent );
modal.show( target );
target.add(feedback); === I guess this was missing
}
-
You need to add the feedback to the target on success as well
Cheers
Hans
--
View
Thank you for reply,
yes! And I get then another exception :)
Cannot resolve ServletContextResource without ServletContext
Does andybody know how can I get/set the servletContext?
Dmitriy
On 8 February 2011 18:01, Igor Vaynberg igor.vaynb...@gmail.com wrote:
did you call context.refresh() ?
Hi folks,
anyone know when 1.4.16 will get released?
Cheers
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
I have found a solution to my first problem which was Disabling my checkbox.
I did it by changing my listView to a RefreshingView and then using
AjaxEventBehavior on my checkbox like so:
final RefreshingView rv = new RefreshingView(mychanges) {
@Override
Hi,
Try this in your application's #init() method (before calling #refresh() on
ctx)
ctx.setServletContext(getServletContext());
Attila
2011/2/9 Dmitriy Neretin dmitriy.nere...@googlemail.com
Thank you for reply,
yes! And I get then another exception :)
Cannot resolve
Hi,
thank you! Now I know how to get the ServletContext :) But it didn't solve
the main problem. This time I got following exception:
IOException parsing XML document from ServletContext resource
[/WEB-INF/applicationContext.xml]; nested exception is
java.io.FileNotFoundException: Could not open
The problem is that your test is not actualy running in a servlet container,
only in a wicket mocked servlet context. To access webapp resources in the
test you have to specify in the second parameter of WicketTester constructor
where your web app's root is. Like this (in a maven project):
Thank you it finally works! :)
But what I still don't understand: the problem appeared after I inserted
following in the custom session constructor:
InjectorHolder.getInjector().inject(this);
And why it worked with only one WicketTester constructor parameter (new
MyApplication)? And after
I tell people that I think you should let your Model and Model backing
object control the look and feel/display/content of your components.
Even visibility should be delegated to the model or model object and not
set by the component. Am I wrong here?
I use this approach (only work with the
I tell people that I think you should let your Model and Model backing
object control the look and feel/display/content of your components.
Even visibility should be delegated to the model or model object and not
set by the component. Am I wrong here?
Yes. :)
The model should NOT care
Hi,
2011/2/9 Dmitriy Neretin dmitriy.nere...@googlemail.com
Thank you it finally works! :)
Great!
But what I still don't understand: the problem appeared after I inserted
following in the custom session constructor:
InjectorHolder.getInjector().inject(this);
And why it worked with
Can you submit all of the data on a form based on an onchange event?
Is adding javascript the only way to submit the data?
Pseudo Code:
Panel {
Form form = new Form(new CompoundPropertyModel());
add(form);
form.add(new TextField(val);
form.add(childList = new DropDownChoice());
Hi!
In case I have a bookmarkable page with some AJAX on it (form+table) and
the user can navigate away and back to this page (using the back
button). How can I make sure that in case of the back button, the user
will see the state of the page after the AJAX modifications?
Best regards,
Use AjaxFormSubmitBehavior instead of AjaxFormComponentUpdatingBehaviour.
AjaxFormComponentUpdatingBehaviour is just for updating a single field
in a form.
AjaxButton uses AjaxFormSubmitBehaviour internally so look at that for
an example.
Mike
Can you submit all of the data on a form
is there anything particularly important in it that you need?
-igor
On Wed, Feb 9, 2011 at 3:18 AM, Przemek Kubicki prze...@consol.pl wrote:
Hi folks,
anyone know when 1.4.16 will get released?
Cheers
-
To unsubscribe,
mount it with hybrid url coding strategy
-igor
On Wed, Feb 9, 2011 at 8:01 AM, Istvan De surf-ki...@freemail.hu wrote:
Hi!
In case I have a bookmarkable page with some AJAX on it (form+table) and the
user can navigate away and back to this page (using the back button). How
can I make sure
hrm. i thought this was fixed a long time ago. please file a bug with
a quickstart.
-igor
On Wed, Feb 9, 2011 at 2:09 AM, Olivier Dutrieux
olivier.dutri...@pasteur.fr wrote:
Hello,
I have a strange problem with statelessForm :
I would like a stateless application with 2 statelessForm and
Ajax-enclosures would be nice ;)
2011/2/9 Igor Vaynberg igor.vaynb...@gmail.com:
is there anything particularly important in it that you need?
-igor
On Wed, Feb 9, 2011 at 3:18 AM, Przemek Kubicki prze...@consol.pl wrote:
Hi folks,
anyone know when 1.4.16 will get released?
Cheers
Hey,
WICKET-3321 https://issues.apache.org/jira/browse/WICKET-3321 is crucial
for us.
It is already fixed.
We need to release our product version asap. Without 1.4.16 we would
need to patch the wicket, but i'd like to avoid it.
Cheers,
W dniu 09.02.2011 17:25, Igor Vaynberg pisze:
is
i may have time this weekend. may being the operative word.
you dont need to patch the version of wicket, just use the latest snapshot jar.
-igor
On Wed, Feb 9, 2011 at 8:52 AM, Przemek Kubicki prze...@consol.pl wrote:
Hey,
WICKET-3321 https://issues.apache.org/jira/browse/WICKET-3321 is
please suggest what doctype should I use to make IE work , and not cause
any new issues.
i am not sure If my application is xhtml or just html , I am not sure if
every thing is valid , in this case what would be the right doctype for my
pages , please suggest me.
--
View this message in
Hi!
Use !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
It is not strict.
However, nothing will guarantee things will work in IE.
**
Martin
2011/2/9 fachhoch fachh...@gmail.com:
please suggest what doctype should I use
This has nothing to do with Wicket.
I would recommend researching selfhtml (http://de.selfhtml.org/) since
you seem to be from Germany.
On 09.02.2011 17:58, fachhoch wrote:
please suggest what doctype should I use to make IE work , and not cause
any new issues.
i am not sure If my
I already attach on my first post a sample (quickstart) :
http://apache-wicket.1842946.n4.nabble.com/file/n3296950/Wicket-test.rar
I fill too a jira ticket : https://issues.apache.org/jira/browse/WICKET-3438
Best regards
-
Duto
--
View this message in context:
Does anyone have an update over this?
It seems the website
http://people.apache.org/~coar/mlists.html#wicket.apache.org
does not show anymore the Wicket dashboard.
I'm looking for a number of active members on the mailing list (also, number
of messages).
--
View this message in context:
On Wed, Feb 9, 2011 at 2:10 PM, Bruno Borges bruno.bor...@gmail.com wrote:
Does anyone have an update over this?
It seems the website
http://people.apache.org/~coar/mlists.html#wicket.apache.org
does not show anymore the Wicket dashboard.
I'm looking for a number of active members on
Hi
Is there a way I can have the selected option on a DropDownChoice to be set
with one of the items in the Model instead of ' Choose One' as the
selected item by default? I know this has been asked around in a different
sense but I could not find a closer match to this.
Code Snippet
The DDC will reflect whatever is in its model (the model for the
selected value, not the one for the list of items to choose from).
So, just set your model.
On Wed, Feb 9, 2011 at 10:52 PM, Niv nivedan.t...@gmail.com wrote:
Hi
Is there a way I can have the selected option on a DropDownChoice
Apache shiro is one more - http://shiro.apache.org/
On Wed, Feb 9, 2011 at 3:14 AM, sakthi vel vela@gmail.com wrote:
Hello All,
There are few security things in wicket like SWARM, Spring security with
wicket and so on.
Could anyone tell the best security practice in wicket and any
Hi!
You can do defaultChoiceRenderer.setDefaultModelObject(xxx)
Or if you don't want to dirty it, you can use
public static T extends FormComponent? void fakeRawInput(T
formComponent, T existingComponent) {
try {
String rawInput = (String) rawInputField.get(existingComponent);
@James - Thank you will try that out and get back.
@Martin - Thanks mate will get back I guess I am using 1.4.9 version and
don't have the option to setDefaultModelObject on the ChoiceRenderer anyhow
appreciate your time and thoughts to write back.
Thanks again
Nive
On Thu, Feb 10, 2011 at 12:01
37 matches
Mail list logo