Hello Jürgen,
You coulld put a in the markup and add a Label to it. Don't
forget to call setRenderBodyOnly(true) on the label.
Regards,
Erik.
Jürgen Lind wrote:
Hi,
I was wondering if there is some way to rewrite the component markup
before
it is rendered. My setting is as follows:
1
Igor, Thanks a lot. it's working now.
On Sat, May 31, 2008 at 9:19 AM, Igor Vaynberg <[EMAIL PROTECTED]>
wrote:
> add(new label("string", string).setescapemodelstrings(false));
>
> -igor
>
> On Fri, May 30, 2008 at 4:15 PM, XINGXING NA <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > Can someone help me
I have fixed the Localizer problem and committed it to the trunk. Thanks for
pointing out the problem!
-Dan
On Tue, May 27, 2008 at 1:19 AM, Johan Compagner <[EMAIL PROTECTED]>
wrote:
> getLocaliazer() in a constructor cant be done i guess because it will
> nog be able to find any resources, exp
The above is now in the wiki as well. :)
http://cwiki.apache.org/WICKET/everything-about-wicket-internationalization.html
On Fri, May 30, 2008 at 6:51 PM, francisco treacy
<[EMAIL PROTECTED]> wrote:
> fabien,
>
> take a look at this (taken from
> http://day-to-day-stuff.blogspot.com/2008/05/wick
Found a link:
http://markmail.org/message/m5cyca4vsrrvcrid
Jeremy Thomerson
http://www.wickettraining.com
-- sent from a wireless device
-Original Message-
From: Michael Mehrle <[EMAIL PROTECTED]>
Sent: Friday, May 30, 2008 8:55 PM
To: users@wicket.apache.org
Subject: Timestamp -> java.
Search this list for an email from me about a month ago - I sent a workaround
for it. It may have also been applied to trunk, but I don't remember, and I
don't have the code with me.
Sorry I couldn't be more help.
Jeremy Thomerson
http://www.wickettraining.com
-- sent from a wireless device
I am persisting java.util.Date objects to the DB but am getting
Timestamp objects back (no surprise there since the hibernate type is
set to 'timestamp'). Wicket converts the Timestamp and populates my
field without complaining but all I'm getting is the time (12:00am - the
default start time since
fabien,
take a look at this (taken from
http://day-to-day-stuff.blogspot.com/2008/05/wicket-internationalization.html
) :
Encoding troubles
Fairly unknown to beginning programmers is that you are only allowed
to use ISO-8859-1 encoding in java properties files. If you live in
Europe this is a fai
In short, is there any reason not to go down this route?
package com.vegas.ui.wicket.repeaters;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import wicket.markup.html.navigation.paging.IPageable;
public class PageableCoordinator implements IPageable
{
I need to create a 3 row x N column table with 5 columns per page.
The problem is that I end up with:
stuff
stuff
stuff
Where I want the contents of row1, row2 & row3 coordinated with
respect to the PagingNavigator. Has anyone gone down such a path, and
if so are there any relevant lessons lea
It looks as though this is some subtlety (or brokenness) to GlassFish
and Toplink. If I deploy my Wicket app as a module of a Java
Enterprise package, it all works as expected.
It's a simple workaround for now until I find out if it's a bug, or if
I'm just not getting my Glassfish config co
add(new label("string", string).setescapemodelstrings(false));
-igor
On Fri, May 30, 2008 at 4:15 PM, XINGXING NA <[EMAIL PROTECTED]> wrote:
> Hi
>
> Can someone help me this? I have a string containing normal html code. I
> wanna make them display on my web as normal web rather than a string. Ca
Hi
Can someone help me this? I have a string containing normal html code. I
wanna make them display on my web as normal web rather than a string. Can
wicket do this?
Because I'm trying to retreive weather cast information from yahoo and I
just can get a string from the response. If anyone knows h
If you want to turn off LTW, you can use the AspectJ compiler in your
build. If you want an example, check out:
http://svn.carmanconsulting.com/public/wicket-advanced/trunk/pom.xml
I have the AspectJ compiler set up to weave in the spring aspects.
On Fri, May 30, 2008 at 3:29 PM, David Nedrow <
Hi Eelco,
This helps you with having some javascript run, in my case I am trying to
add a css class (in order to set the right top-nav element on). Is my only
recourse to set add that css class through javascript at this point?
-hc
Eelco Hillenius wrote:
>
>> That's described in the migrati
I read both Wicket in Action (in its MEAP form) and Enjoying Web Development
with Wicket. And I think Wicket in Action is by far a much better book. On
certain points it goes a lot deeper than EWDWW.
Part of the beauty (and could be an issue for some) of Wicket is that it
gives you great freedom
On May 30, 2008, at 3:26 PM, James Carman wrote:
Perhaps this thread will help you?
http://forum.springframework.org/archive/index.php/t-29565.html
I found a similar thread that basically dealt with the same thing,
recommending
org
.springframework
.instrument.classloading.glassfish.Gl
Perhaps this thread will help you?
http://forum.springframework.org/archive/index.php/t-29565.html
On Fri, May 30, 2008 at 3:20 PM, David Nedrow <[EMAIL PROTECTED]> wrote:
>
> On May 30, 2008, at 2:26 PM, James Carman wrote:
>
>> Take a look at what classloaders loaded each of the classes. If t
As an aside, this is clearly a configuration item for Spring. From my
application context
class
=
"org
.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager">
classpath:META-INF/persistence.xml
On May 30, 2008, at 2:26 PM, James Carman wrote:
Take a look at what classloaders loaded each of the classes. If the
class names are the same, then that means that they were loaded by two
different classloaders. How are you setting up your application? Are
all jars in your WEB-INF/lib direct
Hi,
I was wondering if there is some way to rewrite the component markup before
it is rendered. My setting is as follows:
1. I have a component markup file like this
someFunction( "runtime parameter" );
2. The matching component overrides "onComponentTagBody" and "on
I dont think it would be too horrible to whip up such a component with
openlayers or gmap. Otherwise you could use image maps...
Kaspar Fischer wrote:
Does anybody know of a Wicket-driven country selection component with
a nice visual interface? Something a little more fancy than a drop-
down m
Karen Schaper wrote:
I had some troubles too, I switched to the tool tip thingy in
minis instead.
http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-minis ,
the prototip...
Thanks I'll try this.
No problem:) And say if you run into trouble, there is a issue wit
Great:) Looks like we do a lot of stuff the same way:)
So you just need to add this to your profile?:
deployment
James Carman wrote:
You don't need different web.xml files. You can use maven's filtering
capability to filter your web.xml fil
Take a look at what classloaders loaded each of the classes. If the
class names are the same, then that means that they were loaded by two
different classloaders. How are you setting up your application? Are
all jars in your WEB-INF/lib directory?
On Fri, May 30, 2008 at 2:22 PM, David Nedrow <
On May 30, 2008, at 12:17 PM, Gwyn Evans wrote:
Just to double-check Thomas's point (1), are there any of the jars
being loaded from the AppServer's class-path rather than the Web-App's
classpath? (What AppServer anyway?)
No, the only thing "endorsed" is the mysql connector.
This is running
On May 30, 2008, at 12:20 PM, James Carman wrote:
Protocol.class.equals(item.getModelObject().getClass())
Interesting, this returns false.
-David
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
It should *not* be necessary to convert é into è
Are you going to convert ALL 'strange' characters that come out of
your database ?
I am a wicket newbie and I don't know the wicket-way to solve this
(nor if there is a wicket way)
but we're using this filter and it works great :
Characte
Sorry to jump in at the last minute, but what does "you need equals on
UUID in Java" mean?
- Scott
On Fri, May 30, 2008 at 5:47 AM, jensiator <[EMAIL PROTECTED]> wrote:
>
> Okey. Found a bug in my code forget everything. Wicket components is
> working fine, no problem in constructors. Use to
On Fri, May 30, 2008 at 12:17 PM, Gwyn Evans <[EMAIL PROTECTED]> wrote:
> On Fri, May 30, 2008 at 5:14 PM, David Nedrow <[EMAIL PROTECTED]> wrote:
>>
>> On May 30, 2008, at 11:47 AM, Thomas Mäder wrote:
>>
>>> 2) You're being done in by the BoundCompoundPropertyModel you have in the
>>> item. Fire
On Fri, May 30, 2008 at 5:14 PM, David Nedrow <[EMAIL PROTECTED]> wrote:
>
> On May 30, 2008, at 11:47 AM, Thomas Mäder wrote:
>
>> 2) You're being done in by the BoundCompoundPropertyModel you have in the
>> item. Fire up the debugger and check the values directly (relying on
>> toString() is bad;
Can you create a quickstart that exhibits this behavior? Your dao
could be a simple thing that doesn't use a persistence library and
returns some manufactured objects.
On Fri, May 30, 2008 at 12:14 PM, David Nedrow <[EMAIL PROTECTED]> wrote:
>
> On May 30, 2008, at 11:47 AM, Thomas Mäder wrote:
>
On May 30, 2008, at 11:47 AM, Thomas Mäder wrote:
2) You're being done in by the BoundCompoundPropertyModel you have
in the
item. Fire up the debugger and check the values directly (relying on
toString() is bad; some object might be lying to you. Step into the
item.getModelObject().
After s
On May 30, 2008, at 11:46 AM, Ryan Gravener wrote:
How about changing PropertyListView to just ListView.
I hadoriginally been using ListView, but switched to PropertyListView
while trying to troubleshoot this problem. I had forgotten to roll
that change back. Switching to ListView makes
On May 30, 2008, at 11:41 AM, James Carman wrote:
On Fri, May 30, 2008 at 11:38 AM, David Nedrow <[EMAIL PROTECTED]>
wrote:
On May 30, 2008, at 11:20 AM, James Carman wrote:
What is the type of item.getModelObject(). Have you run it
through a
debugger (or just simply put in a println)?
There are only two ways I can see that you can get a ClassCastException:
1) There is some class loader magic going on. Highly unlikely.
2) You're being done in by the BoundCompoundPropertyModel you have in the
item. Fire up the debugger and check the values directly (relying on
toString() is bad;
How about changing PropertyListView to just ListView.
On Fri, May 30, 2008 at 11:41 AM, James Carman <[EMAIL PROTECTED]>
wrote:
> On Fri, May 30, 2008 at 11:38 AM, David Nedrow <[EMAIL PROTECTED]> wrote:
> >
> > On May 30, 2008, at 11:20 AM, James Carman wrote:
> >
> >> What is the type of item.g
On Fri, May 30, 2008 at 11:38 AM, David Nedrow <[EMAIL PROTECTED]> wrote:
>
> On May 30, 2008, at 11:20 AM, James Carman wrote:
>
>> What is the type of item.getModelObject(). Have you run it through a
>> debugger (or just simply put in a println)?
>
> Yes, I had done that first, thinking maybe I
On May 30, 2008, at 11:20 AM, James Carman wrote:
What is the type of item.getModelObject(). Have you run it through a
debugger (or just simply put in a println)?
Yes, I had done that first, thinking maybe I didn't understand how
ListView worked via the Model.
The object returned by item
On Fri, May 30, 2008 at 11:24 AM, Thomas Mäder <[EMAIL PROTECTED]> wrote:
> What's the actual class of the returned from "item.getModelObject()"?
>
Jinx!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
What's the actual class of the returned from "item.getModelObject()"?
On Fri, May 30, 2008 at 5:16 PM, David Nedrow <[EMAIL PROTECTED]> wrote:
> I'm getting a cast exception when I attempt to pull a list element from the
> model. I may be mishandling how I'm using the model, but this is basically
What is the type of item.getModelObject(). Have you run it through a
debugger (or just simply put in a println)?
On Fri, May 30, 2008 at 11:16 AM, David Nedrow <[EMAIL PROTECTED]> wrote:
> I'm getting a cast exception when I attempt to pull a list element from the
> model. I may be mishandling ho
I'm getting a cast exception when I attempt to pull a list element
from the model. I may be mishandling how I'm using the model, but this
is basically based on several tutorials I've looked at.
(Note, as people have pointed out here, I use the "old fashioned"
naming style for my interfaces
> I had some troubles too, I switched to the tool tip thingy in
> minis instead.
>
> http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-minis ,
> the prototip...
Thanks I'll try this.
>
> I'd really like to see tooltip contrib that actually requested the
> tooltip via ajax
You don't need different web.xml files. You can use maven's filtering
capability to filter your web.xml file (actually I filter my spring
config files since I set up my application in a spring context). Take
a look at my wicket-advanced example code for inspiration:
http://svn.carmanconsulting.c
I had some troubles too, I switched to the tool tip thingy in minis instead.
http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-minis ,
the prototip...
I'd really like to see tooltip contrib that actually requested the
tooltip via ajax instead of just placing a panel on the page
Hi
I use cargo, to deploy to tomcat and I would really like to
automatically deploy wicket in deploy and not development. So what do
you guys do..? Have different profiles that include different web.xml or?
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.
yes, i see it in the generated code
Jonas-21 wrote:
>
>>
>
> does the actual http header also say this? afair having this line in the
> html
> isn't enough to have contents treated as utf-8
>
> -
> To unsubscribe, e-mail: [E
Having experienced first hand how much time and effort goes into book
writing, I can tell you it is no picknick. Respect the time and effort
of your authors (AND publishers!) and buy the book.
Note that the authors only get a small share of each copy sold, and
that both Eelco and I don't expect to
On May 30, 2008, at 12:54 AM, Timo Rantalaiho wrote:
On Thu, 29 May 2008, David Nedrow wrote:
public class ProtocolDAO extends JpaDaoSupport implements
IProtocolDAO
...
public class ShowProtocolsPanel extends Panel {
@SpringBean(name="ProtocolDAO")
private ProtocolDAO dao;
Clearly
Have they obtained the authors' consent before making them available for free
?
If not, then this is clearly illegal, and more importantly unethical.
Just my 2c.
Samit wrote:
>
> Knowfree.net is having 2 best books of WICKET..
>
> 1. Pro Wicket
> 2. _Programming__Java__Wicket__Enjoying_W
Does anybody know of a Wicket-driven country selection component with
a nice visual interface? Something a little more fancy than a drop-
down menu: for instance, a world-map where you can select a region in
a first step and then select the country in a second step ...
Regards,
Kaspar
--
> Hi Wicket Users,
>
> I need help with a problem I am having when changing the submit
> button to be
> an ajax component.
>
> I am using org.wicketstuff.dojo.markup.html.tooltip.DojoTooltip
> to create a
> tooltip on an image in a datatable. The tool tips work great
> until I try to
> use an ajax
On Thu, 29 May 2008, Marieke Vandamme wrote:
> I noticed the same behavior in firefox, but for me everything works fine in
> internet explorer.
> My form is not working with ajax, but with the standard submit.
> Is it browser specific or can I change the behavior in my code?
Probably it depends
Okey. Found a bug in my code forget everything. Wicket components is
working fine, no problem in constructors. Use to CSharp and forgot that you
need equals on UUID in Java. I've spent two days on this. Silly me blaming
wicket
Jens
--
View this message in context:
http://www.nabble.com/S
>
does the actual http header also say this? afair having this line in the html
isn't enough to have contents treated as utf-8
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Remove the slashes!
Erik.
AlexTM wrote:
> Hi!
>
> I've tried this:
> mount("/allsearch", new QueryStringUrlCodingStrategy("/allsearch",
> AllSearchPage.class));
>
>
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
-
My java files are encoding in UTF8 and my HTML too and use UTF :
but if a use Label and getString() I have to put the setEscapeModelString to
convert String to html and the equivalent caracter in html like é ->
&.egrave;
Florian Sperber wrote:
>
> Hi Fabien,
>
> if you save your .java files
Hi Fabien,
if you save your .java files as utf-8 and mark your html files as utf-8
html you should be
able to use special characters directly.
Kind regards
Florian Sperber
On Fri, 30 May 2008 05:08:40 -0700 (PDT), "Fabien D."
<[EMAIL PROTECTED]> wrote:
>
> Thank you, it's working I have forgot
Thank you, it's working I have forgot the htmp code like è
Fabien D. wrote:
>
> Thank you for your help, but It's not working :(
>
>
> Thijs wrote:
>>
>> Label label;
>> add(label = new Label ("name","Générer Document"));"
>> label.setEscapeModelStrings(false);
>>
>> Thijs
>>
>>
>>
>> Fa
I've run into similar problems once, I think what fixed it was setting
IMarkupSettings#setDefaultMarkupEncoding to utf-8 as well.
If not set explicitly, the encoding of the os is used, which probably
doesn't handle french accents correctly, e.g. if it's an english os.
-
It's very strange!
When I use getString() for a Label like this add(new
Label("id",getString(test)));
and in my property file : test = Générer Document.
It's not working
But if I use for I validator :
error(getString("test"));
It's working and display the stress
Matej Knopp-2 wrote:
>
> Prope
Thank you for your help, but It's not working :(
Thijs wrote:
>
> Label label;
> add(label = new Label ("name","Générer Document"));"
> label.setEscapeModelStrings(false);
>
> Thijs
>
>
>
> Fabien D. schreef:
>> Hi everybody,
>>
>> I'm french and unfortunately in french we have stresses!
>>
Hi!
I've tried this:
mount("/allsearch", new QueryStringUrlCodingStrategy("/allsearch",
AllSearchPage.class));
in the init() method of a class extending WicketApplication but i got an
error that mount expects a String and a PackageName.
Am i using this wrong?
Regards
Alex
igor.vaynberg wrot
Label label;
add(label = new Label ("name","Générer Document"));"
label.setEscapeModelStrings(false);
Thijs
Fabien D. schreef:
Hi everybody,
I'm french and unfortunately in french we have stresses!
My server tomcat is using UTF-8, and all my files are encoding in UTF-8, and
I want to use th
Property files are always ISO 8859-1. Try escaping the string in
property file or use eclipse plugin that does that for you. Or try xml
property files.
-Matej
On Fri, May 30, 2008 at 1:32 PM, Fabien D. <[EMAIL PROTECTED]> wrote:
>
> Hi everybody,
>
> I'm french and unfortunately in french we have
Do you have any overriden isVisible() in which you use the model?
Regards,
Erik.
Mathias P.W Nilsson wrote:
> You are perfectly right. All my LoadableDetachable models are called again.
> Problem is that the cart is a Fragment and it does not get called.
>
>
--
Erik van Oosten
http://day-t
Hi everybody,
I'm french and unfortunately in french we have stresses!
My server tomcat is using UTF-8, and all my files are encoding in UTF-8, and
I want to use this standard.
When I want to display a label : like this
"add(new Label ("name","Générer Document"));"
It displays :
Générer D
thanx Richard,
ur a champ!!
richardwilko wrote:
>
> this isnt really a wicket thing, but for cross browser javascript I would
> use something like prototype, which has methods for setting opacity in a
> cross browser way.
> http://www.prototypejs.org/api/element#method-setopacity
>
> Richard
this isnt really a wicket thing, but for cross browser javascript I would use
something like prototype, which has methods for setting opacity in a cross
browser way. http://www.prototypejs.org/api/element#method-setopacity
Richard
achu18 wrote:
>
> hi richard,
> managed to fix that, had some
hi richard,
managed to fix that, had some trouble in my js. currently stuck with IE and
alpha(opacity=... seems to work in Firefox, not in IE, any suggestions?
richardwilko wrote:
>
> I would make sure that you are outputting valid (x)html, but thats only a
> guess at the solution, IE debuggin
I would make sure that you are outputting valid (x)html, but thats only a
guess at the solution, IE debugging is a black art unfortunately.
achu18 wrote:
>
> hi all,
> i have an ajax link that targets another panel. when i click that link, i
> see nothing in IE, works ok in FireFox. in the wic
On Thu, May 29, 2008 at 8:48 PM, Mathias P.W Nilsson
<[EMAIL PROTECTED]> wrote:
> In my item page I update the cart via Ajax and call updateCart(
> AjaxRequestTarget target )
> this add a container with the cart fragment
And you've checked updateCart /does/ add the fragment to the AJAX
target? Do
thanks sir, i've done what you said and now it works! :handshake:
I did the same thing for a lazyloading component, but it doens't appears on
Ajax refresh event:
this is the code:
public class AccountPage extends WebPage{
private Manager manager;
private User user;
Thanks Igor. I had to break down the problem by reverting to wickets own
tabbedpanel and dataview(I have done my own components). I still faced the
same problem untill I found out that I could not send in the idkey(that I
use in the iterator method when getting data from db) through the constucto
I filed an issue in April 2007 (the patch probably unusable right now)
to support autocompleting multiple fields
https://issues.apache.org/jira/browse/WICKET-488
An example would be to select an address from the autocompleter which
will fill in the fields for street, zip code, city, etc.
T
On Fri, May 30, 2008 at 4:54 AM, Timo Rantalaiho <[EMAIL PROTECTED]> wrote:
> On Thu, 29 May 2008, Daniele Dellafiore wrote:
>> umm, but in example above, what column and row number are grabbed?
>>
>> there is a way to show the complete graph of a wicket page hierarchy?
>
> Yes there is, WicketTest
Thank for your post. initHead() will be very helpful here. I have
voted for this issue.
--
Daniel
On Fri, May 30, 2008 at 9:23 AM, Roland Huss <[EMAIL PROTECTED]> wrote:
>
> Hi Daniel,
>
>
> Daniel Stoch-2 wrote:
>>
>> The main
>> problem is that the AutoCompleteTextField and related classes
>> (
Yup I think timo hit the spot here. When working with enough interfaces
your naming becomes Protocol for the interface and ProtocolImpl etc for
the implementations (just a side remark).
Timo Rantalaiho wrote:
On Thu, 29 May 2008, David Nedrow wrote:
public class ProtocolDAO extends JpaDaoS
Hello Igor,
I test what you say but i have no luck...anyway, i think i should be back in
the old ways
Thanks a lot..Cheers
igor.vaynberg wrote:
>
> formcomponentupdatingbehavior does exactly what its name implies, it
> updates a single form component. what you want is
> ajaxformsubmitbehavior
Hi Daniel,
Daniel Stoch-2 wrote:
>
> The main
> problem is that the AutoCompleteTextField and related classes
> (behavior, renderer) are not easily to extend (eg. it is necessary to
> make a few modifications in wicket-autocomplete.js but in
> AbstractAutoCompleteBehavior the standard js is add
81 matches
Mail list logo