Setting up ComponentTags for user submitted youtube links

2007-09-30 Thread Ballist1c
Hey guys, Right now I am attempting to setup a mechanism which allows users to submit there own youtube video links and getting them to display in an embedded fashion. e.g. (ignore the dashes in HTML) http://www.youtube.com/v/Z3ClCwcCvdQ";> http://www.youtube.com/v/Z3ClCwcCvdQ"; type=

Re: How do I force evaluate in a Wizard steps condition to run?

2007-09-30 Thread Kent Tong
lizz wrote: > > A parameter in my wizard step decides whether the next step is valid or > not. > The end user can change this parameter and I therefore need to be able to > reevaluate the next wizard steps when this is changed. I use ICondition > and I guess there is a way for me to force the e

Re: How do I change the label/text for the wizard buttons?

2007-09-30 Thread Kent Tong
lizz wrote: > > How do I change the label on the previous, next and finish buttons in the > wizard? > I would like to change the label of the FinishButton to "save". > In your .properties file, add: org.apache.wicket.extensions.wizard.next=Proceed org.apache.wicket.extensions.wizard.previous

Re: Help - Best Practice - Mapping Database Constraint Violation to User Interface

2007-09-30 Thread Ryan Sonnek
Just to follow up about wicket-hibernate integration... It's a library that automatically adds wicket validation based upon your hibernate/JPA annotations. So, if you have a property marked as not-null or max-length of 10, wicket will automatically add client side validation and pretty error mess

How do I force evaluate in a Wizard steps condition to run?

2007-09-30 Thread lizz
A parameter in my wizard step decides whether the next step is valid or not. The end user can change this parameter and I therefore need to be able to reevaluate the next wizard steps when this is changed. I use ICondition and I guess there is a way for me to force the evaluate method to be called

Re: Where is the 1.0.3-beta-3 tag ?

2007-09-30 Thread Igor Vaynberg
https://svn.apache.org/repos/asf/wicket/tags/wicket-1.3.0-beta3/ https://svn.apache.org/repos/asf/wicket/releases/wicket-1.3.0-beta3/ -igor On 9/30/07, Raphaël Piéroni <[EMAIL PROTECTED]> wrote: > > Hi guys, > > While trying checkout from the subversion, > i can't find the latest tag. the apach

Where is the 1.0.3-beta-3 tag ?

2007-09-30 Thread Raphaël Piéroni
Hi guys, While trying checkout from the subversion, i can't find the latest tag. the apache site seems to know it because it is available for download, but i can't find from svn. I ask this because, the trunk example (spring+hibernate) use a constructor in ToolbarFilter with 3 arguments and it se

Re: Wicket examples deploy correctly but don't run on tomcat

2007-09-30 Thread Igor Vaynberg
check your server log for errors -igor On 9/30/07, vemu <[EMAIL PROTECTED]> wrote: > > > Hi, > I have downloaded wicket , and trying to deploy and see the examples > working > on "localhost" > I have been able to successfully deploy (on Tomcat) > "wicket-examples-1.3.0-beta3.war" that is in the

Wicket examples deploy correctly but don't run on tomcat

2007-09-30 Thread vemu
Hi, I have downloaded wicket , and trying to deploy and see the examples working on "localhost" I have been able to successfully deploy (on Tomcat) "wicket-examples-1.3.0-beta3.war" that is in the \lib directory of the Wicket distribution. But when I point to the "helloworld" link, I get "Resourc

Re: Stateless form submission

2007-09-30 Thread Igor Vaynberg
yes, that is what stateless pages work. when you submit the whole page is recreated from scractch and the old state is applied. -igor On 9/30/07, shumbola <[EMAIL PROTECTED]> wrote: > > > I've got a class Register mounted at /app/register and a class > RegisterForm > extended from StatelessForm.

Wicket menu with submenu "dialog window"

2007-09-30 Thread lizz
Has anyone made a menu (with menu items and submenus) in wicket? I would like a menu that looks more or less like the Swing JMenu. I saw a reference to http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-extensions-menubar/ but didn’t find that project. I need a menu that co

How do I change the label/text for the wizard buttons?

2007-09-30 Thread lizz
How do I change the label on the previous, next and finish buttons in the wizard? I would like to change the label of the FinishButton to "save". -- View this message in context: http://www.nabble.com/How-do-I-change-the-label-text-for-the-wizard-buttons--tf4543907.html#a12967106 Sent from th

Re: substitute same value in several places

2007-09-30 Thread Johan Compagner
ahh that was it, i know we did change something for that.. but no laptop just my phone for reading though gmail.. On 9/30/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > You don't need BoundCompoundPropertyModel for this anymore. In fact, > we should deprecate it if we already didn't. CompoundPropert

Re: Reach into a component to change XML attribute

2007-09-30 Thread Sam Hough
Also didn't know about isTemporary. Looks very nice and simple. Guess I need to test what isTemporary does if a subsequent Ajax request asks for a single child to be rendered, I don't think RepeatingViews are eligible for an AjaxTarget. Many thanks Kent. Looks lovely shiny code. Kent Tong wrot

Re: Reach into a component to change XML attribute

2007-09-30 Thread Kent Tong
Sam Hough wrote: > > Your still breaking my requirement that this behaviour is encapsulated > within MyFancyRepeatingView ;) I really do appreciate all your code and I > think I'm learning a lot even if I sound horribly ungrateful. I'm warming > to every child component having a special behaviou

Stateless form submission

2007-09-30 Thread shumbola
I've got a class Register mounted at /app/register and a class RegisterForm extended from StatelessForm. I put on this form two input fields, and a captcha from extensions. If I submit then it calls constructor of Register class before onSubmit of RegisterForm. Is that a normal behaviour? If I cha

Re: Reach into a component to change XML attribute

2007-09-30 Thread Sam Hough
Ooh. I've not seen the trick of passing int[] to make it pass by reference semantics! Not that I've got hero worship or anything now but why visit children rather than Component.iterator? Your still breaking my requirement that this behaviour is encapsulated within MyFancyRepeatingView ;) I rea

Re: substitute same value in several places

2007-09-30 Thread Matej Knopp
You don't need BoundCompoundPropertyModel for this anymore. In fact, we should deprecate it if we already didn't. CompoundPropertyModel can do this too (in 1.3). -Matej On 9/30/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > look at BoundedCompoundPropertyModel (i could type the name a bit > wro

Re: Presented Wicket to my Company...

2007-09-30 Thread Johan Compagner
nicely said! could be adde to our webpage/wiki! On 9/29/07, Ryan Holmes <[EMAIL PROTECTED]> wrote: > Arguments that should get some traction with managers: > > - Wicket is more productive than JSF. The simple creation of custom > components, lack of XML configuration and tight Ajax integration mea

Wicket-Presentation / JUG-HH

2007-09-30 Thread Jan Kriesten
Hi, date, time and location for my presentation at the the Java User Group Hamburg is now available: http://blog.jughh.org/?cat=13 If you should be around in Hamburg on october, 17th and you understand some german you're welcome to attend. :-) Best regards, --- Jan.

Re: Reach into a component to change XML attribute

2007-09-30 Thread Johan Compagner
why wouldnt that behavior work? the newValue call is only being called when rendered. so it ha a parent. Besides that what does overide add/remove gain you? you then want to check there if it is the first an last? Depending on the reuse of components (items) and if the data (list) can change this c

Re: substitute same value in several places

2007-09-30 Thread Johan Compagner
look at BoundedCompoundPropertyModel (i could type the name a bit wrong, cant check at this time) With that you can do something like: label1.setmodel(bcpm.bind('key') and do the samething for label2 On 9/27/07, Peter Dotchev <[EMAIL PROTECTED]> wrote: > > Hi, > > I'd like to use the same value in

Re: auto dirty and widget factory

2007-09-30 Thread Johan Compagner
i think thatwe will change the interface of the change tracker but we will keep it at some level for page versions (and abusing dirty() for that doesn't have my vote) But something like: Page.componentChanged(Component) looks nice to me and then auto dirty of components is also possible On 9/29/07