Re: Dynamic PDF Creation

2009-01-09 Thread jeredm
ception(ex); } } }); } } 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

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(){ val

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 > wrote: >> >> So I a

Re: XSLT in a Panel

2009-01-07 Thread jeredm
ut.println(output); return new XsltTransformer(xslFile).transform(component, output); } What I saw was: What I expected was: Yep, it worked! 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 lookin

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

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 forma

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 Nabbl

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 document.get

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 s

Re: Multiple TextField in ListView

2008-04-04 Thread jeredm
Here is how I would do it: HTML: . Model Object: // this is a simple object I am going to use for my model. // It holds the value the user will enter in the textbox and // a primary key value, so I know how to update

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 provid

Re: LinkTree Node Refresh

2008-03-17 Thread jeredm
> 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 option >

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
res the listener for > you. > > Btw. 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. > &g

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread jeredm
+1 Martijn Dashorst wrote: > > This thread is for voting only. Use the [discuss] thread for voicing > your opinion or asking questions. This makes counting the votes much > easier. > > The discussion on our development list makes it clear that a lot of > folks are anxious for generified models.

Re: LinkTree Node Refresh

2008-03-17 Thread jeredm
. > > Btw. 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,

Re: LinkTree Node Refresh

2008-03-14 Thread jeredm
ot;document.getElementById('answerDesc').select()"); target.addComponent(this.feedback); } }; form.add(newButton); Matej Knopp-2 wrote: > > Sorry, I meant the updateTree method. Anyway, 23 seconds seems quite a > lot to me. Any chance you could submit a stripped down example I ca

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 Nilss

Re: LinkTree Node Refresh

2008-03-14 Thread jeredm
tej > > On Fri, Mar 14, 2008 at 1: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 >

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, bu

Re: Sorting a list

2008-03-07 Thread jeredm
the row number? that way if the user enters > something 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

Re: Sorting a list

2008-03-07 Thread jeredm
ListViews. If you 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 ne

Re: Sorting a list

2008-03-06 Thread jeredm
the panel I need the list/table on is swapped in via AJAX which seems to be creating a javascript error. Johan Compagner wrote: > > the wicket way would be to sort it in java. use Arrays.sort and a > comparator > > johan > > > > On Thu, Mar 6, 2008 at 12:00 A

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: JAVA: public void onClick(AjaxReques