When using a bookmarkable page and altering the state of the page so
that the url is rewritten to
?wicket:interface=:n:myPage::ILinkListener:: etc, why is the basepath /
instead of the bookmarkable page's path?
If someone bookmarks a "stateful" page, they will be redirected to the
homepage if
Hi,
I am trying to add a column of checkboxes in data table with CheckGroup
Selector.
Html looks like this
check/uncheck
all
[Data Table will be
added
here!!]
Hi,
What's the best way of doing simple reordering of components?
For example:
I have a form which is
-
firstname
surname
--
and I want to change it to the following based on some condition (ie, a
checkbox being selected)
-
surname,
firstname
-
Obviously th
There has also been a request made to have @Configurable inject
serializable proxies.
http://jira.springframework.org/browse/SPR-4777
On Mon, Jul 21, 2008 at 7:34 PM, Matt Welch <[EMAIL PROTECTED]> wrote:
>
> Thank you. That makes sense to me now. It was a slow brain day day for me I
> guess. :
Thank you. That makes sense to me now. It was a slow brain day day for me I
guess. :)
Matt
igor.vaynberg wrote:
>
> class usersdataprovider implements dataprovider {
> final userservice svc;
> public int size() { return svc.size(); }
> }
>
> @configurable class userspage extends webpage
@Configurable is used to enable Spring to inject dependencies into a
non-Spring-managed object ie into an object Spring doesn't control the
lifecycle of, and in particular, one that Spring does not create for you (eg
the developer, and not Spring, uses the new keyword and a constructor, or
some fa
Alastair,
On Sat, Jul 19, 2008 at 03:08:45AM +0100, Al Maw wrote:
> > I am trying to rewrite an HTML form "action" attribute (for a
> > non-Wicket form) inside a Wicket Panel and could use some help.
[..]
> However, this seems like a bug to me. Obviously non-Wicket tags
> should have their actio
Try an AjaxSubmitLink. And make sure that page2 is using the models
that page 1 uses to store the dates in.
If you want to o back and forth between those 2 pages it is a good
idea to pass a page reference between them so when they are serialized
they don't get out of sync with each other.
Maurice
class usersdataprovider implements dataprovider {
final userservice svc;
public int size() { return svc.size(); }
}
@configurable class userspage extends webpage {
private userservce svc;
public userspage() {
add(new dataview("users", new dataprovider(svc)));
}
this takes a referenc
igor.vaynberg wrote:
>
> you have to be careful not to pass references to injected beans to
> other objects. other than that i think you should be fine.
>
I know I should understand that, but my brain doesn't want to parse that
sentence for some reason.
references to injected beans - What doe
I looked around and could not find a simple solution to this, but it seems
like there should be one. My problem is this:
1. on page 1, I have a couple of input boxes for dates
2. on page 1, when a user clicks "GO", I want to display a popup window
(page2)
3. on page 2, I want to
Thanks for the announcement. Don't forget to add a link to the Wicket WIKI! :-)
Cheers,
Eelco
On Thu, Jul 17, 2008 at 12:24 PM, Edward <[EMAIL PROTECTED]> wrote:
> Alpha release of WicketBits with two modules: Automagic and Automagic
> Annotations.
>
> Maven site is hosted at:
> http://wicketbit
You should be able to do the submit as soon as the previous one is
processed. You can't process two requests for same page in wicket in
parallel.
-Matej
On Mon, Jul 21, 2008 at 9:01 PM, Arun Wagle <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> But in the second submit, I am not able to invoke save the
Hello,
But in the second submit, I am not able to invoke save the modified data
again.
It does nothing.
How should I handle this if I have to do multiple submit one after another
immediately ?
Can you suggest some solution ?
Regards,
Arun Wagle
Matej Knopp-2 wrote:
>
> The postponing mess
The postponing message should only be visible in ajax log. It only
says that another request is in progress so the current one is
postponed until the previous one finishes.
-Matej
On Mon, Jul 21, 2008 at 8:16 PM, Arun Wagle <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have a Modal dialog box which
Hello,
I have a Modal dialog box which has form which submits certain data.
There are certain roles which the user can select in the drop down and click
on the AJAXSumbitLink SAVE and this would populate a grid on the parent
page.
Now user can do this operation ie AJAX save multiple times, henc
In this case, look into using properties files and localization. You can
edit the properties files, and (almost) no worries about breaking anything.
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, Jul 21, 2008 at 10:15 AM, Martin Voigt <[EMAIL PROTECTED]>
wrote:
> Na, it all depends
Hi Ryan,
Thanks for the link. I don't use Hibernate so I had not seen your
annotation project yet but it looks great. I believe Wicket runs the
render listeners in the order they were added so if you were to do:
public class MyApplication extends WebApplication
{
public void init()
{
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Then the question is, why do they need those 7000 Windows 2000 Desktops?
Wouldn't they be better served by 7000 X server workstations and
several Unix machines with centralized user accounts?
I know, that's old-school. The whole concept is out dated
you have to be careful not to pass references to injected beans to
other objects. other than that i think you should be fine.
-igor
On Mon, Jul 21, 2008 at 9:22 AM, Leon Faltermeyer
<[EMAIL PROTECTED]> wrote:
> Hi,
> Is there any difference in using Spring framework' s @Configurable
> annotation
the easiest thing to do is to pass the imodel into the second
page. i assume you already have a detachable group model that you are
using to list users, so just pass it to the next page.
in general keeping references to objects is safe for as long as the
objects them selves are valid. the problem
Hi,
Is there any difference in using Spring framework' s @Configurable
annotation or wicket's @SpringBean.
I'm already using @Configurable within my domain objects.
I just mind, if I could use @Configurable in my UI layer for DI as well.
regards,
Leon
hi, i am writing an application, but don't know how best to write it
in wicket. i can see lots of different ways to approach my problem
and would appreciate some direction as to which approach is the most
appropiate. i have read the documentation in the wiki regarding
models and understand the di
Na, it all depends on your process and the nature of the project.
Changes never go live without testing, but if you have the constraint
given by your customer that html changes, if they do not break the
wicket hierarchy, must be deployable without a redeployment of the web
application, you have
if your using Maven, then they already should separated /srv/main/java
and src/main/resources.
YOu can also put them in your src/main/webapp directory which require
a little customization.
There are multiple examples and ways of doing it in the wicket
documentation.
- Brill
On 21-Jul-08,
Yeah, but such a policy is complete crap if you'll excuse my french.
You can break a wicket applicaion as easily by changing the html files
as by changing code. A html change IS a code change.
Thomas
>
> I hope this doesn't mean it is considered a "hack"...In some projects of
> mine I have the de
Sorry, but I just don't see the need for transparent failover in most
cases. I don't believe many web applications have unsaved state over
more than a few requests. So yes, you lost a server and you have to
login again, but so what? It's not like it's going to happen very
often to a single user. S
Hi,
On Sat, Jul 19, 2008 at 12:13 AM, David Nedrow <[EMAIL PROTECTED]> wrote:
> I'd like to automatically expose additional functionality or field
> visibility depending on the authorization level of the user (session). For
> example, editable fields for "admin" users.
> [...]
> Has anyone done so
I'm trying to write a unit test using the FormTester.
My page uses a CompoundPropertyModel.
My form contains a FileUploadField.
In my test, I call setValue for various form fields.
When I submit my form using the tester, all of the properties of my model
object are null.
If I remove the FileU
It might be easier for you, but not for the corporate IT shop you're
trying to sell your stuff to. They probably have some wacked out
compliance test to go through for everything they want to install on
their 7000 Windows 2000 Desktops (XP being too newfangled and unproven
to be used). In contrast,
Hi,
I need to use a custom implementation of an IConverter. The way I see
to let the application use this class is to:
- override method newConverterLocator
- return own implementation of IConverterLocater (or sublcass of
ConverterLocator) that registers the new IConverter.
Is this correct, beca
Martijn Dashorst wrote:
yes, but we (core developers) don't advise to do that.
I hope this doesn't mean it is considered a "hack"...In some projects of
mine I have the demand to pull html resources from the file system in
order to allow editing them without redeployment (and having them in a
Hi,
you can control where the .html (and other) resources are loaded from:
http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
This allows you to put them wherever you like, from different packages
or directly from the file system.
I think the default (pulling them f
yes, but we (core developers) don't advise to do that.
See the FAQ:
http://cwiki.apache.org/WICKET/faqs.html#FAQs-HowcanIchangethelocationofMarkupfiles%253F
Martijn
On Mon, Jul 21, 2008 at 11:16 AM, HITECH79 <[EMAIL PROTECTED]> wrote:
>
> Hallo,
>
> i have a question for structuring wicket proj
Hallo,
i have a question for structuring wicket projects, is it possible to divide
*.java and *.html Files in different packages? Or is someone prefer another
way to structure a wicket project
Thanks a lot...
--
View this message in context:
http://www.nabble.com/Structure-in-Wicket-Proje
Hi Timo,
thanks for that hint. Actually, we didn't prove these issues. We should give
it a try ...
Thanks
Timo Rantalaiho wrote:
>
> Hello,
>
> Great that you could solve your issue, but I'll comment on a
> couple of things anyway.
>
> On Wed, 16 Jul 2008, cretzel wrote:
>> We are doing va
Yes, you were right. I realized there are two users were logon just before I
restarted Tomcat. As a result, the browser were trying to load the old sessions
from Tomcat.
Thanks for your help.
Michael
- Original Message
From: Johan Compagner <[EMAIL PROTECTED]>
To: users@wicket.apa
http://www.google.com/search?q=wicket+form+component+listview (feel lucky)
takes you to:
http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html
which has an item for using form components in a listview:
http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html#ListViewandotherr
I'm using a submitlink to submit the form. The submit link is included inside
the form component.
public class SampleForm extends Form
{
..
SubmitLink link = new SubmitLink("addTourLink")
{
public void onSubmit()
Hi
I'm new to wicket and i'm using a Form class with several nested Panels
which are generated dynamically using a listview. But during error
validation the user input values only persist in the form input fields but
disappear from input fields which are nested inside a panel. I'm passing the
sam
40 matches
Mail list logo