I think ajax fallback strategy is a good idea:
class AjaxFallbackEvent{
void handleSomething( target){
// user implementations test for target == null
}
}
On Wed, Sep 30, 2009 at 4:38 AM, Per Newgro wrote:
> Hi *,
>
> i would like to know if there "hidden" consequences if i exchange sharing
The child model's initModel() gets called first
There are no especial ordering programing to initModels calls. Basically
they are called by
public final IModel getDefaultModel()
{
IModel model = getModelImpl();
// If model is null
if (model == null)
{
I don't know if you need wicket api to reach your objective:
public enum MapType {
UNDEFINED, ROADMAP, MOBILE, SATELITE, TERRAIN, HYBRID;
public String toKeyword()
{
return toString().toLowerCase();
}
public String verbose()
{
using ajax.
> It is redrawing the page.
>
> D/
>
> On Sep 29, 2009, at 3:56 PM, Pedro Santos wrote:
>
> > I'm using the AjaxPagingNavigation component and it works well, but
> > when I
> > click on one of the links, my url is replaced with
> >
&
lt;
doug...@douglasferguson.us> wrote:
> I just realized that this might be what you wanted to know..
>
> href="?wicket:interface=:3:pagination:navigation:
> 1:pageLink::ILinkListener::">
> 2
>
>
>
> On Sep 30, 2009, at 2:07 PM, Pedro Santos wrote:
>
> &
I have a page that's refreshing its components every n seconds using
AbstractAjaxTimerBehavior.
Among these components there's a list of links.
Would be nice if you apply AbstractAjaxTimerBehavior only to components that
need to be updated. Than you don't get in trouble with your links...
On Thu,
1) Is there a component (the someMadeUpAjaxComponent) that I can get a URL
for which will trigger the onClick method
http://wicket.apache.org/docs/1.4/org/apache/wicket/IRequestTarget.html
http://wicket.apache.org/docs/1.4/org/apache/wicket/behavior/AbstractAjaxBehavior.html#getCallbackUrl%28%29
2
>
> Is type of behavior possible? If not, does anyone have any other ideas as
> to how I could show a dynamic tooltip with data retrieved using ajax? Thank
> you very much.
>
> Joe
>
>
> -Original Message-
> From: Pedro Santos [mailto:pedros...@gmail.com]
>
ation. There are lots of components that need to be refreshed, and
> adding to each of them the behavior don't seem trivial.
>
> I'll give it a try anyway.
>
> Thank you
> Ale
>
> On Thu, Oct 1, 2009 at 1:17 PM, Pedro Santos wrote:
>
> > I
I have bookmarkable pages for the login and the form page.
Now I go to the form page
If you using a link to go to form page, for some reason you don't get an
cookie on your browser holding your session information. If you just writing
the url to form page on browser, you are not passing session in
en Nelson wrote:
>
> On 1 Oct 2009, at 15:11, Pedro Santos wrote:
>
> I have bookmarkable pages for the login and the form page.
>> Now I go to the form page
>> If you using a link to go to form page, for some reason you don't get an
>> cookie on your browser holdin
Refresh the page is default link behavior, you may want to use AjaxLink to
avoid it
On Thu, Oct 1, 2009 at 5:44 PM, Pedro Sena wrote:
> Hi Guys,
>
> First of all, sorry for a so newbie question, but I'm really a newbie in
> Wicket.
>
> I'm trying to add a Behaviou to my link, it works fine with
use *OpenSessionInViewFilter* to avoid lazy initialization exceptions
On Fri, Oct 2, 2009 at 8:42 AM, Albert Romanius wrote:
> The line that throws the exception is below:
> CheckBoxMultipleChoice subMessagesCB = new CheckBoxMultipleChoice(
> "subMessages", new PropertyModel(this,
>
Hi Semwal, I'm currently working on Table class design to turn simple this
kind of extension.
On Sat, Oct 3, 2009 at 10:38 AM, vineet semwal
wrote:
> can i update some columns in wicket-stuff table with ajax timer ?
> i have seen wicket-stuff table example but can't understand how to do it ..
>
>
n ;)
>
> thank you !
> --
> regards,
> Vineet Semwal
>
>
> On Sun, Oct 4, 2009 at 3:57 AM, Pedro Santos wrote:
>
> > Hi Semwal, I'm currently working on Table class design to turn simple
> this
> > kind of extension.
> >
> > On Sat, Oct 3, 2
You can keep page instances on session.
On Mon, Oct 5, 2009 at 7:57 AM, Phillip Sacre wrote:
> Hi
>
> Another newbie question, sorry!
>
> Is there any way of making a nav bar like this:
>
>
>Browse |
>Search
>
>
> Stateful, i.e. only one instance of each page is created. So if y
your implementation needs to return an instance of SecurePageSession
On Mon, Oct 5, 2009 at 8:43 AM, Peter Arnulf Lustig wrote:
> I have overwritten the newSession Method:
>
>
>
> public class Application extends WebApplication {
>
>@Override
>protected void init() {
>super.init()
I hope that work: https://bugs.eclipse.org/bugs/show_bug.cgi?id=291387
On Mon, Oct 5, 2009 at 1:27 PM, David Chang wrote:
> Thanks for your input! It seems to does the trick. The only thing I don't
> like is that it shows all the levels of directories, which is unnecessary
> and makes the Naviga
wrote:
> Pedro,
> eagerly waiting for next version ;)
>
> thank you ,
>
> --
> regards,
> Vineet Semwal
>
> On Mon, Oct 5, 2009 at 4:25 AM, Pedro Santos wrote:
>
> > Hi Semwal,
> > it has capability to update some columns. I update HomePage on
> > ta
No really something nice for user, I had this issue and combine extensible
selectable and hierarchical data presentation with an accordion container
for major data organization, and inners LinkTree components on it.
http://www.dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/layout/accordion-contai
Hi Ittay, you can use wicket:link tag to resolve that path dynamically too.
that way you keep the reference valid whe html is viewed as standalone, and
in the context of the application
On Wed, Oct 7, 2009 at 8:26 AM, Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:
> You could do
sorry, I miss that that tag will handle the 'href' attribute, the script tag
has 'src'
On Wed, Oct 7, 2009 at 8:58 AM, Ittay Dror wrote:
>
>
> Pedro Santos wrote:
>
>> Hi Ittay, you can use wicket:link tag to resolve that path dynamically
>> too.
&
It is up to your object structure, use wicket api to get such object
reference sounds bad
On Wed, Oct 7, 2009 at 6:43 AM, wrote:
> There are 3 tabs in a tabbedpanel, a TextField component is in the first
> tab, and several form components in the other tabs for user input. I added a
> save button
This works well when the html is viewed as standalone. but in the context of
the application i need the tag to be rendered as:
I think that is the case to use:
On Wed, Oct 7, 2009 at 9:55 AM, Ittay Dror wrote:
>
>
> Ernesto Reinaldo Barreiro wrote:
>
> This solution will wor
Wicket is Sparta?
http://www.mail-archive.com/wicket-u...@lists.sourceforge.net/msg17023.html
On Wed, Oct 7, 2009 at 3:05 PM, Tomás Rossi wrote:
> Yeah, we'd need 300 programmers for that task ;)
>
> So you have to specify the label for each component in a property file? And
> then you'd have a
Hi Nicolas, great idea
On Wed, Oct 7, 2009 at 3:25 PM, Nicolas Melendez
wrote:
> When a Wicket Event in Buenos Aires, Argentina ?? We also have lots of
> pubs
> :)
>
> On Wed, Oct 7, 2009 at 5:21 PM, Ioannis Mavroukakis <
> imavrouka...@gameaccount.com> wrote:
>
> > If my mate can't lend me his
Hi Jeffrey, the wiki example refers to an "chooserPanel", that is not the
case of your "editorPanel". Simple use the same model on step 1 on your
Modal window.
On Wed, Oct 7, 2009 at 5:19 PM, Jeffrey Schneller <
jeffrey.schnel...@envisa.com> wrote:
> I am trying to show a modal window within a wi
This project is using wicket 1.3
If there are no problem, wicket stuff devs can update the project
dependencies. It is just update pom + refactoring or need to create an
branch in svn?
2009/10/8 zabian
> Hi there,
>
> I'm working on progress bar in my app, i'm trying to use
> wicketstuff-progres
both the wizard
> step and the modal window.
>
> Regards,
>
> Mike
>
>
> Passing a model between a page to modal window is the same as passing a
> model between pages
> > Ok. How do I use the same model? The model I have on step 1 if I
> pass
> > it into
Ops, the modal window object on browser is created on 'document.body' level.
Maybe you want to create an form to your ModifyPeoplePanel form components.
On Thu, Oct 8, 2009 at 1:38 PM, Pedro Santos wrote:
> I had an similar problem time ago. In my case a solve adding an submi
riginal Message-
> From: Pedro Santos [mailto:pedros...@gmail.com]
> Sent: Thursday, October 08, 2009 12:38 PM
> To: users@wicket.apache.org
> Subject: Re: Showing Modal window within a wizard step
>
> I have built multiple large sites with jsp/servlets/javascript/ajax that
&
t; > > called from. You would think this is easy. But again I am stuck.
> > >
> > > Wizard
> > > WizardStep ==> data show is read only with a modify link
> > > which brings
> > > the modal up.
> > > Modal =
You can write the links on Nav Page with target for Client page, and no ajax
is needed
2009/10/13 Zenberg Ding
> Hi all,
>
> We'll plan to use wicket in our application for one enterprise's
> information management system.
>
> the app's portal layout is someting like this:
>
>
Hi Erik, it is just apply some label to your page, and it goes to wiki page.
I add the 'component' one, hope that help.
http://wicketstuff.org/confluence/display/STUFFWIKI/Wiki
On Tue, Oct 13, 2009 at 9:23 AM, Erik Post wrote:
> Hi all,
>
> I created a page on the wicketstuff wiki for Inmethod's
you have many form components and only one feedback panel
- user put invalid entry on form component 1, panel show error 1
- user put invalid entry on form component 2, panel show error 2, no longer
error 1
this is it?
1 - you can create one ComponentFeedbackPanel for each form component
2 - you ca
you can add an ComponentFeedbackPanel for each form
On Tue, Oct 13, 2009 at 10:39 AM, Peter Arnulf Lustig wrote:
> Hi,
>
> I have one Form-Class which has one main form -- in this form I've got some
> more forms. Each of them has their own submit button.
> How can I tell wicket, that it only has
>q.setTitle(title.getDefaultModelObjectAsString());
>if (!isUpdate) {
>Worker.SaveQuestion(q);
>} else {
>Worker.UpdateQuestion(q);
> }
>info("Frage gespeichert");
>
you can create one ComponentFeedbackPanel for each form and use only ajax
submit buttons or links, it will to keep error mesagens on page.
On Tue, Oct 13, 2009 at 10:51 AM, Alexander Elsholz <
alexander.elsh...@widas.de> wrote:
> hi pedro,
>
> Pedro Santos gmail.com> writes:
t; >protected void onSubmit() {
> >try {
> >if (!isUpdate) {
> >q = new Question();
> >}
> >q.setText(fragestellung.getDefaultModelObjectAsString());
> >q.setTitle(title.getDefaultModelObjectAsString(
Looks like you have an project dependency compiled with other Wicket
version. That can to be easy detected with eclipse maven pluging, using the
hierarchy view
On Tue, Oct 13, 2009 at 4:36 PM, Ben Tilford wrote:
> Something other than?
>
>org.apache.wicket
>wicket
>${wicket.version}
Isn't it the case for you manually run mvn install on your parent project?
Your local repository may have old .class bytecodes
On Tue, Oct 13, 2009 at 5:11 PM, Ben Tilford wrote:
> No base page is in a common module (probably will be used by more than 1
> app
> in the end).
>
> The wicket depend
Did you implement the onError method too? Maybe you has an form without an
feedback panel, and some form component don't pass by validations. On that
case the onSubmit method don't get called, for example.
On Wed, Oct 14, 2009 at 3:34 PM, Dane Laverty wrote:
> I've built several Wicket apps for
My question is: is this also possible with Wicket? I don't want to use Ajax
forms, I'd rather do everything in the DOM of the browser and then submit it
yes, you can work on your form dom, adding form components with known names,
and dial with then on your onSubmit method like:
getRequest().
for the textfield you can use an ajax behaviour, or put it into an form with
ajax submit. in your handle code, you update the model object on your
listmultiplechoise, and add it or its parent component to ajaxrequesttarget
On Thu, Oct 15, 2009 at 9:56 AM, Peter Arnulf Lustig wrote:
> And how is t
IMO:
MyAccountPanel{
public boolean isVisible{
return getSession().isSignedIn();
}
}
On Thu, Oct 15, 2009 at 11:24 AM, wrote:
> Hello,
>
> I have 2 pages, one is called HomePage and the other is called SignInPage.
> On the HomePage I have a MyAccountPanel that is hidden until the user is
> sign
You have a list of tagging keys that user can select and a render to it, but
you don't have an model to receive the selection made on component. Consider
to use this contructor parsing an "putTheUserSelectionHereModel"
http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/form/ListMultip
reat information
>
> But how can I create / define such a model -- I can't find anything in the
> wicket examples!
>
>
>
> - Ursprüngliche Mail
> Von: Pedro Santos
> An: users@wicket.apache.org
> Gesendet: Freitag, den 16. Oktober 2009, 13:24:45 Uhr
> Be
Nice site, it was deployed in development mode and has a nice performance :)
On Fri, Oct 16, 2009 at 5:16 PM, Vytautas Racelis wrote:
> Hi,
> i've been working with Wicket for a while.
> It is not my primary job, but i've implemented some ideas at
> http://www.xaloon.org/blog such as:
> * enhanc
1) I need to dynamically update wicket linked/abstract tree data, is that in
order to do that, the only way is to remove the abstract tree on the form
based on its ID, then adding it back to the form again, is there other
alternatives to resolve that?
I have it working just adding new nodes to tr
how is it possible to submit TextField Input to the server without having a
Form (and submit) for this task?
yes, you can use an AjaxFormComponentUpdatingBehavior for it
I figured out, that AjaxButton only has onSubmit() Method -- I expected also
something like onClick --
you can use AjaxEventBeha
Gesendet: Montag, den 19. Oktober 2009, 13:36:31 Uhr
> Betreff: AW: Ajax Send TextField Input to Server without Form / Submit
>
> What do I do with a "click"-button? The User gets a new TextField when I
> try to add an AjaxFormComponentUpdatingBehavior.
> I just want to
all I put into onUpdate() Method (tagTitle textfield)
>
> many thanks in advance.
>
>
>
> - Ursprüngliche Mail
> Von: Pedro Santos
> An: users@wicket.apache.org
> Gesendet: Montag, den 19. Oktober 2009, 13:50:33 Uhr
> Betreff: Re: AW: Ajax Send TextF
- app sends him an email with a generated link
can this link encode an parameter like:isActivationFromEmail ?
so:
loginPageOrActivationPage.add(new Label("id","User account
activated").setVisible(getPageParameters().get("isActivationFromEmail"));
On Mon, Oct 19, 2009 at 4:24 PM, Esteban Masoero
Actually the panel wicket id is an parameter for panel constructor, can you
some code?
On Mon, Oct 19, 2009 at 5:07 PM, Tomás Rossi wrote:
> Then I'm unable to use the properties file for tweaking the string in
> question.
>
> What is the beauty of panels if they don't prefix its internal ids
>
lueMap claveCaptcha = new ValueMap();
>
> public FormEncuesta(String id) {
> super(id);
> ...
> add(new PanelEncuesta("panelTelefonico",
> new Model(datosEncuestaTelefonico)));
> add(new PanelEncuesta("panelPersonal&quo
allaEncuesta.html (means SurveyScreen):
> ...
>
>
> ¿Cómo calificaría los siguientes aspectos de la atención telefónica de
> Informática?
> Acá va la encuesta de atención
> telefónica
>
>
>
>
>
> ¿Cómo calificaría los siguientes aspectos de la atención de
Problema' is required.
> * Field 'panel2-rapidezAtencion' is required.
> * Field 'panel2-explicacionClara' is required.
> * Field 'panel2-resolucionProblema' is required.
>
> So that I can change those labels with a properties file later.
>
example of how to create an DataTable? you can use the
AjaxFallbackDefaultDataTable as an example :)
On Tue, Oct 20, 2009 at 4:00 PM, Jeffrey Schneller <
jeffrey.schnel...@envisa.com> wrote:
> Fair enough. Is there an example of how one should be created?
>
> -Original Message-
> From: I
the problem I have is that the field name of the model object
is different on every form, and the wicket:id is the same
you has:
public class ObjectThatGoesToModel{
private Object propetyThatGoesToSomeForm;
private Object propetyThatGoesToOtherFormInSomeSituations;
}
??
I think you can use
you can put user on session, and use this information as an filter to
queries than fill the lists on your application models...
On Tue, Oct 20, 2009 at 6:14 PM, Roman Ilin wrote:
> Hi *,
>
> I develop WebApplication where database records belong to different
> organizations.
> I use AjaxFallback
if you serialize the pagemap object to an file and attache it on your error
report email? later you can set pagemape error analysis environment to
reproduce the user steps, seems possible...
On Tue, Oct 20, 2009 at 6:15 PM, Douglas Ferguson <
doug...@douglasferguson.us> wrote:
> I have a feature
every time for every component
why not for every query?
On Tue, Oct 20, 2009 at 6:23 PM, Roman Ilin wrote:
> Sure I save my user in session.
> The problem is that I have to implement this filter functionality
> every time for every component.
>
>
>
> On Tue, Oct 20, 20
I had application with components that override the isVisible method testing
for
return session.getUser().hasAccessFor(this)
but the major access logic is implemented on data access layer
On Tue, Oct 20, 2009 at 6:26 PM, Pedro Santos wrote:
> every time for every component
> why not for
you can add an AjaxFormComponentUpdatingBehavior on your textarea to keep
the model updated
On Wed, Oct 21, 2009 at 9:58 AM, Peter Arnulf Lustig wrote:
> Have you tried assign a Model to the component which needs to be updated?
>
> Model model = new Model("");
> ---> assign to the component of th
k. Or can I let clicking the
> link generate an event which then will be picked up by the component?
>
>
>
>
> Antoine
>
>
> On Wed, Oct 21, 2009 at 2:03 PM, Pedro Santos wrote:
> > you can add an AjaxFormComponentUpdatingBehavior on your textarea to keep
> >
You can write one
Enviado de meu iPhone
Em 21/10/2009, às 18:10, Nicolas Melendez
escreveu:
I'm not very fan of netbeans :)
Thanks, for answer.
another sugggestion?
On Wed, Oct 21, 2009 at 6:57 PM, Fernando Wermus
wrote:
I know, but I havent tested it, that netbeans comes with a plu
The init method is called by the wicket servlet filter. If it throw an
exception the web container will not place the filter into service, than the
request will not be handled by wicket.
On Fri, Oct 23, 2009 at 3:26 PM, Josh Glassman wrote:
> There is a wiki page with information on creating cus
referenceToDatabaseParentComponent.replace(replacement)
you has an reference to referenceToDatabaseParentComponent, right?
On Fri, Oct 23, 2009 at 4:05 AM, wicketnewuser wrote:
>
> Hi I have similiar situation but i'm using autonomous inner class
>final AjaxFallbackDefaultDataTable data
protected void onPostProcessTarget(AjaxRequestTarget target) {
referenceToReportListProvider.updateIt(conditions);
}
On Fri, Oct 23, 2009 at 4:53 PM, Swarnim Ranjitkar wrote:
>
> If I attach AjaxSelfUpdatingTimerBehavior to AjaxFallbackDefaultDataTable
> should it refresh AjaxFallbackDefaul
I think it is related:
http://markmail.org/search/?q=list%3Aorg.apache.wicket.users+from%3A%22Pedro+Santos%22+ajaxrequesttarget+date%3A200909+#query:list%3Aorg.apache.wicket.users%20from%3A%22Pedro%20Santos%22%20ajaxrequesttarget%20date%3A200909%20+page:1+mid:vuen2437dyh6a5tw+state:results
On Fri
Hi, how are you using wizard? The addDefaultCssStyle method is to be
overridden to add your own css. On it you configure the width properties to
100%
ex:
.wicketExtensionsWizardOuterTable{
width: 100%;
}
.wicketExtensionsWizardInnerTable {
width: 100%;
}
On Sun, Oct 25, 2009 at 8:53 AM, Sa
What document mode are you using?
Modal window is working fine for me. Anyway, I had to take care to don't let
IE load my page in quirk mode:
http://en.wikipedia.org/wiki/Quirks_mode
On Sun, Oct 25, 2009 at 4:54 PM, Per Newgro wrote:
> The only thing we had here was that transparency of backgrou
yes:
List options = Arrays.asList("a", "b", "c");
add(new ListMultipleChoice("select", new
Model((Serializable)Arrays.asList("b")), options));
On Mon, Oct 26, 2009 at 11:06 AM, Peter Arnulf Lustig wrote:
> and in the html it is also showed as "selected" ?
>
>
>
> - Ursprüngliche Mail
>
The page returned from back button came from pagemap. Make sure to remove it
from there and you get the expired exception.
On Tue, Oct 27, 2009 at 11:57 AM, Tomás Rossi wrote:
> Hi, I have another question...
>
> in Wicket (1.4.2), can I force the expiration of a page?
> Specifically, if users h
Debug Configuration > your server configuration > Source tab > remove older
source codes from it if there is one
On Tue, Oct 27, 2009 at 10:55 AM, Nicolas Melendez <
nmelen...@getsense.com.ar> wrote:
> is your build automatically checked?
>
> On Mon, Oct 26, 2009 at 1:07 AM, Flavius wrote:
>
> >
call ListView.setReuseItems(true)
On Tue, Oct 27, 2009 at 1:24 PM, Martin Makundi <
martin.maku...@koodaripalvelut.com> wrote:
> > I'm using a CheckGroup together with a few Check in a repeater because
> the
> > number of boxes displayed is dynamic.
>
> If you have a repeater the redraw event in
you can override newNodeLink or newLink methods to return disabled links, or
any other components
On Tue, Oct 27, 2009 at 2:11 PM, sakthi vel wrote:
> Hello,
>
> The tree table should be generated with links for certain nodes and no
> links
> for certain nodes. Can anyone tell how to acheive thi
You can use table form wicketstuff if you like to create an tableModel to
present your xml data. Then you get dynamic columns...
On Tue, Oct 27, 2009 at 2:22 PM, sakthi vel wrote:
> Hello,
>
> How to generate tables with dynamic columns using any one of the repeaters.
> I need to parse the xml
Hi, I'm using DateTextField in one project, like:
new DateTextField("time", null, new PatternDateConverter("HH:mm", true))
On Tue, Oct 27, 2009 at 2:55 PM, hill180 wrote:
> I understand there is the DateTimeField, is there a textfield specifically
> for time only. Or a way to turn the date off
:
> Nothing seems to work.
>
> Does the fact that the page I want to expire is the home page has anything
> to do with it?
>
> Pedro Santos escribió:
>
> The page returned from back button came from pagemap. Make sure to remove
>> it
>> from there and you get the exp
What profiler is telling you? I had performance problem on file system file
access, and solve it removing this time consuming task from the
wicket-request-cycle thread
On Tue, Oct 27, 2009 at 5:36 PM, Alexander Elsholz <
alexander.elsh...@widas.de> wrote:
> Hi,
>
> we build a wicket-application,
> are versioned pages/components, what problems they solve and how to use
> them. If anyone can point us where to read on these subjects we'll
> appreciate it very much.
>
> Kind regards and thanks,
>
> Tom;
>
> Pedro Santos escribió:
>
> You are aware that to a
It can be done in the css, configure the overflow property of the component
you want with the scrollbar
On Wed, Oct 28, 2009 at 10:03 PM, Haulyn R. Jason wrote:
> Hi, I know how to add links. override newLink method. Thanks again.
>
> On Thu, Oct 29, 2009 at 7:35 AM, Haulyn R. Jason
> wrote:
> >
Hi, I had written some doc on wiki:
http://wicketstuff.org/confluence/display/STUFFWIKI/Table
hope it is enough to you evaluate if is what you need on your project and
get start
On Thu, Oct 29, 2009 at 10:24 AM, vela wrote:
>
> Hello again,
>
> Could you tell, which class to use to achieve this
Hi Frank, about your final question, the ListView class is an component that
partially use you approach: his children components are created on abstract
method implementations. This abstract is called due an condition that test
for reuseItems and size properties. And this call is originated in
onBe
Nice approach, the only missing is that you hasn't how to prevent your
component users from call addLeftNavChild after render phase at development
time. But it is no big deal, since they will get an exception at runtime...
On Thu, Oct 29, 2009 at 5:47 PM, John Krasnay wrote:
> Rather than having
Mean other programmes
Em 29/10/2009, às 17:00, John Krasnay escreveu:
On Thu, Oct 29, 2009 at 05:58:02PM -0200, Pedro Santos wrote:
Nice approach, the only missing is that you hasn't how to prevent
your
component users from call addLeftNavChild after render phase at
development
time
Hi Yasa, can you make sure that getWebRequestCycle().getSession() is called
on the same thread that WicketFilter is responding the request? RequestCycle
use thread locals to keep his reference, if you are working in an multi
thread response, you can get that exception.
On Fri, Oct 30, 2009 at 3:53
Hi, I got it working using spring. You can see an template application using
spring on wicket stuff: phone book
http://static.springsource.org/spring/docs/2.0.8/reference/jdbc.html
On Sun, Nov 1, 2009 at 5:07 PM, dtoffe wrote:
>
>Just set up your connection in your Application subclass and
> But when I submit the form the constructer gets not called anymore.
this is an expected behavior, an component instance is held on pagemap
between requests.
> But as I have to build the form I do not have a dynamic model on page.
Can't you manage an instance of an dynamic model on your component
text)RequestContext.get()).getPortletRequest().getParameter("crmportal:userId");
>
> --
>
>
> I can do it in submit but then I should be able to communicate it to the
> new component and
> make it render again.
>
> Is there a common way to d
Hi Gonzalo, I thought that with buildForm implementation I will see how you
create your form component. But seams that it is created on the line:
QuestionComponentFactory.getComponent(question,response)
Instead of ask you for more code, I will try to explain myself:
>So no matter what's the value
only get in constructor so never gets updated
> and I want to know what's the correct way to do this.
>
> I don't think I'm updating a object instance that isn't the one from my
> model. I took this into account.
>
> Tnx
>
>
> El mar, 03-11-2009
I guess:
http://wicket.apache.org/docs/wicket-1.3.2/wicket-extensions/apidocs/org/apache/wicket/extensions/wizard/dynamic/IDynamicWizardStep.html
On Tue, Nov 3, 2009 at 6:38 PM, smallufo wrote:
> Hi all :
>
> It seems the WizardSteps are added into WizardModel in the constructor
> time.
> I wond
Add you need to replace your old detailsPanel for the new one. Like:
HomePage.this.replace(targetPanel)
On Wed, Nov 4, 2009 at 11:20 AM, Vytautas Racelis wrote:
> Hi,
> you should have a container and add that container into target.
>
> This is how i've done this:
>
> http://xaloon.googlecode.
Hi Sven, he stell can write some specialized render... but I think the best
way is you have your depid property of type Department. Than all this thread
would not have started :)
class YourCustomRender
{
@Override
public String getIdValue(Object object, int index)
{
be assumed by having the former
> CompoundPropertyModel...
>
> Any thoughts ? Maybe rendering labels independently ?
>
> It's strange nobody has bumped into this situation before.. Maybe it's
> because i'm still thinking like I was using Struts...
>
>
One question:
if component renderComponent method wasn't final
if Kaspar page structure was
-page
- panel1
- paneln
if page renderComponent method implementation was
buildPanel1.start()
buildPaneln.start()
and renderClosingComponentTag implementation was
allPanelReady.join()
super.(...)
Here at work we abandon this strategy, and create the transaction for
service.
On Thu, Nov 5, 2009 at 5:20 PM, Steve Lowery wrote:
> We have a filter that runs in our context before the wicket filter that
> starts a hibernate transaction, does a chain.doFilter() and then commits
> the
> transacti
(...)transaction per service.
On Thu, Nov 5, 2009 at 5:33 PM, Pedro Santos wrote:
> Here at work we abandon this strategy, and create the transaction for
> service.
>
>
> On Thu, Nov 5, 2009 at 5:20 PM, Steve Lowery
> wrote:
>
>> We have a filter that runs in ou
101 - 200 of 525 matches
Mail list logo