Only store the userid in the session, and get that id and the user
object in the request cycle on begin request also store the user
object in that request cycle then no synching is really needed, except
maybe a (db) version/timestamp check if you really want to make sure
you are the latest update.
Dear All,
I have been extensively using the MutiFileUploadField and have been
facing some issues, however I am happy that there is a component like this
and has save a lot of time for me. Some of the things that I have come
across are as follows
1)If I enter some data in the file upload field
Allright. I got it working nicely for my purpose now :)
-- Edvin
Igor Vaynberg skrev:
ajaxformcomponentupdatingbehavior (AB) is really made for isolated
component updates. because you are tweaking more then one component
you need to process the components that AB is not attached to
manually.
Well, that's a pity...
Anyway, I finally had to go with passing page id and page map name so
that I could retrieve the previous page back from the page map... if it
existed. I used HybridUrlCodingStrategy anyway so that, once I get these
two parameters from the PageParameters object and
If you use hibernate, this is not recommended... An entity can only be
part of one Hibernate Session, and storing the instance in the wicket
session will share it across threads, and hence you'll get hibernate
exceptions.
Note that this may not be only a problem in Hibernate, but can also be
a
Thanks! It worked!
Marcus
2008/1/5, Matej Knopp [EMAIL PROTECTED]:
Application.getResourceSettings().getLocalizer().clearCache() might do
the trick.
-Matej
On Jan 4, 2008 9:00 PM, marcus dickerhof [EMAIL PROTECTED] wrote:
Hello,
is there a possiblity to globally clear the localizer
On Fri, 04 Jan 2008, Andrew Berman wrote:
I am having an issue migrating from 1.2.6 to 1.3. I changed my Application
class so it would compile for 1.3 and the method in question is
newRequestCycle(Request request, Response response). Before I was looking
at the URL and based on the URL
Hi!
In regards to my earlier post concerning this:
http://www.nabble.com/Bug-in-1.3-final%3A-CheckBox.setRequired%28%29-is-not-picked-up-as-error-when-unchecked-to14619181.html
I suddenly got the reverse problem: When I have a checkbox like this:
CheckBox agree = new CheckBox(agree, new
Btw, that method is also exposed via JMX if you use that.
Eelco
On Jan 5, 2008 9:12 PM, marcus dickerhof [EMAIL PROTECTED] wrote:
Thanks! It worked!
Marcus
2008/1/5, Matej Knopp [EMAIL PROTECTED]:
Application.getResourceSettings().getLocalizer().clearCache() might do
the trick.
Hi *,
before i develop a testing project for this issue i ask here. Maybe someone
can see my fault.
I try to develop an user registration. This will be managed by a
RegistrationPanel. On this a LoginPanel and a NewUserPanel will be exchanged
by toggling the visible state while pressing the
hi all,
I am studying guestbook sample of 1.3 right now, but encounter some problem:
If i submit the form, then rising Page Expired.
I have read this thread
http://www.nabble.com/forum/ViewPost.jtp?post=13663558framed=y;, but
nothing help.
Have anybody tried guestbook sample of 1.3?
regards,
On Jan 5, 2008 1:03 AM, Franklin Antony [EMAIL PROTECTED] wrote:
1)If I enter some data in the file upload field and just move out(something
like loose focus), then that entry I placed inside the text file just gets
listed below. My suggestion would be somehow to get that field as disabled
boolean checkRequired() { return
Boolean.TRUE.equals((Boolean)getModelObject()); }
-igor
On Jan 5, 2008 7:07 AM, Edvin Syse [EMAIL PROTECTED] wrote:
Hi!
In regards to my earlier post concerning this:
I was able to reproduce the same bug as well. I am using IE 6
Igor Vaynberg wrote:
On Jan 5, 2008 1:03 AM, Franklin Antony [EMAIL PROTECTED] wrote:
1)If I enter some data in the file upload field and just move out(something
like loose focus), then that entry I placed inside the text file
erm, spoke too soon
boolean checkRequired() { if (isRequired()) { return
!Strings.isEmpty(getInput()); }}
-igor
On Jan 5, 2008 8:58 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
boolean checkRequired() { return
Boolean.TRUE.equals((Boolean)getModelObject()); }
-igor
On Jan 5, 2008 7:07
You could do LoginPage extends AbstractBasePage
MySecurePage extends AbstractBasePage implements ISecurePage
OtherPage extends MySecurePage
Or alternatively
MyInterface extends ISecurePage
AbstractBasePage extends SecureWebPage
LoginPage extends AbstractBasePage
OtherPage extends AbstractBasePage
Let me guess .. you need the form to create a AjaxSubmitLink instance.
But the #findParent(Form.class) will return null until the component
hierarchy is constructed, being so you cannot invoke it at component
construction-time.
A possible workaround is to postpone the findParent(Form.class)
seems to work fine
http://wicketstuff.org/wicket13/guestbook/
did you tweak the filter mapping?
-igor
On Jan 5, 2008 8:23 AM, rosen jiang [EMAIL PROTECTED] wrote:
hi all,
I am studying guestbook sample of 1.3 right now, but encounter some problem:
If i submit the form, then rising Page
Thanks, got it :) I misunderstood the point of the checkRequired() method
earlier :)
-- Edvin
Igor Vaynberg skrev:
erm, spoke too soon
boolean checkRequired() { if (isRequired()) { return
!Strings.isEmpty(getInput()); }}
-igor
On Jan 5, 2008 8:58 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm taking a quick look at Wicket for use on a new project. I'm
curious about the URLs. It it possible to have more control over the
URLs that Wicket uses for form submissions? In the guest book example
the submit URL is...
http://wicketstuff.org/wicket13/guestbook/?wicket:interface=:0
On Fri, 04 Jan 2008, wicket21 wrote:
a) reading the Ajax - Links Example (get the starting point: use
AjaxCallDecorator)
b) finding/writing a js function to display a layer to cover all the visible
area of the window + disallow any user clicks (similar behaviour as the
layer behind the modal
You can mount pages using hybridurlcoding strategy to make sure user
doesn't see wicket:interface in url. However, the urls in documents
are not that easy to change. It would require custom url coding
strategy for imho no good reason as those are urls the user doesn't
really see.
The ajax example
Thank you for the response. I'm not quite sure I follow, though.
URLs in documents, do you mean AJAX? Because it seems that there is
an interface for mapping URLs, this mount interface that you mentioned.
On Jan 5, 2008, at 1:13 PM, Matej Knopp wrote:
You can mount pages using
Thans for your help,thanks
igor.vaynberg wrote:
renderhead(IHeaderResponse r) {
for (FeedbackMessage m:messages) {
r.renderonloadjavascript(alert('+m.toString()+'););
}
}
-igor
On Dec 31, 2007 11:25 PM, JohnSmith333 [EMAIL PROTECTED] wrote:
Thanks for your kindly reply
Hi,
by url in documents i mean urls that you see when you e.g. look at the
generated page source code.
-Matej
On Jan 5, 2008 8:54 PM, Alan Gutierrez [EMAIL PROTECTED] wrote:
Thank you for the response. I'm not quite sure I follow, though.
URLs in documents, do you mean AJAX? Because it seems
hi igor,
Yes, i have tweak mapping.
I am following http://wicket.apache.org/exampleguestbook.html; sample, my
GuestBookApplication.java and GuestBook.html and GuestBook.java and
Comment.java all same as sample, and all files put into com.cdsafe.guestbook
package.
This is my web.xml:
?xml
Yeah, the form is initialized in the Wizard's init method, not right
away during construction. You could try patching the wizard and
creating the form in the constructor instead and see if that solves
your problem and propose a patch if it does. I wouldn't mind having
another wizard example in
I wondering what's the best approach to overriding the markup for a
panel. Is there a method I can override or should I just extend the
Panel?
You should extend it. You *could* use a custom resolution (see the
custom markup example in wicket-examples), but extending the class is
easier to
If you have a reproducible case, please attach this to an issue.
Cheers,
Eelco
On 1/5/08, Suad AlShamsi [EMAIL PROTECTED] wrote:
I was able to reproduce the same bug as well. I am using IE 6
Igor Vaynberg wrote:
On Jan 5, 2008 1:03 AM, Franklin Antony [EMAIL PROTECTED] wrote:
1)If I
On 1/4/08, Sam Hough [EMAIL PROTECTED] wrote:
What is the best bet for supporting the back button and bookmarking in Ajax
heavy Wicket 1.3?
I saw this ticket which I think covers what I'm on about:
http://issues.apache.org/jira/browse/WICKET-271
So far we are thinking about marking which
31 matches
Mail list logo