Help in panel design

2009-08-10 Thread Gerald Fernando
Hello Friends, I have created a panel(both java and html page). now i need to view a 3 panels in the home page each should same height and width or diffrent height and width. I mean how to i set height and width of that panel -- Thanksregards, Gerald A

RequestCycle.setRequestTarget() behaviour

2009-08-10 Thread Nils Weinander
Hi all I am having a minor problem with RequestCycle.setRequestTarget() in Wicket 1.4. Before I do a workaround I have to check if I have simply missed out on something. Assume my application is found at http://mydomain.com/mywebapp I expected getRequestCycle().setRequestTarget( new

Re: RequestCycle.setRequestTarget() behaviour

2009-08-10 Thread Juha Palomäki
This seems to be the expected behaviour for RedirectRequestTarget. Wiki suggests ExternalLink as an alternative, if you want to go outside the web app: http://cwiki.apache.org/WICKET/how-to-redirect-to-an-external-non-wicket-page.html br, Juha On Mon, Aug 10, 2009 at 9:39 AM, Nils

Re: RequestCycle.setRequestTarget() behaviour

2009-08-10 Thread Nils Weinander
Juha Palomäki wrote: This seems to be the expected behaviour for RedirectRequestTarget. Wiki suggests ExternalLink as an alternative, if you want to go outside the web app: http://cwiki.apache.org/WICKET/how-to-redirect-to-an-external-non-wicket-page.html OK, thanks, I'll have to

pannels with diffrent width and height

2009-08-10 Thread Gerald Fernando
I have created panel.now i want to show that panel with diffrent width and height in another page(3 panels). is it possible? if so help me how to do it. am eagerly waiting for your reply -- Thanksregards, Gerald A

Re: Changing a Form's Model

2009-08-10 Thread Erik van Oosten
I am glad you got that right :) If the model has changed, call modelChanged() on the form (and/or the form components, not sure). There is no need to again set the model. Regards, Erik. Troy Cauble wrote: in a form that gets reused (repetitively in the same page). Don't you

SV: pannels with diffrent width and height

2009-08-10 Thread Wilhelmsen Tor Iver
I have created panel.now i want to show that panel with diffrent width and height in another page(3 panels). div wicket:id=panel1 style=height: 100px; width: 50px Will be replaced with contents of wicket:panel element /div Or betters, use classes in nested elements that you specify

AjaxFallbackDefaultDataTable paging disappears

2009-08-10 Thread Bas Vroling
I have a search form that takes user input, and with that input fills a dataprovider that is attached to a AjaxFallbackDefaultDataTable. On form submit, the table is updated, and I see the correct new entries being present. There is a problem with the table navigation panel (the one with the

Re: pannels with diffrent width and height

2009-08-10 Thread Gerald Fernando
it will place one bye one but i need next to next.column wise ThanksRegards, Gerald A On Mon, Aug 10, 2009 at 3:41 PM, Wilhelmsen Tor Iver toriv...@arrive.nowrote: I have created panel.now i want to show that panel with diffrent width and height in another page(3 panels). div

Output to input stream for streaming?

2009-08-10 Thread Martin Makundi
Hi! I have a HSSF document which can be written to an output stream. However, I want to stream it to the website visitor, which requires an inputstream... I have tried the following, but it somehow doesn't seem to work. Anybody know what can be done to fix it? final PipedInputStream

SV: pannels with diffrent width and height

2009-08-10 Thread Wilhelmsen Tor Iver
it will place one bye one but i need next to next.column wise Well, either use a Table with three columns to represent the panels or use div with CSS float: etc. in the page template. - Tor Iver - To unsubscribe, e-mail:

RE: Output to input stream for streaming?

2009-08-10 Thread Russell Simpkins
Martin, I don't think you can do this in a thread because that lets the HttpServletResponse end and close your ServletOutputStream. Russ Date: Mon, 10 Aug 2009 14:49:58 +0300 Subject: Output to input stream for streaming? From: martin.maku...@koodaripalvelut.com To:

Openlayers, openstreetmap and markers

2009-08-10 Thread Reinout van Schouwen
Hi, I'm playing around with Wicketstuff Openlayers and I have a few questions. 1) With a Google map, I can set the Bounds of a map easily. When I try to do the same with an OpenStreetMap, my Bounds are ignored and I get a thumbnail of the world map. What could be going on here? 2) I want to

Re: Output to input stream for streaming?

2009-08-10 Thread Reinhard Nägele
How about this: ByteArrayOutputStream baos = new ByteArrayOutputStream(); wb.write(baos); InputStream is = new ByteArrayInputStream(baos.toByteArray()); Martin Makundi schrieb: Hi! I have a HSSF document which can be written to an output stream. However, I want to stream it to the website

RE: Output to input stream for streaming?

2009-08-10 Thread Russell Simpkins
Its not that anything is missing per se, but if you run your output writer in a separate thread, then the rest of your processing is free to continue and in your case I'm guessing that the processing has finished before your output writing has completed. When your servlet finishes, the last

Re: pannels with diffrent width and height

2009-08-10 Thread Gerald Fernando
i used table but it will not be placed in the full page even i put table height and width = 100% if possible please explain little bit about div with CSS float: etc. in the page template. On Mon, Aug 10, 2009 at 5:24 PM, Wilhelmsen Tor Iver toriv...@arrive.nowrote: it will place one bye one

Re: Output to input stream for streaming?

2009-08-10 Thread Martin Makundi
Maybe the thread is wrongly written, yes but a servlet CAN read a FILE. A file is always another PROCESS (which supplies the file contents, yes, it's the disk driver etc.). So a similar configuration should be possible between a write operation and an input stream. Anybody have experience with

Re: Output to input stream for streaming?

2009-08-10 Thread Erik van Oosten
With 'output' I meant the servlet request output. But perhaps I misunderstood the question. I guess the problem is that you close 'inputStream' as soon as the request is finished. The thread that tries to write to it is still active at that moment. Regards, Erik. Martin Makundi wrote:

Re: pannels with diffrent width and height

2009-08-10 Thread Per Lundholm
Hi! Does not the following spread across the window, or what do you mean? html head /head body table style=width: 100% trtd style=border-width: 2px; border-style: solidcol1/tdtd style=border-width: 2px; border-style: solidcol2/tdtd style=border-width: 2px; border-style: solidcol3/td/tr /table

Re: Openlayers, openstreetmap and markers

2009-08-10 Thread Frank Tegtmeyer
1) With a Google map, I can set the Bounds of a map easily. When I try to do the same with an OpenStreetMap, my Bounds are ignored and I get a thumbnail of the world map. What could be going on here? There is a tutorial somewhere on the OpenStreetMap Wiki. The boundaries have to be computed

Re: setResponsePage() Not Working

2009-08-10 Thread Igor Vaynberg
turn the logging to debug level and look at the logs for any clues. -igor On Mon, Aug 10, 2009 at 7:22 AM, Jeff Longlandjeff.longl...@gmail.com wrote: I've been developing a Wicket app on GlassFish v2 and everything works fine.  But when I deploy the application to our production server which

Re: DataTable with more than one tr per item

2009-08-10 Thread Igor Vaynberg
no, a datatable doesnt support that. but it is easy enough with your own repeater. -igor On Mon, Aug 10, 2009 at 7:25 AM, Kariem Husseinkar...@users.sf.net wrote: Hello, I wanted to ask, whether there is a way to have more than one row per item rendered from a DataTable [1]. As a result in

Re: DataTable with more than one tr per item

2009-08-10 Thread Erik van Oosten
Kariem, There is a hint at http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%27sXHTMLtags-Elementwicket:container Regards, Erik. Igor Vaynberg wrote: no, a datatable doesnt support that. but it is easy enough with your own repeater. -igor -- Erik van Oosten

Problems with session after modifying code

2009-08-10 Thread Daniel Dominik Holúbek
Hello,i'm developing a webapp combining osgi (equinox) and wicket. it works fine, except of this case: let's say we've got two bundles - core and chat. the chat bundle depends on core bundle. now, i've made some modifications to the chat bundle, exported it and deployed it to osgi container,

Re: Problem with Palette

2009-08-10 Thread Elad Katz
Does anybody have any ideas? Elad Katz wrote: egolan74 wrote: I guess you've checked that selectedEvents is not empty? yes, they both have stuff in them egolan74 wrote: If it's not, I think you should check your model representing the choices. What do you mean check?

Re: Openlayers, openstreetmap and markers

2009-08-10 Thread nino martinez wael
2009/8/10 Reinout van Schouwen rein...@gmail.com: Hi, I'm playing around with Wicketstuff Openlayers and I have a few questions. 1) With a Google map, I can set the Bounds of a map easily. When I try to do the same with an OpenStreetMap, my Bounds are ignored and I get a thumbnail of the

RE: Output to input stream for streaming?

2009-08-10 Thread Russell Simpkins
I'm new to wicket, but if I wanted to send down file data, I would use a servlet, get the output stream and write the data. a simple example: writeData(InputStream in, HttpServletResponse resp) { out = resp.getOutputStream(); byte[] data = new byte[1024]; int size = 0; while (

Re: setResponsePage() Not Working

2009-08-10 Thread Jeff Longland
Not much in the way of clues... The ResultPage is being instantiated, but instead of being rendered the HomePage is reloaded. Everything is fine on GlassFish v2.. but Sun Java App Server 7 = no dice. I'm at a loss for what to do next. On Mon, Aug 10, 2009 at 10:29 AM, Igor

Re: setResponsePage() Not Working

2009-08-10 Thread Igor Vaynberg
no clue either. wicket is just a filter, if it works in one container it should work in them all. try a couple of other containers, maybe it will help you to narrow the problem. -igor On Mon, Aug 10, 2009 at 12:31 PM, Jeff Longlandjeff.longl...@gmail.com wrote: Not much in the way of clues...  

Re: setResponsePage() Not Working

2009-08-10 Thread Aiszone
Hi, Just a thought, could it be, that your session times out - so that the request get's a new sessionID and therefore is sendt to the homepage (which I assume is your normal start page for your wicket app). -- View this message in context:

Re: crud app with wicket

2009-08-10 Thread Erik Post
You could also have a look at Wicketopia's Wicket+Hibernate+Spring archetype: http://wicketopia.sourceforge.net/wicketopia/source-repository.html Good luck! Cheers, Erik On Mon, Aug 10, 2009 at 7:27 AM, Peter Thomasptrtho...@gmail.com wrote: On Mon, Aug 10, 2009 at 10:36 AM, Ivan Dudko

Re: DataTable with more than one tr per item

2009-08-10 Thread Vladimir K
The regular repeater does not support pagination, sorting and filtering out of the box. Erik van Oosten wrote: Kariem, There is a hint at http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%27sXHTMLtags-Elementwicket:container Regards, Erik. Igor Vaynberg wrote:

Re: DataTable with more than one tr per item

2009-08-10 Thread Igor Vaynberg
both dataview and pageablelistview support paging. -igor On Mon, Aug 10, 2009 at 4:06 PM, Vladimir Kkoval...@gmail.com wrote: The regular repeater does not support pagination, sorting and filtering out of the box. Erik van Oosten wrote: Kariem, There is a hint at

Re: DataTable with more than one tr per item

2009-08-10 Thread Vladimir K
I mean they does not have toolbars that provides user with pagination, sorting and filtering. One should author her own DataTable class in order to get extra tr in the item's markup. If Item class was derived from Panel class it would be possible to override newRowItem() method. I believe it

Re: DataTable with more than one tr per item

2009-08-10 Thread Igor Vaynberg
patches are welcome. -igor On Mon, Aug 10, 2009 at 4:24 PM, Vladimir Kkoval...@gmail.com wrote: I mean they does not have toolbars that provides user with pagination, sorting and filtering. One should author her own DataTable class in order to get extra tr in the item's markup. If Item

Re: Exception adding a SimpleAttributeModifier to a TextField

2009-08-10 Thread Kuga
Hi, Did this issue get solved for you? I am also facing the similar issue. I am just adding and AttributeReplacer and this issue happens when i Click on an AjaxButton. Can you please share with me about the soution? thanks Kuga Miguel Munoz wrote: Comrades, I'm getting a strange

Re: setResponsePage() Not Working

2009-08-10 Thread Jeff Longland
That's the thing that I can't seem to figure out. The app works on GlassFish v2 and Tomcat, but I'm having this problem on Sun Java App Server 7. As suggested in ##wicket, I switched from the wicket filter to the wicket servlet - but I'm still having the problem where there are two ?wicket in

Re: submit a form using ajax

2009-08-10 Thread Toscano
Any luck with this one? I can't figure out how to do it... igor.vaynberg wrote: you have to wire a bit of javascript to do this from the timer, see how ajaxsubmitlink does it... -igor On Tue, Jun 9, 2009 at 6:39 AM, Juri Prokofievj...@unix.ee wrote: I'm trying to save form values

Re: Help in panel design

2009-08-10 Thread Juan Pablo Lagostena
Maybe I'm wrong, or I misunderstood the question, but I'll take a shoot. You can configure those things with CSS. I think that your panel, in the HTML side, is a div or something like this. So, you can define styles for each panel, or, if you want, you can apply the same style to all panels.

Get all sessions and manipulate them

2009-08-10 Thread uud ashr
Hi all, How to manipulate all existing sessions on wicket. I can get the SessionData trough getRequestLogger().getLiveSessions(), but I can't manipulate the SessionData. For examples, I have session class: public class MyAppSession extends WebSession { ... public void setLoggedUser(User

Re: Get all sessions and manipulate them

2009-08-10 Thread Jeremy Thomerson
This question has been asked and answered many times on this mailing list. Please try searching the archives on Nabble. Then let us know if you have questions about one of those implementations. -- Jeremy Thomerson http://www.wickettraining.com On Mon, Aug 10, 2009 at 10:59 PM, uud

InputStreamResource

2009-08-10 Thread Edgar Merino
Hello, what would be the correct way to render an image (Resource) from an InputStream? Right now I've got a very simple extension of the Resource class (code below), but this is causing problems since InputStream is not serializable and I'm keeping a reference to it. Thanks in advance.