On Sat, 06 Sep 2008, FakeBoy wrote:
> But now I am programming web application in which all these 3 layers will be
> placed in the same Virtual machine. So now It seems to be pointless to
> convert/copy business obejct to DTO and back. So I would like to use
> business objects directly in client la
Use loadabledetacheable models for those objects, in the load method
call the service method to get your bus. object back
On 9/6/08, FakeBoy <[EMAIL PROTECTED]> wrote:
>
> Hello all,
> I am thinking about the best design architecture for public web project. I
> used to work with classic 3 tier arc
Hello all,
I am thinking about the best design architecture for public web project. I
used to work with classic 3 tier architecture:
1. tier - tier of business logic (business domain obejcts)
2. tier - middle service tier or API to business logic (EJB, Spring,
=>convert business object to DTO - Da
Hi Timo,
You are right!
Looking closer at the code I see that it just makes some additional work
for TextField and TextArea.
Thanks!
On Sat, 2008-09-06 at 21:37 +0300, Timo Rantalaiho wrote:
> On Sat, 06 Sep 2008, Martin Grigorov wrote:
> > OnChangeAjaxBehavior applies only to AbstractTextCompo
On Sat, 06 Sep 2008, Martin Grigorov wrote:
> OnChangeAjaxBehavior applies only to AbstractTextComponent. Such
> components are: TextField and TextArea.
> HiddenField is not!
Hmm... not exactly. OnChangeAjaxBehavior is an
AjaxFormComponentUpdatingBehavior, bound to onchange
Javascript event, wit
Hi,
the problem is that you are doing this:
new PropertyModel(getModelObject(),"latestVersion.title")));
This is not really model chaining, you bind PropertyModel with your
Document diretly (not with the DocumentModel).
You can try new PropertyModel(getModel(),"latestVersion.title")));
or just
On Fri, 05 Sep 2008, Lutz Müller wrote:
> I expected problems, mostly because the enclosing div (the panels container)
> gets the onchange listener added. but to my surprise, an js event was
> generated when i changed the selected value in one of the select elements,
> and
People who know more
Ok,
this has take me ages to figure out what is happening.
I have a model that represents a hibernate entity (called Document). I have
a form with a couple of fields which uses PropertyModel on the model and I
set the model on this forms contructor.ie.:
setModel(model);
add(new TextField("title",
You have to redirect onces.
Just throw a resartresponseexception in the constructor and let a new
page be created. It are all landing pages anyway so thats
bookmarkable.
But to make this thread even simpeler. Just dont have long running
stuff in the request thread
On 9/5/08, Jan Stette <[EMAIL PR
i have created a basic wicket component that integrates MooEditable, a
lightweight textarea editor based on mootools.
http://code.google.com/p/wicket-mooeditable/
usage (in your form):
TextArea textarea = new TextArea("post");
textarea.setOutputMarkupId(true);
Mine arrived today, ordered at Manning and shipped to the Netherlands.
I was already excited about the ebook but I can't wait to dive into this
one! Great work guys!
Jonathan Locke wrote:
i just got mine today.
it is really really nice!!!
Martijn Dashorst wrote:
Thanks for the report,
OnChangeAjaxBehavior applies only to AbstractTextComponent. Such
components are: TextField and TextArea.
HiddenField is not!
You may try with a AjaxFormComponentUpdatingBehavior instead.
changed.add(new AjaxFormComponentUpdatingBehavior("myevent") {...});
and in JavaScript:
function change(){
12 matches
Mail list logo