I was wondering if there is any way to change the columns of a DataTable once
it has been declared. On my page, I pass an IModel into a Panel that
contains my DataTable. As the user users the page, the contents of the
model will change and I would like for that to affect which columns are
shown
e that will help you? does datatable refresh the component
> hierarchy that defines the toolbars on every requests?
>
> -igor
>
>
> On Jan 28, 2008 11:32 AM, UPBrandon <[EMAIL PROTECTED]> wrote:
>>
>> Is there any chance simply removing the "final&q
Is there any chance simply removing the "final" modifier could make it into a
1.3.1 type of release?
igor.vaynberg wrote:
>
> you will have to roll your own for now. we might fix this in 1.4 if
> you add this to the wiki wishlist for 1.4 page.
>
> -igor
>
>> I was wondering if there is any wa
>
> -Clay
>
> -Original Message-
> From: Timo Rantalaiho [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 28, 2008 10:26 PM
> To: users@wicket.apache.org
> Subject: Re: Dynamic DataTable columns
>
> On Mon, 28 Jan 2008, UPBrandon wrote:
>> Although,
In a project I am working on, I wrote a DynamicWebResource that generates a
PDF file and, by setting the Content-Disposition in the header, got it so
that the user is prompted to download the PDF when they click on a
ResourceLink to my PDF-generating resource.
That all works fine but now I need t
Regardless of what technologies you use on the server side (Wicket, JSF,
Struts, etc.,) the end product that gets transmitted to the user is just
plain old HTML. Use the same judgment you would use with any other
page/site. If you have big pages with lots of images and whatnot, you will
either n
The urlFor() method can take a few different types but not a
Resource/WebResource/DynamicWebResource. It can take a ResourceReference
but would mean that I would have to register an object of my
DynamicWebResource class as a shared resource before I could get a reference
to it, wouldn't it? It w
I have a page that uses ModalWindows and I would like to disable the
JavaScript confirmation that is displayed when you try to leave the page
while a modal window is open. As recommended by developers here, I added
"Wicket.Window.unloadConfirmation = false;" in my page header to disable
those con
(urlfor(resourceref)));
> }
>
> -igor
>
>
> On Feb 13, 2008 8:18 AM, UPBrandon <[EMAIL PROTECTED]> wrote:
>>
>> In a project I am working on, I wrote a DynamicWebResource that generates
>> a
>> PDF file and, by setting the Content-Disposition in the
page with updated form values _and_ stream the pdf?
>
>
> why dont you take that url you generated for your resourceref and
> append it to a window.onload javascript that does window.location=url;
>
> -gior
>
>
> On Wed, Feb 20, 2008 at 2:33 PM, UPBrandon <[EMAI
Out of curiosity, since pages in a Wicket application aren't accessed as
directly as something like a JSP might be, what reasoning is there for using
an XHTML file extension instead of HTML?
-Brandon
MYoung wrote:
>
> I follow this:
>
> http://cwiki.apache.org/confluence/display/WICKET/Use+a
I'm writing a Wicket app that makes pretty heavy use of the Wicket-Extensions
ModalWindow to present what is basically a dialog box where the user can
enter information into a form. The form on each "dialog box" is submitted
with an AjaxButton and each panel has a feedback panel that is refreshed
ne.
-Brandon
John Ray wrote:
>
>
> UPBrandon wrote:
>>
>> Is there any way to have an AjaxButton "trigger" a complete non-Ajax page
>> refresh?
>>
>
> Call setResponsePage() passing the page you want to be loaded after the
> AJAX call is
but it does create a problem if you want to do validation and have errors
show up in that modal window. Does that make sense at all?
-Brandon
David Bernard-2 wrote:
>
> Why not use a regular Button and the onSumit() method of the form if you
> want to reload the page ?
>
> /david
I am trying to use an AttributeAppender to append an onchange script to a
DropDownChoice that also has an OnChangeAjaxBehavior added to it. But only
the OnChangeAjaxBehavior's script is showing up in the markup. Is there a
trick to adding JavaScript to a component that also has an Ajax behavior?
andon
igor.vaynberg wrote:
>
> you can putting your script into iajaxcalldecorator and giving that to the
> behavior
>
> -igor
>
>
> On 9/24/07, UPBrandon <[EMAIL PROTECTED]> wrote:
>>
>>
>> I am trying to use an AttributeAppender to append an on
andon
igor.vaynberg wrote:
>
> you can putting your script into iajaxcalldecorator and giving that to the
> behavior
>
> -igor
>
>
> On 9/24/07, UPBrandon <[EMAIL PROTECTED]> wrote:
>>
>>
>> I am trying to use an AttributeAppender to append an on
all the usecases right.
>
> -igor
>
>
> On 9/25/07, UPBrandon <[EMAIL PROTECTED]> wrote:
>>
>>
>> I did that and it worked. Thanks for a point in the right direction.
>>
>> But while I am writing, doesn't it seem like appenders should work more
>
I am working on a project that has a DataTable with a filter that uses AJAX
to update an object on the backend and refresh the table, among other
things. Everything is working well so far except the columns in the filter
toolbar row are shifted one column to the right after the AJAX refresh.
Usi
et are you using? I saw this with beta3 but later
> snapshots fixed it for me. So if you're not on a recent snapshot, you
> might
> consider trying that and seeing if that helps.
>
> On 10/10/07, UPBrandon <[EMAIL PROTECTED]> wrote:
>>
>>
>> I am worki
Could somebody please explain the Wicket-Extensions 1.3 beta 4 API changes
for the FilterToolbar? I have looked everywhere for information and a
working example but can't seem to find any. I found a mailing list
conversation about the reasoning for the change but nothing that helps me
get things
(now missing)
constructor that takes a DataTable and SortableDataProvider as parameters.
Is a newer version available somewhere else online?
-Brandon
igor.vaynberg wrote:
>
> see wicket-phonebook in wicket-stuff
>
> -igor
>
>
> On 10/23/07, UPBrandon <[EMAIL PROTEC
rtijn Dashorst wrote:
>
> Check it out from subversion, then you are sure you have the latest
> (though it may still be a bit out of date).
>
> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-phonebook/
>
> Martijn
>
> On 10/23/07, UPBrandon <[EMA
Check out my responses in this discussion...
http://www.nabble.com/Opening-DynamicWebResource-from-Button-AjaxButton--td15459841.html#a21462901
I had some trouble getting generated files to download right at first. They
either caused Wicket to become non-responsive or I couldn't provide a file
na
getRequestCycle().setRequestTarget(new
PdfRequestTarget(getSomePdfData(),
"FileName") );
}
};
I hope that helps.
wch2001 wrote:
>
> UPBrandon,
> Did u find any solution for it?
>
> anyone can help?
>
> thanks
>
>
> UPBrandon wrote:
>>
>&g
quot; and assuming it's a CSV file. FireFox on the other
hand is looking at the "text/plain" MIME type you provided and assuming it's
a plain text file. You are using the wrong mime type.
wch2001 wrote:
>
> thanks, UPBrandon
>
> I tried your cod
In some of our Wicket applications, as the number of users has started to
ramp up, we seem to be experiencing a scalability issue. Some users have
had problems with pages expiring quickly. This is second-hand information
so I can't elaborate much but supposedly, during peak times, pages are
expi
nvironment? if yes,
> what kind of load balancing do you have?
> -do the expirations happen during normal operation or only when using
> back button (or using application in multiple tabs)
>
> -Matej
>
> On Thu, Jan 22, 2009 at 7:47 PM, UPBrandon wrote:
>>
>> In some
;
>> To me this seems more likely to be servlet container / load balancer
>> issue.
>>
>> -Matej
>>
>> On Thu, Jan 22, 2009 at 9:21 PM, UPBrandon wrote:
>>>
>>> The project I work on uses Wicket 1.3.4 and we are using the default
>>> ses
,
> it would still be stored on disk.
>
> -Matej
>
> On Fri, Jan 23, 2009 at 12:19 AM, UPBrandon wrote:
>>
>> Thanks Matej and Igor. We are using sticky sessions (I can even see the
>> JSESSIONID in requests) and since a session sticks to a certain
>> se
30 matches
Mail list logo