Adding New Images to Tree Nodes

2007-08-06 Thread Sridhar.N

Hi, 

I am trying to add few icons/Images to an Tree Node, I tried using
addNewIcon() from DefaultAbstractTree but it adds the default folder-closed
and folder-open icons to the node. 

Thanks 
Sidds.

-- 
View this message in context: 
http://www.nabble.com/Adding-New-Images-to-Tree-Nodes-tf4222680.html#a12012176
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: DateField with a Calendar

2007-08-06 Thread Federico Fanton
On Fri, 3 Aug 2007 09:22:01 -0700
Igor Vaynberg [EMAIL PROTECTED] wrote:

 you cant use the compound property model then, you have to write your own
 model that will do the conversion

I ended up with a custom implementation of the AttachedCompoundPropertyModel.. 
Many thanks to all who answered :)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Is this even possible...?

2007-08-06 Thread James Crosthwaite

Thanks to everyone for their replies, they are most helpful. I knew you guys
would have the answer, guess i just couldn't see the wood for the trees!

If I have any more queries I'll be sure to post back, thanks again.

James 


igor.vaynberg wrote:
 
 this is pretty simple, but there are a few things to consider
 
 a) the obvious: create a form and put the pageable listview into it.
 instead
 of adding labels add textfields for each row.
 
 b) call setreuseitems(true) on the pageable listview
 
 c) override links in the navigator with submit links
 
 i think that should be it
 
 -igor
 
 
 On 8/3/07, James Crosthwaite [EMAIL PROTECTED] wrote:


 Hi all,

 I'm relatively new to Wicket and i have a query about creating an
 editable
 list. My query is simply, is it even possible?

 Basically i have a list of objects, currently displayed in a
 PageableListView, that i want the user to be able to edit. They should be
 able to edit any of the rows and then click a button to save all changes
 that they may have made to each row.

 I've tried using DataBinder which didn't help as i could only edit one
 object at a time, however i cannot now work out how to achieve this or
 even
 if it is possible!

 If anyone has any ideas that would get me started i would be most
 grateful!

 Many thanks in advance
 --
 View this message in context:
 http://www.nabble.com/Is-this-even-possible...--tf4213555.html#a11986760
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 

-- 
View this message in context: 
http://www.nabble.com/Is-this-even-possible...--tf4213555.html#a12012906
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Is this even possible...?

2007-08-06 Thread James Crosthwaite

Thanks Nathan, i'll check that out. Will give you a shout if i need a
Databinder Forums account.

Thanks again

James


n8han wrote:
 
 James Crosthwaite wrote:
 Basically i have a list of objects, currently displayed in a
 PageableListView, that i want the user to be able to edit.
 
 Oh and I should probably add that the example I pointed you to maps the 
 ListView to a list contained in an object by a compound property model, 
 but you probably want to use a query to get that list so it would be new 
 PropertyListView(compenent-id, new HibernateListModel(from 
 MyObject)) {...}
 
 AND if you want the changes to commit on submit and you don't have a 
 containing DataForm that is bound to an entity (as in this scenario I'd 
 guess), you can extend DataFormBase instead and let its onSubmit handler 
 do the txn commit. Let me know by email if you need a Databinder forums 
 account.
 
 Nathan
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Is-this-even-possible...--tf4213555.html#a12013385
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



wicket-spring Javadoc

2007-08-06 Thread pokkie


Could somebody please point me to the location of the javadoc/api for the
wicket.spring package?

-- pokkie
-- 
View this message in context: 
http://www.nabble.com/wicket-spring-Javadoc-tf4223609.html#a12014729
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: wicket-spring Javadoc

2007-08-06 Thread Evan Chooly

 Could somebody please point me to the location of the javadoc/api for the
 wicket.spring package?


http://wicketstuff.org/maven/repository/org/apache/wicket/wicket-spring/1.3.0-SNAPSHOT/wicket-spring-1.3.0-SNAPSHOT-javadoc.jar


DojoMenu, adding same to multiple components?

2007-08-06 Thread Kirk Israel
Looking at the DojoMenu and DojoContextualMenuBehavior javadoc and
experimenting with it; is there any way to get the same DojoMenu to
appear from multiple items? (Seems like not, the last one wins...but
we'd prefer not to load up the page with more javascript for each item
we'd like to do context menu operations on) If not, if you attach it
to a AjaxFallbackDefaultDataTable, is there a way to do different
things based on what row item it's connected to? And is there a better
place to ask questions like this?

Thanks!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Callbacks triggered by keyboard...

2007-08-06 Thread Patrick Angeles

Is this possible in Wicket, say for example, as a way to scroll down a
listing, or go left and right on a menu?

Thanks in advance...
-- 
View this message in context: 
http://www.nabble.com/Callbacks-triggered-by-keyboard...-tf4227815.html#a12027815
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Callbacks triggered by keyboard...

2007-08-06 Thread Igor Vaynberg
why would you want a serverside callback for this? you just need a
javascript handler.

-igor


On 8/6/07, Patrick Angeles [EMAIL PROTECTED] wrote:


 Is this possible in Wicket, say for example, as a way to scroll down a
 listing, or go left and right on a menu?

 Thanks in advance...
 --
 View this message in context:
 http://www.nabble.com/Callbacks-triggered-by-keyboard...-tf4227815.html#a12027815
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: NullPointerException when clicking on an expired wizard button

2007-08-06 Thread Eelco Hillenius
 I was running some random tests to try to see what kind of trouble a
 typical user of my app could cause.

 After completing a wizard, clicking the browser's back button, then
 clicking the previous button of the wizard, I get the error below.

 Is there a more graceful way to handle this rather than outputting an
 error like this?

 Why would this cause an internal error, rather than a session expired,
 and how can I avoid this?

Looks like a bug. Are you using 1.2.6?

Eelco

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: wicket error on websphere app server

2007-08-06 Thread Sean Sullivan
Are you using Websphere's parent first classloading mode  or parent-last
classloading?

What jars do you have in WEB-INF/lib?


On 8/5/07, junqing chen [EMAIL PROTECTED] wrote:

 I am using wicket 1.3 beta2 in myproject ,and the application server
 is  websphere 6.0.2. when I  config wicket in websphere using filter mode,
 cant't load  class org.apche.wicket.spring.SpringWebApplicationFactory
 [07-8-3 10:25:25:202 CST] 002a WicketFilter  W   try to use
 classloarder : [EMAIL PROTECTED]
 [07-8-3 10:25:25:623 CST] 002a WebAppE   SRVE0026E: [Servlet
 错误]-[Filter [STPMainApp]: could not be initialized]
 rg.apache.wicket.protocol.http.WebApplicationFactoryCreationException:
 Unable to create application factory of class
 org.apache.wicket.spring.SpringWebApplicationFactory
 Caused by: java.lang.ClassNotFoundException:
 org.apache.wicket.spring.SpringWebApplicationFactory
 at java.net.URLClassLoader.findClass(URLClassLoader.java(Compiled Code))
 at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:103)
 at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
 at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
 at org.apache.wicket.protocol.http.WicketFilter.getApplicationFactory(
 WicketFilter.java:580)
 ... 20 more
 in the wicketFilter  class , this code used to load  WebApplicationFactory
 :
  // Try to find the specified factory class
 final Class factoryClass = Thread.currentThread().getContextClassLoader()
  .loadClass(appFactoryClassName);
   // Instantiate the factory
 return (IWebApplicationFactory)factoryClass.newInstance();
 I add a  debug log , Thread.currentThread().getContextClassLoader(), the
 classLoader is
 [EMAIL PROTECTED]
 but , if  I change web.xml to use servlet model , 
 Thread.currentThread().getContextClassLoader()
 is
 [EMAIL PROTECTED], so ,it load the
 ApplicationFaceotyClass successed. that means , in servlet Model and Filter
 Model in Websphere , the app server using different class load. but , using
 Class.forName(...) , can load the class in both model .



 -
 抢注雅虎免费邮箱3.5G容量,20M附件!


Re: mountBookmarkablePage and missing parameters - exception thrown

2007-08-06 Thread Eelco Hillenius
On 8/5/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 mount with indexed url coding strategy if you dont mind users messing
 with your urls.

I think it's kind of annoying as well. Are we (Wicket devs) really
against supporting this, or don't we support it because the code gets
a bit hairy?

Eelco

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: NullPointerException when clicking on an expired wizard button

2007-08-06 Thread David Leangen
  After completing a wizard, clicking the browser's back button, then
  clicking the previous button of the wizard, I get the error below.

 Looks like a bug. Are you using 1.2.6?

Yes.

Unfortunately, I'm still stuck on 1.2.6+ for the foreseeable future...


Cheers,
Dave




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]