I will try to use pages in iframes then. Thanks a lot, Igor.
Kaspar
On 02.11.2009, at 22:59, Igor Vaynberg wrote:
if you want nonblocking you have to make each thing you are trying to
load asynchronously its own page inside an iframe.
the page itself can only be accessed synchronously,
I am sure I am doing something very silly here but
When I add the following AttributeModifier in my onBeforeRender()
method, the solution works as expected (so I load an image that
indicates that this page is selected)
icon.add(new AttributeModifier(this.src='
, null, true, new
Thank you a lot to all for your commentaries...
Everything exposed here seems to help me in one way or another.
I will run a test for best approach and after decide the best way for
me.
Thank you again!
El jue, 29-10-2009 a las 14:27 +0100, Martijn Dashorst escribió:
On Thu, Oct 29, 2009
Hello Again!
I have a form that I build dynamically based on a render parameter
value. I'm using
http://cwiki.apache.org/WICKET/forms-with-dynamic-elements.html
I use the constructor:
/**
* Constructor
*/
public ViewModePage()
{
...
Hi,
how can I achieve something like that:
abschliessen = (SubmitLink) new SubmitLink(abschliessen, antwortForm) {
@Override
public void onSubmit() {
preQuestionInit();
Worker.ClosingTestprocedure(tp);
preQuestionInit();
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,
Thanks for all answers.
I think OSGi is to much overhead for my needs.
Joint fits more my needs, but includes unneeded overhead (for my project).
I think I will implement my own mechanism with using a custom ClassResolver,
cause I just need to search in new added jars (URLClassloader),
I have used ModalWindow for similar use cases... and then do the actual work
on the ok button of a modal confirmation dialog. Is that approach fine for
your use case?
Regards,
Ernesto
On Tue, Nov 3, 2009 at 10:23 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
Hi,
how can I achieve
Take a look at AttributeAppender, and transform it into AttributePrepender
Martijn
On Tue, Nov 3, 2009 at 10:23 AM, Peter Arnulf Lustig u...@yahoo.de wrote:
Hi,
how can I achieve something like that:
abschliessen = (SubmitLink) new SubmitLink(abschliessen, antwortForm) {
Hi
I'm using wicket 1.4.1 to develop portlets for liferay 5.2.3.
In jboss server.log I see errors coming from wicket. Does's somebody know
if these are real errors or just info messages that wicket sends to console
like error messages as it seems.
Porlets works fine.
Versions
Let me see if I understand what you say.
I should build the form inside a component instead the page. And I
should keep a reference
to the dynamic model inside this component.
This makes sense for me but I find one problem. Where do I read the
renderer parameter?
Because this code gets
I should build the form inside a component instead the page. And I
should keep a reference
to the dynamic model inside this component.
Not what I try to mean.
your report:
But as I have to build the form I do not have a dynamic model on page.
You can have your model, and you can have your
Thanks Igor,
I have seen that the Objects class provides a static setter in order to
use a different Implementation of IObjectStreamFactory instead of the
DefaultObjectStreamFactory.
Where would you recommend to place the code to set my own implementation
of IObjectStreamFactory using the
Hello again,
Please find the code below
In Page class:
IColumn columns[] = new IColumn[]
{
new PropertyTreeColumn(new
ColumnLocation(Alignment.LEFT, 100,
Unit.PERCENT),Check,userObject.name)
{
I should build the form inside a component instead the page. And I
should keep a reference
to the dynamic model inside this component.
Not what I try to mean.
So what's the way?
your report:
But as I have to build the form I do not have a dynamic model on page.
You can have your
application init should be fine.
-igor
On Tue, Nov 3, 2009 at 5:02 AM, A. Maza andr.m...@gmail.com wrote:
Thanks Igor,
I have seen that the Objects class provides a static setter in order to use
a different Implementation of IObjectStreamFactory instead of the
DefaultObjectStreamFactory.
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
Hi!
I need to accomplish the following:
1. receive ajax onchange event from a formcomponent
2. receive defaultformprocesing=false style submit
3. repaint an area; I this is why I need the form to be really
submitted (=rawinput but not validated).
I have built a custom component
Hi!
Maybe this is the solution:
String url =
getRequest().getParameter(getHiddenFieldId());
if (!Strings.isEmpty(url))
{
dispatchEvent(getPage(), url);
}
??
Attach
Michal, I adopted your idea, but with a variation. It is something like:
// Use this instead of WebPage for any base page whose component-tree
// construction relies on abstract or overridable methods.
//
abstract class DelayedConstructionWebPage extends WebPage {
private Boolean
But Pedro,
Everything works well. The form got created and everything gets sent and
updated when I click the submit button.
So in this aspect everything works well.
The only problem is that I need to get a render parameter that actually
I only get in constructor so never gets updated
and I
Is there any open source utility to write and manage files to temp folder ,
handle deletion , signle thread access etc ?
Newgro wrote:
Igor Vaynberg schrieb:
you guys ever hear of transactional isolation? :) databases handle all
this kind of neat stuff for you.
-igor
Oh, i
Hi!
I hope I found a solution usin IOnChangeListener.
Please try this out and let me know if it works for you. Maybe it
should be incorporated into Wicket?
public abstract class FormSubmitAjaxChangeListenerCallDecorator
implements IAjaxCallDecorator {
private final static Method
Oh. That is embarrassing. Sorry for taking your time.
On Mon, Nov 2, 2009 at 7:47 PM, Jeremy Thomerson
jer...@wickettraining.comwrote:
On Mon, Nov 2, 2009 at 4:57 PM, Loren Cole loren.c...@gmail.com wrote:
HomePage hp = (HomePage) this.findPage();
Hi!
One finishing touch is needed. The hidden field should be cleared
after ajax submit. It seems to work now.. feel free to critisize.
public abstract class FormSubmitAjaxChangeListenerCallDecorator
implements IAjaxCallDecorator {
private final static Method hiddenFieldGetter;
static {
ok, how this parameter get updated? You receive it on every request? If so,
the usual way of to build your render logic dynamically is to implement
component onBeforeRender method, rather than on your component constructor.
See the ListView code for example: based on the model object (an list) the
Hi all :
It seems the WizardSteps are added into WizardModel in the constructor time.
I wonder if it is possible to dynamically insert/remove WizardSteps based on
user input ? (wicket-1.3.6)
Thanks a lot.
Bring your copy of Wicket in Action
Martijn
On Tue, Nov 3, 2009 at 12:11 AM, jWeekend jweekend_for...@cabouge.com wrote:
We will hold our next London Wicket Event on Saturday, 21st November, from
14:45. This time we have hired The Gallery at the iconic Foyles Bookshop
in central London.
You add a single column to your tree. But you overlay the default cell
component by the checkboxpanel.
So you don't get all the stuff from parent component (Like link and node
icon etc).
Check TreeTable.TreeFragment for details.
You have two opportunities:
1. If you want to add your checkbox
AjaxFallbackDefaultDataTable we add columns, I use PropertyColumn , can I
add any attributemodifier to it ?
ryantxu wrote:
takes values for alt attribute . Like the sortable columns , If I
can set
value for alt attribute that would be really nice.
how about:
div.add( new
I am getting a WicketRuntimeException whenever a user clicks a session based
url after the session has expired. I noticed there was a previous thread
about this here:
http://old.nabble.com/Problem-with-Crypted-URL-to20533640.html#a20542221.
I was hoping since I upgraded my application to use the
Hello,
Thank you Igor. it is what I've looked for.
Another solution is using VelocityPanel, which I did not wanted to use..
- paul
igor.vaynberg wrote:
you can use TextTemplateHeaderContributor to externalize the template
and define replacement vars.
-igor
On Fri, Oct 30, 2009 at
The power of this list is amazing - it seems you just had an entire thread
with yourself and answered your own question. SYNERGY! :)
But seriously, did you have any remaining questions on this that we could
assist with?
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Nov 3, 2009
Tnx. I would like to ask (myself?) whether it could be formulated
simply into a behavior that can be attached into any formcomponent.
Probably. I will work on this next.
Ofcourse if more people try the code in their applications we will
soon learn if it breaks something.
**
Martin
2009/11/4
WHy not fix your doctype first?
**
Martin
2009/11/4 Anders Sørensen aisz...@gmail.com:
Hello everybody.
I have a webpage under development where I use modal windows.
This has so fare not caused any problems - but now I get an error on one of
my pages.
I have just added the modal window
Hello all,
I had build an application on wicket 1.2.4, spring and hibernate some about
2 years before.
Now i think, i need to upgrade wicket.
Since there are number of releases in between those version, I think there
are many modifications to be done.
Please show me the way..
Thanks in advance
our wiki contains migration pages for 1.2 to 1.3 and 1.3 to 1.4
-igor
On Tue, Nov 3, 2009 at 9:17 PM, Shankar Subedi shankar.sub...@gmail.com wrote:
Hello all,
I had build an application on wicket 1.2.4, spring and hibernate some about
2 years before.
Now i think, i need to upgrade wicket.
Hello again,
My requirement is exactly related to the point 1. you specified
1. If you want to add your checkbox directly beside the tree structure
components you have to copy the code from the treetable class
If you could elaborate a bit, it will be very much useful to try out.
--
My environment:
. Apache Tomcat/6.0.18
. JDK 1.6.0_12-b04
I got this weird message in tomcat log, too:
Nov 4, 2009 12:13:03 AM org.apache.catalina.startup.HostConfig
checkResources
INFO: Reloading context [/acm]
Nov 4, 2009 12:13:03 AM org.apache.catalina.core.ContainerBase stop
INFO: Container
I'm getting a serialization error in my logs:
Nov 03 23:00:01 ERROR [TP-Processor34] lang.Objects - Error serializing object
class com.conducive.ui.userPages.monitor.manage.MonitorsManagePage
[object=[Page class =
com.conducive.ui.userPages.monitor.manage.MonitorsManagePage, id = 120, version
comparator does not extend serializable.
make an inner class that extends serializable.
-igor
On Tue, Nov 3, 2009 at 11:27 PM, Douglas Ferguson
doug...@douglasferguson.us wrote:
I'm getting a serialization error in my logs:
Nov 03 23:00:01 ERROR [TP-Processor34] lang.Objects - Error
http://maps.google.com/maps?f=dsource=s_dsaddr=wicket+1.2daddr=wicket+1.4hl=engeocode=mra=lsdirflg=wsll=35.50998,-81.271745sspn=0.010428,0.016093ie=UTF8z=19
On Wed, Nov 4, 2009 at 7:13 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
our wiki contains migration pages for 1.2 to 1.3 and 1.3 to
42 matches
Mail list logo