Re: Ajax enabled radiogroup

2008-01-14 Thread Igor Vaynberg
could this be it? https://issues.apache.org/jira/browse/WICKET-1258 also, the form should not be submitted, only the value for that one radio component. -igor On Jan 14, 2008 5:51 AM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > When I do this, the underlying model object isn't updated. I use

Re: PagingNavigator refactoring request

2008-01-14 Thread Igor Vaynberg
what exactly is the usecase? -igor On Jan 14, 2008 12:49 AM, behlma <[EMAIL PROTECTED]> wrote: > > Not such a good idea, huh? :) > > > > > > behlma wrote: > > > > Hi guys, > > would it be possible to change PagingNavigator's constructor from > > > > public PagingNavigator(final String id,

Re: Ajax enabled radiogroup

2008-01-14 Thread Igor Vaynberg
so you applied the patch and it worked? if so i can commit it now and you can use the snapshot build -igor On Jan 14, 2008 10:19 AM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > yep, you're right. Guess I'll have to wait till 1.3.1? ;-) > > 2008/1/14, Igor V

Re: Ajax enabled radiogroup

2008-01-14 Thread Igor Vaynberg
on that that would be the problem. > > Of course I can download the source to apply the patch... > > > 2008/1/14, Igor Vaynberg <[EMAIL PROTECTED]>: > > > > so you applied the patch and it worked? if so i can commit it now and > > you can use the snapshot build >

Re: PagingNavigator refactoring request

2008-01-14 Thread Igor Vaynberg
would you just override all the newPaging* factory methods? perhaps if you paste your code and what you cannot do i might help you more, right now i just dont see it :| -igor On Jan 14, 2008 12:03 PM, behlma <[EMAIL PROTECTED]> wrote: > > Hi Igor, > I created a BookmarkablePagingNavigator com

Re: Ajax enabled radiogroup

2008-01-14 Thread Igor Vaynberg
the patch is attached to the jira issue i mentioned -igor On Jan 14, 2008 12:20 PM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > arg!!! You're right, 1.5 works. > > Ok Igor, do you have the change to commit or should I code it myself (would > take some more time, because I'm not an experienced

Re: Ajax enabled radiogroup

2008-01-14 Thread Igor Vaynberg
and I see no attachements at WICKET-1258 :-( > > 2008/1/14, Igor Vaynberg <[EMAIL PROTECTED]>: > > > > > the patch is attached to the jira issue i mentioned > > > > -igor > > > > > > On Jan 14, 2008 12:20 PM, Martijn Lindhout <[EMAIL PROTECTED

Re: HybridUrlCodingStrategy with trailing slash...

2008-01-14 Thread Igor Vaynberg
needs a check in the constructor of the strategy that throws illegalargumentexception, please open a jira -igor On Jan 14, 2008 12:43 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote: > Hello- > > I ran into a hickup with HybridUrlCodingStrategy and just want to run it > by you all. > > It looks like

Re: Ajax enabled radiogroup

2008-01-14 Thread Igor Vaynberg
ok, i applied the patch, let me know if the latest snapshot build works fine for you -igor On Jan 14, 2008 1:08 PM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > It works! Thanx a lot! > > > 2008/1/14, Igor Vaynberg <[EMAIL PROTECTED]>: > > >

Re: Ajax enabled radiogroup

2008-01-14 Thread Igor Vaynberg
> Thanx a lot Igor. > > > 2008/1/14, Igor Vaynberg <[EMAIL PROTECTED]>: > > > > ok, i applied the patch, let me know if the latest snapshot build > > works fine for you > > > > -igor > > > > > > On Jan 14, 2008 1:08 PM, Martijn Lindho

Re: Type safe roles for AUTH-ROLES?

2008-01-14 Thread Igor Vaynberg
nt some type of "pretend" authorization > strategy? > > > -----Original Message- > From: Igor Vaynberg [mailto:[EMAIL PROTECTED] > Sent: Saturday, January 12, 2008 10:31 AM > To: users@wicket.apache.org; [EMAIL PROTECTED] > Subject: Re: Type safe roles for AUTH-ROL

Re: WAS: Shout more about security advantages of Wicket? (hdiv, modsecurity, WAFs.. )

2008-01-14 Thread Igor Vaynberg
On Jan 14, 2008 2:11 PM, C. Bergström <[EMAIL PROTECTED]> wrote: > "INTEGRITY: HDIV guarantees integrity (no data modification) of all > the data generated by the server which should not be modified by the client > (links, hidden fields, combo values, radio buttons, destiny pages, etc.)."

Re: PagingNavigator refactoring request

2008-01-14 Thread Igor Vaynberg
see if this patch helps, and if it works and doesnt break anything that you can see i will apply it... -igor Index: C:/dev/src/wicket/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/navigation/paging/PagingNavigator.java ===

Re: How to write Json response in the AbstractDefaultAjaxBehavior.response(ajaxtarget)

2008-01-14 Thread Igor Vaynberg
getrequestcycle().setrequesttarget(new irequesttarget() { respond(response r) { r.write(...); }}); -igor On Jan 14, 2008 6:43 PM, Kevin Liu <[EMAIL PROTECTED]> wrote: > Hi guys! > could you tell me how to write json response in the > AbstractDefaultAjaxBehavior.response(ajaxtarget) method? >

Re: Replacement for 1.2's IApplicationSettings.getContextPath()?

2008-01-14 Thread Igor Vaynberg
see ContextImage and how it builds a context relative url -igor On Jan 14, 2008 7:59 PM, Scott Sauyet <[EMAIL PROTECTED]> wrote: > Scott Sauyet wrote: > > I'm finally converting from 1.2 to 1.3 and have gotten down to one > > compilation error! > > > > I need to find a way to replace a call to >

Re: DatePicker.enableMonthYearSelect

2008-01-15 Thread Igor Vaynberg
yeah, not a very good ui choice by yahoo... :) -igor On Jan 15, 2008 11:00 AM, Clay Lehman <[EMAIL PROTECTED]> wrote: > Cool, thanks! I didn't even notice that you could click the month... > > > > -Original Message- > From: Gerolf Seitz [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January

Re: wicket to generate javascript?

2008-01-15 Thread Igor Vaynberg
see IHeaderContributor -igor On Jan 15, 2008 2:50 PM, Beyonder Unknown <[EMAIL PROTECTED]> wrote: > > hi All, > > Is there a way to generate a javaScript variable in wicket? How can I > generate this javascript below: > > > var GLOBALVARS = "test"; > > > > to appear in my markup whe

Re: how I write a new component?

2008-01-15 Thread Igor Vaynberg
you can break the component into two nested panels/fragments, then either conditionally add one or the other or add both and only make one visible -igor On Jan 15, 2008 6:54 AM, Danilo Barsotti <[EMAIL PROTECTED]> wrote: > Hi all!!! > > I need to write a component that makes it: > > > >

Re: how to logout and redirect

2008-01-16 Thread Igor Vaynberg
almost but not quiet onclick() { getsession().invalidate(); getrequestcycle().setredirect(true); setresponsepage(somepage.class); } -igor On Jan 16, 2008 3:28 AM, wicket user <[EMAIL PROTECTED]> wrote: > do you really need a Logout page > can't you do some thing like > > > Link logo

Re: Registered Feedback Messages

2008-01-16 Thread Igor Vaynberg
getsesion().getfeedbackmessages() -igor On Jan 16, 2008 10:11 AM, Steffen Fritzsche <[EMAIL PROTECTED]> wrote: > Hi, > > is it possible to ask the current session for all registered feedback > messages? > > I'm asking because my current test app does not display any feedback > messages at all. I

Re: How to handle Runtime Exception in wicket?

2008-01-16 Thread Igor Vaynberg
see requestcycle.onruntimeexception() -igor On Jan 16, 2008 10:22 AM, Rama-o-Rama <[EMAIL PROTECTED]> wrote: > > > > Rama-o-Rama wrote: > > > > Hello, > > > > I am trying to handle to the runtime exception in Wicket, by default in > > the deployment mode it throws internal error. > > > > I want

Re: wicket + CMS

2008-01-16 Thread Igor Vaynberg
i am writing one right now for my company. i am building it on top of svn so you get versioning/tagging for free. it also allows you to embed "tiles" which are wicket components into the pages for all the dynamic parts. there is a good chance it will open sourced once i get it to a point where it i

Re: How to read the properties file in wicket?

2008-01-16 Thread Igor Vaynberg
why would there be a "wicket way" of reading a .properties file? do the same as you usually do. -igor On Jan 16, 2008 3:31 PM, Rama-o-Rama <[EMAIL PROTECTED]> wrote: > > Hello, > > I am trying to read the property file like test.properties in the wicket. > I have done previously like servletcont

Re: How to read the properties file in wicket?

2008-01-16 Thread Igor Vaynberg
((WebApplication)Application.get()).getServletContext() -igor On Jan 16, 2008 3:57 PM, Rama-o-Rama <[EMAIL PROTECTED]> wrote: > > > > Rama-o-Rama wrote: > > > > Hello, > > > > I am trying to read the property file like test.properties in the wicket. > > I have done previously like servletcontext

Re: Wicket and JAVASCRIPT variables

2008-01-16 Thread Igor Vaynberg
have you seen wicketstuff's google maps integration projects? -igor On Jan 16, 2008 5:14 PM, Ballist1c <[EMAIL PROTECTED]> wrote: > > Hey guys, > > Im working with google maps and what I want to accomplish is have location > data from our DB backend parsed into the google map for display. > > At

Re: CheckBox and Form submit question

2008-01-16 Thread Igor Vaynberg
have you tried submitbutton.setdefaultformprocessing(false) ? -igor On Jan 16, 2008 1:12 PM, Doug Leeper <[EMAIL PROTECTED]> wrote: > > I have both a Contact Address and a Billing Address object displayed in a > Form. > > I also have a CheckBox that, when checked, is to copy the Contact Address

Re: wicket + CMS

2008-01-16 Thread Igor Vaynberg
same way all the java apps do, svnkit.com :) -igor On Jan 16, 2008 11:01 PM, Martin Funk <[EMAIL PROTECTED]> wrote: > Hi Igor, > > just curiosity, how do you cross that gap from java to svn? > > mf > > Igor Vaynberg schrieb: > > > i am writing one right now

Re: wicket + CMS

2008-01-16 Thread Igor Vaynberg
ybe their approach of keeping a repository could be interesting for > you ;-) > > Kind regards > Florian Sperber > > Igor Vaynberg schrieb: > > > same way all the java apps do, svnkit.com :) > > > > -igor > > > > > > On Jan 16, 2008 11:01 PM,

Re: wicket + CMS

2008-01-17 Thread Igor Vaynberg
ng for > you ;-) > > Kind regards > Florian Sperber > > Igor Vaynberg schrieb: > > same way all the java apps do, svnkit.com :) > > > > -igor > > > > > > On Jan 16, 2008 11:01 PM, Martin Funk <[EMAIL PROTECTED]> wrote: > >> Hi

Re: Checkbox problem

2008-01-17 Thread Igor Vaynberg
some code would help... -igor On Jan 17, 2008 10:09 AM, jnorris <[EMAIL PROTECTED]> wrote: > > I have a table implemented using the example AjaxFallbackDefaultDataTable > which works like a charm. I also have a checkbox on the page that is > created with an instance of a class that extends Abst

Re: Maven repo for wicketstuff?

2008-01-17 Thread Igor Vaynberg
http://wicketstuff.org/maven/repository/ -igor On Jan 17, 2008 11:06 AM, Edvin Syse <[EMAIL PROTECTED]> wrote: > Hi! > > Is there a maven repository available for the wicketstuff projects? > > -- Edvin > > - > To unsubscribe, e-

Re: wicket + CMS

2008-01-17 Thread Igor Vaynberg
t applications inside Magnolia, but as a "fake > portlet", inside an iframe. > > > > > On Jan 17, 2008 3:42 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > magnolia is GPL > > > > also how would you embed stateful wicket components into magn

Re: Maven repo for wicketstuff?

2008-01-17 Thread Igor Vaynberg
projects can elect to be set up on our bamboo build server - which will populate the maven repo. not all projects have elected to do so... -igor On Jan 17, 2008 12:21 PM, Edvin Syse <[EMAIL PROTECTED]> wrote: > > http://wicketstuff.org/maven/repository/ > > It doesn't seem complete. For instance

Re: How to catch unknown (not mounted) URLs?

2008-01-18 Thread Igor Vaynberg
as far as having /username i recently had to do this for a cms im building. here is my quick hack i used to get it working until i have time to revisit it... the code below is from the webapp subclass, the way it works: your homepage has pageparams constructor, if you hit a url that doesnt m

Re: a rolling display label component

2008-01-18 Thread Igor Vaynberg
find a javascript widget that does this and integrate with it -igor On Jan 18, 2008 1:50 AM, <[EMAIL PROTECTED]> wrote: > Hello: > I wonder if wicket already has a component that would display a list of text > every n seconds, with the text list predefined (not ajax call every n second) > so

Re: DateField and Validation

2008-01-18 Thread Igor Vaynberg
problem is datefield is actually a composite, so you have to add your onblur handler to the right component inside... new datefield(...) { newdatetextfield() { component c=super.newdatetextfield(); c.add(new fxvalidation("onblur"); return c; }} -igor On Jan 17, 2008 9:44 PM, Karen Schaper <[EMA

Re: RadioChoice : default choice ?

2008-01-18 Thread Igor Vaynberg
On Jan 18, 2008 11:27 AM, scottomni <[EMAIL PROTECTED]> wrote: > OK. I have the following line in a Wicket Panel, which adds a RadioChoice > to a Form. Is it not possible to modify my line of code to 'include' a > default selection? > > - > add(sexRadio

Re: JBoss Wasp/Swarm http 302

2008-01-19 Thread Igor Vaynberg
wicket uses the redirect-after-post pattern. so after the form is submitted you get a redirect to a view page. -igor On Jan 19, 2008 4:39 PM, i ii <[EMAIL PROTECTED]> wrote: > > I'm using wicket 1.3 with jboss 4 and am trying to use a login page, but when > i login i get a http 302. Any ideas w

Re: create new model object of a Form from one of its FormComp values??

2008-01-20 Thread Igor Vaynberg
personally i would map the form to a bean, and then in onsubmit() transfer those properties to an instance of your domain object. -igor On Jan 20, 2008 7:54 AM, infodoc <[EMAIL PROTECTED]> wrote: > > Hello All, > > Have tried to search for this in the forums, but am not having much success > due

Re: Required tag types?

2008-01-20 Thread Igor Vaynberg
instead of using fragments you can use panels, which would make the editors reusable across projects/pages. as far as "why" the checks are there... add(new TextField("foo")); will end up with <== not a very useful textbox wicket does not mutate markup by default, so it will not mutate div ta

Re: We are adopting Wicket in our Organization

2008-01-20 Thread Igor Vaynberg
it would be great if we could see the whitepaper :) -igor On Jan 20, 2008 3:58 PM, robert.mcguinness <[EMAIL PROTECTED]> wrote: > > As I've stated before in a previous post, I work a for a company that > develops software for the health care industry. It was a battle between > JSF/Seam and Wick

Re: Required tag types?

2008-01-20 Thread Igor Vaynberg
uld > the markup for those Panels come from? Would I have to write my own > Panel extension classes that have the different editor types in them > (TextEditorPanel, BooleanEditorPanel, etc.)? > > > > > On 1/20/08, Igor Vaynberg <[EMAIL PROTECTED]> wrote: >

Re: Different views in wicket

2008-01-21 Thread Igor Vaynberg
wicket tries to load localized files first. so if you have MyPage.class and you are in german locale the loading order would be MyPage_DE_de.html MyPage_DE.html MyPage.html then there are also variations, if your page.getvariation() returns "foo" then the loading order is MyPage_foo_DE_de.html M

Re: create new model object of a Form from one of its FormComp values??

2008-01-21 Thread Igor Vaynberg
On Jan 20, 2008 8:14 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > personally i would map the form to a bean, and then in onsubmit() > > transfer those properties to an instance of your domain object. > > > > > Igor, could you please tell in short how is this bett

Re: Tip:ServletContext from WicketFilter

2008-01-21 Thread Igor Vaynberg
there is a webapplication.getservletcontext(). -igor On Jan 21, 2008 7:42 AM, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > Well, I have started migrating some code to 1.3, however i had some > STOP-AND-CONFIRM situation > > In 1.2.x > > ServletContext context = Application.getWicketServlet

Re: Override tag name in html fragment?

2008-01-21 Thread Igor Vaynberg
its not that simple input tag has no body why textarea does also input stores its value in the value attr, textarea does it in its body that is why we have two separate components for this. you can of course write your own that handles both cases properly... -igor On Jan 21, 2008 7:03 AM

Re: create new model object of a Form from one of its FormComp values??

2008-01-21 Thread Igor Vaynberg
yep, that will work. -igor On Jan 21, 2008 11:17 AM, infodoc <[EMAIL PROTECTED]> wrote: > > Thanks to everyone for their comments > > Igor, > > Assuming I use a bean, could you please give me a bit more detail on your > suggestion? > I want the model object of the editor Form to be the newl

Re: create new model object of a Form from one of its FormComp values??

2008-01-21 Thread Igor Vaynberg
its simply easier to say: bean.getdate() if you are using a bean, or just date if you are binding to a property on the form subclass vs (Date)textbox.getModelObject(); which requires you to keep a reference to the textbox component anyways. -igor On Jan 21, 2008 11:42 AM, Sergey Podatelev <[EM

Re: bookmarkable link keep recreate the objects.

2008-01-21 Thread Igor Vaynberg
On Jan 21, 2008 4:31 PM, <[EMAIL PROTECTED]> wrote: > Thanks. I looked that source of the staticpages examples and even more > troubled with it. It generates each static links via a costly > markup object creation and attribute modification. > In a base template page that may contain,say 50 such

Re: bookmarkable link keep recreate the objects.

2008-01-21 Thread Igor Vaynberg
you are free to write your own coding strategy that checks for existence of these pages in session before creating a new instance. -igor On Jan 21, 2008 6:01 PM, <[EMAIL PROTECTED]> wrote: > > Would it be possible to turn a bookmarkale/stateless page object > > into a stateful page during a ses

Re: bookmarkable link keep recreate the objects.

2008-01-21 Thread Igor Vaynberg
wicket is doing exactly what you told it to do you call final Object record = listItem.getModelObject(); 1000 times which in turns calls listviewmodel.getobject().get(index); where index varies from 1 to 1000 listviewmodel is PropertyModel(this, "records") so when its getobject() is called (1000

Re: bookmarkable link keep recreate the objects.

2008-01-21 Thread Igor Vaynberg
if i read your code correctly you provided the listview with a reference to a model, not a list... -igor On Jan 21, 2008 7:43 PM, <[EMAIL PROTECTED]> wrote: > Thanks for the tip. It worked perfectly. > I do feel this could be a minor bug even for a fixed list > (might not be noticeable visually

Re: someone please restart tomcat

2008-01-22 Thread igor . vaynberg
cause that example need new classes loaded and its out of permgen? -igor On 1/22/08, Johan Compagner <[EMAIL PROTECTED]> wrote: > thats odd > the server works just fine except that forminput example > > johan > > > > On Jan 22, 2008 12:05 PM, Marcio Barbosa <[EMAIL PROTECTED]> > wrote: > > > htt

Re: Override tag name in html fragment?

2008-01-22 Thread Igor Vaynberg
oncomponenttag() is fine for extension, thats what it is there for. im sure if someone made a good usecase for opening up passwordtextbox or listchoice we would remove final. -igor On Jan 22, 2008 1:14 AM, Sam Hough <[EMAIL PROTECTED]> wrote: > > I was thinking more that I would just extend stan

Re: Reloading component on each request.

2008-01-22 Thread Igor Vaynberg
you can try using a repeater like a listview, and also make sure you are using detachable models. perhaps if you gave more description of what the component looks like/what it does and a screenshot that could help us help you more. -igor On Jan 22, 2008 3:51 AM, Ned Collyer <[EMAIL PROTECTED]> w

Re: Reloading component on each request.

2008-01-22 Thread Igor Vaynberg
something like this should work public class MyPanel extends Panel { public MyPanel() { } protected void onBeforeRender() { removeAll(); populatePanel(); super.onBeforeRender(); } protected populatePanel() { add(new label("foo")); } } that way

Re: bookmarkable link keep recreate the objects.

2008-01-22 Thread Igor Vaynberg
On Jan 22, 2008 7:09 PM, <[EMAIL PROTECTED]> wrote: > The point is the model should be first absorbed/consumed by listview, > and later provided to listitem. according to whom is this the point? -igor - To unsubscribe, e-mail:

Re: WicketNotSerializableException

2008-01-22 Thread Igor Vaynberg
see SpringWebApplcation, it has methods to create same proxies @SpringBean does. -igor On Jan 22, 2008 8:27 PM, Joshua Jackson <[EMAIL PROTECTED]> wrote: > Hi All, > > I have take a loot at this. But is there any solution to fix this > without using @SpringBean since I am still on JDK1.4. > > Th

Re: FileUploadField problem

2008-01-22 Thread Igor Vaynberg
seems to be working fine at http://wicketstuff.org/wicket13/upload/single -igor On Jan 22, 2008 10:40 AM, JulianS <[EMAIL PROTECTED]> wrote: > > We're having a strange problem with FileUploadField (using Wicket 1.3.0). If > the user enters a bogus string in the text part of the field, the form w

Re: WicketNotSerializableException

2008-01-22 Thread Igor Vaynberg
<[EMAIL PROTECTED]> wrote: > Looks like that this problem is viral. How do I work with objects that > is not Serializable while on the other hand wicket want it to be > Serializable? > > On Jan 23, 2008 11:31 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > see Sprin

Re: Reusable component and customization

2008-01-22 Thread Igor Vaynberg
whats wrong with subclassing and providing your own markup? -igor On Jan 22, 2008 11:22 PM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > Hi, > > I just build a simple reusable shoppingcart component with a reasonable > default CSS style. The markup, css and images are all packaged resources. > >

Re: Reusable component and customization

2008-01-22 Thread Igor Vaynberg
nimum. > > 2008/1/23, Igor Vaynberg <[EMAIL PROTECTED]>: > > > > > whats wrong with subclassing and providing your own markup? > > > > -igor > > > > On Jan 22, 2008 11:22 PM, Martijn Lindhout <[EMAIL PROTECTED]> > > wrote: > > >

Re: Reusable component and customization

2008-01-22 Thread Igor Vaynberg
d to open the jar, pick the right markup file, copy it, changes css > attributes, etc. That's not what I expect from component reuse, right? Or do > I miss something? > > > > > 2008/1/23, Igor Vaynberg <[EMAIL PROTECTED]>: > > > > what internals do

Re: Reusable component and customization

2008-01-23 Thread Igor Vaynberg
heh, if its just a css reference then why have your component include a default one at all? let the user style it however they like by including their own css files. -igor On Jan 23, 2008 1:33 AM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > that makes sense. > > 2008/1/23, Eelco Hillenius <[EM

Re: FileUploadField problem

2008-01-23 Thread Igor Vaynberg
looks like IE doesnt let you submit the form if a bogus file location is entered. not sure this is wicket specific... -igor On Jan 23, 2008 9:51 AM, JulianS <[EMAIL PROTECTED]> wrote: > > Igor, > > We see the same problem for the URL below on IE 6 and 7. It works fine in > FF. > > Thanks, > Juli

Re: Confused with IDataProvider

2008-01-23 Thread Igor Vaynberg
1) when the page is opened the second time there will not be N selects, next time please confirm that it is indeed the case before posting to this list. it is not the case because when the page is opened the second time the items in dataview are discarded and recreated in the exact same manner as w

Re: Helloworld Application cant be started

2008-01-23 Thread Igor Vaynberg
and where is the error stack trace that tells you why it has failed? -igor On Jan 23, 2008 3:59 AM, James Carman <[EMAIL PROTECTED]> wrote: > What version of Tomcat are you running? > > > On 1/23/08, gbak1 <[EMAIL PROTECTED]> wrote: > > > > > > Im a newbie and am having problems with the hellowo

Re: db transaction boundry

2008-01-23 Thread Igor Vaynberg
On Jan 23, 2008 6:38 AM, Sam Hough <[EMAIL PROTECTED]> wrote: > > Where is the typical place to put the transaction boundry in a wicket app? wherever youd like, wicket apps are no different then other webapps in this regard > If I put it right at the front (servlet filter) then my pure UI compone

Re: Reusable component and customization

2008-01-23 Thread Igor Vaynberg
definitions that are in your shopping cart to that one css file -igor On Jan 23, 2008 10:56 AM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > how do I reference such a CSS? > > 2008/1/23, Igor Vaynberg <[EMAIL PROTECTED]>: > > > > > heh, if its just a css re

Re: Wicket adding .. to javascript link

2008-01-23 Thread Igor Vaynberg
is scripts/jQuery-1.2.2.min.js under context root? what url do you hit to get ..? homepage? -igor On Jan 23, 2008 11:05 AM, Damian Penney <[EMAIL PROTECTED]> wrote: > > In my html I have > > ref="scripts/jquery-1.2.2.min.js"/> > > but Wicket is changing it to > > href="../scripts/jq

Re: Wicket adding .. to javascript link

2008-01-23 Thread Igor Vaynberg
sounds like a bug, please add a jira report with a quickstart -igor On Jan 23, 2008 11:16 AM, Damian Penney <[EMAIL PROTECTED]> wrote: > And yes, this is on the homepage http://localhost:8080/wicket/ > > > Igor Vaynberg wrote: > > is scripts/jQuery-1.2.2.min.js under co

Re: listView sorting question

2008-01-23 Thread Igor Vaynberg
there are sortable grids examples in wicket-examples under repeaters. wicketstuff.org/wicket13/repeater -igor On Jan 23, 2008 1:35 PM, Beyonder Unknown <[EMAIL PROTECTED]> wrote: > > Hi All, > > I was wondering if there's a better way to sort a list view. The use case is > that, I have a page

Re: Confused with IDataProvider

2008-01-23 Thread Igor Vaynberg
On Jan 23, 2008 6:32 PM, mfs <[EMAIL PROTECTED]> wrote: > > Wouldn't the former approach have more overahead since it would first load > the Contact (when the getmodelobject() is called) and than the deletion > operation.. > > The later one atleast just does the deletion in one call though based on

Re: db transaction boundry

2008-01-23 Thread Igor Vaynberg
On Jan 23, 2008 5:03 PM, Sam Hough <[EMAIL PROTECTED]> wrote: > > Thanks Igor, > > >> Where is the typical place to put the transaction boundry in a wicket > >> app? > >wherever youd like, wicket apps are no different then other webapps in > >this regard > Isn't Wicket a bit different in that it ha

Re: wicket maven archettype, SPRING-HIBERNATE-JPA?

2008-01-23 Thread Igor Vaynberg
see source to our quickstart archetype, its in our svn under wicket-archetypes/quickstart -igor On Jan 23, 2008 11:34 PM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > You could'nt provide the base structure, just so I have a starting point > on this..? Havent build a archety

Re: binding form to object without default constructor

2008-01-24 Thread Igor Vaynberg
create a bean to represent the form, then in form's onsubmit create the object and populate it from the bean -igor On Jan 24, 2008 8:35 AM, Brad Fritz <[EMAIL PROTECTED]> wrote: > > Greetings, > > I am new to Wicket and having some trouble binding a Wicket Form > component to an object that does

Re: mounting large number of url

2008-01-24 Thread Igor Vaynberg
see PackageRequestTargetUrlCodingStrategy -igor On Jan 24, 2008 10:02 AM, mfs <[EMAIL PROTECTED]> wrote: > > So basically we would need to mount each page seperately with a url for it ? > Is there a mechanism with which one can mount a bunch of pages at the same > time, where lets say the page-n

Re: Helloworld Application cant be started

2008-01-24 Thread Igor Vaynberg
remove wicket-velocity.jar from the classpath -igor On Jan 24, 2008 11:40 AM, gbak1 <[EMAIL PROTECTED]> wrote: > > As I mentioned before I have added a jode.jar, slfXXXapi.jar and > slfXXXsimple.jar. However the application still fails to start and I am now > getting the following error message

Re: Helloworld Application cant be started

2008-01-24 Thread Igor Vaynberg
wow, all this work...when all you had to do was run mvn war inside the package folder... -igor On Jan 24, 2008 12:30 PM, gbak1 <[EMAIL PROTECTED]> wrote: > > I found the required velocity jar file at http://velocity.apache.org website > and have included it in my libs dir. > Tomcat now deploys a

Re: Confused with IDataProvider

2008-01-24 Thread Igor Vaynberg
if you disable cookies it will be appended to every url. if you use cookies after the first request jsessionid migrates from urls to a cookie - so you see it on the first request of a new session, and never again for the duration of that session. -igor On Jan 24, 2008 1:10 PM, mfs <[EMAIL PROTE

Re: mounting large number of url

2008-01-24 Thread Igor Vaynberg
why post the same question in two threads? its a lttle obnoxious -igor On Jan 24, 2008 1:15 PM, mfs <[EMAIL PROTECTED]> wrote: > > Thanks igor.. > > Just one more thing which i just noticed..not sure if it has got to with the > mounting of urls...so in certain instances i seet he jsession="[

Re: information on getting browser info

2008-01-24 Thread Igor Vaynberg
getApplication().getRequestCycleSettings().setGatherExtendedBrowserInfo(true) otherwise only http headers are used... -igor On Jan 24, 2008 2:48 PM, Kirk Israel <[EMAIL PROTECTED]> wrote: > We've decided only to not support IE 6 or below. (Support only for IE7 > and Firefox 2 - I'm not crazy ab

Re: NavigatorLabel resourceKey question

2008-01-24 Thread Igor Vaynberg
currently it is not possible. feel free to add an rfe. you can also roll your own, it is a trivial class... -igor On Jan 24, 2008 3:18 PM, Alex Greif <[EMAIL PROTECTED]> wrote: > Hi, > > I want to display two DataTables on the same page with their own > NavigatorLabel.But in the constructor of th

Re: create new model object of a Form from one of its FormComp values??

2008-01-25 Thread Igor Vaynberg
if account doesnt have these setters then how do you expect the form to mutate the object? -igor On Jan 25, 2008 3:03 PM, infodoc <[EMAIL PROTECTED]> wrote: > > [offline conversation returned to thread] > > Igor, > > I understand about using the AccountBean. That is not where the problem > lies

Re: Model for previous pages

2008-01-25 Thread Igor Vaynberg
string url=urlfor(getpage()); url=requestutils.toabsolutepath(url); pass url onto paypal to use as the return url and you will come back to the exact same page... -igor On Jan 25, 2008 5:13 AM, Daniel Frisk <[EMAIL PROTECTED]> wrote: > We have a use case in our system where users are redirected

Re: Any Example or doucument of Rich Edit, such as YUI,FCK

2008-01-25 Thread Igor Vaynberg
there is wicket-contrib-tinymce in wicketstuff -igor On Jan 25, 2008 1:59 AM, Mead <[EMAIL PROTECTED]> wrote: > Hello All, > Any Example or doucument of Rich Edit, such as YUI,FCK > How to integration with wicket? > There is so little doc about that's > thanks to provide help > > Best regards,

Re: About NiceUrl(s)/Mounting ?

2008-01-25 Thread Igor Vaynberg
you cant. the whole point of a bookmarkable page is that it can be created without state (default constructor) or only from state encoded in the url (page params constructor). that is what makes bookmarkable urls possible. -igor On Jan 25, 2008 2:34 PM, mfs <[EMAIL PROTECTED]> wrote: > > So may

Re: tracking upload with wicket

2008-01-26 Thread Igor Vaynberg
http://wicketstuff.org/wicket13/upload/single see that example for a monitored upload. now this upload reports to the user, but you can use the same mechanism to report the progress to somewhere where you can track it. -igor On Jan 26, 2008 6:06 PM, Gareth Segree <[EMAIL PROTECTED]> wrote: > I

Re: client side validation

2008-01-27 Thread Igor Vaynberg
also -1. it is trivial to do it yourself automatically like you said in your blog. there are plenty of usecases that wont work out of the box. take a common usecase where the label turns red if the field is in error, how do you do that out of the box? -igor On Jan 27, 2008 8:39 AM, Ryan Sonnek <

Re: client side validation

2008-01-27 Thread Igor Vaynberg
a good default. imho the best default still remains the one that adds no additional functionality that wasnt explicitly asked for. -igor On Jan 27, 2008 10:09 AM, Ryan Sonnek <[EMAIL PROTECTED]> wrote: > On Jan 27, 2008 12:04 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: >

Re: Label is driving me a *little* crazy

2008-01-27 Thread Igor Vaynberg
why does it work for everyone else and not you? could you paste the entire stack trace? -igor On Jan 27, 2008 5:31 AM, Andy Czerwonka <[EMAIL PROTECTED]> wrote: > Did something change in 1.3? > > http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.compr

Re: client side validation

2008-01-27 Thread Igor Vaynberg
On Jan 27, 2008 10:35 AM, Ryan Sonnek <[EMAIL PROTECTED]> wrote: > On Jan 27, 2008 12:20 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > but then my app wont work. i add my own ajax behavior that knows how > > to do all this... so i would have to override some method

Re: client side validation

2008-01-27 Thread Igor Vaynberg
how would specific components opt out? if i have a textarea i am going to add tinymce behavior to, i dont want it to be validated via ajax. i often have validators that hit the database to check for uniquness, etc. since every time i press a key the entire form is reprocessed, it will add quiet a

Re: client side validation

2008-01-27 Thread Igor Vaynberg
mixing validators and behaviors has been on our todo list for a while, but we couldnt do it cleanly in 1.3 because it would mean an api break. we will do it for 1.4 as far as getting the name of formcomponent, that is already possible through ibehavior.bind(component) -igor On Jan 27, 2008 12:

Re: Controlling render for DropDownChoice

2008-01-27 Thread Igor Vaynberg
see Select, SelectOption, SelectOptions in wicket-extensions. that should give you complete control over the markup. -igor On Jan 25, 2008 4:47 PM, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Is there anyway to control the rendering of a dropdownchoice? > I don't mean implementing IChoice

Re: Filter data with wicket

2008-01-27 Thread Igor Vaynberg
suppose you have a single text keyword box: class searchpage extends webpage { private String keywords; public searchpage() { Form form=new Form("form"); form.add(new TextBox("keywords", new PropertyModel(this, "keywords"))); add(new DataView("results", new MyDataProvider()) {

Re: Re: Any Example or doucument of Rich Edit, such as YUI,FCK

2008-01-27 Thread Igor Vaynberg
after you check out the source run mvn install - that will fetch the necessary jars. -igor On Jan 27, 2008 5:44 PM, Mead <[EMAIL PROTECTED]> wrote: > Hello Igor Vaynberg, >I have check the code from wicket stuff's svn > (https://wicket-stuff.svn.sourceforge.net/svnroo

Re: Dynamic DataTable columns

2008-01-28 Thread Igor Vaynberg
are you sure that will help 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 rele

Re: Dynamic DataTable columns

2008-01-28 Thread Igor Vaynberg
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 On Jan 28, 2008 11:01 AM, UPBrandon <[EMAIL PROTECTED]> wrote: > > I was wondering if there is any way to change the columns of a DataTable once > it has been declared. On m

Re: Pagemap null is still locked by blah exception, help!! why does wicket have to lock the pagemap

2008-01-28 Thread Igor Vaynberg
. > > > On Jan 28, 2008 11:57 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > maybe instead of waiting on the page to finish we should have an > > option to kill it, rollback, and start again with the new request? > > with the diskstore we have the old version se

<    3   4   5   6   7   8   9   10   11   12   >