On 7/11/07, nazeem [EMAIL PROTECTED] wrote:
I have the same case where I wanted to customize the navigation toolbar to
add few action menu items as well. So I have written my own version of
AjaxFallbackCustomDataTable by just copying the
AjaxFallbackDefaultDataTable
code in to my package and
According to the source code it supports the hibernate validators.
What you put in, it validates.
http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicketstuff-hibernate-behavior/src/main/java/org/wicketstuff/hibernate/validator/HibernateFormComponentValidator.java
Haven't tried it, but
Hi,
Wicket pages are not stateless in a way they are for example in GWT
where whole page structure can be generated as a javascript and there
is no interaction with the server. That is currently out of scope of
Wicket.
However, Wicket supports stateless pages which do not create session
* Watter:
I created a small demo application that demonstrates the
problem? Is there somewhere I can upload the zip file (it uses
maven so it's only 7kb) with some instructions on the steps
necessary to recreate the problem? I hate to open a bug in JIRA
for this seeing as how
Thanks Igor for the quick response... I got it solved...
- nazeem
nazeem wrote:
I have the same case where I wanted to customize the navigation toolbar to
add few action menu items as well. So I have written my own version of
AjaxFallbackCustomDataTable by just copying the
How can I prevent a WebPage from being serialized to the FilePageStore?
I have a page that ist to be displayed within a modal window. The page
recieves an object as parameter but this object is not serializable. Can
I tell wicket not to serialize this page? I have tried to set
page.isVersioned()
the real client side wicket , so storing the data in the browser didn't make
it
and i don't think it will make it very soon because no current committer
really sees
the big benefit of this approach.
johan
On 7/11/07, James Law [EMAIL PROTECTED] wrote:
Hi,
On the features page of the wicket
if the jetty classloader is able to load that class
then you have a wrong configuration.
Jetty shouldn't be able to load the classes at all, those classes shouldn't
be in the webapp classpath
johan
On 7/12/07, Watter [EMAIL PROTECTED] wrote:
Jean-Baptiste Quenot-3 wrote:
* Watter:
I
Hi,
Say I have some entity
E, and it can have states A,B,C. now, for each state, I render the
entity a bit differently (showing more or less information, changing
colors). The page is comprised of many, sometimes nested (in panels)
components. What is the best way to achieve those
Jean-Baptiste Quenot-3 wrote:
* Watter:
I created a small demo application that demonstrates the
problem? Is there somewhere I can upload the zip file (it uses
maven so it's only 7kb) with some instructions on the steps
necessary to recreate the problem? I hate to open
thats currently not possible (or you must your another SessionStore
completely)
because we need to store the page somewhere and the pagemap will only hold
one
but if the object can't be serialized it also shouldn't go into the http
session and that
will be the case everytime or you must make the
I try to replace a TextArea with a HiddenField (or in next step with a
Panel).
before:
textarea wicket:id=messageInput rows=6 cols=20Input comes
here/textarea
after:
input wicket:id=messageInput type=hidden /
I added a Behaviour to the TextArea:
public void bind(Component c)
{
May I suggest the state pattern :).
public class Yours
{
private YourState state;
public Foo someMethod()
{
return state.getFoo();
}
etc.
}
http://en.wikipedia.org/wiki/State_pattern
On 7/12/07, Ittay Dror [EMAIL PROTECTED] wrote:
Hi,
Say I have some entity E, and it
can you elaborate how
it relates to wicket?
Scott Swank wrote on 07/12/07 19:22:
May I suggest the "state pattern" :).
public class Yours
{
private YourState state;
public Foo someMethod()
{
return state.getFoo();
}
etc.
}
http://en.wikipedia.org/wiki/State_pattern
I've just upgraded from beta1 to beta2 and have encountered a problem getting
any tests to run. My configuration in web/xml is pretty standard:
filter
filter-nameWicketEntryPoint/filter-name
add(state.buildYourComponent(someWicketId));
On 7/12/07, Ittay Dror [EMAIL PROTECTED] wrote:
can you elaborate how it relates to wicket?
Scott Swank wrote on 07/12/07 19:22:
May I suggest the state pattern :).
public class Yours
{
private YourState state;
public Foo
Hi,
I'm using wicket 1.3.0 SNAPSHOT, and I'm encountering intermittent errors
in console on my pages. I can't seem to determine a reproducible test case
for this issue, so I'm not sure how to isolate the problem any further.
Please let me know if you have any suggestions on what to look for.
Hi,
When debugging my application which uses a TabbedPanel, I realized that one
tab was unnecessarily instanciated. After some investigation the reason is
simply because I call setSelectedTab based on the parameters of my page, but
since the instanciation of a TabbedPanel call setSelectedTab(0),
Hi all, I wanted to see if I could add an autocomplete that displays a
little table (3 columns).
It is a simple locations table that shows a ZIPCODE a Provine/City and a
Canton/Kanton (CH) field. I already have it working with the default
IAutoCompleteRenderer, that renders an Unordered list:
Hi. Wicket newbie here - and loving the framework. Great work!
I started tinkering with it a few weeks ago, and wrote some code, but
then realized that I probably ought to switch to use v1.3. Running into
some conversion problems, though. Specifically, I used the approach
described here:
I'm not familiar with the @Column annotation. If you have any info on how
it works, I'd be happy to add support in.
Even better, the code to add new annotation support is drop dead simple.
let me know if have a solution and I can commit it.
Sorry, I was a little confused, I thought this project was using the JPA
annotations for validation. Instead you are actually using the hibernate
validator project annotations. Which means the @Column annotation would be
pretty hard to use..:)
-Craig
Ryan Sonnek-2 wrote:
I'm not familiar
Hi,
I want to show and hide forms using javascript, but this will not have
components on the server.How do I process the form on the server.
What is the reccomended way to do this??
Do I have to make a server call for this?(Based on my experience I feel ajax
is the way supported in wicket, but i
On 7/12/07, atul singh [EMAIL PROTECTED] wrote:
Hi,
I want to show and hide forms using javascript, but this will not have
components on the server.How do I process the form on the server.
What is the reccomended way to do this??
Do I have to make a server call for this?(Based on my experience
Xavier,
Just an idea, I am not sure this would work: do not use the first tab, and
switch to the second tab (index 1) if you do not have the parameter.
Regards,
Erik.
Xavier Hanin wrote:
When debugging my application which uses a TabbedPanel, I realized that
one
tab was unnecessarily
use the default serialization for now, if you know why it happens then
please make a test case for this.
On 7/12/07, Russell Morrisey [EMAIL PROTECTED] wrote:
Hi,
I'm using wicket 1.3.0 SNAPSHOT, and I'm encountering intermittent errors
in console on my pages. I can't seem to determine a
On 7/12/07, Xavier Hanin [EMAIL PROTECTED] wrote:
Hi,
When debugging my application which uses a TabbedPanel, I realized that
one tab was unnecessarily instanciated. After some investigation the reason
is simply because I call setSelectedTab based on the parameters of my page,
but since the
I believe that it's something like this (we're still on 1.2.6 here at work).
getResourceSettings().addResourceFolder(/WEB-INF/html);
On 7/12/07, David Rosenstrauch [EMAIL PROTECTED] wrote:
Hi. Wicket newbie here - and loving the framework. Great work!
I started tinkering with it a few
David Rosenstrauch wrote:
http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
I needed a way to load up HTML files that are all inside the same
directory. That directory happened to be /WEB-INF/html. Essentially, I
needed to chop off the fully qualified class name
Craig Lenzen wrote:
Sorry, I was a little confused, I thought this project was using the JPA
annotations for validation. Instead you are actually using the hibernate
validator project annotations. Which means the @Column annotation would be
pretty hard to use..:)
:-)
I have JPA annotation
Is it possible to use Tapestry's parser in tests to verify that template
syntax is correct?
I'd like to run tests (like you do when doing a JSP pre-compile) to verify
syntax w/o having to start the app and find out at runtime.
Also, is it possible to adjust Wicket's template caching strategy?
i am deploying my web application (including website using wicket) in an
ear. there are files in the ear under the webapp/img directory and i would
like to load them to use with Image and ImageMap. I dont know how to specify
the path. i do not want to use the absolute FS path. i would like to
On 7/12/07, mraible [EMAIL PROTECTED] wrote:
Is it possible to use Tapestry's parser in tests to verify that template
syntax is correct?
probably yes, wicket also has a pullparser implementation you can use, or
any other html parser. our tests compare string buffer of httpservletrequest
to
On 7/12/07, verbal evasion [EMAIL PROTECTED] wrote:
actually, doing url.getContent() doesnt seem to work. can someone please
help me out?
in your markup just do img src=img/foo.gif/ wicket will rewrite that url
to be context-relative so /mycotnext/img/foo.gif which will map to
so i realized that i probably just want to access the image via a URL. the
question now is i cant seem to access it with a relative page. do you think
i should just URL.getContent() and then save it in my WebApplication? seems
weird, but whatever i guess. i would still like to find out how to
Hey guys,
Ive been reading the apidoc for RepeatingView, and there is one thing that
is completely throwing me off.
As taken from the API
http://wicket.sourceforge.net/wicket-extensions/apidocs/wicket/extensions/markup/html/repeater/RepeatingView.html
It says A repeater view that
actually, doing url.getContent() doesnt seem to work. can someone please
help me out?
thanks,
verbal
On 7/12/07, verbal evasion [EMAIL PROTECTED] wrote:
so i realized that i probably just want to access the image via a URL. the
question now is i cant seem to access it with a relative page.
Thanks Al, I look forward to the post.
-Craig
Al Maw wrote:
Craig Lenzen wrote:
Sorry, I was a little confused, I thought this project was using the JPA
annotations for validation. Instead you are actually using the hibernate
validator project annotations. Which means the @Column
Eelco Hillenius wrote:
Is it possible to use Tapestry's parser in tests to verify that template
syntax is correct?
Certainly not Tapestry's; it's a different syntax :)
Doh! That's what I get for asking the same question on the Facelets and
Tapestry lists. I was bound to screw up
igor.vaynberg wrote:
like eelco said, in devel mode this is the default for markup only. if you
want class reloading there is a reloadingwicketfilter, or whatever its
called. in production reloading templates is rarely necessary. for cases
that require them there are a few solutions: you
I want to do it dynamically though. As in based on some logic, display
1 of n files.
Thanks,
verbal
On Jul 12, 2007, at 7:13 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:
On 7/12/07, verbal evasion [EMAIL PROTECTED] wrote:
actually, doing url.getContent() doesnt seem to work. can someone
Absolute Genius thanks for covering this!!! you guys have saved me alot
of time :)
Matej Knopp-2 wrote:
As far as I know id is a property of DOMElement, so there should be no
need to call setAttribute.
-Matej
On 6/24/07, Peter Thomas [EMAIL PROTECTED] wrote:
On 6/24/07, Peter
I haven't seen anything on JPA annotations. Last I heard, they were in
draft or review. Are they actually available now, and if so, who's
using them?
On 7/12/07, Craig Lenzen [EMAIL PROTECTED] wrote:
Thanks Al, I look forward to the post.
-Craig
Al Maw wrote:
Craig Lenzen wrote:
Hi all,
I have a TableViewPage, which has a modal window and the Ajax Link.
The modal window is used to edit item from DataView.
How do i pass value of the selected item from DataView to the modal window?
Anyone can help me?
Thanks for spending time to read my codes here. :)
I'm using wicket
On 7/12/07, mraible [EMAIL PROTECTED] wrote:
Is it possible to expire the page cache with JMX? Or even better, expire
individual pages from the cache with JMX?
i dont think so, but i also dont think it will be very difficult to
implement. we already have a jmx bean here [1], so all thats
then use ContextImage component
-igor
On 7/12/07, verbal [EMAIL PROTECTED] wrote:
I want to do it dynamically though. As in based on some logic, display 1
of n files.
Thanks,
verbal
On Jul 12, 2007, at 7:13 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:
On 7/12/07, verbal evasion [EMAIL
Is it possible to expire the page cache with JMX? Or even better, expire
individual pages from the cache with JMX?
You can clear the markup cache. See ApplicationMBean#clearMarkupCache
(mx Application/ApplicationSettings).
You can't do it for individual markup files, and tbh I don't think it
thank you for the response igor, you are helpful as always. this may be a
totally stupid question, but i am using wicket.* but there seems to be
another org.apache.wicket.* and the ContextImage is only in that version?
why are there two different versions? i am getting my wicket and
On 7/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
On 7/12/07, mraible [EMAIL PROTECTED] wrote:
Is it possible to expire the page cache with JMX? Or even better, expire
individual pages from the cache with JMX?
i dont think so, but i also dont think it will be very difficult to
We know that there is IMarkupSetting.setStripWicketTags(), but it seems that
it is a global setting. I want to apply sth. like setStripWicketTags() to a
single component(for example: Panel/Fragment/Page), could I ? How ?
Thanks!
--
View this message in context:
50 matches
Mail list logo