Re: How To Download Excel File?

2009-03-31 Thread UPBrandon
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

Re: Page Maps and Expirations

2009-01-23 Thread UPBrandon
. -Matej On Fri, Jan 23, 2009 at 12:19 AM, UPBrandon bcr...@up.com 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 server/instance, there shouldn't be any need for replicating sessions among

Page Maps and Expirations

2009-01-22 Thread UPBrandon
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

Re: Page Maps and Expirations

2009-01-22 Thread UPBrandon
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 bcr...@up.com wrote: In some of our Wicket applications, as the number of users has started to ramp up, we seem

Re: Page Maps and Expirations

2009-01-22 Thread UPBrandon
22, 2009 at 9:21 PM, UPBrandon bcr...@up.com wrote: The project I work on uses Wicket 1.3.4 and we are using the default session store (SecondLevelCacheSessionStore.) The app is clustered and runs on WebLogic 8 through Apache. I'm not entirely sure how those two are setup but I don't believe

Re: I also have the question

2009-01-19 Thread UPBrandon
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 code, for csv, public class CsvRequestTarget extends ByteDataRequestTarget

Re: I also have the question

2009-01-14 Thread UPBrandon
PdfRequestTarget(getSomePdfData(), FileName) ); } }; I hope that helps. wch2001 wrote: UPBrandon, Did u find any solution for it? anyone can help? thanks UPBrandon wrote: It's not that I necessary want to see the page refreshed with updated form values. In fact, I would prefer

Re: Howto use .xhtml instead of .html for template file extension

2008-02-25 Thread UPBrandon
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:

Re: Opening DynamicWebResource from Button/AjaxButton?

2008-02-21 Thread UPBrandon
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 [EMAIL PROTECTED] wrote: As I mentioned in my previous response, I couldn't use

Re: Opening DynamicWebResource from Button/AjaxButton?

2008-02-20 Thread UPBrandon
, 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 header, got it so that the user is prompted to download the PDF when they click on a ResourceLink to my PDF-generating resource

Disabling Modal Unload Confirmation

2008-02-14 Thread UPBrandon
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

Opening DynamicWebResource from Button/AjaxButton?

2008-02-13 Thread UPBrandon
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

Re: Wicket Ideal Bandwidth

2008-02-13 Thread UPBrandon
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

RE: Dynamic DataTable columns

2008-01-29 Thread UPBrandon
, 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 the mean time, I still have the same problem - not being able to change change the columns after the DataTable has been declared, at render time. Any

Dynamic DataTable columns

2008-01-28 Thread UPBrandon
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

Re: Dynamic DataTable columns

2008-01-28 Thread UPBrandon
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 modifier could make it into a 1.3.1 type of release? igor.vaynberg wrote

Re: Dynamic DataTable columns

2008-01-28 Thread UPBrandon
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 way to

FilterToolbar API Changes

2007-10-23 Thread UPBrandon
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

Re: FilterToolbar API Changes

2007-10-23 Thread UPBrandon
(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 PROTECTED] wrote: Could somebody please

Re: FilterToolbar API Changes

2007-10-23 Thread UPBrandon
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 [EMAIL PROTECTED] wrote: Do you have an address for that? I

Re: DataTable FilterToolbar Shifted After AJAX Call

2007-10-11 Thread UPBrandon
? 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 working on a project that has a DataTable with a filter that uses AJAX to update

DataTable FilterToolbar Shifted After AJAX Call

2007-10-10 Thread UPBrandon
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.

Re: Appending JS to an Ajax Component

2007-09-27 Thread UPBrandon
,A be acceptable? if it is A,B does B still execute if A fails? do we need to somehow prevent A from doing a return false; and preventing B from executing? etc etc etc. there is just no easy way to do this automatically and get all the usecases right. -igor On 9/25/07, UPBrandon [EMAIL PROTECTED

Re: Appending JS to an Ajax Component

2007-09-25 Thread UPBrandon
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 onchange script to a DropDownChoice that also has

Appending JS to an Ajax Component

2007-09-24 Thread UPBrandon
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

Refresh a page from an AjaxButton?

2007-09-17 Thread UPBrandon
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

Re: Refresh a page from an AjaxButton?

2007-09-17 Thread UPBrandon
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 complete. To refresh the current page simply pass in the current page i.e

Re: Refresh a page from an AjaxButton?

2007-09-17 Thread UPBrandon
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 UPBrandon wrote