as far as i know it does follow the spec specially for query portion and the
path portions.
On Tue, Feb 17, 2009 at 08:26, Martin Makundi <
martin.maku...@koodaripalvelut.com> wrote:
> Hi!
>
> The constructor WicketURLEncoder(Type type) explains a whole lot about
> the compatibility of QUERY_IN
Then maybe java.net.URLEncoder is more strict than the 'spec'... ok.
**
Martin
2009/2/17 Johan Compagner :
> as far as i know it does follow the spec specially for query portion and the
> path portions.
>
>
>
> On Tue, Feb 17, 2009 at 08:26, Martin Makundi <
> martin.maku...@koodaripalvelut.com>
Hi,
I setup our wicket application on a simple JBoss cluster with session
replication.
Doing that I get more or less immediately the following track trace: (I
paste only the upper part, but the same message gets repeated over and over
in the stack trace)
I use wicket 1.3.4, but it's the same wi
I mean if you have a wicket:id="abc", it will generate class with...
emm... not sure, say method "getAbc()" which will return an object
which represents an element, so it can be bound to a Component. So, in
java-code you can use only elements which are actually exist in
html-markup.
Maybe something
I still have the same problem and as the project where it occurred is
"on ice" I left it for what is is. I haven't even filed a JIRA, but
please go ahead and do so since it still doesn't work in
wicket-1.4-SNAPSHOT.
//Swanthe
metalotus wrote:
I have the same issue. Some places in my applicat
well, that is not really what wicket does right now.
i think it would be interesting to tie the markup + code more tightly
together, to have the compiler already check for correctness, instead of
runtime.
for example warp-widgets ( http://code.google.com/p/warp-core/ ) does this
in an elegant way
Deploying my wicket web app on Geronimo, I'm getting errors that seem to be
somewhere in the wicket. Is there a way to turn on Wicket debugging?
I know there are errors because when I click the submit button, my response
page is blank. Not how it's supposed to be. No exceptions or error
mess
see CompoundBehavior in wicketstuff-minis
El lun, 16-02-2009 a las 03:06 -0800, rag...@directi escribió:
> I am using an AjaxLink which has a javascript for onclick event now i want to
> add AjaxFormValidatingBehavior to this link on the same event "onclick"
> ...i tried adding the same...but the
I could do it but why it should be lower cased ?
What will happen with months (MM)? They will become minutes (mm). Is
this correct ?
I see there is sdf.toPattern().toLowerCase() below but this seems like a
bug to me.
Can you give more details because I'm not using this behavior.
El lun, 16-02-20
if i supply the date pattern "dd/MM/"
the date picker will print wrong date like 10/MM/2009
i noticed sdf.toPattern().toLowerCase() and i thought some one missed
to call toLowerCase() on
format_ = ((ITextFormatProvider) component).getTextFormat();
i called toLowerCase() and it solved the i
Hi!
Why does IResourceStream have a close() method? I don't see it being
called in 1.4-RC2.
Shouldn't ResourceStreamRequestTarget.detach call it?
Adriano
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For ad
have a Serializable object on a Wicket page. This object in turn has a
reference to an XMLBeanFactory. Wicket is giving me an error because
XMLBeanFactory is not serializable. What do I do??
--
View this message in context:
http://www.nabble.com/XMLBeanFactory-not-serializable---what-to-do---
as far as i know it is called all over the place
For example WicketFilter.getLastModified()
But you are right about the RSRT that one should call close on detach as far
as i can see
can you make a jira issue?
On Tue, Feb 17, 2009 at 12:44, Adriano dos Santos Fernandes <
adrian...@gmail.com> wrote
LoadableDetachableModel?
Thomas
On Tue, Feb 17, 2009 at 12:43 PM, Edwin Ansicodd wrote:
>
> have a Serializable object on a Wicket page. This object in turn has a
> reference to an XMLBeanFactory. Wicket is giving me an error because
> XMLBeanFactory is not serializable. What do I do??
> --
>
https://issues.apache.org/jira/browse/WICKET-2109
Johan Compagner escreveu:
as far as i know it is called all over the place
For example WicketFilter.getLastModified()
But you are right about the RSRT that one should call close on detach as far
as i can see
can you make a jira issue?
On Tue,
transient field + lazy init method?
Edwin Ansicodd wrote:
have a Serializable object on a Wicket page. This object in turn has a
reference to an XMLBeanFactory. Wicket is giving me an error because
XMLBeanFactory is not serializable. What do I do??
--
Ok, I see. The JS library works with lower case formats.
Fixed with r4575.
Additionally I think you are using the old jquery. The one I fixed is at
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/jquery-parent/jquery/src/main/java/org/wicketstuff/jquery/datepic
use wicket-spring to get references to your beans
El mar, 17-02-2009 a las 03:43 -0800, Edwin Ansicodd escribió:
> have a Serializable object on a Wicket page. This object in turn has a
> reference to an XMLBeanFactory. Wicket is giving me an error because
> XMLBeanFactory is not serializable.
Cheers
Dipu
On Tue, Feb 17, 2009 at 12:30 PM, Martin Grigorov wrote:
> Ok, I see. The JS library works with lower case formats.
> Fixed with r4575.
>
> Additionally I think you are using the old jquery. The one I fixed is at
> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk
Hi
I have LoadableDetachableModel model1. In load method it calls
error(String). When I put model1 into Label, the error message is displayed
in my FeedbackPanel. Then I have PropertyModel model2, that wraps model1.
This time, when I put model2 into Label, the error message isn't displayed.
Do y
Hi Guys
Are there anyone which has done something like a pageflow diagram generator
for wicket, would be wonderfull if it were a maven plugin?
regards Nino
I usually put this in my pom.xml so that I don't have to always remember
the command line parameter:
org.apache.maven.plugins
maven-eclipse-plugin
true
true
1.5
blah
jk
On Mon, Feb 16, 2009 at 11:30:54PM -03
Hi Guys
Would any of you be interested in creating a VoiceXML framework based on
wicket with me? I dont have much knowledge on vxml (im new to the domain)
but I have a little on wicket :) Im just thinking aloud right now, so theres
no scope or anything defined.
regards Nino
I created a filter that does this:
boolean accept(message)
{
return message.isInfo();
}
This returns true for messages created using "error("asdf")"
To make sure I wasn't mistaken I added this:
if(message.isError() && message.isInfo()){throw new
RuntimeException("something");}
That was trigge
Maybe you are calling the error method of a wrong component. Can you send
some code snippet?
-- Cristiano
On Tue, Feb 17, 2009 at 9:59 AM, Jakub Srba wrote:
>
> Hi
>
> I have LoadableDetachableModel model1. In load method it calls
> error(String). When I put model1 into Label, the error message
The javadoc on isInfo() says "Gets whether the current level is INFO or up."
So, since the info level is above the error level, isInfo() returns true
for error messages.
So, since info is a less granular level than error, a feedback message using
error("foo") is at the error level and the info le
Since when does a Label, Link, Image, WebMarkupContainer contribute to
the section of a page?
It definitely is not obvious to me that such should be the case.
Martijn
On Sun, Feb 15, 2009 at 8:15 PM, Martin Makundi
wrote:
> Tnx. :) Why don't the component implement iheadercontributor already?
Hi,
is there possibility to open modal window from modal window in wicket? I
have form in modal window and i want to implement button that opens next
modal window with some user options.
Thnx for your answers.
with regards Michal
--
View this message in context:
http://www.nabble.com/Modal-wind
have info in a table, want to make the text from wicket bold. How do I do
this?
Person Name
The above doesn't work. It's not bold with wicket. How do I make it bold?
--
View this message in context:
http://www.nabble.com/How-to-make-wicket-text-in-a-td-bold--tp22060100p220
Person Name
...somewhere in your CSS...
td.personname { font-weight: bold; }
jk
On Tue, Feb 17, 2009 at 07:54:36AM -0800, Edwin Ansicodd wrote:
>
> have info in a table, want to make the text from wicket bold. How do I do
> this?
>
> Person Name
>
> The above doesn't work.
It's not supposed to be bold. In no way did you tell it to be bold.
What you can do is add a class attribute to the element (using
AttributeAppender behavior) to set a css class and then you use a
stylesheet to style your text as bold.
On Tue, Feb 17, 2009 at 10:54 AM, Edwin Ansicodd
wrote:
>
>
or like this:
[td width="20%"][b wicket:id="personname"]Person Name[/b][/td]
with '<' and '>' instead of the '[' and ']' of course...
On Tue, Feb 17, 2009 at 4:54 PM, Edwin Ansicodd wrote:
>
> have info in a table, want to make the text from wicket bold. How do I do
> this?
>
>
Styling the markup in-line is frowned upon, though. It's better to
use stylesheets for this. However, for a quick and dirty solution,
this will work quite well! :)
On Tue, Feb 17, 2009 at 11:01 AM, Jonas wrote:
> or like this:
>
> [td width="20%"][b wicket:id="personname"]Person Name[/b][/td]
All,
I have custom components which know if they have a validation error when
they call "updateModel()", the domain is where validation happens, I'm using
this to post error messages which are rendered like a validation error:
@Override
public void updateModel()
{
try
Agreed, I personally would also prefer the stylesheet solution, but I figured
he wanted to use the [b]-tag...
On Tue, Feb 17, 2009 at 5:04 PM, James Carman
wrote:
> Styling the markup in-line is frowned upon, though. It's better to
> use stylesheets for this. However, for a quick and dirty solu
solved sorry for spam :(
Michal Hybler wrote:
>
> Hi,
> is there possibility to open modal window from modal window in wicket? I
> have form in modal window and i want to implement button that opens next
> modal window with some user options.
>
> Thnx for your answers.
> with regards Michal
>
Yes it's possible, see the examples here:
http://www.wicket-library.com/wicket-examples/ajax/modal-window.2
You can also create a BasePage containing a ModalWindow and use it as a
base for all the pages you want to show in a modal window, so you can open a
modal window from any other m
You can try a couple of things - turning the logging level for
org.apache.wicket.* down to debug, for example. You can also put you app in
development mode with web.xml, but I don't think that's going to help you
here.
Hoenstly, a blank screen to me would mean that it may *not* be Wicket, since
w
in the custom component's constructor, why don't you do:
add(new IValidator() {
...
});
Or create a custom validator class and just add it to your custom
components.
On Tue, Feb 17, 2009 at 10:04 AM, walnutmon wrote:
>
> All,
>
> I have custom components which know if they have a validation err
Okay, this question might actually be more related to Spring, but I'm
completely lost here, and my question on Spring forums usually don't get any
replies, so I hope Wicket community might help as it usually does.
I'm using JCR, and have a RepositoryDao bean configured in
applicationContext.xml.
R
That's a fantastic idea, I'll definitely do that.
There is one problem, because the validation is actualy coming from the
domain objects "setters", I don't know if there was a problem until the
"updateModel" method is called... I don't know if I like calling
"updateModel" from the validator, sinc
Hello,
I am not entirely sure if I understand your question correctly. But I
usually use Spring like this:
YourDao (either defined in applicationContext.xml or in separate
spring-config files, or annotation-driven e.g. with @Repository. The
template you mention I usually autowire into the dao so
I'm a little bit out of what you are doing, but validate information
directly in setter methods usually isn't a good option...
my 50c
On Tue, Feb 17, 2009 at 2:19 PM, walnutmon wrote:
>
> That's a fantastic idea, I'll definitely do that.
>
> There is one problem, because the validation is actual
As far as I am aware, the main internal differential is that annotations
provides a quick, safe way to access your spring beans and ensure that the
whole container does not get serialized via a proxy. However the magic comes
at a cost that it will serial the bean id (as a string) - which can be
cos
In order to see what's going on here, I added this line to my TestPage
class:
System.out.println("*** Form Test: " + user.getTest().toString());
add(new TestForm("testForm", new
CompoundPropertyModel(user.getTest(;
and then I went into FormComponent.java and added a similar line to
updateMode
I, too, agree that this may not be the best way of doing things. But,
anyway, there is a solution that will work:
Use ValidationError rather than just a string
public void updateModel() {
try {
super.updateModel();
} catch(Exception
We have seen the same issue with virtually the same set up. You may want to
try running it in a profiler and pinpoint directly where it's having an
issue.
I was able to get it to work if I didn't use in web.xml.
But then of course there is no session replication.
Tomcat session replication isn'
Jeremy Thomerson wrote:
I, too, agree that this may not be the best way of doing things. But,
anyway, there is a solution that will work:
Use ValidationError rather than just a string
public void updateModel() {
try {
super.updateModel();
David,
To my knowledge, the onClick will not be rerun. I would do getPage() in
that onClick and send them to the page (passing the getPage()) that does
something, then send them back after doing some work. When they click on
the link again, in theory, token shouldn't be null again...
Jeremy
On
Because there's a compile error if you don't "The method
error(IValidationError) is ambiguous for the type new
TextField(){}".
I thought the same, and didn't care to look further since this was just a
quick example. Take a look for yourself:
new TextField("", new Model("")) {
Okay, thanks for you replies, my question was poorly formulated. There are
two issues here.
First problem is that I apparently don't understand some very basic
principles behind Spring-configured beans handling.
I assume that a DAO configured in Spring are created on application
deployment, speci
For a component (A) I would like to be able to add a surrounding component
(B) (a link) in some cases. Component A itself should be able to add
surrounding component B.
Example:
A product component in some cases has detailed info. If this is the case,
the product component should be linkable to t
One option: Use a panel that contains both. Rather than adding B, add the
panel, which knows to display one or both.
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Feb 17, 2009 at 4:37 PM, Prag wrote:
>
> For a component (A) I would like to be able to add a surrounding component
>
I'm working with the inmethod datagrid. The grid is editable, and I have it
working just as the examples show, with a couple of cells that contain text.
As in the examples, clicking on a row changes some cells into TextField
components that can be edited.
Now I would like to create a cell that dis
For anyone interested, I've made public yet another quick start application
that brings together Wicket, Spring 2.5 and Hibernate.
The app features a basic CRUD framework based on wicketstuff-crud. The CRUD
framework uses bean annotations to define CRUD properties. It also uses the
excellent InMe
Will definitely check that out, thanks.
On Wed, Feb 18, 2009 at 2:41 AM, Patrick Angeles wrote:
>
> For anyone interested, I've made public yet another quick start application
> that brings together Wicket, Spring 2.5 and Hibernate.
>
> The app features a basic CRUD framework based on wicketstuff
I am overriding the DatePicker class in order to limit the calendar to 3
months, and I also want to disable the 1st through 4th of each month.
My override of getAdditionalJavascript does the following adds a renderer to
these dates as an OutOfBoundsDate:
*
for*( *int* i = minCal.get(Calendar.*MON
My solution was a combination of the ideas here, let me know what you think
:) While I don't particularly love the idea of using domain exceptions to
render feedback on the front end, I don't have any control over certain
decisions; still, being able to use a strict domain and have it interact
wi
Prag,
It would be tough to write a component that could "replace" itself,
and I think that it's impossible to have a component that's visible
when its parent is invisible.
What you want to do is create a Panel that either displays the link
with the product within it, or just displays the
We designed our domain to use wicket's ivalidator for validation, so
we get to reuse our validation in the frontend components.
-Igor
On 2/17/09, walnutmon wrote:
>
> My solution was a combination of the ideas here, let me know what you think
> :) While I don't particularly love the idea of usi
To answer your question, yes spring beans are singleton by default. The
@SpringBean annotation works roughly like this: in your Application class,
you set a ComponentInstantiationListener which gets called every time a
Wicket page/component is instantiated. The particular listener that gets set
(
Thanks for your insight, Patrick.
But I'm stuck in my dumbness: "setting the component's fields" -- does this
mean a new instance of that particular annotated bean is created, or that
singleton is accessed somehow (proxy)?
Also, it's not the injected beans that are null, it's their dependencies,
a
I wish that some of these frameworks would join existing ones.. To put more
momentum in those..
I know we would be happy to have more people on wicketopia, which does
something similar..
regards Nino
2009/2/18 Patrick Angeles
>
> For anyone interested, I've made public yet another quick start
Hehe, I knew there were some reason.. Just looked a bit odd.
2009/2/17 Jeremy Thomerson
> Because there's a compile error if you don't "The method
> error(IValidationError) is ambiguous for the type new
> TextField(){}".
>
> I thought the same, and didn't care to look further since this was just
I guess minis is part of wicketstuff-corei did not find any
CompoundBehavior in minis project.
martin-g wrote:
>
> see CompoundBehavior in wicketstuff-minis
>
> El lun, 16-02-2009 a las 03:06 -0800, rag...@directi escribió:
>> I am using an AjaxLink which has a javascript for onclick even
65 matches
Mail list logo