You can put your business logic "elsewhere".
Say:
1. Project Wicket GUI
2. Project Business Logic
Minimum business logic into wicket gui or gui constructors.
**
Martin
2010/8/14 Brown, Berlin [GCG-PFS] :
> What is the best practice for where to put business logic in Wicket.
>
> At first, I had
> [X] - trunk to track 1.5, branch for 1.4.11-SNAPSHOT and subsequent
> releases. (+:no merge later; -: trunk will be broken for an extended
> period)
I think we should have the same layout as Wicket.
> Wicket 1.5 Options:
>
> [X] wicket 1.5 branch is set to wicket 1.5-SNAPSHOT and if there is
>
Hello,
With the first milestone of wicket 1.5 released there has been some
interest expressed for a corresponding wicketstuff-core branch.
Because wicket 1.5 is basically experimental right now I'm not sure if
switching trunk to track it is the best idea.
But eventually trunk will track 1.5
Hi Anna,
> I am trying to write a test case to test that the parent page gets
> updated with new values once the modal window closes.
If you use http://wicketpagetest.sourceforge.net, you can test it
easily like:
DefaultSelenium selenium = ...;
WicketSelenium ws = ...;
extensions version should be the same as wicket, so unless you are
using wicket-1.2.7 you are using the wrong version.
-igor
On Fri, Aug 13, 2010 at 5:09 PM, gnugrf wrote:
>
> Yeah I noticed that when I checked the maven repo that it required
> commons-collections, so I tried adding version 3.2.
Yeah I noticed that when I checked the maven repo that it required
commons-collections, so I tried adding version 3.2.1. I ended up with the
following error:
java.lang.ClassCastException: wicket.extensions.Initializer cannot be cast
to org.apache.wicket.IInitializer
The maven repo stated that w
CSS? overflow?
--
Jeremy Thomerson
http://www.wickettraining.com
On Fri, Aug 13, 2010 at 5:15 PM, arunarapole wrote:
>
> Hi
>
> Is any one knows how to add scrollbar to tabpanel in wicket
>
> i have a dataview under tabpanel ,i have to add scrollbar to that panel
>
> if any idea please shar
Hi
Is any one knows how to add scrollbar to tabpanel in wicket
i have a dataview under tabpanel ,i have to add scrollbar to that panel
if any idea please share with me
Thanks
Aruna
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-add-Scroll-to-tabpanel-tp23
That's not a wicket class. You're missing commons-collections.jar
On Aug 13, 2010 4:34 PM, "gnugrf" wrote:
>
> I had added wicket-extensions to my pom.xml, because I was planning on
making
> use of DataTable and DefaultDataTable, however, I hadn't yet added any
code
> that would require the depe
extensions is alive and well, use it every day.
-igor
On Fri, Aug 13, 2010 at 1:34 PM, gnugrf wrote:
>
> I had added wicket-extensions to my pom.xml, because I was planning on making
> use of DataTable and DefaultDataTable, however, I hadn't yet added any code
> that would require the dependency
What is the best practice for where to put business logic in Wicket.
At first, I had put logic in the page constructor, but now I have
learned a little bit about the Lifecycle of a page, the serialization of
the page. So putting any kind of logic there didn't seem like a good
idea.
I placed lo
I had added wicket-extensions to my pom.xml, because I was planning on making
use of DataTable and DefaultDataTable, however, I hadn't yet added any code
that would require the dependency. Made a couple changes to my project over
the weekend, and went to recompile and tomcat wouldnt start. Checked
James
Thanks for pointing it out. Later in the code I have added, so the study
object/instance in the initial model should be in synch right? Correct me if
I am wrong. Let me also think about this point u made. But yeah do let me
know if i have made a mistake.
cpm = (CompoundPropertyModel)this.
Your DDC is bound to the original StudyModel's study with the lines:
PropertyModel propertyModel = new
PropertyModel(studyModel.getStudy(),Constants.STUDY_STATUS);
studyStatusDpChoices = new
DropDownChoice(Constants.STUDY_DROP_DOWN_CHOICE,propertyModel,studyStatusList,defaultChoiceRenderer);
Then
I understand it now. Thanks for your assistance
On Fri, Aug 13, 2010 at 1:36 PM, Bodis, Jerome wrote:
> Just create a panel that holds you links/buttons or whatever and that is
> loaded with your invoice model. The panel could have a link with your
> invoice number and in the onClick/onSubmit m
I figured it out.
For who is interested:
The first getPage().addOrReplace replaced the middlepanel which was also
the current changepasswordpanel.
The second call on getParent() can only yield null because the panel in
question was already swapped.
So there are two valid solutions:
first us
> A better handling would be maybe in ServletWebResponse#sendRedirect to
> check whether redirect is already null, and throw a nice
I mean true, not null..
> wicketruntimeexception instead. (or find out, how could I have two
> sendredirectaction)
or both
Regards,
Peter
Just create a panel that holds you links/buttons or whatever and that is loaded
with your invoice model. The panel could have a link with your invoice number
and in the onClick/onSubmit method you trigger a redirect to your details page
or something like this.
Take a look at the wicket phonebook
Hi,
thanks for the tip, but that had nothing to do with your breakpoint.
Stay tuned, EPIC bug:
The problem was basically, that the linked Page contained a not 1.5-M1
compatible TinyMCE component, which used old version of
ResourceReference. My Page class couldn't be loaded, since there was a
NoCl
Josh,
You could do something "similar" to the following example:
columns.add(new PropertyColumn(new ResourceModel("code"),
"codigo", "codigo") {
private static final long serialVersionUID = 1L;
@Over
Hi
I have a Singlepage Application where I swap some panels on the main
page depending what the user does. Specifically I have a Panel for
changing the password which looks like:
@SuppressWarnings("serial")
public class ChangePasswordPanel extends Panel
{
@Inject
private ChangePasswordActi
Thanks Jerome. What i want is to make the data in the cells clickable so
that users can use them to drill down. For example, one column displays
invoice numbers. I want the invoice number displayed to be a link so that a
user can click it to open the invoice details page. I thought i would do so
by
>Somebody please help me with a sample code on how to override the newRowItem
>method of the AjaxFallbackDefaultDataTable
_dbsTable = new
AjaxFallbackDefaultDataTable("dbsTable", dbsColumns,
dbsProvider, 20)
{
// add a tooltip to each row
Hi
Somebody please help me with a sample code on how to override the newRowItem
method of the AjaxFallbackDefaultDataTable
I would like to display some of the columns as links . is this the way to do
it?
regards.
Josh
The breakpoint should be
at:
org.apache.wicket.request.http.handler.RedirectRequestHandler.respond(IRequestCycle)
(wicket-request project)
On Fri, Aug 13, 2010 at 9:54 AM, Igor Vaynberg wrote:
> 2010/8/12 Major Péter :
> > Hi,
> >
> > I have a page with the ~following markup:
> >
> > (DataVi
2010/8/12 Major Péter :
> Hi,
>
> I have a page with the ~following markup:
>
> (DataView)
>
>
>
>
> The link is constructed like:
> Link valuationLink = new Link("valuationLink") {
> �...@override
> public void onClick() {
> setResponsePage(new ValuationDetails(val, getPage()))
can you create a quickstart that reproduces this?
-igor
2010/8/12 Major Péter :
> Hi,
>
> I'm getting weird error, while using DDC wantOnSelectionChanged like this:
> http://stewie.sch.bme.hu/gitweb/?p=aldaris/korok;a=blob;f=sch-pek-web/src/main/java/hu/sch/web/kp/group/GroupHistory.java;h=fffd7b
Hi All,
http://apache-wicket.1842946.n4.nabble.com/file/n2323809/Code.txt Code.txt
I have a drop down choice control on the search panel and its selected
choices are pushed to the model only once or the first time.
Please have a look at the attached code:
As part of this code, I noticed that
28 matches
Mail list logo