Hi,
I have redeployed this application in another Tomcat server it worked. I
have no idea what's wrong. It is a classic PEBCAK.
However, there is a work around it which I used when the solution was not
working. I directed the home Webpage to the Facebook login page if the user
has not login
Добрый день.
I have page with form and feedback on it. Page is mounted under some path.
When i access this page via mounted path - everything is ok - after
processing form feedback panel shows error and/or other messages, as
expected.
But when i create PageLink to this page on the
You could add a HiddenField to the Form and then in your markup set it
to your javascriptvariable.
Maurice
On Thu, Apr 10, 2008 at 5:39 PM, Vitaly Tsaplin
[EMAIL PROTECTED] wrote:
Hi everyone,
How to pass an arbitrary javascript variable to onSubmit?
Vitaly
in our application we use a custom authentication implemenation; but the
comparison you might be looking for can be found here:
http://wicketstuff.org/confluence/display/STUFFWIKI/Security+Framework+Comparison
regards
Michael
Scott Swank wrote:
What do folk recommend for authentication?
Wasp requires a custom WebSession, not a custom WebRequest, to handle
some trivial authentication stuff.
Maurice
On Thu, Apr 10, 2008 at 11:56 PM, James Carman
[EMAIL PROTECTED] wrote:
I've never really cared for this whole idea of requiring subclassing
to get your work done. Is there no way
alternatively you can also use the setFilter method of the FeedbackPanel
class where you can apply a filter on component, container or errorlevel (or
any custom implementation) basis. AFAIK this is how the convenience class
componentfeedbackpanel works
regards
michael
Enrique Rodriguez-2
If you are only interested in a few of the tags you could overwrite
onComponentTag.
But if you want the full page you could render everything to a string
: see
http://www.nabble.com/Wicket-as-a-template-generator-tp16609133p16610499.html
Another option, probably more efficient if you are only
I don't exactly where I saw it also, but James has a point. I like to see
the things also more pluggable. I don't know if Wicket needs to be modified
or if 'wicket-extenders' should take another approach, but I find myself to
many times having to extend the same thing (my Application class) from
You are correct in saying this may cause problems. So it is up to the
developers of the extensions to provide workarounds for this.
For instance wasp and swarm also provide an interface you can
implement on top of the other application you must extend. And if i
recall correctly an application can
I make JIRA issue, WICKET-1215
thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Fri, Apr 11, 2008 at 12:30 AM, Martijn Lindhout
[EMAIL PROTECTED] wrote:
when using Spring you must extends Spring application
not if you are using annots, all you need to do is install the spring
component injector.
-igor
2008/4/11, Maurice Marrink [EMAIL PROTECTED]:
Wasp
when using Spring you must extends Spring application
You don't need to. You could extend WebApplication and in the init() add :
void init() {
addComponentInstantionListener(new SpringComponentInjector(this));
}
But coming back to your real point: It would be nice if Application and
Can't we implement 'something' using an interceptor chain? Extensions can
register themselves in the Application#init() method. There might be a chain
for the webrequest cycle, for example. Each part in the chain may add some
behavior to the cycle then.
2008/4/11, Maurice Marrink [EMAIL
Unfortunately there is no such thing yet as swarm on annotations.
This was mainly because wicket itself was still on java 1.4, now that
wicket has moved to java 1.5 wasp and swarm will follow (in a 1.4
release). but not before i have released at least a beta for 1.3.1. As
you can imagine I'd
On Fri, Apr 11, 2008 at 9:46 AM, Martijn Lindhout
[EMAIL PROTECTED] wrote:
Can't we implement 'something' using an interceptor chain? Extensions can
register themselves in the Application#init() method. There might be a chain
for the webrequest cycle, for example. Each part in the chain may
You could try a BookmarkablePageLink, but it should work with a
regular pagelink too, can you show us some code?
Maurice
2008/4/11 Иванов Дмитрий [EMAIL PROTECTED]:
Добрый день.
I have page with form and feedback on it. Page is mounted under some path.
When i access this page via
hello,
Thanks this is what i want...
Mr Mean wrote:
If you are only interested in a few of the tags you could overwrite
onComponentTag.
But if you want the full page you could render everything to a string
: see
I would let all the parts in a chain implement the same WebRequest interface
for example, and than walk through this chain to let all parts do their
work.
I agree that there may be some combinations that migth break the chain, for
example a security interceptor that will block further handling.
Добрый день.
Friday, April 11, 2008, 2:00:08 PM, вы писали:
--- Code Start
public class DBFUploadPage extends LightUIPage {
public DBFUploadPage() {
add(new UploadDBFTemplate(upload_dbf_form));
add(new PopupCloseLink(close_window));
}
public class
by the way it is all your own fault that you get so many session.
I just searched for your other mails and i did came across: Removing the
jsessionid for SEO
where you where explaining that you remove the jsessionids from the urls..
johan
On Thu, Apr 3, 2008 at 7:23 AM, Jeremy Thomerson [EMAIL
Hi list,
here's my little and annoying problem :
I made a component A that encapsulate a lot of children component (in fact
it's a tree like component).
On that component, i attach an AjaxBehavior of my own that respond to an
ajax callback with :
- traversing A's children
- modifying these
Hi everyone!
Just a quick question.. If I type inside a DateTimeField a 0 in the hours and
minutes field, on submit the minutes field is padded to 00, while the
hours field becomes blank.. Is this an intended behavior? I'm using Wicket
1.3.3..
Thanks for your time!
Even when using proxies this could get tricky if both try to implement
the same method. whichever implementation wins your app will not work
properly.
What do you mean by wins? Isn't this the same as how for instance Spring
interception works. There you can add multiple interceptors to one
I am doing it exactly like this. I am wondering if there is a
formless way to do this? Probably I can mount a page and then just add
some parameters to this URL?
On Fri, Apr 11, 2008 at 9:06 AM, Maurice Marrink [EMAIL PROTECTED] wrote:
You could add a HiddenField to the Form and then in your
I don't get it. Where in your page constructor do you add a
feedbackmessage? The only place i see is in onsubmit and that is not
called on first page render. So where are the feedbackmessages shown
when you access the page via its mounted path coming from?
Feedbackmessages are cleared after they
It is the developers responsibility that there are no conflicts.
Exactly. But if you want A and B where both A and B override for
instance the same method, then you are screwed. an automated process
would pick just one or simply crash horribly but either way it does
not matter because you need
When I try to run mvn jetty:run I get this error:
2008-04-11 12:56:38.642::WARN: failed wicketstuff-scriptaculous-examples
org.apache.wicket.WicketRuntimeException: Application class
wicket.contrib.scriptaculous.examples.ScriptaculousExamplesApplication
must be a subclass of WebApplication
Do you replace the model or change the content of the model?
replace model is:
componentA.setModel(new Model(...));
change model:
componentA.setModelObject(...);
I think when you change it it should work...
Another approach might be to replace component A with a fresh instance,
although I
Hi,
probably I need a very simple thing but I cannot find the solution. On my
page I have table that represents some objects in database. I have there button
for adding new item to database. This button opens new modal window with form
for filling thenew object. After I submit this form, new
Thanks for quick response. But I am not sure, that this what I want. I think it
will need a little bit more description.
As I said I have table where I listed some objects from database. I have there
link which creates new modal window. But I do not give any model to this modal
window. In this
Set a WindowClosedCallback on the modalwindow and use that to add the
table to the ajaxtarget.
Note that most listviews,datatables, etc require that you wrap them in
a WebMarkupContainer or Panel before you can refresh them via ajax.
Of course i assume that the model of the table goes to the
setResponsePage(getPage()) or setResponsePage(getPage())
On 4/11/08, Martijn Dashorst [EMAIL PROTECTED] wrote:
setResponsePage(this)
will send a redirect to the current page
Martijn
On 4/11/08, Milan Křápek [EMAIL PROTECTED] wrote:
Thanks for quick response. But I am not sure, that
setResponsePage(this)
will send a redirect to the current page
Martijn
On 4/11/08, Milan Křápek [EMAIL PROTECTED] wrote:
Thanks for quick response. But I am not sure, that this what I want. I think
it will need a little bit more description.
As I said I have table where I listed some
Check out IAjaxCallDecorator getAjaxCallDecorator().
Jeremy
On Fri, Apr 11, 2008 at 4:42 AM, Vitaly Tsaplin [EMAIL PROTECTED]
wrote:
I am doing it exactly like this. I am wondering if there is a
formless way to do this? Probably I can mount a page and then just add
some parameters to this
hmmmthey worked the last time I checked.
I'll try to take a look, but if you see anything that's obviously
incorrect, let me know.
On Fri, Apr 11, 2008 at 5:58 AM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
When I try to run mvn jetty:run I get this error:
2008-04-11
Might want to double-check you've not got conflicting Wicket jars on your
classpath.
Charlie.
On Fri, Apr 11, 2008 at 2:40 PM, Ryan Sonnek [EMAIL PROTECTED] wrote:
hmmmthey worked the last time I checked.
I'll try to take a look, but if you see anything that's obviously
incorrect, let
Okay, i've managed to get it working with removing and adding the component
to its parent, here's a snippet :
final ChaptersTreeView treeView = new
ChaptersTreeView(activities_tree, loadModel);
treeView.add(new SortableTreeAjaxBehavior() {
@Override
Hi all,
I built our storefront almost two years ago now, in Wicket 1.2.x. I'm now
upgrading from 1.2.4 to 1.3 and am just about finished but I'm stuck on one
seemingly simple thing.
My init() looks like this:
public void init()
{
//create external images resource
Sorry, I forgot to include this class, which someone here on the mailing list
gave to me way back in '06 when I first built this app. It's been so long
since I had to look at this I forgot it was a custom class:
public class ImageResource extends DynamicWebResource
{
private
Hi,
This thread is a few months old now but I have the same problem now...
Scandinavian characters aren't encoded and decoded in the same way when using
ajax POST requests and tomcat.
To me the problem seems to be that wicket does not specify the encoding in the
ajax request. When tomcat
you can just call A.getmodel().detach() to uncache the model
-igor
On Fri, Apr 11, 2008 at 7:52 AM, Alexis [EMAIL PROTECTED] wrote:
Okay, i've managed to get it working with removing and adding the component
to its parent, here's a snippet :
final ChaptersTreeView treeView = new
what url gets constructed? is the imageresource ever hit?
-igor
On Fri, Apr 11, 2008 at 8:34 AM, V. Jenks [EMAIL PROTECTED] wrote:
Sorry, I forgot to include this class, which someone here on the mailing list
gave to me way back in '06 when I first built this app. It's been so long
since
Hi Nils,
in order for AJAX to work properly configure your Tomcat connector with
URIEncoding=UTF-8 as shown here:
http://cwiki.apache.org/WW/how-to-support-utf-8-uriencoding-with-tomcat.html
Roman
Nils Tesdal schrieb:
Hi,
This thread is a few months old now but I have the same problem
Hi
Showing a prototip should be a matter of setting z-index right? Im
having a little trouble doing just that... Even though i've set z-index
to 3...
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
Didnt hear anything back on the post, any fragment gurus?
Ritz123 wrote:
Hi,
This may be actually a stupid question - am little confused about
Fragments use.
Lets say I was extending existing component e.g. DataTable and did not
have markup file of my derived component, (I think) in
That's only question of time, Johan hasn't yet had time to generify pages.
-Matej
On Fri, Apr 11, 2008 at 3:10 AM, Jonathan Locke
[EMAIL PROTECTED] wrote:
uh, i meant WebPage obviously
Jonathan Locke wrote:
i didn't say it shouldn't be. i was just saying /if it was not going
Hi,
I'd like to change the color of a button after clicking it. The button was
added to the page using AjaxButton.
Is there a way to change the style of a button? I've change the css style
when using PropertyColumns but I don't see anything for changing the style
of a button.
I could make 2
Hi all,
We're seeing an issue with ajax and isTransparentResolver set to return
true and I'm wondering if this is something we're doing wrong or if it's
an oversight. Here's an example:
add(new WebMarkupContainer(toUpdate) {
@Override
public boolean isTransparentResolver() {
you can add an attributemodifier to the button that alters the style attribute
-igor
On Fri, Apr 11, 2008 at 10:01 AM, Karen Schaper
[EMAIL PROTECTED] wrote:
Hi,
I'd like to change the color of a button after clicking it. The button was
added to the page using AjaxButton.
Is there a
i dont think we can support transparent resolvers as ajax targets
-igor
On Fri, Apr 11, 2008 at 10:00 AM, Meetesh Karia [EMAIL PROTECTED] wrote:
Hi all,
We're seeing an issue with ajax and isTransparentResolver set to return
true and I'm wondering if this is something we're doing wrong or
Thanks for the information ... I'll change our code.
Meetesh
Igor Vaynberg wrote:
i dont think we can support transparent resolvers as ajax targets
-igor
On Fri, Apr 11, 2008 at 10:00 AM, Meetesh Karia [EMAIL PROTECTED] wrote:
Hi all,
We're seeing an issue with ajax and
You could use a ajax link instead
http://www.wishingline.com/notebook/2006/06/revisitingslidingdoorbuttons/
Either way you would use a attribute modifier to change the class
property...
Karen Schaper wrote:
Hi,
I'd like to change the color of a button after clicking it. The button was
Thats wierd, its working again.. Might have been a glitch in my network
connection, messing up dependencies or something
Ryan Sonnek wrote:
hmmmthey worked the last time I checked.
I'll try to take a look, but if you see anything that's obviously
incorrect, let me know.
On Fri, Apr
Hi all. I'm trying to create a component I call a FormBorder. The idea
is to embed the form and OK/Cancel buttons into the border:
wicket:border
div class=form
form wicket:id=form
wicket:body/
div class=buttons
input wicket:id=button type=submit/
/div
/form
Anything new on this issue?
/Gwyn
On Wed, Apr 9, 2008 at 5:55 PM, Niels Bo [EMAIL PROTECTED] wrote:
ok, I can put a try-catch(Throwable t) around the service() and log that
together with the request-url.
But since it is a production server, I am not able to get it deployed until
try
formborder extends border {
formborder() { form.add(getbodycontainer(); }
}
if that doesnt help you might have to say
formborder.getbodycontainer().add(textfield);
but i think the first tweak should fix it
-igor
On Fri, Apr 11, 2008 at 11:54 AM, John Krasnay [EMAIL PROTECTED] wrote:
On Fri, Apr 11, 2008 at 01:12:15PM -0700, Igor Vaynberg wrote:
try
formborder extends border {
formborder() { form.add(getbodycontainer(); }
}
Yep, tried it but it doesn't help.
if that doesnt help you might have to say
formborder.getbodycontainer().add(textfield);
This indeed
keep your eye on https://issues.apache.org/jira/browse/WICKET-1237
-igor
On Fri, Apr 11, 2008 at 1:22 PM, John Krasnay [EMAIL PROTECTED] wrote:
On Fri, Apr 11, 2008 at 01:12:15PM -0700, Igor Vaynberg wrote:
try
formborder extends border {
formborder() {
On Fri, Apr 11, 2008 at 4:22 PM, John Krasnay [EMAIL PROTECTED] wrote:
This indeed works, but the problem is I'm gonna forget to do it and
spend another half day banging my head against my desk wondering where
my data went. I think I'll go back to an explicit form...it's not too
onerous.
There is a well-known problem with the file upload control in IE that causes
user confusion. In this situation the submit button refuses to respond and
no error is shown to the user. I'm wondering if any Wicketeers have found a
workaround.
From http://support.microsoft.com/kb/892442: Users must
I need to build a TabbedPanel with three tabs which are part of one form
- the selected tab will contain form components which need to be
submitted by that one form. It seems FormComponentPanel is the way to
go: are there any good examples of this?
Also, would this be the recommended approach?
Yes, I agree, Vitaly - but unfortunately the design decision is out of my hand.
It's got to have tabs. Of course it is possible to do the tabbing by CSS
styling, but I wanted to see if FormComponentPanel is a way to go since the
complexity of managing the tabbed panel would then be shifted to
package org.apache.wicket.extensions.markup.html.tabs;
public class TabbedPanel extends Panel --- it extends the panel
{ ... }
Am I wrong? :)
On Sat, Apr 12, 2008 at 2:11 AM, Michael Mehrle [EMAIL PROTECTED] wrote:
Yes, I agree, Vitaly - but unfortunately the design decision is
Thanks for your not very helpful email, but unfortunately, you're wrong. In
that other email, I did say But, most don't (have jsessionid) because
almost all of my links are bookmarkable. I don't strip out jsessionid - I
don't think you even can without disabling cookieless support - your
On Fri, Apr 11, 2008 at 9:37 PM, Jeremy Thomerson
[EMAIL PROTECTED] wrote:
Thanks for your not very helpful email, but unfortunately, you're wrong. In
that other email, I did say But, most don't (have jsessionid) because
almost all of my links are bookmarkable. I don't strip out jsessionid
Are you storing a lot of variables in your session? Also how often is
google visiting your site?
On Fri, Apr 11, 2008 at 9:37 PM, Jeremy Thomerson
[EMAIL PROTECTED] wrote:
Thanks for your not very helpful email, but unfortunately, you're wrong. In
that other email, I did say But, most don't
which wicket does for every url via webrequest.encodeurl or something
like that. of course if you subclass webrequest and dont forward the
encodeurl to httpservletrequest you effectively strip jsessionid from
the urls.
-igor
On Fri, Apr 11, 2008 at 6:53 PM, James Carman
[EMAIL PROTECTED] wrote:
On Fri, Apr 11, 2008 at 6:37 PM, Jeremy Thomerson
[EMAIL PROTECTED] wrote:
If you go to http://www.texashuntfish.com/thf/app/home, you will notice that
the first time you hit the page, there are jsessionids in every link - same
if you go there with cookies disabled.
as far as i know
Please,
The default behavior of the current datepicker allows users to scroll month
by month, how can datepicker be configured to scroll year by year?
thanks
Thanks for the insight - didn't know that the webapp had to make a call to
force the cookie-less support. Someone asked for how often Google is
crawling us. It seems like at any given point of almost any day, we have
one crawler or another going through the site. I included some numbers
below
If I understood you correctly, the first page is bookmarkable, the second is
a wicket URL, tied to the session. That'd be bad for SEO - search engines
couldn't see page 2, or they would, but the URL is tied to their session, so
even if a user visited that URL, they wouldn't get that page. This
try a breakpoint in ISessionStore.bind() - that is where the wicket
session is pushed into httpsession
-igor
On Fri, Apr 11, 2008 at 9:26 PM, Jeremy Thomerson
[EMAIL PROTECTED] wrote:
Thanks for the insight - didn't know that the webapp had to make a call to
force the cookie-less support.
I am passing a list of RoomModel object to a DropDownChoice which I want to
be set in my BookModel object after selection. My BookModel has a pair of
get/set for a RoomModel class.
The code looks like
ArrayList list = new ArrayList(getRoomList());
ChoiceRenderer renderer = new
Just make sure you are not receiving more than 90 requests from search
engines an hour. If you are you may want to set up a robots.txt
(http://www.robotstxt.org/) and a sitemap (http://www.sitemaps.org/).
On Sat, Apr 12, 2008 at 1:20 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
try a breakpoint
what is bookingModel? what object is it and what does it extend? is it
an IModel?
-igor
On Fri, Apr 11, 2008 at 10:33 PM, nemo_08 [EMAIL PROTECTED] wrote:
I am passing a list of RoomModel object to a DropDownChoice which I want to
be set in my BookModel object after selection. My BookModel
I think my naming conventions are not perfect but BookingModel is a pojo
implementing Serializable which I am using to map through Hibernate. Similar
is RoomModel.
public class BookingModel implements Serializable {
private Integer bookingID;
private String bookingRef;
76 matches
Mail list logo