What you want to achieve is been able to click on your labels (created
via ) and replace then with
some editable components? If so, maybe you could do it as follows.
1-Place some abstract ajax behavior (AAB) on your "base" page so that
you have some unique context to submit back changes on your l
check this:
modalWindow.setContent(new SearchResults(modalWindow .getContentId(),
modalWindow, resultModel));
/* FIXME use ModalWindow.show(target) instead
target.addComponent(modalWindow, "modal");
*/
logger.info("hey hey");
modalWindow.show(target);
--
View this message in c
On Mon, Sep 27, 2010 at 12:29 AM, Todd Nine wrote:
> Hi all,
> We've built several tabbed panels, and we're in the process of converting
> them over the AjaxTabbedPanel subclasses. We really want RESTful URLS in
> our system, we're accomplishing this with mountpath on different pages as
> diffe
Hi all,
We've built several tabbed panels, and we're in the process of converting
them over the AjaxTabbedPanel subclasses. We really want RESTful URLS in
our system, we're accomplishing this with mountpath on different pages as
different tabs are selected. Is it possible to configure the
AJAXT
the ajax post is executed *asynchronously*. alert first will be
displayed after that asynchronous call completes. the code right after
the wicketAjaxPost - the second alert - is executed right away.
-igor
On Sun, Sep 26, 2010 at 2:36 PM, goody44 wrote:
>
> Hi guys,
> I'm trying to call wicket fr
>
> I wouldn't do that. You'll most likely run into performance issues.
> Duplicate strings should only arise with the use of new String(). Explicitly
> calling intern() could cause an unexpected amount of memory usage in
> PermGen.
I think you have this backwards. As James mentioned on this thr
On 9/25/2010 8:53 PM, smallufo wrote:
I am using a profiler to analyze an OOM heap-dump file , and find tons of
duplicated Strings .
These strings are mostly IDs of wicket components or PropertyModel's
expression ...
I wonder if it a good practice to "intern()" all these Strings ?
such as :
pr
Hi guys,
I'm trying to call wicket from javascript. I have figured out how to do this
but its not quite behaving as I expect. On the code below I would expect the
success handler (alert('first')) to be fired before the alert('second') but
this doesn't prove to be the case.
wicketAjaxPost('"+behave
Hi guys,
I'm trying to call wicket from javascript. I have figured out how to do this
but its not quite behaving as I expect. On the code below I would expect the
success handler (alert('first')) to be fired before the alert('second') but
this doesn't prove to be the case.
wicketAjaxPost('"+beha
see if you can access the markupstring in onbeforerender(), iterate
it, and add the necessary components there.
-igor
On Sun, Sep 26, 2010 at 11:40 AM, Mihai Postelnicu
wrote:
> Any idea how can we approach this differently ? we need a component spawned
> in html (because we have some default tr
Hi all,
We need to use resources slightly different than the standard
ResourceReference. Our resources will not reside on the same host as our
application. These resources will be hosted by our static content system.
As a result, I need the following urls generated.
/assets/
For example, duri
Hello,
I decided to take another look at this problem and noticed that AJAX-based
refreshing of a page with a DataView changes the path of the DataView's
first element. For example, when the page is first rendered, the path of the
first row in the DataView is "referrals:1". After the DataView is r
Added this to remove all keys regardless of the component
/**
* Remove every key from cache regardless of the component
* @param key the resource key
*/
public void clearCachedKeys(final String key){
if( cache == null ) return;
It
Hi this is part of my code. Something like that:
final DateTimeField from = new DateTimeField("start",
new Model());
add(from);
final DateTimeField till = new DateTimeField("end", new
Model());
add(
I'm not entire sure what you want to achive.
This example is to open a new window that extends WebPage. You don't need to
call setContent.
public class HomePage extends WebPage {
private static final long serialVersionUID = 1L;
private String content; // This is a variable to
Hi all,
I've been working with the wicketstuff annotations to perform path
mounting and property mapping. I have the following annotations on my
page.
@MountPath(path = "api/1.0/messagemedia")
@MountMixedParam(parameterNames = { "phone", "message", "id", "status",
"dateReceived" })
@MountQueryS
Any idea how can we approach this differently ? we need a component
spawned in html (because we have some default translatable text in the
html that we have to enclose and also acts as the key) with callbacks
and two states (edit mode and read only, much like ajaxeditablelablel).
Any idea is w
Hi all.
Thank you for replies but this is not what i want.
The problem is that as I understood I should do like this
modal.setcontent and then add(modal)
but i need to do modal.setcontent after form is submitted.
will this work or not?
--
View this message in context:
http://apache-wicket.184
http://wicketstuff.org/wicket14/ajax/ http://wicketstuff.org/wicket14/ajax/
Click on ModalWindow for example
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/modalWindow-setContent-tp2714385p2714490.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi
You need to add modal window placeholder tag on the page and call, attach
ModalWindow instance to it and call modalWindowInstance.show(target) within
onSubmit(AjaxRequestTarget target) method on the submit button.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com
Additionally ModalWindow is highly configurable via CSS.
On Sun, Sep 26, 2010 at 5:34 PM, Martin Grigorov wrote:
> Can you give more information about this feature, please.
> Either here or in the ticket.
> What are the current obstacles? How do you want it to be? Etc.
>
>
> On Sun, Sep 26, 2010
Can you give more information about this feature, please.
Either here or in the ticket.
What are the current obstacles? How do you want it to be? Etc.
On Sun, Sep 26, 2010 at 3:49 PM, andrea del bene wrote:
> On 09/25/2010 02:30 PM, Fernando Wermus wrote:
>
>> I would like so much this feature. I
Hi all. on my page i have search form. All i need is:
user makes some input and then presses search button, and on this button
click form should be submitted and modalwindow with search results should
uppear.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/modalWindow
On 09/25/2010 02:30 PM, Fernando Wermus wrote:
I would like so much this feature. It is so important to me!
On Sat, Sep 25, 2010 at 5:51 AM, Josh Kamau wrote:
Hi guys,
Is there are way to ensure that a modal window automatically sizes to fit
the available content? the default size seems
it can modify hierarchy, but the components it adds only exist during
the render phase - so those components cannot receive callbacks or
hold state.
-igor
On Sat, Sep 25, 2010 at 10:41 PM, Alexander Morozov
wrote:
>
> So IComponentResolver cannot modify component hierarchy. Right ? And there is
You could still have couchdb as a database, and also there is the
beginnings of an object store layer tucked away in an experimental API,
but I think we will stick with DB4O for the primary database. Once you
see the ease with which you can store use DB4O, you will see why eg (in
Scala sorry):
26 matches
Mail list logo