Hi,We have TWO (2) open positions in our company. We are looking forfull time Java developers preferably with Wicket experience to fill these positions in ourSingaporeoffice.For detail job description and about our company , please log on to http://www.vocanic.com/hiring.html.Thank you. Lim, Teck
I am trying to get my application to log to a separate file with the
following log4j.properties (server is tomcat6 in netbeans). I enabled the
following in my wicketapplication.
getRequestLoggerSettings().setRequestLoggerEnabled(true);
What I find is that catalina.{date}.out logs the requests
Hi,
NetBeans is a great IDE for Wicket Development.
It will be even better with the implementation of the deploy on save
feature for HTML files in action.
Please vote for the following bug and add youself to the cc list:
http://www.netbeans.org/issues/show_bug.cgi?id=145666
The Wicket plugin
I am using EJB 3.0. So easy to work with. Toplink, GlassFish do
everything. The ORM creates my tables from POJOs, transactions are a
no-brainer. Comes with NetBeans out of the box. Why don't more users
write about it?
Most of the time is spent on coding web pages (messy due to browser
bugs and
If Dependency Injection is all you want to do then indeed Spring may not be
the best choice, but in my case at least I use it for more than that, as I
also use the Spring Transaction Manager and Spring Mailer.
Also, Spring does seem to cater mainly to XML fetishists, but they do offer
There seems to be something broken in wicket here.
Logger.getRootLogger().info(AUTHPAGE REQUESTED);
This does log to my log file, but for some reason the following code still
just logs to the console in tomcat. I have converted tomcat to use log4j and
can print tomcat debug into to a file.
Hi Igor,
I tried to do it as simple as possible so I returned
https://localhost:8443/projectname in the overridden method getCallbackUrl of
AjaxFormSubmitBehavior. The result was the same. The link pointed to the url
http://locahost:8080/projectname/#. It seems to me that only relative pathes
John,
Despite the sources has been commented the javadoc isn't available.
The best and quickest way to deep into Wicket-Ext is to have a look to the
component integration gallery sample application.
We are using that code in a production application and it works pretty
nicely, but Wicket-ext
I wanted to understand how the given url is used in wicket. I found the method
wicketAjaxGet in wicket-ajax.js. There the url is passed to
Wicket.Ajax.Call(...). I couldn't trace the call deeper because I couldn't find
Call() in any javascript file.
Sorry I was blind yesterday, I found it
On Fri, Jul 24, 2009 at 4:25 AM, Joshua Limlim.j...@gmail.com wrote:
I Think menu2 can do what you want as Ryan said. You can override the
getCssClass() to return your own class name, because the default is
yui-skin-sam which will span the width of yui-menu to the whole of the
containing box.
Hi all,
I was wondering if there is a way to change a panel's or page's markup or even
class when it is disabled. I have two versions of some of my panels and pages:
a XXXViewPanel/Page and a XXXEditPanel/Page. The view-only version has labels
instead of dropdown menus and text fields. Based
Dave Schoorl schrieb:
updates the cached value. Of course, when you use an ORM-tool, you can
alternatively use it's second level cache.
i recently look in that corner, and iirc you don´t have to cache them at
all, because wicket does in a layer above (when running in prod).
cu uwe
2350 cost us a lot of time, getting that fixed would be very very
helpful. We have a lot of cases where similar fields are used in
different forms...
Jörn
On Tue, Jul 14, 2009 at 3:47 AM, Igor Vaynbergigor.vaynb...@gmail.com wrote:
thanks major, i added a couple of notes to the wiki. i totally
There are other options like:
class MyLocalizer extends Localizer
{
getCacheKey() { if (xxx == yyy) return null} // dont return a cache
key for certain things
}
or
class MyLocalizer extends Localizer
{
public String getString(final String key, final Component component,
final
I doubt this is a wicket problem, I can redirect all logging for each of my
wars to their own file with no trouble.
First, what slf4j implementation are you using?
Second, have a look at this page:
http://www.jboss.org/community/wiki/Log4jRepositorySelector. I know that its
for JBoss,
Thanks Daniel,
I've just tried this and it's not worked. Obviously it's a slightly
different use case, that is, changing tabs and popping up a modal window but
I'd hoped it would work.
It turns out that the stopped flag is not actually set to true. That's why
your method doesn't work. When I
Hello everybody!
Does anyone know for what reason an disabled auto link gets nested inside a
span tag?
It's messing the page layout...
Thanks...
Cássio Landim Ribeiro
http://www.laughingpanda.org/mediawiki/index.php/Wicket_Bench
Does anybody know why? I hope to use this Eclipse plugin.
Thanks.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands,
Yes, I find that if I use log4j directly, then it works, but if I use slf4j,
then it logs via the built in java.util.logging of tomcat6. So the issue
seems to be to integrate slf4j with Tomcat6. There seems to be little out
there on how to replace commons logging with slf4j rather than log4j (so
Maybe this can help
http://day-to-day-stuff.blogspot.com/2007/07/no-more-commons-logging.html
Witi
Am Fri, 24 Jul 2009 15:08:48 +0200
schrieb pieter claassen pieter.claas...@gmail.com:
Yes, I find that if I use log4j directly, then it works, but if I use
slf4j, then it logs via the built in
Hi,
First, let's see if we are talking about the same code, here is the
actual code I use:
import org.apache.wicket.Page;
import org.apache.wicket.RequestCycle;
import org.apache.wicket.ajax.AbstractDefaultAjaxBehavior;
import org.apache.wicket.ajax.AjaxRequestTarget;
import
I think that slf4j is not working in my setup and it might have nothing to
do with Tomcat. As a matter of fact, I assume I don't even have to have
log4j or slf4j working with tomcat, but that as long as my POM references
the correct dependencies, my application should log correctly?
To overcome
Thanks,
I think extending or writing my Localizer would be the path to go.
* Rolling my own cache that gets the key from the primary key in the
database.
* If an administrator updates a value then I can delete the primary key from
the cache. And force a roundtrip to the database.
--
View
It's in 1.4.0: https://issues.apache.org/jira/browse/WICKET-2350
--
Jeremy Thomerson
http://www.wickettraining.com
On Fri, Jul 24, 2009 at 7:01 AM, Jörn
Zaeffererjoern.zaeffe...@googlemail.com wrote:
2350 cost us a lot of time, getting that fixed would be very very
helpful. We have a lot of
Hi,
No it's definitely not that. I tried your class to be sure and it still
doesn't work.
I've done some more debugging with Firefox's Firebug and discovered that
when I switch back to the tab with the updating behaviour it does not
contain the evaluate part.
I'll print this, it's easier:
Yeah, the headRendered flag is still set to true so the JsTimeout call is
never rendered. I'm not sure why it's was removed in the first place,
perhaps it's something to do with the precondition?
CrocodileShoes wrote:
Hi,
No it's definitely not that. I tried your class to be sure and it
no, i havent tried it myself. i never had to do an ajax login.
the url in the browser changes to http://locahost:8080/projectname/# ?
thats fine. the main part is what the actual ajax url is used - you
wont see that in the browser's bar. i suggest you use firebug or
something similar to walk the
salve!
Am 24.07.2009 um 10:55 schrieb Jeroen Steenbeeke:
If Dependency Injection is all you want to do then indeed Spring may
not be
the best choice, but in my case at least I use it for more than
that, as I
also use the Spring Transaction Manager and Spring Mailer.
Also, Spring does seem
a couple of ways jump to mind.
if all you really want is to swap out markup you can do
class mypanel extends panel {
String getVariant() { if (!isenabled()) { return disabled; } else
{return null;}}
}
and have mypanel_disabled.html which will be used when the panel is disabled.
if you want
thats fine, but do be careful. there is a lot of tricky stuff in the
default localizer code that builds cache keys and manages the cache.
it is easy to make a mistake and cache too much or use the wrong cache
key and get the wrong resource returned back.
-igor
On Fri, Jul 24, 2009 at 6:48 AM,
The wrapping markup used can be set via methods in AbstractLink:
setAfterDisabledLink()
setBeforeDisabledLink()
or, you can set a default at application level:
setDefaultAfterDisabledLink()
setDefaultBeforeDisabledLink()
Cassio wrote:
Hello everybody!
Does anyone know for what reason an
Damn, you're right (thanks). An oversight on my part. I guess I have to
do some work on the Localizer as well, so that localizations pulled from
the database are not cached by the Localizer as well.
Regards,
Dave
Uwe Schäfer wrote:
Dave Schoorl schrieb:
updates the cached value. Of
Thank you for your help.
It was indeed a problem with the sendRedirect() and relative URLs with SSL
offloading.
Instead of adding some code (filter, wrapper, ...) to my webapp I ended up
using two AJP configuration in my server.xml (one for HTTP and one for
HTTPS) :
!-- Define an AJP 1.3
no, sorry... the url is not changing to http://locahost:8080/projectname/# but
when I hold the mouse pointer over the link, I see the url in the status bar.
When I hold the mouse pointer over other links, I see very long urls a la
I've been using wicket-contrib-javaee-1.1 with glassfish for a while and it
works fairly well, but the powers that be have decided we should try porting
to JBoss and I cannot for the life of me get injection to work with Wicket
on JBoss-5.1.0.GA.
Has anyone else done this? If so what did you
whatever url you see when hovering over the link is not the url used
for ajax - not necessarily. you should inspect the onclick handlers.
-igor
On Fri, Jul 24, 2009 at 12:20 PM, Arthur Leigh
Allenarthurleigh.al...@yahoo.de wrote:
no, sorry... the url is not changing to
Hi,
There are some neat features/fixes listed in
http://cwiki.apache.org/WICKET/wicket-15-wish-list.html for Wicket
1.5.
Are there any advancements in this direction? Or is this starting
after 1.4 is released?
I had a quick look at http://svn.apache.org/repos/asf/wicket/ , can't
seem to find
Good evening,
In order to learn Wicket as well as good Java coding ^ ^, I'd like to read
Wicket source code. It's been a couple of months since I use it, so I have a
general user-view on it.
Do you have advice ? Where should I start it all ? Is there any typical
workflow through the code-base
But it would change only the em and /em default markups and not the
span that replace the a tag at
org.apache.wicket.markup.html.link.AbstractLink.disableLink(final
ComponentTag tag) method.
code:
// Change anchor link to span tag
tag.setName(span);
2009/7/24 Iain
Hi Loren,
I must admit I have never tried to get the injection to work with JBosss-5.1
but I remember I was once able to inject EJBs just fine with
wicket-contrib-javaee and JBoss version 4.something (I don't remember exact
version but for sure it was EJB3.0-enabled).
Anyways, I remember that I
Hi Loren,
I must admit I have never tried to get the injection to work with JBosss-5.1
but I remember I was once able to inject EJBs just fine with
wicket-contrib-javaee and JBoss version 4.something (I don't remember exact
version but for sure it was EJB3.0-enabled).
Anyways, I remember that I
I'm trying to dynamically set the isRequired() field for a component, but not sure how to do so. For example, in the following example, I'd like to set the streetAddress component to be required if the pin1 field has data entered for it. My first attempt (which doesn't work since it's binding
Hello everyone,
I am hoping for some advice on this. Is there a way to obtain the original
target during a session expired scenario? I know you can register a Page
class as a handler of this event, but I would like to know which Page the
originating request was destined for.
In case it
I created a label and I wabnt to use this label in seeral places in
page , is it allowed , right now I getting exception
[Component id = documentType] has the same wicket:id as another
component already added at the same level
so If want to show the same text at 5 different places in markup do
I have a container , a form , a radiogroup , and refreshing view,
this refreshing view has a delete ajaxlink and a radio buton ,in
onClick method of delete link I delete the record and add the
container to AjaxRequesTarget,
the refreshing view get updated , but the radio group is not , what
From what I've read about wicket, you must create the label multiple times.
Here's a recent discussion on that topic with some good reasons why:
http://www.nabble.com/HTML-can%27t-reference-a-component-(Label)-multiple-times--td21983670.html
--pete
On Fri, Jul 24, 2009 at 3:47 PM, tubin gen
I am trying to put a nice little '*' next to the RadioGroup when the
user forgets to select an item and just having a bear of a time with
something so simple.
Somehow I've ended up with a wicket:enclosure in the form. I've
created my own RadioGroup class (PNCRadioGroup) that overrides
we only support two branches. currently those branches are 1.3.x and
trunk(1.4.0). after 1.4.0 is released we are going to end of life
1.3.x branch and will work on 1.4.x branch and trunk(1.5.0)
-igor
On Fri, Jul 24, 2009 at 1:03 PM, francisco
treacyfrancisco.tre...@gmail.com wrote:
Hi,
There
That comes from the component use checker - which is only enabled by
default in development. You can turn it off and use the label
multiple places in a page, but you must do so at your own risk - if
you add behaviors and such to it, you will end up breaking things
(since the components will be
I'd say you'd be best served by using a quickstart application and
clicking into code to see what it does. Set breakpoints to see what's
happening in a real, live application. Just randomly reading code
files won't give you nearly as much benefit.
--
Jeremy Thomerson
What you are looking for is something like this:
final PINTextField pin1 = new PINTextField(pin1,
new PropertyModel(propertyUse, otherPropertyPin1));
pin1.add(StringValidator.maximumLength(20));
commonQuestionsWMC.add(pin1);
streetAddress1 = new
Looks like it works with 5.1GA too. See attached quickstart project. It's a
maven-based enterprise application project that consists of a EJB, WAR and
EAR modules. Build it and deploy the EAR into your JBoss AS. Please note
that you have to configure your JBoss home folder to the top level pom
You are a gentleman and a scholar.
Thanks!
-
Loren
On Fri, Jul 24, 2009 at 5:34 PM, Marcin Palka marcin.pa...@gmail.comwrote:
Looks like it works with 5.1GA too. See attached quickstart project. It's a
maven-based enterprise application project that consists of a EJB, WAR and
EAR modules.
My final solution was to just override isVisible() on the labels that
are in the enclosures rather then doing it in onComponentTag.
Label highspeedAvailableRadioGroupError = new
Label(highspeedavailablegrouperror, *) {
public boolean isVisible() {
Hi All
the code in *html*:
div class=marginLeft20 wicket:id=mfga class=bottomCellLinks
href=# wicket:id=mfgLinkspan wicket:id=mfgName[Manufacturer
Name]/span/a/div
the code in *Java *file:
RepeatingView rv = new RepeatingView(mfg);
WebMarkupContainer wmc = new
put it into pre tags
-igor
On Fri, Jul 24, 2009 at 3:58 PM, Swapna
Rachamallaswapna.rachama...@gmail.com wrote:
Hi All
the code in *html*:
div class=marginLeft20 wicket:id=mfga class=bottomCellLinks
href=# wicket:id=mfgLinkspan wicket:id=mfgName[Manufacturer
Name]/span/a/div
the code in
Hi,
For those of you that don't know, I maintain WicketForge, the Wicket plugin
for IDEA (http://plugins.intellij.net/plugin/?id=1545 or
http://code.google.com/p/wicketforge). Currently, WicketForge supports
Wicket 1.2 in addition to 1.3 and 1.4, but I'd like to remove support for
1.2 to clean a
Hi Igor
I am using pre tag.
It is displaying
A
A2B TRACKING SOLUTIONS | Aastra | Aastra Phones | ABBYY | ABO Gear | ABT |
AC Delco | ACCESS
but the actual String value is the following:
A
A2B TRACKING SOLUTIONS | Aastra | Aastra Phones | ABBYY | ABO Gear | ABT |
AC Delco | ACCESS HD |
You said in your email that you are using span tags. What is the
generated HTML? Do you have span tags inside pre tags? Have you
tried setRenderBodyOnly(true)? Or just attach the wicket:id to the
pre tags directly?
--
Jeremy Thomerson
http://www.wickettraining.com
On Fri, Jul 24, 2009 at
59 matches
Mail list logo