> To get Apache 2.2 to proxy around Wicket, I have the following defined:
>
>
>ProxyPass /
> http://localhost:8080/cware/
>ProxyPassReverse/
> http://localhost:8080/cware/
>ProxyPassReverseCookieDomainlocalhost .laccetti.com
>
Hi
I've implemented a custom DateConverter for that:
In my Application.java I've got:
protected IConverterLocator newConverterLocator () {
ConverterLocator converterLocator = new ConverterLocator();
converterLocator.set(Date.class, new MyDateConverter());
return converterLocator;
}
clas
See this reply from me a while back - you can use that to format the date
however you want globally within the app
http://markmail.org/message/m5cyca4vsrrvcrid
On Wed, Nov 19, 2008 at 2:47 AM, Yazeed Isaacs <[EMAIL PROTECTED]> wrote:
> Hi
>
> I would like to change the format of the default
Hi
I would like to change the format of the default displayed date
"MM/dd/yy" to "dd/MM/" when using the DateTimeField.
I cannot find any resource online that shows how this is implemented. Is
this even possible?
Yazeed Isaacs - Java Developer
[EMAIL PROTECTED]
---
BTW this is a flawed approch.. We need something a little more
intelligent.. I'll return on the subject..
Nino Saturnino Martinez Vazquez Wael wrote:
heres the raw and completely untested version of it. probably with a
whole bunch of issues...:
package zeuzgroup.web.model;
import java
Hi Matej,
I'm browsing your changes. Please notice that according to my own
debugging it's lastPage itself that is null and not only the result of
prepareForSerialization. So I don't think the warning "PageStore
prepared non-null page as null for serialization" will ever be
reached. Anyway, I will
Hi folks,
In my current Wicket app I have a panel that contains a vertically
stacked list of sub-panels. Because the precise list of sub-panels is
not known until runtime, I've implemented this with a RepeatingView. My
parent panel has the following methods that I use to build the list of
sub-pane
Vishy,
Add
IConverter=Invalid Input
to a properties file in, for example, MyApplication.properties for your
whole application or in MyPage.properties if you want this custom message on
a particular page only ... etc, in the same package as the class with the
same name.
Regards - Cemal
http://
Hi all,
I am trying to get some validations to work using the FeedbackPanel. My form
has a Textfield and I am trying to use a NumberValidator to check if it is
in a given range. The code that I have used is :
TextField pgLongLimit = new TextField("pgLongLimit", new PropertyModel(
This really is weird. I added couple of warnings and null check to 1.4
trunk. I wonder if that helps it though.
-Matej
On Wed, Nov 19, 2008 at 12:44 PM, Carlos Pita <[EMAIL PROTECTED]> wrote:
> The last one of the saga for now, I badly need to sleep.
>
> I've been sampling tomcat work dir every s
But does it also have a problem if it's running a standalone wicket
application?
Btw I've run wicket portlets (with the portlet 2 patch) in Glassfish &
open portal portlet container(v. rc2 then) and that worked just fine...
So I don't know what the problem could be...
Thijs
On 11/19/08 8:44
I found what I was looking for.
this is basically what I have done.
In my page:
public class FooPage extends WebPage implements IAjaxIndicatorAware {
private WebMarkupContainer indicator;
public FooPage() {
// snip
indicator = new WebMarkupContainer( "indicator" );
Does it mean that FileUploadField now stores FileUpload in model?
2008/11/19, Erik van Oosten <[EMAIL PROTECTED]>:
> Yeah, I run into the same thing.
>
> Just pass FileUploadField an empty model: new Model()
>
> Regards,
>Erik.
>
>
> Bruno Cesar Borges schreef:
>
> > Yes, you need to set a M
The difference appears to be : vs %3A (the URL encoded : ) in urls.
For example wicket seems to be creating test:test2 in Firefox and
test%3Atest2 in IE. Glassfish doesn't like the :
Thijs wrote:
>
> Do you know what is send differently to the server in FF2 vs IE
> (WireShark?)
> And where the
Hello
I would like to achieve the following url space:
/ redirects to /form
/form - home page with a from
/form?something - followup of a home page's form
/resources/*.css
/resources/*.jpg - resources served from /resources
/ - SomePage with in PageParamters
I know it would be a lot easier
Strange quirk.. someone removed the preceding hack from within. Is
there some flaw in the FileUploadFIeld design?
**
Martin
2008/11/19 Erik van Oosten <[EMAIL PROTECTED]>:
> Yeah, I run into the same thing.
>
> Just pass FileUploadField an empty model: new Model()
>
> Regards,
> Erik.
>
>
> Bru
Yeah, I run into the same thing.
Just pass FileUploadField an empty model: new Model()
Regards,
Erik.
Bruno Cesar Borges schreef:
Yes, you need to set a Model object into FileUploadField. :-)
Bruno
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
I am having problems understanding Ajax Indicators. I have search high/low
for a working example and have been unsuccessful.
Is there any examples that shows what I need to do get an AjaxLink or
DropDownChoice w/ an AjaxFormChoiceComponentUpdatingBehavior to utilize an
indicator to show somethin
And, in case anyone's interested, here's a new WIKI page for it:
http://cwiki.apache.org/confluence/display/WICKET/Dynamically+Generate+a+CSS+Stylesheet
On Wed, Nov 19, 2008 at 12:48 PM, jwcarman <[EMAIL PROTECTED]> wrote:
>
> Well, I came up with a way to do it. I wrote a new class called
> Tex
Well, I came up with a way to do it. I wrote a new class called
TextTemplateResourceReference, which you can use along with a
StyleSheetReference. Basically, you just pass it in a model for the
variables to plugin. I don't know about that lastModifiedTime()
implementation, but its overridable i
To get Apache 2.2 to proxy around Wicket, I have the following defined:
ProxyPass /
http://localhost:8080/cware/
ProxyPassReverse/
http://localhost:8080/cware/
ProxyPassReverseCookieDomainlocalhost .laccetti.com
Proxy
Where is such method?
**
Martin
2008/11/19 Igor Vaynberg <[EMAIL PROTECTED]>:
> call hasexplicitmodel(false)
>
> -igor
>
> On Wed, Nov 19, 2008 at 8:43 AM, Martin Makundi
> <[EMAIL PROTECTED]> wrote:
>> How?
>>
>> It accepts only FileUpload, which cannot be constructed as a dummy. Or can
>> it?
> What is the problem you are having, we use mod_proxy in several environments
> with wicket / tomcat.
>
> Jeremy
I have several apps on one hosting and several domains (aliases) that must
be directly connected to corresponding Web App/.
Configuration is this:
ServerAlias wicket.ru
ProxyPass /st
It might be good to try to ask specific questions about those issues that
you've seen. You will get good help here on the list, and from my
experience, you won't get a much better / simpler programming model than
what Wicket gives you. I've used Tapestry, where everything was stuffed
into the url
Yes we've experienced issues with multiple browser windows as well as
synchronization of shared session resources. Again, this has nothing to do
with optimization but everything to do with craving a solid, simple
programming model for frontend developers.
/Casper
Johan Compagner wrote:
>
> We
call hasexplicitmodel(false)
-igor
On Wed, Nov 19, 2008 at 8:43 AM, Martin Makundi
<[EMAIL PROTECTED]> wrote:
> How?
>
> It accepts only FileUpload, which cannot be constructed as a dummy. Or can it?
>
> **
> Martin
>
> 2008/11/19 Bruno Cesar Borges <[EMAIL PROTECTED]>:
>> Yes, you need to set a
How?
It accepts only FileUpload, which cannot be constructed as a dummy. Or can it?
**
Martin
2008/11/19 Bruno Cesar Borges <[EMAIL PROTECTED]>:
> Yes, you need to set a Model object into FileUploadField. :-)
>
> Bruno
>
> -Mensagem original-
> De: Martin Makundi [mailto:[EMAIL PROTECTED
Yes, you need to set a Model object into FileUploadField. :-)
Bruno
-Mensagem original-
De: Martin Makundi [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 19 de novembro de 2008 14:33
Para: users@wicket.apache.org
Assunto: FileUploadField usage changed in 1.4 rc-1?
Hi!
My FileUploa
Hi!
My FileUploadField worked fine before:
dataForm.add(fileUploadField = new FileUploadField(COMPANY_LOGO));
After upgrading to 1.4 rc-1 (from 1.4-m1) the upload crashes.
Am I doing something wrong or is there a bug in rc-1?
Caused by: java.lang.IllegalStateException: Attempt to set mod
We tried that once, to have state transfered to the client, we didnt
like it (where it did go to) and we dropped it.
Cpu time and bandtwidth is way more expensive then memory. Wicket
takes now memory on the server but the overhead it would generate by
serializing and base64 every page into the resu
Hi,
we've not decided here whether we'll use SWARM for our security needs for
our super duper new online app (!). I think next month will be taking a long
look at this as see if it fits the needs etc. I was also looking at
jsecurity but theres no documentation and Les has yet to fully integrate
in
What is the problem you are having, we use mod_proxy in several environments
with wicket / tomcat.
Jeremy
On Wed, Nov 19, 2008 at 7:31 AM, Martin Tilma <[EMAIL PROTECTED]> wrote:
> Hello Anton,
>
> Have a look at:
> http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Proxy%20Support
>
> may
Hi,
For wicket you just need tomcat with sticky sessions. Then you only have to
take care of the hibernate caching on each tomcat instance
Thank you! I'll read up on tomcat with sticky sessions. What do you
mean with take care of hibernate caching on each tomcat instance? To
have them synchro
Right - that would only work for POST since I believe the HTTP RFC limits GET
requests to 2 or 4K. By experience, in JSF, pushing state this way to the
webpage (base64 encoded and pk encrypted) has the benefits of request scope
(no thread-safety issue, no multi-browser issue etc.) while maintainin
> Can mysql really load balance like that? How does it work with transactions
> and so on?
I think so, but I don't know much about it as I haven't read the white
paper yet. Here is a link:
http://www.mysql.com/products/database/cluster/
> Normally you scale the webservers and have 1 big database
He's not suggesting going stateless. He's suggesting an alternate way
of maintaining state (by pushing it to the client in hidden fields).
Tapestry supports (or supported) this as an option, but it made for
some pretty gnarly URLs (all the state had to be appended to the end)
for links. On forms,
No worries - you're right - Wicket is designed to manage state for you, so
it's strength is not statelessness. But, you should really evaluate if you
have the need for stateless before constraining yourself to it. As long as
you use models correctly, you can support thousands of concurrent sessio
Ok. It sounds like the general philosophy behind Wicket is server side
statefulness. I was kind of hoping this was not the case. Just out of
curiosity, haven't anyone tried serializing and embedding state out on the
webpage that could then be POST'ed between requests - a kind of hybrid model
betwe
Tip: don't double post or some people will jump on you - it doesn't help you
get a good answer.
Anyway, for completely stateless page transitions, etc, and how to put data
into the URL rather than session, you need to use BookmarkablePageLink,
which will invoke the YourPage(PageParameters) constru
That has only to do with how IIS looks up which script to execute, and
nothing to do with security. It certainly won't matter on a Wicket site -
the "script lookup" is actually the Wicket filter.
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Nov 19, 2008 at 8:13 AM, ak <[EMAIL PROT
A model is only in a link as a convenience for YOU to use. It's not used by
default - what about a link needs a model? Rather, it's for something like:
new Link("deleteUser", modelContainingUser) {
onClick() {
userDAO.delete(getModelObject());
}
}
It's for YOU to use. For instance, let
Andy,
If I read this correctly, this is not a security precaution, but a don't
shoot yourself in the foot switch. (Note the 'yourself'.) So if set up
the right way, you don't need this at all. You certainly don't need it
for a Wicket site.
You'll have to do some heavy URL rewriting (or Wicke
The problem is with security procedures set forth by IIS admin folks. Please
follow this link for more nicer explanation.
http://forums.iis.net/p/1150133/1872812.aspx
Hope I am making myself clear. Any ideas ?
Thanks,
Andy
--
View this message in context:
http://www.nabble.com/resource-mappin
Nope, doesn't work either.
I've created a new class MySquare implementing IModel but the getObject() never
get called either.
I'm stumped.
In populateItem I do:
for (int col=0; col<10; col++) {
MySquare mySquare = new MySquare();
Link link = new Link("cols"+col, mySquare) {
Hi, Everyone!
I wrot this Ajax Event Handler for a AutoCompleteTextField:
@Override
protected void onUpdate(AjaxRequestTarget target)
{
ChildObj co = (ChildObj)AutoCompleteTextField.findChoice();
if(null != co )
{
((Obj)Form.getModelObject()).setChildObje
Hello Anton,
Have a look at:
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Proxy%20Support
maybe this helps?
Regards,
Martin
Hi,
http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html
shows this configuration:
ProxyPass / http://appserver.company.com:8080/order
Pardon the (possible stupid) question, I'm new to Wicket but is quite
excited about the simplicity it seems to promote over JSF.
What's the usual way of pushing context on to a website and have it passed
along, such as to remain stateless? In JSF you would typically create a
request scoped backing
I think on Dreamweaver you can use templates. Snippets of HTMLs that you can
set only during WYSIWYG editing. And after you save the HTML, those parts will
be removed automatically. is just a convenient
http://www.adobe.com/support/dreamweaver/templates/dwfw_templates_tutorial/
This is a good
As a designer I like to edit the visual design of pages in Dreamweaver and
use eclipse for dynamic behaviour. I have not found any way of doing this
using Border:
Original static page design:
Dynamic content goes here
I want the outer, inner and content div's to be the b
Hi,
I want to use LinkTree and I want to add a node's children on its expansion in
server side (like what we can do in Swing). I also want the junction link show
the '+' icon on every node which its 'allowsChildren' is true, and on its
expansion if no child provided, its junction link changes to
The last one of the saga for now, I badly need to sleep.
I've been sampling tomcat work dir every second:
i=0; while [[ i -le 300 ]]; do echo $i; ls -lt /u01/tomcatWork/_ >
/tmp/work$i; sleep 1; i=$((i + 1)); done
Then I greped a number of session ids corresponding to
restoreAfterSerialization e
Hi all,
I have a ModalWindow with some radios in it. Everytime a Radio is selected,
an AjaxEventBehavior("onclick") is called which updates a special RadioGroup
in that page.
Everything works fine, as long as there are no errors and no feedback is
shown.
If I produce an Error, in that case it´s a
you should rather add an IModel to the link e.g. new Link("foobar", myModel);
than letting a component implement IModel. the way you did it, the model is
never recognised as a model, as it wasn't set as a model of a component.
hope that makes sense
regards,
Michael
Leucht, Axel wrote:
>
> Hi,
I couldn't understand the part about the icon, but what I know is that
'getObject()' will *never* be called until you set the Square object into
itself as the model:
public Square() {
setModel(this);
}
Regards,
Bruno
-Mensagem original-
De: Leucht, Axel [mailto:[EMAIL PROTECTED]
Env
Hi,
http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html
shows this configuration:
ProxyPass / http://appserver.company.com:8080/ordering/
ProxyPassReverse / http://appserver.company.com:8080/ordering/
# Apache 2.2+ only
ProxyPassReverseCookiePath /ordering /
as impossib
Can mysql really load balance like that? How does it work with
transactions and so on?
Normally you scale the webservers and have 1 big database server thats
serves all of them.
For wicket you just need tomcat with sticky sessions. Then you only
have to take care of the hibernate caching on each
Hi,
I do have a link class which should render different icons when clicked.
So I decided to implement IModel and return different icons depending on the
state of the object. But to my surprise getObject() never get called!
Does anyone give me a clue where to look next or give me a hint as to
I observed this behaviour too, but currently that issue doesn't have the
highest priority for me. I just wanted to give you a hint: I know it was
working in some wicket versions before 1.3.5 maybe it'll be a good start to
have a look at the JS involved and compare it with different wicket versions
Sorry about the attachment. I see many times here nabble link with
files, not found a place there to create attachments, so I was believing
the list automatically convert attachments to it.
Adriano
-
To unsubscribe, e-mail:
Hi,
I have this 3-tier architecture in mind:
1. Persistence: Hibernate with MySQL
2. Business: Spring 2.5
3. Presentation: Wicket
I want my application to have high availability and scalability, so I
want to cluster it with load-balancing, fail-over and synchronization.
I wonder if you know of a
Another fact that could be relevant is that this only happens upon
processexpires, but never for swapin, which seems to suggest that the
span of the sessions that fail to restore is just one request (maybe
the ones coming from bots that don't support cookies).
Best regards
-Carlos
On Wed, Nov 19,
Hi all,
as I've a requirement to maintain long lived sessions (~120s) I'm
using tomcat's PersistentManager to avoid keeping lots of sessions in
memory, each one with its own lastPage. I'm observing, specially in a
heavy loaded production environment, permanent errors with a trace
like
Nov 19, 200
Do you know what is send differently to the server in FF2 vs IE (WireShark?)
And where the error is thrown, why it says that the URLPatternSpec is
invalid...
Thijs
On 18-11-2008 22:57, prasana wrote:
Hi all,
We are running Wicket Portlet in Jetspeed Portal deployed in Glassfish.
But wheneve
63 matches
Mail list logo