Dynamic PDF Creation

2009-01-09 Thread jeredm
I am using FOP to create a PDF dynamically based on user input into a web form. I don't have a problem creating the PDF only with the display of it. I need that PDF to be immediately sent to the user via a redirect or download. so something like this @Override public void onClick(){

Re: Dynamic PDF Creation

2009-01-09 Thread jeredm
); } } }); } } Pills wrote: Have a look at RequestCycle#setRequestTarget. Additionnaly, you may have a look at SubmitLink, since the validation step has nothing to do in the onClick of a link jeredm wrote: I am using FOP to create a PDF dynamically based on user

Re: XSLT in a Panel

2009-01-07 Thread jeredm
(xslFile).transform(component, output); } What I saw was: What I expected was: messageYep, it worked!/message What am I doing wrong? This should be simple and I am sure there is an easy fix. jeredm wrote: I believe that is what I am looking for; however, I am not able to get the objects

Re: XSLT in a Panel

2009-01-07 Thread jeredm
Thank You!!! That works great! igor.vaynberg wrote: markup container doesnt output its model, use a label instead. and also call setescapemodelstrings(false) on the label. -igor On Wed, Jan 7, 2009 at 7:00 AM, jeredm jer...@maplewoodsoftware.com wrote: So I am not understanding how

Re: XSLT in a Panel

2009-01-06 Thread jeredm
I believe that is what I am looking for; however, I am not able to get the objects to work. Are there any Hello World examples of those objects in action? igor.vaynberg wrote: see XsltTransformer and XsltTransformerBehavior -igor On Mon, Jan 5, 2009 at 4:08 PM, jeredm jer

XSLT in a Panel

2009-01-05 Thread jeredm
I have a rather extensive report that is done in an application that I am porting to a Wicket application. This report relies on a SQL Server XML select (for xml explicit) that nests data so that I don't know how to do a single database select that will give me all the data I need in a flat

Nesting ModalWindow

2008-10-10 Thread jeredm
I have an interface where I am needing to nest a ModalWindow inside another ModalWindow. I am having problems when the user submits the form in the inner window (Ajax Debugger: ERROR: Trying to submit form with id 'panelForm28' that is not in document.). I believe that the call of

Re: Nesting ModalWindow

2008-10-10 Thread jeredm
I found that by using a page for my inner modal instead of a panel I can correct my problem, but I am not sure why a panel does not work. -- View this message in context: http://www.nabble.com/Nesting-ModalWindow-tp19925848p19926759.html Sent from the Wicket - User mailing list archive at

Versioning Ajax Calls

2008-07-15 Thread jeredm
I have a LinkTree on the left of my page which acts as a menu to feed the right side of my page. To do this I am using an Ajax call and swapping the right panel. What I need is to allow is the user to click the back button when the user has drilled into a page from a link on the right that has

Re: Multiple TextField in ListView

2008-04-04 Thread jeredm
Here is how I would do it: HTML: table tr wicket:id=tableRow td . input wicket:id=textInput type=text / /td /tr /table Model Object: // this is a simple object I am going to use for my model. // It holds the value the user

Re: LinkTree Node Refresh

2008-03-17 Thread jeredm
with tree and the prebuit tree). Thus if this answer doesn't help your problem you can consider providing a quickstart project I can use to reproduce it. -Matej On Sat, Mar 15, 2008 at 12:57 AM, jeredm [EMAIL PROTECTED] wrote: Here is the code that pops up a modal for the user to enter a new

Re: LinkTree Node Refresh

2008-03-17 Thread jeredm
. I was thinking of some code I could actually run (so also the page with tree and the prebuit tree). Thus if this answer doesn't help your problem you can consider providing a quickstart project I can use to reproduce it. -Matej On Sat, Mar 15, 2008 at 12:57 AM, jeredm [EMAIL PROTECTED

Re: Links on a sortable column

2008-03-17 Thread jeredm
You might check out this control. http://www.inmethod.com/ I have not used it outside of the demo on the website, but somebody suggested it to me when I was asking about sorting. I was looking for a drag and drop sort, so I didn't use the control. This control does have sortable and resizable

Re: LinkTree Node Refresh

2008-03-17 Thread jeredm
project I can use to reproduce it. -Matej On Sat, Mar 15, 2008 at 12:57 AM, jeredm [EMAIL PROTECTED] wrote: Here is the code that pops up a modal for the user to enter a new option for a multiple choice question. When the modal returns I add the object it sends back to a node

Re: Wicket ModalWindow vs Other

2008-03-17 Thread jeredm
I am using the ModalWindow. mnwicket wrote: Just out of curiosity, are most people using the ModalWindow provided by the extensions project or are they wrapping a custom component around an existing javascript lib? If the second option, what libs are people using and can anyone provide

Re: LinkTree Node Refresh

2008-03-14 Thread jeredm
:27 AM, jeredm [EMAIL PROTECTED] wrote: I have a LinkTree where am adding new nodes via AJAX where the node is not visually refreshing until I call myLinkTree.invalidateAll();. The problem is that the tree refresh takes too long when I have a bunch of nodes displayed

Re: Conditional markup

2008-03-14 Thread jeredm
You might check out the source for the LabelIconPanel class in org.apache.wicket.markup.html.tree. It sets the icon for the LinkTree via ResourceReferences that point to image files. You might also take a look at the LinkIconPanel (it extends LabelIconPanel) in the same tree. Mathias P.W

LinkTree Node Refresh

2008-03-13 Thread jeredm
I have a LinkTree where am adding new nodes via AJAX where the node is not visually refreshing until I call myLinkTree.invalidateAll();. The problem is that the tree refresh takes too long when I have a bunch of nodes displayed. AbstractTree.invalidateAll() appears to redraw the whole tree, but

Re: Sorting a list

2008-03-07 Thread jeredm
don't use databinder, you can still have a look at the source. databinder.net Cheers, Thomas On Thu, Mar 6, 2008 at 6:35 PM, jeredm [EMAIL PROTECTED] wrote: I should have been more clear that I need to create a control to allow the user to change the order in a list. I am able

Re: Sorting a list

2008-03-07 Thread jeredm
it will move there ..? jeredm wrote: I was thinking about the move up/move down solutions, but my list is too large. I have found that with lists more than a few rows tall, the user starts using the fork to eye technique. For now I am just going to implment the sort in the db...so each row

Sorting a list

2008-03-05 Thread jeredm
I am looking for an easy way to sort single items within a list...basically I need to re-order a list. For example, I have 30 table rows and I want to move row 13 to be before row 10. An example I found that is similar to what I am looking for is located at http://demos.mootools.net/Sortables.

Re: Settings focus to window opened by javascript appended to AjaxLink

2008-02-20 Thread jeredm
I am having a similar problem in IE, but it does not happen in Firefox. I am popping up a modal dialog and want to set focus on the first text box in the modal when it is opened (id=focusMe). Here is some code that has been trimmed for simplicity: HTML: input id=focusMe type=text