Jeremy Thomerson wrote:
I agree that relative URLs are good. But, I have multiple (20+) sites
set
up running through a single Wicket application, and I am using Apache's
ProxyPass to front-end all of them under their respective domains. I
use an
absolute slash / because I actually want it
I'm not that familiar with the code, but the interesting thing is that
LazyInitProxyFactory$JdkHandler does cache the bean it located:
if (target == null)
{
target = locator.locateProxyTarget();
}
return proxy.invoke(target, args);
The target is a
Nino Saturnino Martinez Vazquez Wael nino.martinez at jayway.dk writes:
If I am in US locale numbers are interpreted okay, however if in
european locale they dont. Thats because the value are in US locale so
how do I tell that these two fields should be interpereted as US. I have
tried
Javed javed.attar at gmail.com writes:
I am having to different markups for the same page(java file) so when I
start my server and hit that page it with criteria that selects markup
dynamically it displays that page with that markup but when I hit it one
more time (without restarting server)
Not sure if it is the preferred way of doing things (since this is
Eelco's framework) but you could override the init() method and set up
a different authorizationstrategy and or instantiationlistener, all
you have to do for that is skip the call to super and do something
similar yourself.
Or you
Johannes Schneider johannes at familieschneider.info writes:
I have found this method and discovered that it is not used within
component.
But I can't propose anything because I am a newbie to Wicket ;).
Try:
public class EscapingTextField extends TextField {
public
mchack mchack at cisco.com writes:
I am using a mounted, bookmarkable page. I am passing in a parameter using
the url syntax. This works fine when I access it via the Parameter object
passed in at Page creation time. I would also expect that the parameter
would be accessible via the request
Matthieu Casanova a écrit :
Hi, I want to hide a component, and sometimes making it visible using
javascript.
Is there something like that in wicket api or should I do it myself
with some javascript ?
Hi,
If you want to make your component visible/invisble using ajax, you can use
I put a breakpoint in the constructor of my Form, which has the
@SpringBean annotation on ia property named logic.
Before the super() call, logic is null.
After that, it is set to $Proxy39, with a h-attribute to a
org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler. The target
property of
on, notwithstanding the profligacy of the kings, in a course of very example
was soon lost, and was succeeded by the most extreme degeneracy subservient to
her will. The mother and the son went on together for a There are, however, in
fact, three interruptions to the continuity of
Greek. Thus,
Hi,
This must have been asked a zillion times but I couldn't find the right
answer in the list archives. Anyway, I have some javascript which does
an image replacement on a mouseover (need a JS version for browser
compatibility :( ).
AFAIK JavaScriptReference doesn't update image paths in the
Could you please open up a JIRA issue for this with a link to this
discussion? I think it is something Igor might have an idea about (but
he's no a vacation now).
Eelco
On 6/3/07, Rüdiger Schulz [EMAIL PROTECTED] wrote:
I put a breakpoint in the constructor of my Form, which has the
On 5/31/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
* Johannes Schneider:
can anyone tell me how I can escape German umlauts when using
TextFields or Labels? Component.setEscapeModelStrings( true)
does not replace them. And I really don't want to create a
custom IModel
On 5/29/07, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
Hi I have a form
form wicket:id=Form
input type=hidden wicket:id=longtitudeNE name=longtitudeNE
id=longtitudeNE
/form
java part:
gMapUpdatingForm.add(new HiddenField(longtitudeCenter, new
class USNumberConverter extends SimpleConverterAdapter {
public String toString(Object value) {
return
NumberFormat.getInstance(Locale.US).format((Number) value);
}
public Object toObject(String value) {
try {
Can you give some code fragments?
Eelco
On 6/2/07, Vatroslav [EMAIL PROTECTED] wrote:
Hi,
I'm trying to update (refresh) Panel from Ajax tree (by clicking tree item)
but without success. :(
I've checked, Panel's model is changed.
If I put a Label component instead of Panel, and inside
The override of onUnauthorizedPage didn't work because the framework was
throwing the UnauthorizedInstantiationException because the page itself was
not secure, but the component was. I was able to handle this by overriding
the WebRequestCycle to handle exceptions explicitly as indicated in the
I'm not sure whether this (doing header contributions via Ajax) was
ever build into 1.2, but it's one of the things that are certainly
possible with Wicket 1.3. As an example, I added DateTimeField to
org.apache.wicket.examples.ajax.builtin.modal.ModalContent1Page
Eelco
On 6/3/07, Nili Adoram
Hi,
I think it works as expected. Thanks for the fast change.
Johannes Schneider
Eelco Hillenius wrote:
On 5/31/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
* Johannes Schneider:
can anyone tell me how I can escape German umlauts when using
TextFields or Labels?
Hi,
I want to create a link that shall delete an object on click.
It would be great if there was shown a confirmation dialog (using
javascript) before the onClick-method is called.
I have read some suggestions about adding JavaScript to Links but I
think this is a very basic behaviour that
Hi Johannes,
I haven't used it, but something like below will move you in the right
direction:
(You might need to do something in the decorateScript method to
prevent the onclick from bubbling)
public class ConfirmationLink extends AjaxFallbackLink
{
public ConfirmationLink(String id)
{
I have read some suggestions about adding JavaScript to Links but I
think this is a very basic behaviour that should be added to Wicket itself.
You could create such a component and add it (or propose to add it) to
wicket minis (wicket-stff project).
Eelco
Can you give some code fragments?
Eelco
On HomePage there are two divs, with tree and panel.
HomePage.html
...
div id=wrapper
div id=content
show clicked node
/div
/div
div id=navigation
tree
/div
...
HomePage.java
public class HomePage extends WebPage {
private static
Sort of - but Wicket doesn't have to handle the prepending of it. If I use
/foo/bar.css, Wicket should generate my link tag using exactly that
string, without modifying it in any way. Then the browser handles
submitting that request to the domain. It never actually has to be
prepended. I'm
Sort of - but Wicket doesn't have to handle the prepending of it. If I use
/foo/bar.css, Wicket should generate my link tag using exactly that
string, without modifying it in any way.
I actually think this is what we do now. Dunno, should look at it.
However, I think it is a bad idea to
It's what was done in 1.2.6, but no longer in 1.3. 1.3 converts it to a
path relative to your context.
Sorry, my last post was probably confusing. If I put /foo/bar.css - foo
is NOT my context. My context for the app could be anything (but not foo).
Foo would be the root folder off of my
Right, here it is:
https://issues.apache.org/jira/browse/WICKET-613
Thanks for checking this out.
Rüdiger
2007/6/3, Eelco Hillenius [EMAIL PROTECTED]:
Could you please open up a JIRA issue for this with a link to this
discussion? I think it is something Igor might have an idea about (but
Patch is attached to https://issues.apache.org/jira/browse/WICKET-612
Jeremy Thomerson
On 6/3/07, Jeremy Thomerson [EMAIL PROTECTED] wrote:
It's what was done in 1.2.6, but no longer in 1.3. 1.3 converts it to a
path relative to your context.
Sorry, my last post was probably confusing. If
28 matches
Mail list logo