Re: [Wicket-user] Wicket and Flash not playing well together ?

2007-03-24 Thread Landry Soules
No ! There's really no place in my code where i even mention it ! It can 
only be referenced by the flash code.
The only thing is that the flash related stuff is in folder 
src/eu/kwark/main.
Is it possible that Wicket somehow interfere with flash calls ?

Matej Knopp a écrit :
 Unable to load class with name:
 eu.kwark.main.settings.xml ?

 It really looks like you're trying to reference packaged resource
 that's not there.

 -Matej

 On 3/23/07, Landry Soules [EMAIL PROTECTED] wrote:
   
 Hello !

 I'm working on a site that will integrate some cool flash multimedia stuff.
 My flash component actually consists in :
 one html page
 one swf script
 one mp3 file, contained in a Sound folder.
 one xml file (settings.xml)
 If i put all of these directly under webroot, it works great.

 But if i integrate the html in a Wicket page, only the static content of
 the flash app is displayed, and Wicket generates errors :

 2007-03-23 22:24:18,832 [http--Processor24] ERROR
 wicket.RequestCycle - Unable to load class with name:
 eu.kwark.main.settings.xml
 wicket.WicketRuntimeException: Unable to load class with name:
 eu.kwark.main.settings.xml
 at
 wicket.application.DefaultClassResolver.resolveClass(DefaultClassResolver.java:66)
 at
 wicket.request.target.coding.PackageRequestTargetUrlCodingStrategy.decode(PackageRequestTargetUrlCodingStrategy.java:82)
 at
 wicket.protocol.http.request.WebRequestCodingStrategy.targetForRequest(WebRequestCodingStrategy.java:331)
 at
 wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve(DefaultRequestTargetResolverStrategy.java:83)
 at
 wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:48)
 at wicket.RequestCycle.step(RequestCycle.java:992)
 at wicket.RequestCycle.steps(RequestCycle.java:1084)
 at wicket.RequestCycle.request(RequestCycle.java:454)
 at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:219)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 at
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
 at
 org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
 at
 org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
 at
 org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
 at
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
 at java.lang.Thread.run(Thread.java:595)

 (eu.kwark.main is the package where i stored all the flash related files)

 Can someone show me the way, please ?


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list

Re: [Wicket-user] Hibernate/Spring and Wicket architecture request for validation (was Wicket's questions)

2007-03-24 Thread ZedroS Schwart
Just a side question : when using a CompoundPropertyModel, is there a
way to dispose it later on the process or is it done automatically ?

For example, I use a Value Object (VO) to edit my user profile
(because there are some extra data to consider). Is this VO deleted
when the page onSubmit processing is done ?

In fact I've understood it's not deleted, but I'm kind of surprised
there is no way apart from the detachable model to deal with this kind
of issue.

Thanks in advance
ZedroS

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Flash not playing well together ?

2007-03-24 Thread Jean-Baptiste Quenot
* Landry Soules:

 No ! There's really no place in  my code where i even mention it
 ! It can  only be referenced by the flash  code.  The only thing
 is that the flash related  stuff is in folder src/eu/kwark/main.
 Is it possible that Wicket somehow interfere with flash calls ?

Exit  from your  « Flash tunnel  vision » and  start talking  HTTP
requests: the problem is not related to Flash, but related to what
HTTP requests  are made.   A network analyzer  tool will  help you
diagnose which HTTP  requests are made to your  server.  So please
be more specific and dump here  the list of the HTTP requests that
are made to your web application.

I don't think it's a good idea  to put your static files in a Java
package,  it's a  bit tricky  to properly  serve them  with Wicket
unless you  control exactly what  files are served and  how, which
doesn't seem to be the case.
-- 
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket-user Digest, Vol 10, Issue 213

2007-03-24 Thread tooy li(Gmail)
sorry, I cannot do it. it's a complicate table within some checkbox and input 
textfield.

Message: 7
Date: Sat, 24 Mar 2007 01:06:24 +0100
From: Matej Knopp [EMAIL PROTECTED]
Subject: Re: [Wicket-user] sos, ajax refresh chaos
To: wicket-user@lists.sourceforge.net
Message-ID:
 [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

can you provide a quickstart example that demonstrates this problem?

-Matej

On 3/24/07, tooy li(Gmail) [EMAIL PROTECTED] wrote:
 last time ,I mentioned the table cannot be update after the ajax modal window 
 closed.
 now it can work when i set the outputmarkid to true, but,... it's strange. it 
 will add the content of table
 at the top of original table 

 ps. the ajax don't refresh the main window every one, is there any one have 
 the same experience?


table 
   tr 
    it generate the update datatable content here after 
 close the modal window
   /tr
/table
 span  wicket:id=listContainer
table 
   tr wicket:id=dataList   here is my data table.
   /tr
/table
 /span
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




--

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

--

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


End of Wicket-user Digest, Vol 10, Issue 213

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Problem with ajax tree and listView

2007-03-24 Thread Isaac Weng
Sorry, I didn't write my sample codes clearly.

The problem happens in renderItem(). While expanding tree node,
ListItem in renderItem() becomes null, but the list values I get by
calling getList() are correct.

Also, I found it renders correctly if I use RepeatingView.


Isaac

Isaac Weng wrote:
 Sorry, don't know why my message didn't send, probably because gmail 
 and attachement.

 I've made a quick start files for the problem. The problem is
 If using a ListView to display the tree node value, after I collapse 
 the node,
 I can never expand it again, and the ListItem becomes null. No problem 
 with a Label.

 Could you give me some directions ? Thanks.


 Sincerely,
 Isaac


 Matej Knopp wrote:
 hi,

 this really is weird. Can you post a quick start project that
 demonstrates the behavior?

 -Matej

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Spring integration using AspectJ

2007-03-24 Thread Carlos Pita

Hi all,

as there is an open jira (
http://opensource.atlassian.com/projects/spring/browse/SPR-2484) for
pacthing @Configurable to support before-construction injection I decided to
wait for this fix instead of duplicating the provided aspects and
annotations just to change the advice type.

I have started a thread in the spring forums
http://forum.springframework.org/showthread.php?t=36577. Please if you are
interested make yourself heard posting in that thread, so the patch will be
commited sooner.

There is another guy who walked the same road a time before
http://forum.springframework.org/showthread.php?t=29763.

Cheers,
Carlos

On 3/23/07, Eelco Hillenius [EMAIL PROTECTED] wrote:


 Well, to be precise, there is this minor complication of redefining the
 advice to configure the bean before constructor execution. And you can
take
 advantage of spring-annotations to avoid cluttering your xml app context
 (that's if you are reluctant to autowiring). What I can do is to update
the
 example project so anyone who is interested could use it as reference.
And
 after that I will take a time to learn what wicket is about :).

That'll be nice, thanks for the effort.

Eelco

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Flash not playing well together ?

2007-03-24 Thread Johan Compagner

how is that html file targeted in the browser?
like a bookmarkable url or a mount?

If i have to guess what happens is that flash player looks at the current
url
strips something and then appens the settings call to it. In wicket it still
looks like a bookmarkable url
but now with a wrong param or something like that

So checkout what exactly the url looks like that did go wrong.

johan


On 3/23/07, Landry Soules [EMAIL PROTECTED] wrote:


Hello !

I'm working on a site that will integrate some cool flash multimedia
stuff.
My flash component actually consists in :
one html page
one swf script
one mp3 file, contained in a Sound folder.
one xml file (settings.xml)
If i put all of these directly under webroot, it works great.

But if i integrate the html in a Wicket page, only the static content of
the flash app is displayed, and Wicket generates errors :

2007-03-23 22:24:18,832 [http--Processor24] ERROR
wicket.RequestCycle - Unable to load class with name:
eu.kwark.main.settings.xml
wicket.WicketRuntimeException: Unable to load class with name:
eu.kwark.main.settings.xml
at
wicket.application.DefaultClassResolver.resolveClass(
DefaultClassResolver.java:66)
at
wicket.request.target.coding.PackageRequestTargetUrlCodingStrategy.decode(
PackageRequestTargetUrlCodingStrategy.java:82)
at
wicket.protocol.http.request.WebRequestCodingStrategy.targetForRequest(
WebRequestCodingStrategy.java:331)
at
wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve(
DefaultRequestTargetResolverStrategy.java:83)
at
wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(
AbstractCompoundRequestCycleProcessor.java:48)
at wicket.RequestCycle.step(RequestCycle.java:992)
at wicket.RequestCycle.steps(RequestCycle.java:1084)
at wicket.RequestCycle.request(RequestCycle.java:454)
at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:219)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at

org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

(eu.kwark.main is the package where i stored all the flash related files)

Can someone show me the way, please ?


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Hibernate/Spring and Wicket architecture request for validation (was Wicket's questions)

2007-03-24 Thread Eelco Hillenius
 Just a side question : when using a CompoundPropertyModel, is there a
 way to dispose it later on the process or is it done automatically ?

It seems that in the current implementation you could call
setObject(null). Better is to provide a model as the target; for this
model you can implement any attach/ detach behavior you want.

 For example, I use a Value Object (VO) to edit my user profile
 (because there are some extra data to consider). Is this VO deleted
 when the page onSubmit processing is done ?

 In fact I've understood it's not deleted, but I'm kind of surprised
 there is no way apart from the detachable model to deal with this kind
 of issue.

You could by setObject(null). Or by providing a model that does that
as the target.

Eelco

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] hey, I was uisng that target model

2007-03-24 Thread Eelco Hillenius
What are we going to do with this?

In my opinion these things should be fixed in CompoundPropertyModel:

* Use consistent naming. Currently, the field is called target, but
the the constructor argument is called model. We need to find the best
name and use this throughout the class.
* Once we decide on the field name, we should expose a getter and
setter for that field.
* I think the current setObject implementation is wrong. It should
either be like getObject, thus:
  if (target instanceof IModel) {
((IModel)target).setObject(object);
  } else {
this.target = object; // yes, naming should change
  }
  or we should make this a read-only model.

WDYT?

Eelco

 Yes, that's it.

 Johan Compagner wrote:
  ahh wait i see that the getObject does  a recursive call if it is a model
  So you want the internal model instead of the real model object ?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Flash not playing well together ?

2007-03-24 Thread Landry Soules
Thanks a lot for your answers, guys.
Johan, you were right : i removed the WebApplication.mount() for my 
page, and everything is all right now! Thanks to your help, i won't even 
have to use Wireshark  ;-)

Johan Compagner a écrit :
 how is that html file targeted in the browser?
 like a bookmarkable url or a mount?

 If i have to guess what happens is that flash player looks at the 
 current url
 strips something and then appens the settings call to it. In wicket it 
 still looks like a bookmarkable url
 but now with a wrong param or something like that

 So checkout what exactly the url looks like that did go wrong.

 johan


 On 3/23/07, *Landry Soules * [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Hello !

 I'm working on a site that will integrate some cool flash
 multimedia stuff.
 My flash component actually consists in :
 one html page
 one swf script
 one mp3 file, contained in a Sound folder.
 one xml file (settings.xml)
 If i put all of these directly under webroot, it works great.

 But if i integrate the html in a Wicket page, only the static
 content of
 the flash app is displayed, and Wicket generates errors :

 2007-03-23 22:24:18,832 [http--Processor24] ERROR
 wicket.RequestCycle - Unable to load class with name:
 eu.kwark.main.settings.xml
 wicket.WicketRuntimeException: Unable to load class with name:
 eu.kwark.main.settings.xml
 at
 
 wicket.application.DefaultClassResolver.resolveClass(DefaultClassResolver.java:66)
 at
 
 wicket.request.target.coding.PackageRequestTargetUrlCodingStrategy.decode(PackageRequestTargetUrlCodingStrategy.java
 :82)
 at
 
 wicket.protocol.http.request.WebRequestCodingStrategy.targetForRequest(WebRequestCodingStrategy.java:331)
 at
 
 wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve(DefaultRequestTargetResolverStrategy.java
 :83)
 at
 
 wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:48)
 at wicket.RequestCycle.step(RequestCycle.java:992)
 at wicket.RequestCycle.steps (RequestCycle.java:1084)
 at wicket.RequestCycle.request(RequestCycle.java:454)
 at
 wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:219)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java :740)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter
 (ApplicationFilterChain.java:173)
 at
 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at
 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java
 :178)
 at
 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 at
 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 at
 org.apache.catalina.core.StandardEngineValve.invoke
 (StandardEngineValve.java:107)
 at
 
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 at
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
 at
 
 org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
 at
 
 org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
 at
 
 org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
 at
 
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
 at java.lang.Thread.run (Thread.java:595)

 (eu.kwark.main is the package where i stored all the flash related
 files)

 Can someone show me the way, please ?


 -

 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to
 share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 mailto:Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 https://lists.sourceforge.net/lists/listinfo/wicket-user


 

 -
 Take Surveys. Earn 

Re: [Wicket-user] Wicket and Error messages

2007-03-24 Thread Ryan Holmes
Read this: http://cwiki.apache.org/WICKET/form-validation-messages.html

and the AbstractFormValidator javadoc to get a good overview of  
custom validation messages.

And think about using form-level validators for multi-field  
validation...

-Ryan

On Mar 22, 2007, at 7:07 AM, [EMAIL PROTECTED] wrote:


 Hello Guys,
 We have the following problem: based on client requirements we have to
 break the ssn fields into 3 separate text fields. But even if all 3  
 of them
 are incorrect we should see just one error message and to have all  
 3 of
 them highlighted, since for a client logically it is one field. How  
 can we
 do it using wicket. What we have seen until now, was that for every  
 field
 that failed  validation there was an error message appearing. In  
 our case
 while we have to highlight a group of fields, we also have to show  
 only one
 error message for the group.

 The other question is how do we make the error messages dynamic.. For
 example I have 2 address components on the page and both of the  
 components
 have address 1 and address 2 fields. Still one address shows the  
 address of
 the person, while the other address shows the address of the person's
 child. When I have the error message I would have liked to see  
 something
 like Member address 1 us missing, not just address 1 is  
 missing. In
 other words my messages need to be parameterized based not only on the
 field name, but also on some property that is stored in Model for  
 the panel
 that holds other elements.


 Thank you
 Gennadiy

 -- 
 ---
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to  
 share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php? 
 page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] DropDown comes on top of ModalWindow

2007-03-24 Thread Matej Knopp
Okay. I've fixed that for wicket 1.x. Can you check if it works? Also
ModalWindow.close() is no longer static. 1.2 and trunk are not fixed
and i probably won't be.

-Matej

On 3/23/07, vsubedar [EMAIL PROTECTED] wrote:
  When using panels or pages, in a Modal dialog all the DropDownChoices
 shine through the dialog and places themselves on top of everything in
 IE.Problem arises when there is a modalWindow inside a modalWindow.
 
  View this message in context: DropDown comes on top of ModalWindow
  Sent from the Wicket - User mailing list archive at Nabble.com.

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] CheckGroup example

2007-03-24 Thread Jesse Barnum
I can't find an example of how to use CheckGroup. I don't know which  
HTML element to associate it with. I'm trying to do a list of items  
in a form, like this:

form action=# wicket:id=theForm
input type=checkbox wicket:id=removeItem 1/input
input type=checkbox wicket:id=removeItem 2/input
input type=checkbox wicket:id=removeItem 3/input

input type=submit value=remove items /
/form

The docs for CheckGroup tell me that I need to add it in the  
hierarchy above the Check items, but where would that be in this  
example?

--Jesse Barnum, President, 360Works
http://www.360works.com
(770) 234-9293



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] CheckGroup example

2007-03-24 Thread Igor Vaynberg

see component reference in wicket examples, as well as javadoc on
checkgroup.

-igor


On 3/24/07, Jesse Barnum [EMAIL PROTECTED] wrote:


I can't find an example of how to use CheckGroup. I don't know which
HTML element to associate it with. I'm trying to do a list of items
in a form, like this:

form action=# wicket:id=theForm
input type=checkbox wicket:id=removeItem 1/input
input type=checkbox wicket:id=removeItem 2/input
input type=checkbox wicket:id=removeItem 3/input

input type=submit value=remove items /
/form

The docs for CheckGroup tell me that I need to add it in the
hierarchy above the Check items, but where would that be in this
example?

--Jesse Barnum, President, 360Works
http://www.360works.com
(770) 234-9293



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] the modal window cannot work in ie fro wicket 2.0 snapshot

2007-03-24 Thread lihanrong
I had mentioned it a  week before, but it is still not fixed now. 
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] the modal window cannot work in ie fro wicket 2.0 snapshot

2007-03-24 Thread Igor Vaynberg

whats the error?

-igor

On 3/24/07, lihanrong [EMAIL PROTECTED] wrote:


I had mentioned it a  week before, but it is still not fixed now.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] the modal window cannot work in ie fro wicket 2.0 snapshot

2007-03-24 Thread Igor Vaynberg

and have you opened a jira issue?

-igor


On 3/24/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


whats the error?

-igor

On 3/24/07, lihanrong [EMAIL PROTECTED] wrote:

 I had mentioned it a  week before, but it is still not fixed now.

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net 's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys-and earn cash

 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user