Re: [Wicket-user] [STDERR] SERIALIZING SessionPageKey

2007-05-23 Thread Johan Compagner
which version do you use? at my place there are all commented out in the code johan On 5/23/07, Herman Bovens [EMAIL PROTECTED] wrote: Hello, I constantly get these messages in the console window: ERROR [STDERR] SERIALIZING SessionPageKey[11CD75D79578ECFFFD9EDDBBC5583ADE,4,0,0, null,

Re: [Wicket-user] Best way to insert inline Javascript

2007-05-23 Thread Alex Objelean
There is at least two solutions. 1. The ideea is to use script tag as a Label component and its modelObject contains a generated script http://www.nabble.com/Feedbackmessages%3A-extend-by-new-type-ALERT---tf3795933.html see this post . 2. Use TextTemplateHeaderContributor for adding

Re: [Wicket-user] how to customize Modal Window`s appearance

2007-05-23 Thread Nikhil Gahlot
Thanks for the reply. Can you please share your experience on the customization magic with us. Some pointer would be of great help. Nikhil Scott Swank wrote: Agreed. We've gone the complicated CSS magic route and it is a bit involved, but I can vouch for the fact that it's an option.

Re: [Wicket-user] Best way to insert inline Javascript

2007-05-23 Thread Mark van Leeuwen
Thanks for the suggestions but I don't like either of these solutions. First one involving the use of the label is the hack to which I have already referred. In my case I am extending DropDownChoice and it would be messy to require a special label component to go with it. I want to use just the

Re: [Wicket-user] SVN access broken?

2007-05-23 Thread Ravindra Wankar
OK, I was able to get to it using http://svn.apache.org/repos/asf/incubator/wicket/trunk However, there is a failure while running tests for 1.3. From what I see seems like in org.apache.wicket.request.target.coding.UrlMountingTest. Am I the only one seeing this? Thanks Ravi. Ravindra

Re: [Wicket-user] Best way to insert inline Javascript

2007-05-23 Thread Nino Saturnino Martinez Vazquez Wael
Another way could be to create the javascript component and invoke it by adding a onload behavior to your dropdown, this should work? I've implemented a simple progress indicator this way, although I used the onclick event. regards Nino Mark van Leeuwen wrote: Thanks for the suggestions but

Re: [Wicket-user] Best way to insert inline Javascript

2007-05-23 Thread Mark van Leeuwen
Unfortunately onload is available only for body / img /applet type tags, not select. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:wicket-user- [EMAIL PROTECTED] On Behalf Of Nino Saturnino Martinez Vazquez Wael Sent: Wednesday, 23 May 2007 5:42 PM To:

Re: [Wicket-user] Best way to insert inline Javascript

2007-05-23 Thread Harald Gruber
you could implement it as behavior and just add it to the dropdown... have a look at my example. the javascript is composed and written in the onRendered method so its written out right after the component. harald example --- import org.apache.wicket.Component; import

Re: [Wicket-user] FireFox 1.5 macos, ajax fails..

2007-05-23 Thread Nino Saturnino Martinez Vazquez Wael
While developing on the gmap component, a collegue of mine needed to test it, unfortunately he had ff 1.5 and when moving around on the gmap(thats where the ajax fires) the script got non responsive. So I went ahead and checked the wicket examples they give errors aswell, but does not end up

Re: [Wicket-user] xsd or dtd

2007-05-23 Thread Martijn Dashorst
Thanks! Martijn On 5/23/07, Timo Rantalaiho [EMAIL PROTECTED] wrote: On Tue, 22 May 2007, Martijn Dashorst wrote: Could you file an issue with this please? It would be nice to make the dtd work better. Sure, here it is: https://issues.apache.org/jira/browse/WICKET-587 - Timo --

Re: [Wicket-user] continueToOriginalDestination / RestartResponseAtInterceptPageException with page parameters

2007-05-23 Thread Wouter de Vaal
Ok I've tested below and it worked for me, so I have added a bug report + patch: https://issues.apache.org/jira/browse/WICKET-588 Wouter On 5/21/07, Wouter de Vaal [EMAIL PROTECTED] wrote: To summarize my problem: Original call: /admin/editquote?id=13 Redirect url after login:

Re: [Wicket-user] JDK 1.4 wicket-examples source code for 1.3.0?

2007-05-23 Thread Martijn Dashorst
These are not branches but distinctions in types of projects: this way we only have to specify the compiler version once. All examples projects have been integrated into one project, and as such needed to become JDK 1.5 (some projects such as auth-roles and wicket-spring-annot are JDK 1.5 only).

Re: [Wicket-user] problem with Ajax and rendering on trunk version

2007-05-23 Thread Martijn Dashorst
Just to be safe, could you create a JIRA issue for this? Then it won't go unnoticed. Martijn On 5/22/07, Xavier Hanin [EMAIL PROTECTED] wrote: Hi, I've just upgraded my 1.3 beta 1 version to a personnally build snapshot version based on revision xxx to fix a problem related to Ajax and Page

Re: [Wicket-user] How to display applet in wicket?

2007-05-23 Thread edward durai
Finally, It's working. My applet looks lik APPLET codebase=http://localhost:8080/projectName; CODE=ClassName WIDTH=400 HEIGHT=450 /APPLET Here Hardcoded values x_axis_value and y_axis_value is working fine. Consider I have one text box with label Dates and Consider I have one text box with

Re: [Wicket-user] wicket vs. struts presentation

2007-05-23 Thread Nino Saturnino Martinez Vazquez Wael
I must dissagree(on the part where you say that wicket are mostly used in intranet apps), although not a wicket veteran yet(only been doing wicket for around 1.5 years). The two projects I've been involved in during this periode has both been using wicket. Both projects being commercially and

Re: [Wicket-user] problem with Ajax and rendering on trunk version

2007-05-23 Thread Xavier Hanin
On 5/23/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Just to be safe, could you create a JIRA issue for this? Then it won't go unnoticed. Done: https://issues.apache.org/jira/browse/WICKET-589 Xavier Martijn On 5/22/07, Xavier Hanin [EMAIL PROTECTED] wrote: Hi, I've just upgraded my

Re: [Wicket-user] How to display applet in wicket?

2007-05-23 Thread Nino Saturnino Martinez Vazquez Wael
ahh, so you wish to use wicket to generate dynamic content for the applet? Look at the howto include javascript thread, theres an example on howto create a attribute modifier, im not sure howto communicate with your applet though? edward durai wrote: Finally, It's working. My applet looks

Re: [Wicket-user] wicket vs. struts presentation

2007-05-23 Thread Martijn Dashorst
That is because there is little point in putting intranet applications (or non-public facing applications) on the wiki: nobody can see the applications or browse them. /me reminds himself to create a video of some sorts for the application built. Martijn On 5/23/07, Nino Saturnino Martinez

[Wicket-user] Where to find good step-by-step tutorial of how to use tree extansion?

2007-05-23 Thread westpine
Hi! I want to learn how to use tree extansion, but i didn't find any tutorial about it just javadoc and example. May be it enough for taugh developers, but it looks like a dark woods for me. Besides when I used source code from example SimpleTreePage it didn't work with following error: Markup of

Re: [Wicket-user] wicket vs. struts presentation

2007-05-23 Thread Nino Saturnino Martinez Vazquez Wael
Thats why peeps should add a user story if the site are non browsable(thats the part were you mention a video:).. But yeah I guess you're right:) Martijn Dashorst wrote: That is because there is little point in putting intranet applications (or non-public facing applications) on the wiki:

Re: [Wicket-user] continueToOriginalDestination / RestartResponseAtInterceptPageException with page parameters

2007-05-23 Thread Johan Compagner
thx i will look at it today On 5/23/07, Wouter de Vaal [EMAIL PROTECTED] wrote: Ok I've tested below and it worked for me, so I have added a bug report + patch: https://issues.apache.org/jira/browse/WICKET-588 Wouter On 5/21/07, Wouter de Vaal [EMAIL PROTECTED] wrote: To summarize my

Re: [Wicket-user] Pattern for seperation of Java and Html - Comments Welcome

2007-05-23 Thread Kadir Sener GUMUS
Hi, i would like to share our experiences of our wicket project. Our project is a turism portal which has booking functionalities with different products and tourism guides,contents etc. I want to draw your attention that tourism guides,contents part! That would mean lots of wicket pages

Re: [Wicket-user] how to use a button to display to another region of a html page upon clicked?

2007-05-23 Thread Lec
Gerolf, I don't think you can do that with onClick(). i verified it by writing that in wicket code. It hit error -/form]]/componentevaluate![CDATA[document.getElementById('paragraph').onClick();]]/evaluate/ajax-response Can anybody give me an input as to how can I make this

Re: [Wicket-user] ajax update for header

2007-05-23 Thread dx74a19
Ok, now I think I found what was going on... Previously I tought I resolved the thing by upgrading to latest 1.3, but it was only sporadic behaviour.. I wrote my own TabbedPanel. Just because I needed that sometimes its ajax, and sometimes not, based on a constructor boolean (and I wanted that

Re: [Wicket-user] Best way to insert inline Javascript

2007-05-23 Thread Mark van Leeuwen
Thanks, that's interesting, I didn't realise that AbstractBehaviour could be used for rendering into the html body. I ended up overriding the DropDownChoice onRender method to get what I wanted. In my case the script is so specific that there's little point in creating a reusable behavior.

Re: [Wicket-user] Component for opening/closing an arbitrary div layer in Wicket.

2007-05-23 Thread craigdd
Ravi, I'd be interested in hearing your out come of your evaluation. I'm in a similar boat where my company is looking to move to a new UI framework, their first choice or course is JSF and I'm pushing hard to go the wicket route instead. If I can show them a website like yours and say that it

Re: [Wicket-user] setVisible on Fragment with AjaxFormComponentUpdatingBehavior

2007-05-23 Thread Flavius
There are no errors. I did try setting the outputMarkupId to true for the fragment. In the examples (and in my own code with just the TextField), setting the container was sufficient. Adding this to the Fragment had no effect. Here is the Ajax output from the console: INFO: INFO: Initiating

[Wicket-user] Best way to create large groups of similar tags

2007-05-23 Thread Thomas Singer
I'm trying to create following page in Wicket: http://www.syntevo.com/smartcvs/comparison.jsp Generally, I want to keep the text (including the links to other pages in it) in the HTML files for now. My problem is the creation of these tags without adding a separate component for each one:

[Wicket-user] Popup Confirm Window after Server Work

2007-05-23 Thread RBr2000
Hi, I am a Wicket newbie and have the following problem/question: I created a FileUploadField and a an ImageButton for uploading the previously choosen File. So whenever the user tries to upload a file the sever shall check if the file already exists. If it exists some kind of confirm dialog

[Wicket-user] how to pass values to applet tags and display

2007-05-23 Thread Edi
Hi ! I have declared one applet file in display.html display.html looks like applet codebase=http://localhost:8080/project1; CODE=classname WIDTH=700 HEIGHT=350 /applet Using this hard coded values, I can view the person name Martin in applet. Consider I have one wicket button with text box

Re: [Wicket-user] setVisible on Fragment with AjaxFormComponentUpdatingBehavior

2007-05-23 Thread Johan Compagner
so whats in the fragment doesnt disappear? looking at the ajax code we see an empty component comming up. I guess the ajax console is saying exatly the same stuff when you do it for the textfield? On 5/23/07, Flavius [EMAIL PROTECTED] wrote: There are no errors. I did try setting the

[Wicket-user] tinyMCE + weblogic problems

2007-05-23 Thread Apaar Trivedi
Hey guys, When we try to use tiny mce for wicket 1.3 w/ weblogic we get this error in our startup: javax.servlet.ServletException: org/apache/commons/collections/set/ListOrderedSet at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl. java:532)

Re: [Wicket-user] how to customize Modal Window`s appearance

2007-05-23 Thread Jonathan Locke
yeah, i'd be interested in this result too. Scott Swank wrote: Agreed. We've gone the complicated CSS magic route and it is a bit involved, but I can vouch for the fact that it's an option. :) On 5/18/07, Matej Knopp [EMAIL PROTECTED] wrote: It is customizable, but you need a rather

Re: [Wicket-user] how to pass values to applet tags and display

2007-05-23 Thread James McLaughlin
Hi Edi, I'm not entirely sure what you want, so maybe I am oversimplifying. I did this using the object tag instead of the applet tag, but the logic should be similar. The object tag takes a certain number of Attributes. I created a WebMarkupContainer for object, and inside of onComponentTag, used

Re: [Wicket-user] how to customize Modal Window`s appearance

2007-05-23 Thread Scott Swank
1. subclass ModalWindow, with following in the constructor. public YourModalWindow(String id) { super(id); add(HeaderContributor.forCss(/style/cart_global.css)); super.setCssClassName(w_vegas); } 2. have someone who

Re: [Wicket-user] how to customize Modal Window`s appearance

2007-05-23 Thread Jonathan Locke
okay. i don't understand CSS either. ;-) but thanks! Scott Swank wrote: 1. subclass ModalWindow, with following in the constructor. public YourModalWindow(String id) { super(id); add(HeaderContributor.forCss(/style/cart_global.css));

[Wicket-user] Problem loading dynamic image using ajax

2007-05-23 Thread Michael K
Hi, I have problem displaying dynamic image using ajax. The problem is that the image url became expired after the page has rendered. The page was loaded fine it didn't triggered page expired. Please check out my sample code below: public class AjaxPage extends WebPage { public

[Wicket-user] XML and Wicket?

2007-05-23 Thread Ajanta Phatak
I have a need where a part of the page - say a panel contains dynamically generated XML. I could provide a XSL to convert that to html. How can I do this in Wicket? - This SF.net email is sponsored by DB2 Express Download

[Wicket-user] form silently failing to load data when template and pojo are different

2007-05-23 Thread Florian Hehlen
hi, I have just found that if a form contains an input type=text/ and the corresponding pojo contains myForm.add(new TextAre(...)) then wicket fails to load data into the form but it will correctly read the data onSubmit. is this a known bug it sure took me a long time to resolve it.

Re: [Wicket-user] XML and Wicket?

2007-05-23 Thread James McLaughlin
see XsltTransformerBehavior or XsltOutputTransformerContainer. best, jim On 5/23/07, Ajanta Phatak [EMAIL PROTECTED] wrote: I have a need where a part of the page - say a panel contains dynamically generated XML. I could provide a XSL to convert that to html. How can I do this in Wicket?

Re: [Wicket-user] XML and Wicket?

2007-05-23 Thread Ajanta Phatak
Are there any examples to help me with this? Thanks! James McLaughlin wrote: see XsltTransformerBehavior or XsltOutputTransformerContainer. best, jim On 5/23/07, Ajanta Phatak [EMAIL PROTECTED] wrote: I have a need where a part of the page - say a panel contains dynamically generated

Re: [Wicket-user] setVisible on Fragment with AjaxFormComponentUpdatingBehavior

2007-05-23 Thread Flavius
The fragment contents appear fine. When I change the value on the dropdown, I expect the AjaxFormComponentUpdatingBehavior.onUpdate() to set the visibility to false. My dropdown has this added: dropDown.add(new AjaxFormComponentUpdatingBehavior(onchange)

Re: [Wicket-user] XML and Wicket?

2007-05-23 Thread James McLaughlin
Unfortunately no, but the javadoc is strong and the unit tests are clear :) On 5/23/07, Ajanta Phatak [EMAIL PROTECTED] wrote: Are there any examples to help me with this? Thanks! James McLaughlin wrote: see XsltTransformerBehavior or XsltOutputTransformerContainer. best, jim On

Re: [Wicket-user] Creating Panels inside of Loop (Wicket 2)

2007-05-23 Thread Remco Bos
I tried to make the Menubar (from extensions 2.0) work for wicket 1.3. I ran into trouble... When searching for LoopItem and Loop I ran into this post, I thought may be related to the same problem I have now.. The java component markup hierarchy doesn't match the template hierarchy: It

Re: [Wicket-user] How to auto-eliminate component from RepeatingView

2007-05-23 Thread Korbinian Bachl
Well, if I understood it right, then its quite easy: you have a personalList where you add(Component c) to - you can replace that by addOrReplace(Component c) and if there is a Component with Tag foo there then it will be replaced, else it will be put to it. You can also use .remove(Component

Re: [Wicket-user] setVisible on Fragment with AjaxFormComponentUpdatingBehavior

2007-05-23 Thread Johan Compagner
can a span have other block elements? try to make the span a div johan On 5/23/07, Flavius [EMAIL PROTECTED] wrote: The fragment contents appear fine. When I change the value on the dropdown, I expect the AjaxFormComponentUpdatingBehavior.onUpdate() to set the visibility to false. My

Re: [Wicket-user] Creating Panels inside of Loop (Wicket 2)

2007-05-23 Thread Johan Compagner
i dont know from top of my head where this comes from:-relative_path_prefix4 but what i don't get is the protected void populateItem(LoopItem item) { method. if something is visible you add components and if they are not you dont that can't be fi the tags are in the markup they have to be in

Re: [Wicket-user] [STDERR] SERIALIZING SessionPageKey

2007-05-23 Thread Herman Bovens
Johan Compagner wrote: which version do you use? at my place there are all commented out in the code I use wicket-1.3.0-incubating-SNAPSHOT.jar. It was a few weeks old. I have downloaded the latest snapshot, and they're gone. -- View this message in context:

Re: [Wicket-user] Updating item range for ajax pager

2007-05-23 Thread Tremelune
After a bit of mucking around, I essentially did just that--copy NavigatorLabel's behavior, but with a PageableListView instead of a DataTable. To do so I abandoned my separate first/last/total components in favor of a simple constructed String: 1-10 of 100. The code looks something like this:

Re: [Wicket-user] Pattern for seperation of Java and Html - Comments Welcome

2007-05-23 Thread mchack
Thanks for the input. I am just getting my feet wet with the platform and am amazed at the underlying capabilities. My main concern is to make sure that I come up to speed regarding best practices, etc. I will ping you again once I have had a chance to digest your comments. I think I understand

Re: [Wicket-user] Append custom req paramaters to AjaxLink

2007-05-23 Thread Martijn Dashorst
On 5/18/07, mchack [EMAIL PROTECTED] wrote: Thanks for the help. Makes sense. I am trying to come to grips with using Wicket for a fairly large project and am trying to come up to speed as quick as possible and at the same time try and figure out where I may get burned. It is always good to

Re: [Wicket-user] How to display applet in wicket?

2007-05-23 Thread Ayodeji Aladejebi
can applets read attributes from HTML DOM? if applets can read HTML DOM Tree then Wicket and Applets should be able to communicate via AJAX. Wicket updates DOM tree variables via AJAX and then Applets pick up the values for internal use? can this work any? On 5/23/07, Nino Saturnino Martinez

[Wicket-user] CSS Branding

2007-05-23 Thread craigdd
I'm looking for the best way to provide CSS branding for a logged in Client. In other words a css will be added as a header contrib to a page based on the Client object found in the session and search for a name like; layout_[clientname].css. Thanks Craig -- View this message in context:

Re: [Wicket-user] Multiple item actions in table.

2007-05-23 Thread Oliver Henlich
Hi igor, Thanks for posting that snippet. Took be some time to figure out the matching html but it works and i've learnt some more about wicket and models. Note: in your example you use the js function tsGetElementsByClassName. I was just wondering if that actually exists, does wicket

Re: [Wicket-user] how to customize Modal Window`s appearance

2007-05-23 Thread Al Maw
Scott Swank wrote: 2. have someone who understands css (i.e. not me) put lots of thingies in the above css file to override details of the css that ships with ModalWindow. E.g. background-image: url(); Now, I know you claim not to understand CSS, but I feel compelled to point out

Re: [Wicket-user] CSS Branding

2007-05-23 Thread Al Maw
craigdd wrote: I'm looking for the best way to provide CSS branding for a logged in Client. In other words a css will be added as a header contrib to a page based on the Client object found in the session and search for a name like; layout_[clientname].css. Errr, you just said what to do

Re: [Wicket-user] CSS Branding

2007-05-23 Thread craigdd
Thanks Al, I figured it was that easy, I guess sometimes you make something more complicated that it really is. -Craig Al Maw wrote: craigdd wrote: I'm looking for the best way to provide CSS branding for a logged in Client. In other words a css will be added as a header contrib to a

Re: [Wicket-user] setVisible on Fragment with AjaxFormComponentUpdatingBehavior

2007-05-23 Thread Flavius
I didn't think about that. However, I changed the spans to divs and still the same result. :-( I put a new build out at the same urls. Johan Compagner wrote: can a span have other block elements? try to make the span a div johan On 5/23/07, Flavius [EMAIL PROTECTED] wrote:

Re: [Wicket-user] setVisible on Fragment with AjaxFormComponentUpdatingBehavior

2007-05-23 Thread Flavius
Btw, I am running wicket 1.2.6 on Tomcat 6. Johan Compagner wrote: can a span have other block elements? try to make the span a div johan On 5/23/07, Flavius [EMAIL PROTECTED] wrote: The fragment contents appear fine. When I change the value on the dropdown, I expect the

Re: [Wicket-user] how to use a button to display to another region of a html page upon clicked?

2007-05-23 Thread Timo Rantalaiho
On Wed, 23 May 2007, Lec wrote: I don't think you can do that with onClick(). i verified it by writing that in wicket code. It hit error -/form]]/componentevaluate![CDATA[document.getElementById('paragraph').onClick();]]/evaluate/ajax-response We're using onclick() like that without

[Wicket-user] ListView class cast exception

2007-05-23 Thread eddmosphere
Hi there! I'm realll getting confused.. I'm trying to create a table with the resultSet from a mysql database (I tried DataView but gave up..too much for me) by using a ListView. The problem is that I keep getting an ClassCastException: java.lang.String. Wicket tells me this happens in the