Re: London Wicket Event - 3rd June @ Google (2 years on)

2009-05-20 Thread Александър Шопов
Will the event be taped and made available onle?
Kind regards:
al_shopov


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Tools for Managing a Wicket Project

2009-05-20 Thread Swanthe Lindgren
We use Aptana plugin for eclipse as html editor. If you dont install the 
full suit its free.


//Swanthe

Eduardo Nunes wrote:

I have just one problem with eclipse, I can't use the HTML formatter,
that's very sucks. I tried tidy but it didn't work too. What do you
use guys to format html code?

On Mon, May 18, 2009 at 2:06 PM, Dane Laverty danelave...@gmail.com wrote:
  

I just wanted to thank Jeremy, Scott, and Linda for recommending Effective
Java. I read through the book this week. It's wonderful -- accessible and
useful. Now I'm in the process of refactoring my project to start applying
the concepts.

On Fri, May 1, 2009 at 8:53 AM, Carlo Camerino cmcamer...@gmail.com wrote:



we used to be bugzilla, mediawiki, continuum statck.we moved to Trac. It
was
simply amazing with all those plugins.

Code Review WIth Trac Is Good.
Review Board is also good software but it doesn't suit our programming
needs.

On Fri, May 1, 2009 at 11:38 PM, Matt Welch matt...@welchkin.net wrote:

  

Tools that our team is using (after some trial and error):

IDE - Eclipse/IDEA
Source Control - SVN
Build - Maven
Local Network Maven Repo - Nexus (after a year trying different ones)
Build Server  - TeamCity, which absolutely rocks (We actually purchased


and
  

used Bamboo for 9 months. I can't believe it comes from the same company


as
  

JIRA. Bamboo was terrible.)
Story Mgmt/Defects - Rally (hosted commercial app for agile projects; not
bad, but not fantastic either)
Code Review - Code Collaborator (again not bad and I'd rather have it


than
  

nothing at all, but could be better)


Our QA team has used various testing tools from expensive commercial


tools
  

like Mercury (now HP) Quality Center to Selenium. They use Rally for


defect
  

management.

My highest recommendations are for TeamCity, Nexus, and SVN.

-Matt


--
View this message in context:



http://www.nabble.com/Tools-for-Managing-a-Wicket-Project-tp23299396p23334970.html
  

Sent from the Wicket - User mailing list archive at Nabble.com.






  




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Wicket Web Beans 1.1 and Wicket 1.4

2009-05-20 Thread danisevsky danisevsky
Hi

I wanted to try Wicket Web Beans 1.1 upload example but I get the following
exception

Caused by: java.lang.NoSuchMethodError:
com.googlecode.wicketwebbeans.containers.BeanForm.add(Lorg/apache/wicket/Component;)Lorg/apache/wicket/MarkupContainer;
at
com.googlecode.wicketwebbeans.containers.BeanForm.init(BeanForm.java:178)
at
com.googlecode.wicketwebbeans.containers.BeanForm.init(BeanForm.java:131)

Is Wicket Web Beans 1.1 incompatible with Wicket 1.4 rc4 or is reason of
exception something else?

Thanks for reply


Wicket 1.4 rc 2 : FileUpload name collision

2009-05-20 Thread Live Nono
Hi

I just wanted to point out that there is currently two classes named
FileUpload in wicket 1.4, one in
org.apache.wicket.markup.html.form.upload and in the other in
org.apache.wicket.util.upload.

Could it be changed ?

It would avoid some confusion and potential errors.

thanks in advance

nono

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Example of ModalWindow misleading

2009-05-20 Thread Live Nono
Hi

The example here :
http://www.wicket-library.com/wicket-examples/ajax/modal-window.1 is
pretty misleading : passing components between components/page is
quite broken as can be seen in the past discussion on the mailing list
(serialization issue can arise and makes both sides using different
references of the same object logically speaking).

However, as it is in the example, I first used it considering that it
should be ok to do so.

Could it be changed in some way ?

On the bigger picture, I guess it raises again the issue of the
recommended way of communicating between the page and the modal
window, which currently doesn't exist (session, database...??).
However, this example is currently completely misleading, so even so
comments to explicit the issue would be welcomed.

thanks again
nono

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket And EasyMock

2009-05-20 Thread Alica

Hi,

you can subclass your application you supply to WicketTester and overwrite
the newSessionStore() Method:

@Override
protected ISessionStore newSessionStore() {
//Serialisierung aufheben
DiskPageStore pageStore = new DiskPageStore(){
@Override
protected ListSerializedPage serializePage(Page page){
return new ArrayListSerializedPage();
}
};
return new SecondLevelCacheSessionStore(this, pageStore);
}

Thus, the call to serializePage will not try to serialize your objects.
Works fine in my application.





Nino.Martinez wrote:
 
 Look at the blog tutorial. it uses easy mock for some of the testing...
 
 
 http://cwiki.apache.org/WICKET/blog-tutorial.html
 
 carloc wrote:
 Hi I'm trying to use wicketTester and FormTester together with easymock.
 I seem to be getting a lot of notserializableexceptions and my form won't
 submit properly.
 Is there anything that I should do?

 ERROR - Objects- Error serializing object class
 com.ccti.bo.login.LoginPage [object=[Page class =
 com.ccti.bo.login.LoginPage, id = 0, version = 0]]
 org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
 Unable to serialize class: org.easymock.internal.ObjectMethodsFilter
 Field hierarchy is:
   0 [class=com.ccti.bo.login.LoginPage, path=0]
 private com.ccti.service.user.UserService
 com.ccti.bo.login.LoginPage.userService [class=$Proxy0]
   protected java.lang.reflect.InvocationHandler
 java.lang.reflect.Proxy.h
 [class=org.easymock.internal.ObjectMethodsFilter]
 - field that is not serializable
  at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:342)
  at
 org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:610)
  at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:533)
  at
 org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:610)
  at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:533)
  at
 org.apache.wicket.util.io.SerializableChecker.writeObjectOverride(SerializableChecker.java:678)
  at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:298)
  at
 org.apache.wicket.util.io.IObjectStreamFactory$2.writeObjectOverride(IObjectStreamFactory.java:125)
  at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:298)
  at
 org.apache.wicket.util.lang.Objects.objectToByteArray(Objects.java:1085)
  at
 org.apache.wicket.protocol.http.pagestore.AbstractPageStore.serializePage(AbstractPageStore.java:197)
  at
 org.apache.wicket.protocol.http.pagestore.DiskPageStore.storePage(DiskPageStore.java:806)
  at
 org.apache.wicket.protocol.http.SecondLevelCacheSessionStore$SecondLevelCachePageMap.put(SecondLevelCacheSessionStore.java:332)
  at org.apache.wicket.Session.requestDetached(Session.java:1364)
  at org.apache.wicket.RequestCycle.detach(RequestCycle.java:1091)
  at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1334)
  at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
  at
 org.apache.wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:384)
  at
 org.apache.wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:372)
  at
 org.apache.wicket.util.tester.BaseWicketTester.executeListener(BaseWicketTester.java:248)
  at
 com.ccti.bo.login.LoginPageTest.testFailedLogin(LoginPageTest.java:64)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:585)
  at junit.framework.TestCase.runTest(TestCase.java:154)
  at junit.framework.TestCase.runBare(TestCase.java:127)
  at junit.framework.TestResult$1.protect(TestResult.java:106)
  at junit.framework.TestResult.runProtected(TestResult.java:124)
  at junit.framework.TestResult.run(TestResult.java:109)
  at junit.framework.TestCase.run(TestCase.java:118)
  at junit.framework.TestSuite.runTest(TestSuite.java:208)
  at junit.framework.TestSuite.run(TestSuite.java:203)
  at
 org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
  at
 org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  at
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
  at
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
  at
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
  at
 

session creation and stateless

2009-05-20 Thread adrien le roy
Hello,

I am a little bit confuse about about how to test if a session have
been created in a Panel
I was using Session.get() but it is creating session if it don't exists.
Regarding stateless page, how to test if a page is stateless ?
 If I have understood well, a page is considered statefull when a
session is created during requestcycle?

Thanks

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to validate unique constraint?

2009-05-20 Thread Igor Vaynberg
Pass the id of the entity being edited into the validator and check
the database in validate()

Alternatively catch the exception in the form's onsubmit and call
error on the right component.

-igor

On Tuesday, May 19, 2009, Christian Helmbold
christian.helmb...@yahoo.de wrote:

 How can I validate a unique constraint with Wicket? Because only the value of 
 an input field is passed to onValidate(IValidatable validatable), there is no 
 chance to check if this value belongs to a specific object to update or if it 
 would violate a unique constraint when creating a new object. onValidate 
 would need another paremeter for the related object.

 I see two possibilities:

 a) Use a form validator and get the related model object from the form.

 b) Pass the related object to the constructor of the Validator. I'm not sure, 
 if the validator would be recreated any time the model object changes.

 I would prefer a validator tied to the field and not to the form, because 
 that would be more intuitive.

 Another idea is to use existing JPA annotations. @Column(unique=true) is 
 already there but not used for validation (outside the database). Perhaps 
 there is a way to use this annotation. I really like the domain level 
 validation of Grails: http://grails.org/doc/1.1/guide/7.%20Validation.html

 How would you validate a unique constraint with wicket?

 Thanks in advance
 Christian





 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: What is the correct way to include the Wicket DTD?

2009-05-20 Thread Igor Vaynberg
Since  you can only have one dtd we had to use the full HTML one a a base.

-igor

On Tuesday, May 19, 2009, Erik van Oosten e.vanoos...@grons.nl wrote:
 Hi,

 I recently updated the page 
 http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html for the new DTDs. 
 However, now that I see that the DTD actually includes the whole xhtml spec I 
 am doubting whether I wrote the correct text.

 So my question for the xhtml guru's here is: what is the correct way to 
 include the DTD?

 Regards,
    Erik.


 --
 Erik van Oosten
 http://day-to-day-stuff.blogspot.com/


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Empty response on AJAX request when the session has timed out

2009-05-20 Thread Joel Barciauskas
Hi,

I am using Spring Security with wicket-auth-roles and wicket 1.3.5.  After a 
user is logged in, the normal behavior on a session timeout is when a 
subsequent non-AJAX request is made (e.g., requesting a new page using a 
regular Link), the user is 302 redirected to the LoginPage.  However, if the 
user makes an AJAX request after the session is timed out, nothing happens.  In 
the AJAX debug console, I see the following:

INFO: ajax-response /ajax-response

Any guidance on how to configure Wicket so that when a request is made after a 
session is invalidated, the response is the same 302 redirect?

Thanks!

Joel Barciauskas


Re: What is the correct way to include the Wicket DTD?

2009-05-20 Thread Steve Swinsburg
So how do you include a DOCTYPE definition as well, since that has a  
DTD associated with it. I just did some experimenting as I had my  
pages as the wicket.sourceforge.net one previously:


!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
http://www.w3.org/TR/html4/strict.dtd;
html
  xmlns=http://www.w3.org/1999/xhtml;
  xmlns:wicket=http://wicket.sourceforge.net/;
  xml:lang=en
  lang=en

Which the browser interpreted to the same.

But updating to:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
http://www.w3.org/TR/html4/strict.dtd;
html
  xmlns=http://www.w3.org/1999/xhtml;
  xmlns:wicket=http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd 


  xml:lang=en
  lang=en

The browser rightly so strips out the extra DTD and renders it to:

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
http://www.w3.org/TR/html4/strict.dtd;
html xml:lang=en lang=en xmlns=http://www.w3.org/1999/xhtml;

What is the full DTD and HTML namespace that needs to be at the top of  
pages?



cheers,
Steve




On 20 May 2009, at 15:52, Igor Vaynberg wrote:

Since  you can only have one dtd we had to use the full HTML one a a  
base.


-igor

On Tuesday, May 19, 2009, Erik van Oosten e.vanoos...@grons.nl  
wrote:

Hi,

I recently updated the page http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html 
 for the new DTDs. However, now that I see that the DTD actually  
includes the whole xhtml spec I am doubting whether I wrote the  
correct text.


So my question for the xhtml guru's here is: what is the correct  
way to include the DTD?


Regards,
  Erik.


--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





smime.p7s
Description: S/MIME cryptographic signature


Re: Login page expired

2009-05-20 Thread Jeremy Thomerson
If you're in the stateless form's onsubmit and you redirect to a
stateless page, you may need to call session.bind so that it knows
that you need the session to be persistent.

--
Jeremy Thomerson
http://www.wickettraining.com




On Wed, May 20, 2009 at 10:50 AM, Neil Curzon neil.cur...@gmail.com wrote:
 Hi all,

 I'm having an issue with sitting on the login page for a while before
 entering credentials. You get a Page Expired if you submit after waiting too
 long, and I think this will confuse my users. Especially since I was
 planning on setting my custom expired page to the Login.

 Some googling lead me to StatelessForm which sounded like it would solve my
 problem. However, after I use it, I find I can actually never log in
 successfully. For now, I just set a boolean in the session if the
 credentials match. My debugging output indicates that the boolean is being
 set to true. Here's the form's onSubmit.

       �...@override
        protected void onSubmit() {
            if (loginIsValid()) {
                System.out.println(Yep, I'm setting logged in to true);
                MySession session = MySession.get();
                session.setLoggedIn(true);
                setRedirect(true);
                setResponsePage(AdminIndex.class);
            } else {
                System.out.println(NO GOOD);
                error(Invalid user and/or password);
            }
        }

 However, I also put a debug message before my newSession method in my
 Application, and it seems that a new session is created for every request,
 including the redirect after successful login. This results in my base page
 class detecting that the user isn't logged in and redirecting back to the
 Login page. Everything works fine if I change the StatelessForm back to
 Form.

 Is there some way I could fix this StatelessForm? Or is there some better
 way to get the login form to never give a page expired?

 Thanks
 Neil


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Illegal State Exception on DefaultTeeModel.removeNodeFromParent

2009-05-20 Thread skatz

I posted a bug (WICKET-2178) with a test case/source code.  The last action I
saw on it was it was assigned to Matej Knopp back in April.

I tested the same code against the 1.4 code and it seemed to work.


Leena wrote:
 
 Any resolution on this? Or may be some workaround? I am facing a similar
 issue, so thought this could be related.
 
 I am getting a NullPointerException while trying to move nodes within the
 tree (ajax requests)
 
 Partial Stack trace:
 java.lang.NullPointerException
  at
 org.apache.wicket.markup.html.tree.AbstractTree.treeNodesInserted(AbstractTree.java:790)
  at javax.swing.tree.DefaultTreeModel.fireTreeNodesInserted(Unknown
 Source)
  at javax.swing.tree.DefaultTreeModel.nodesWereInserted(Unknown
 Source)
  at javax.swing.tree.DefaultTreeModel.insertNodeInto(Unknown Source)
 
 Please let me know if there is any solution/workaround to this. I am using
 wicket-1.3.5.
 
 +Leena
 
 
 skatz wrote:
 
 I have the same problem using 1.3.5, but not when using 1.3.3.  I spent
 some time tracing the source code and it seems related to the addition of
 this line:
 
 getTreeState().selectNode((TreeNode)item.getModelObject(), false);
 
 at the very end of the function (line 835):
 
 AbstractTree.treeNodesRemoved()
 
 This line results (eventually) in a call to 
 
 AbstractTree.invalidateNode()
 
 which on line 1295 calls:
 
 item.remove()
 
 which alters the state of item such that the call to item.remove() in
 AbstractTree.treeNodesRemoved() fails with the exception mentioned
 previously.
 
 I note that the IItemCallback() code, immediately above, calls two
 identical lines in the reverse order.  I wonder reversing the later two
 would fix the problem?
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Illegal-State-Exception-on-DefaultTeeModel.removeNodeFromParent-tp20185042p23640768.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Separating Development and Deployment

2009-05-20 Thread Dane Laverty
Awesome, that's exactly what I was looking for. Thanks!

On Wed, May 20, 2009 at 9:59 AM, Clint Popetz cl...@42lines.net wrote:

 I recommend using ${} variables in web.xml and resource filtering, as
 you mentioned, but  the way to avoid changing them all the time in
 pom.xml is to have different maven profiles that set them differently
 in your pom.  It is true that you'll have to do things like
 -PtomcatDeployment when running maven to activate them, but then all
 your random variables are controlled by a uniform set of profiles, and
 you aren't trying to remember which options to set for which target
 deployment.  You can also set up the profiles to be active based on
 certain environments, or automate setting them in build scripts or in
 settings.xml.

 Maven profiles are da bomb, IMHO.  Especially when building for lots
 of target environments
 (qa/mirroring/local-dev/load-testing/continuous-integration) and on
 different platforms.

 -Clint

 On Wed, May 20, 2009 at 11:40 AM, Dane Laverty danelave...@gmail.com
 wrote:
  I've got my project set up to deploy with Maven's Tomcat plugin now. My
 next
  step is getting the web.xml to use the correct Wicket configuration
  (development/deployment) value. Is there a way to run two separate
 web.xml
  files for the application, and then somehow have Maven pick up the
 correct
  one when I run mvn tomcat:deploy? Or am I going about this the wrong
 way
  entirely? I've done some reading and it sounds like people are using web
  resource filtering to address the issue, however to me it seems that it
  just moves the parameters from the web.xml to the pom.xml, and that I
 would
  have to manually change them in the pom.xml when I want to change from
  deployment to development.
 



 --
 Clint Popetz
 http://42lines.net
 Scalable Web Application Development

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Getting a encoded URL for sending a BookmarkablePageLink through e-mail

2009-05-20 Thread Igor Vaynberg
mount your page - that way you will always know what the url will be
and there is no need to have it constructed at runtime by wicket.

-igor

On Wed, May 20, 2009 at 10:10 AM, Kent Larsson kent.lars...@gmail.com wrote:
 I have a follow up question, a harder one.

 I want to send the mail from a Spring Bean using the Spring Framework.

 The Spring Beans mark my transaction boundary. When I call a method in
 a Spring bean a transaction is started, and when the method returns
 the transaction is commited. Inside my Wicket component code there
 never is any transaction.

 It would be best if I could create the URL inside the Spring Bean as I
 would like to do it inside the transaction.

 I guess I could do it using a callback from the Spring Bean to the
 Wicket component. But if I'm able to do it without any callback I
 think that would be a better solution. Is it possible?

 Best regards, Kent


 On Wed, May 20, 2009 at 6:33 PM, Kent Larsson kent.lars...@gmail.com wrote:
 Thank you, it worked!

 PageParameters pars = new PageParameters();
 pars.add(confirmationCode, some conf?codestring);
 System.out.println(URL:  + urlFor(ForgotPasswordRequest.class, pars));

 Best regards, Kent


 On Wed, May 20, 2009 at 6:01 PM, Clint Popetz cl...@42lines.net wrote:
 Component.urlFor(ForgotPasswordRequest.class,pars);

 (not a static...call it as urlFor(...) from your page or component)

 -Clint

 On Wed, May 20, 2009 at 10:54 AM, Kent Larsson kent.lars...@gmail.com 
 wrote:
 Hi,

 I have created a BookmarkablePageLink and I would like to grab a
 properly escaped URL-string which I can then send through e-mail.

 For my first try noHtmlSensitiveChars  fullyEscaped contained the
 empty () string:

 PageParameters pars = new PageParameters();
 pars.add(confirmationCode, someconfcodestring);
 BookmarkablePageLink bookmarkablePageLink = new
 BookmarkablePageLink(link, ForgotPasswordRequest.class, pars);
 String noHtmlSensitiveChars = 
 bookmarkablePageLink.getModelObjectAsString();
 String fullyEscaped = Strings.escapeMarkup(noHtmlSensitiveChars, true,
 true).toString();
 System.out.println(No sensitive chars: + noHtmlSensitiveChars);
 System.out.println(Fully escaped: + fullyEscaped);

 Any ideas on how I could solve this?

 Best regards, Kent

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 Clint Popetz
 http://42lines.net
 Scalable Web Application Development

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Getting a encoded URL for sending a BookmarkablePageLink through e-mail

2009-05-20 Thread Kent Larsson
Thank you, it worked!

PageParameters pars = new PageParameters();
pars.add(confirmationCode, some conf?codestring);
System.out.println(URL:  + urlFor(ForgotPasswordRequest.class, pars));

Best regards, Kent


On Wed, May 20, 2009 at 6:01 PM, Clint Popetz cl...@42lines.net wrote:
 Component.urlFor(ForgotPasswordRequest.class,pars);

 (not a static...call it as urlFor(...) from your page or component)

 -Clint

 On Wed, May 20, 2009 at 10:54 AM, Kent Larsson kent.lars...@gmail.com wrote:
 Hi,

 I have created a BookmarkablePageLink and I would like to grab a
 properly escaped URL-string which I can then send through e-mail.

 For my first try noHtmlSensitiveChars  fullyEscaped contained the
 empty () string:

 PageParameters pars = new PageParameters();
 pars.add(confirmationCode, someconfcodestring);
 BookmarkablePageLink bookmarkablePageLink = new
 BookmarkablePageLink(link, ForgotPasswordRequest.class, pars);
 String noHtmlSensitiveChars = bookmarkablePageLink.getModelObjectAsString();
 String fullyEscaped = Strings.escapeMarkup(noHtmlSensitiveChars, true,
 true).toString();
 System.out.println(No sensitive chars: + noHtmlSensitiveChars);
 System.out.println(Fully escaped: + fullyEscaped);

 Any ideas on how I could solve this?

 Best regards, Kent

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 Clint Popetz
 http://42lines.net
 Scalable Web Application Development

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: session creation and stateless

2009-05-20 Thread Igor Vaynberg
see wicket-dev-utils, there is a stateless checker there that can help you.

wicket's session object is created on every request, but while the app
is not stateful it is not persisted/put into httpsession. so you will
always have a session object during a wicket request.


there is page.ispagestateless() that will tell you if the page is
stateless or not after render.

-igor

On Wed, May 20, 2009 at 6:49 AM, adrien le roy adrien.le@gmail.com wrote:
 Hello,

 I am a little bit confuse about about how to test if a session have
 been created in a Panel
 I was using Session.get() but it is creating session if it don't exists.
 Regarding stateless page, how to test if a page is stateless ?
  If I have understood well, a page is considered statefull when a
 session is created during requestcycle?

 Thanks

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket Web Beans 1.1 and Wicket 1.4

2009-05-20 Thread Daniel Toffetti

danisevsky danisevsky danisevsky at gmail.com writes:

 
 Hi
 
 I wanted to try Wicket Web Beans 1.1 upload example but I get the following
 exception
 
 .
 
 Is Wicket Web Beans 1.1 incompatible with Wicket 1.4 rc4 or is reason of
 exception something else?
 
 Thanks for reply
 

Hi,

WWB 1.1 is compatible with Wicket 1.3.x, it's expected that
a new version of WWB compatible with Wicket 1.4 will be released
shortly after Wicket 1.4 goes final.

hth,

Daniel



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Getting a encoded URL for sending a BookmarkablePageLink through e-mail

2009-05-20 Thread Clint Popetz
Component.urlFor(ForgotPasswordRequest.class,pars);

(not a static...call it as urlFor(...) from your page or component)

-Clint

On Wed, May 20, 2009 at 10:54 AM, Kent Larsson kent.lars...@gmail.com wrote:
 Hi,

 I have created a BookmarkablePageLink and I would like to grab a
 properly escaped URL-string which I can then send through e-mail.

 For my first try noHtmlSensitiveChars  fullyEscaped contained the
 empty () string:

 PageParameters pars = new PageParameters();
 pars.add(confirmationCode, someconfcodestring);
 BookmarkablePageLink bookmarkablePageLink = new
 BookmarkablePageLink(link, ForgotPasswordRequest.class, pars);
 String noHtmlSensitiveChars = bookmarkablePageLink.getModelObjectAsString();
 String fullyEscaped = Strings.escapeMarkup(noHtmlSensitiveChars, true,
 true).toString();
 System.out.println(No sensitive chars: + noHtmlSensitiveChars);
 System.out.println(Fully escaped: + fullyEscaped);

 Any ideas on how I could solve this?

 Best regards, Kent

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Clint Popetz
http://42lines.net
Scalable Web Application Development

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Getting a encoded URL for sending a BookmarkablePageLink through e-mail

2009-05-20 Thread Kent Larsson
I have a follow up question, a harder one.

I want to send the mail from a Spring Bean using the Spring Framework.

The Spring Beans mark my transaction boundary. When I call a method in
a Spring bean a transaction is started, and when the method returns
the transaction is commited. Inside my Wicket component code there
never is any transaction.

It would be best if I could create the URL inside the Spring Bean as I
would like to do it inside the transaction.

I guess I could do it using a callback from the Spring Bean to the
Wicket component. But if I'm able to do it without any callback I
think that would be a better solution. Is it possible?

Best regards, Kent


On Wed, May 20, 2009 at 6:33 PM, Kent Larsson kent.lars...@gmail.com wrote:
 Thank you, it worked!

 PageParameters pars = new PageParameters();
 pars.add(confirmationCode, some conf?codestring);
 System.out.println(URL:  + urlFor(ForgotPasswordRequest.class, pars));

 Best regards, Kent


 On Wed, May 20, 2009 at 6:01 PM, Clint Popetz cl...@42lines.net wrote:
 Component.urlFor(ForgotPasswordRequest.class,pars);

 (not a static...call it as urlFor(...) from your page or component)

 -Clint

 On Wed, May 20, 2009 at 10:54 AM, Kent Larsson kent.lars...@gmail.com 
 wrote:
 Hi,

 I have created a BookmarkablePageLink and I would like to grab a
 properly escaped URL-string which I can then send through e-mail.

 For my first try noHtmlSensitiveChars  fullyEscaped contained the
 empty () string:

 PageParameters pars = new PageParameters();
 pars.add(confirmationCode, someconfcodestring);
 BookmarkablePageLink bookmarkablePageLink = new
 BookmarkablePageLink(link, ForgotPasswordRequest.class, pars);
 String noHtmlSensitiveChars = bookmarkablePageLink.getModelObjectAsString();
 String fullyEscaped = Strings.escapeMarkup(noHtmlSensitiveChars, true,
 true).toString();
 System.out.println(No sensitive chars: + noHtmlSensitiveChars);
 System.out.println(Fully escaped: + fullyEscaped);

 Any ideas on how I could solve this?

 Best regards, Kent

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 Clint Popetz
 http://42lines.net
 Scalable Web Application Development

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Separating Development and Deployment

2009-05-20 Thread James Carman
Check out the way I did it in my wicket-advanced example application:

http://svn.carmanconsulting.com/public/wicket-advanced/trunk

I did a combination of maven profiles and Spring's
PropertyPlaceholderConfigurer.  If you're not using Spring, it won't
help, but if you are, it might be interesting to you.

On Wed, May 20, 2009 at 12:59 PM, Clint Popetz cl...@42lines.net wrote:
 I recommend using ${} variables in web.xml and resource filtering, as
 you mentioned, but  the way to avoid changing them all the time in
 pom.xml is to have different maven profiles that set them differently
 in your pom.  It is true that you'll have to do things like
 -PtomcatDeployment when running maven to activate them, but then all
 your random variables are controlled by a uniform set of profiles, and
 you aren't trying to remember which options to set for which target
 deployment.  You can also set up the profiles to be active based on
 certain environments, or automate setting them in build scripts or in
 settings.xml.

 Maven profiles are da bomb, IMHO.  Especially when building for lots
 of target environments
 (qa/mirroring/local-dev/load-testing/continuous-integration) and on
 different platforms.

 -Clint

 On Wed, May 20, 2009 at 11:40 AM, Dane Laverty danelave...@gmail.com wrote:
 I've got my project set up to deploy with Maven's Tomcat plugin now. My next
 step is getting the web.xml to use the correct Wicket configuration
 (development/deployment) value. Is there a way to run two separate web.xml
 files for the application, and then somehow have Maven pick up the correct
 one when I run mvn tomcat:deploy? Or am I going about this the wrong way
 entirely? I've done some reading and it sounds like people are using web
 resource filtering to address the issue, however to me it seems that it
 just moves the parameters from the web.xml to the pom.xml, and that I would
 have to manually change them in the pom.xml when I want to change from
 deployment to development.




 --
 Clint Popetz
 http://42lines.net
 Scalable Web Application Development

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Separating Development and Deployment

2009-05-20 Thread Dane Laverty
Clint - I've run into one (hopefully minor) hitch with the process. The
filtering works, but only after I've used Maven to deploy the project. When
I'm developing, however, I just run the project on the Jetty server that
comes with the Quickstart. Of course, that means that the ${} variables are
treated as literal values. Is there a way to filter the project locally
without having to run a Maven build every time I make a change?

James - Spring and Hibernate are next on my things-to-learn list, after I
get Maven (and perhaps Continuum) figured out.

Thanks to both of you for the input!


On Wed, May 20, 2009 at 10:48 AM, James Carman jcar...@carmanconsulting.com
 wrote:

 Check out the way I did it in my wicket-advanced example application:

 http://svn.carmanconsulting.com/public/wicket-advanced/trunk

 I did a combination of maven profiles and Spring's
 PropertyPlaceholderConfigurer.  If you're not using Spring, it won't
 help, but if you are, it might be interesting to you.

 On Wed, May 20, 2009 at 12:59 PM, Clint Popetz cl...@42lines.net wrote:
  I recommend using ${} variables in web.xml and resource filtering, as
  you mentioned, but  the way to avoid changing them all the time in
  pom.xml is to have different maven profiles that set them differently
  in your pom.  It is true that you'll have to do things like
  -PtomcatDeployment when running maven to activate them, but then all
  your random variables are controlled by a uniform set of profiles, and
  you aren't trying to remember which options to set for which target
  deployment.  You can also set up the profiles to be active based on
  certain environments, or automate setting them in build scripts or in
  settings.xml.
 
  Maven profiles are da bomb, IMHO.  Especially when building for lots
  of target environments
  (qa/mirroring/local-dev/load-testing/continuous-integration) and on
  different platforms.
 
  -Clint
 
  On Wed, May 20, 2009 at 11:40 AM, Dane Laverty danelave...@gmail.com
 wrote:
  I've got my project set up to deploy with Maven's Tomcat plugin now. My
 next
  step is getting the web.xml to use the correct Wicket configuration
  (development/deployment) value. Is there a way to run two separate
 web.xml
  files for the application, and then somehow have Maven pick up the
 correct
  one when I run mvn tomcat:deploy? Or am I going about this the wrong
 way
  entirely? I've done some reading and it sounds like people are using
 web
  resource filtering to address the issue, however to me it seems that it
  just moves the parameters from the web.xml to the pom.xml, and that I
 would
  have to manually change them in the pom.xml when I want to change from
  deployment to development.
 
 
 
 
  --
  Clint Popetz
  http://42lines.net
  Scalable Web Application Development
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Getting a encoded URL for sending a BookmarkablePageLink through e-mail

2009-05-20 Thread Clint Popetz
If you need the url creation to happen in the tx and you can't
programatically start the tx (say with JTA's UserTransaction API)
before invoking your bean, you'll have to pass your component  or the
RequestCycle (or an adaptor for either) to your spring bean.

Out of curiousity, why would you need to have the actual url creation
in a tx?  Nothing in wicket's urlFor code is going to need a tx or
roll one back if something goes wrong.  If you have some transactional
business logic (say, querying a db) that is creating the params for
the URL you could put that logic in the bean and have it executed in
the tx, and return the params as strings to wicket for encoding in the
URL.

-Clint

-- 
Clint Popetz
http://42lines.net
Scalable Web Application Development



On Wed, May 20, 2009 at 12:10 PM, Kent Larsson kent.lars...@gmail.com wrote:
 I have a follow up question, a harder one.

 I want to send the mail from a Spring Bean using the Spring Framework.

 The Spring Beans mark my transaction boundary. When I call a method in
 a Spring bean a transaction is started, and when the method returns
 the transaction is commited. Inside my Wicket component code there
 never is any transaction.

 It would be best if I could create the URL inside the Spring Bean as I
 would like to do it inside the transaction.

 I guess I could do it using a callback from the Spring Bean to the
 Wicket component. But if I'm able to do it without any callback I
 think that would be a better solution. Is it possible?

 Best regards, Kent


 On Wed, May 20, 2009 at 6:33 PM, Kent Larsson kent.lars...@gmail.com wrote:
 Thank you, it worked!

 PageParameters pars = new PageParameters();
 pars.add(confirmationCode, some conf?codestring);
 System.out.println(URL:  + urlFor(ForgotPasswordRequest.class, pars));

 Best regards, Kent


 On Wed, May 20, 2009 at 6:01 PM, Clint Popetz cl...@42lines.net wrote:
 Component.urlFor(ForgotPasswordRequest.class,pars);

 (not a static...call it as urlFor(...) from your page or component)

 -Clint

 On Wed, May 20, 2009 at 10:54 AM, Kent Larsson kent.lars...@gmail.com 
 wrote:
 Hi,

 I have created a BookmarkablePageLink and I would like to grab a
 properly escaped URL-string which I can then send through e-mail.

 For my first try noHtmlSensitiveChars  fullyEscaped contained the
 empty () string:

 PageParameters pars = new PageParameters();
 pars.add(confirmationCode, someconfcodestring);
 BookmarkablePageLink bookmarkablePageLink = new
 BookmarkablePageLink(link, ForgotPasswordRequest.class, pars);
 String noHtmlSensitiveChars = 
 bookmarkablePageLink.getModelObjectAsString();
 String fullyEscaped = Strings.escapeMarkup(noHtmlSensitiveChars, true,
 true).toString();
 System.out.println(No sensitive chars: + noHtmlSensitiveChars);
 System.out.println(Fully escaped: + fullyEscaped);

 Any ideas on how I could solve this?

 Best regards, Kent

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 Clint Popetz
 http://42lines.net
 Scalable Web Application Development

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Separating Development and Deployment

2009-05-20 Thread James Carman
On Wed, May 20, 2009 at 2:35 PM, Dane Laverty danelave...@gmail.com wrote:
 Clint - I've run into one (hopefully minor) hitch with the process. The
 filtering works, but only after I've used Maven to deploy the project. When
 I'm developing, however, I just run the project on the Jetty server that
 comes with the Quickstart. Of course, that means that the ${} variables are
 treated as literal values. Is there a way to filter the project locally
 without having to run a Maven build every time I make a change?

Yeah, we ran into that issue before and that's why we decided to go my
route.  It works much better.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Getting a encoded URL for sending a BookmarkablePageLink through e-mail

2009-05-20 Thread Kent Larsson
On Wed, May 20, 2009 at 7:21 PM, Clint Popetz cl...@42lines.net wrote:
 If you need the url creation to happen in the tx and you can't
 programatically start the tx (say with JTA's UserTransaction API)
 before invoking your bean, you'll have to pass your component  or the
 RequestCycle (or an adaptor for either) to your spring bean.

I'll look more into these two options, thank you again! :-)

 Out of curiousity, why would you need to have the actual url creation
 in a tx?  Nothing in wicket's urlFor code is going to need a tx or
 roll one back if something goes wrong.  If you have some transactional
 business logic (say, querying a db) that is creating the params for
 the URL you could put that logic in the bean and have it executed in
 the tx, and return the params as strings to wicket for encoding in the
 URL.

I'm trying to keep it layered and the presentation layer isn't using
transactions in my current architecture.

 On Wed, May 20, 2009 at 12:10 PM, Kent Larsson kent.lars...@gmail.com wrote:
 I have a follow up question, a harder one.

 I want to send the mail from a Spring Bean using the Spring Framework.

 The Spring Beans mark my transaction boundary. When I call a method in
 a Spring bean a transaction is started, and when the method returns
 the transaction is commited. Inside my Wicket component code there
 never is any transaction.

 It would be best if I could create the URL inside the Spring Bean as I
 would like to do it inside the transaction.

 I guess I could do it using a callback from the Spring Bean to the
 Wicket component. But if I'm able to do it without any callback I
 think that would be a better solution. Is it possible?

 Best regards, Kent


 On Wed, May 20, 2009 at 6:33 PM, Kent Larsson kent.lars...@gmail.com wrote:
 Thank you, it worked!

 PageParameters pars = new PageParameters();
 pars.add(confirmationCode, some conf?codestring);
 System.out.println(URL:  + urlFor(ForgotPasswordRequest.class, pars));

 Best regards, Kent


 On Wed, May 20, 2009 at 6:01 PM, Clint Popetz cl...@42lines.net wrote:
 Component.urlFor(ForgotPasswordRequest.class,pars);

 (not a static...call it as urlFor(...) from your page or component)

 -Clint

 On Wed, May 20, 2009 at 10:54 AM, Kent Larsson kent.lars...@gmail.com 
 wrote:
 Hi,

 I have created a BookmarkablePageLink and I would like to grab a
 properly escaped URL-string which I can then send through e-mail.

 For my first try noHtmlSensitiveChars  fullyEscaped contained the
 empty () string:

 PageParameters pars = new PageParameters();
 pars.add(confirmationCode, someconfcodestring);
 BookmarkablePageLink bookmarkablePageLink = new
 BookmarkablePageLink(link, ForgotPasswordRequest.class, pars);
 String noHtmlSensitiveChars = 
 bookmarkablePageLink.getModelObjectAsString();
 String fullyEscaped = Strings.escapeMarkup(noHtmlSensitiveChars, true,
 true).toString();
 System.out.println(No sensitive chars: + noHtmlSensitiveChars);
 System.out.println(Fully escaped: + fullyEscaped);

 Any ideas on how I could solve this?

 Best regards, Kent

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 Clint Popetz
 http://42lines.net
 Scalable Web Application Development

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Separating Development and Deployment

2009-05-20 Thread Clint Popetz
The way I solve that locally (and it may not be a best practice, but
it works, eh?) is to use m2eclipse, so that mvn filtering happens
incrementally as I change things in eclipse.   I also set up maven to
copy my src/main/webapp directory into  target/test-classes, i.e.:

testResources
  testResource
filteringfalse/filtering
directorysrc/main/webapp/directory
/testResource
  testResource
filteringtrue/filtering
directorysrc/main/webapp/WEB-INF/directory
targetPathWEB-INF/targetPath
  /testResource
  testResource
filteringtrue/filtering
directorysrc/test/resources/directory
  /testResource
/testResources

This results in a project in eclipse which has src/main/webapp as a
source directory wtih output folder target/test-classes.  Then, in
Start.java I do:

webapp.setWar(target/test-classes);

I also tell maven (in eclipse) which profile I want to use, in Project
- Properties - Maven - Active Maven Profiles so I get the right
filtering locally.  This has the advantage of being able to test other
maven profiles by changing the above setting, and still running from
within eclipse, for example to see if things run correctly in
deployment mode.

-Clint

On Wed, May 20, 2009 at 1:35 PM, Dane Laverty danelave...@gmail.com wrote:
 Clint - I've run into one (hopefully minor) hitch with the process. The
 filtering works, but only after I've used Maven to deploy the project. When
 I'm developing, however, I just run the project on the Jetty server that
 comes with the Quickstart. Of course, that means that the ${} variables are
 treated as literal values. Is there a way to filter the project locally
 without having to run a Maven build every time I make a change?

 James - Spring and Hibernate are next on my things-to-learn list, after I
 get Maven (and perhaps Continuum) figured out.

 Thanks to both of you for the input!


 On Wed, May 20, 2009 at 10:48 AM, James Carman jcar...@carmanconsulting.com
 wrote:

 Check out the way I did it in my wicket-advanced example application:

 http://svn.carmanconsulting.com/public/wicket-advanced/trunk

 I did a combination of maven profiles and Spring's
 PropertyPlaceholderConfigurer.  If you're not using Spring, it won't
 help, but if you are, it might be interesting to you.

 On Wed, May 20, 2009 at 12:59 PM, Clint Popetz cl...@42lines.net wrote:
  I recommend using ${} variables in web.xml and resource filtering, as
  you mentioned, but  the way to avoid changing them all the time in
  pom.xml is to have different maven profiles that set them differently
  in your pom.  It is true that you'll have to do things like
  -PtomcatDeployment when running maven to activate them, but then all
  your random variables are controlled by a uniform set of profiles, and
  you aren't trying to remember which options to set for which target
  deployment.  You can also set up the profiles to be active based on
  certain environments, or automate setting them in build scripts or in
  settings.xml.
 
  Maven profiles are da bomb, IMHO.  Especially when building for lots
  of target environments
  (qa/mirroring/local-dev/load-testing/continuous-integration) and on
  different platforms.
 
  -Clint
 
  On Wed, May 20, 2009 at 11:40 AM, Dane Laverty danelave...@gmail.com
 wrote:
  I've got my project set up to deploy with Maven's Tomcat plugin now. My
 next
  step is getting the web.xml to use the correct Wicket configuration
  (development/deployment) value. Is there a way to run two separate
 web.xml
  files for the application, and then somehow have Maven pick up the
 correct
  one when I run mvn tomcat:deploy? Or am I going about this the wrong
 way
  entirely? I've done some reading and it sounds like people are using
 web
  resource filtering to address the issue, however to me it seems that it
  just moves the parameters from the web.xml to the pom.xml, and that I
 would
  have to manually change them in the pom.xml when I want to change from
  deployment to development.
 
 
 
 
  --
  Clint Popetz
  http://42lines.net
  Scalable Web Application Development
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org






-- 
Clint Popetz
http://42lines.net
Scalable Web Application Development

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Separating Development and Deployment

2009-05-20 Thread Martijn Dashorst
Set a system property in your server config or startup script that
tells wicket it's running in deployment mode.
-Dwicket.configuration=deployment is all there's to it.

Martijn

On Wed, May 20, 2009 at 6:40 PM, Dane Laverty danelave...@gmail.com wrote:
 I've got my project set up to deploy with Maven's Tomcat plugin now. My next
 step is getting the web.xml to use the correct Wicket configuration
 (development/deployment) value. Is there a way to run two separate web.xml
 files for the application, and then somehow have Maven pick up the correct
 one when I run mvn tomcat:deploy? Or am I going about this the wrong way
 entirely? I've done some reading and it sounds like people are using web
 resource filtering to address the issue, however to me it seems that it
 just moves the parameters from the web.xml to the pom.xml, and that I would
 have to manually change them in the pom.xml when I want to change from
 deployment to development.




-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.5 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Separating Development and Deployment

2009-05-20 Thread Dane Laverty
I've got my project set up to deploy with Maven's Tomcat plugin now. My next
step is getting the web.xml to use the correct Wicket configuration
(development/deployment) value. Is there a way to run two separate web.xml
files for the application, and then somehow have Maven pick up the correct
one when I run mvn tomcat:deploy? Or am I going about this the wrong way
entirely? I've done some reading and it sounds like people are using web
resource filtering to address the issue, however to me it seems that it
just moves the parameters from the web.xml to the pom.xml, and that I would
have to manually change them in the pom.xml when I want to change from
deployment to development.


Re: Separating Development and Deployment

2009-05-20 Thread Clint Popetz
I recommend using ${} variables in web.xml and resource filtering, as
you mentioned, but  the way to avoid changing them all the time in
pom.xml is to have different maven profiles that set them differently
in your pom.  It is true that you'll have to do things like
-PtomcatDeployment when running maven to activate them, but then all
your random variables are controlled by a uniform set of profiles, and
you aren't trying to remember which options to set for which target
deployment.  You can also set up the profiles to be active based on
certain environments, or automate setting them in build scripts or in
settings.xml.

Maven profiles are da bomb, IMHO.  Especially when building for lots
of target environments
(qa/mirroring/local-dev/load-testing/continuous-integration) and on
different platforms.

-Clint

On Wed, May 20, 2009 at 11:40 AM, Dane Laverty danelave...@gmail.com wrote:
 I've got my project set up to deploy with Maven's Tomcat plugin now. My next
 step is getting the web.xml to use the correct Wicket configuration
 (development/deployment) value. Is there a way to run two separate web.xml
 files for the application, and then somehow have Maven pick up the correct
 one when I run mvn tomcat:deploy? Or am I going about this the wrong way
 entirely? I've done some reading and it sounds like people are using web
 resource filtering to address the issue, however to me it seems that it
 just moves the parameters from the web.xml to the pom.xml, and that I would
 have to manually change them in the pom.xml when I want to change from
 deployment to development.




-- 
Clint Popetz
http://42lines.net
Scalable Web Application Development

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: What is the correct way to include the Wicket DTD?

2009-05-20 Thread Igor Vaynberg
correct.

-igor

On Wed, May 20, 2009 at 8:19 AM, Steve Swinsburg
s.swinsb...@lancaster.ac.uk wrote:
 Or are you suggesting we replace the w3 dtd with the wicket one that
 incorporates it?


 cheers,
 Steve



 On 20 May 2009, at 16:17, Steve Swinsburg wrote:

 So how do you include a DOCTYPE definition as well, since that has a DTD
 associated with it. I just did some experimenting as I had my pages as the
 wicket.sourceforge.net one previously:
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
 http://www.w3.org/TR/html4/strict.dtd;
 html
       xmlns=http://www.w3.org/1999/xhtml;
       xmlns:wicket=http://wicket.sourceforge.net/;
       xml:lang=en
       lang=en
 Which the browser interpreted to the same.
 But updating to:
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
 http://www.w3.org/TR/html4/strict.dtd;
 html
       xmlns=http://www.w3.org/1999/xhtml;

 xmlns:wicket=http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd;

       xml:lang=en
       lang=en
 The browser rightly so strips out the extra DTD and renders it to:
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN

 http://www.w3.org/TR/html4/strict.dtd;
 html xml:lang=en lang=en xmlns=http://www.w3.org/1999/xhtml;

 What is the full DTD and HTML namespace that needs to be at the top of
 pages?

 cheers,
 Steve



 On 20 May 2009, at 15:52, Igor Vaynberg wrote:

 Since  you can only have one dtd we had to use the full HTML one a a base.

 -igor

 On Tuesday, May 19, 2009, Erik van Oosten e.vanoos...@grons.nl wrote:

 Hi,

 I recently updated the page
 http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html for the new DTDs.
 However, now that I see that the DTD actually includes the whole xhtml spec
 I am doubting whether I wrote the correct text.

 So my question for the xhtml guru's here is: what is the correct way to
 include the DTD?

 Regards,

   Erik.


 --

 Erik van Oosten

 http://day-to-day-stuff.blogspot.com/


 -

 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Separating Development and Deployment

2009-05-20 Thread Dane Laverty
Thanks for piping in, Martijn. I should have clarified, my deployment and
development environments use different databases. I'm storing the database
connection information inside of the web.xml also, so I need to be able to
switch those as well as the Wicket configuration depending on the
environment. I suppose I could store the connection information for both,
and then select one based on the Wicket configuration, though that sounds a
little hack-ish.

On Wed, May 20, 2009 at 11:51 AM, Martijn Dashorst 
martijn.dasho...@gmail.com wrote:

 Set a system property in your server config or startup script that
 tells wicket it's running in deployment mode.
 -Dwicket.configuration=deployment is all there's to it.

 Martijn

 On Wed, May 20, 2009 at 6:40 PM, Dane Laverty danelave...@gmail.com
 wrote:
  I've got my project set up to deploy with Maven's Tomcat plugin now. My
 next
  step is getting the web.xml to use the correct Wicket configuration
  (development/deployment) value. Is there a way to run two separate
 web.xml
  files for the application, and then somehow have Maven pick up the
 correct
  one when I run mvn tomcat:deploy? Or am I going about this the wrong
 way
  entirely? I've done some reading and it sounds like people are using web
  resource filtering to address the issue, however to me it seems that it
  just moves the parameters from the web.xml to the pom.xml, and that I
 would
  have to manually change them in the pom.xml when I want to change from
  deployment to development.
 



 --
 Become a Wicket expert, learn from the best: http://wicketinaction.com
 Apache Wicket 1.3.5 is released
 Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Wicket in Php

2009-05-20 Thread Ajayi Yinka
Hi,

Can anyone give me an insight on how I can integrate wicket into php
project.

I already have an application that is written in php.

I will like to upgrade the application with some new features in which I
prefer to use  wicket.

I am afraid if this is possible?


Re: Wicket in Php

2009-05-20 Thread Jeremy Thomerson
That's for you to decide.  Typically it involves some kind of jump
page between the two applications that once you are signed in, it
sends the user to a page in the other app with a key (perhaps a UUID,
etc) that correlates to that user in the DB so that the other app can
automatically sign the user in.

The problem of course will be keeping session data in sync between the
two since they can't share the same object.  This typically means
persisting much of the session state to a database or memcache layer.

--
Jeremy Thomerson
http://www.wickettraining.com




On Wed, May 20, 2009 at 11:20 AM, Ajayi Yinka
iamstyaj...@googlemail.com wrote:
 Thanks


 May I get the description on how to do the integration. I may not mind the
 integration, provided it can handle my session for me (As in if a user log
 in through a wicket page, we can use this same log in instance to manage the
 wicket page).


 regards,
 yinka

 On Wed, May 20, 2009 at 4:45 PM, Jeremy Thomerson jer...@wickettraining.com
 wrote:

 Wicket is written in Java.  You would need to build an application in
 Java, running in a servlet container.  Perhaps you could do an
 integration and have some pages running in PHP and some in Java, but
 you are looking at a complex project.

 --
 Jeremy Thomerson
 http://www.wickettraining.com




 On Wed, May 20, 2009 at 10:39 AM, Ajayi Yinka
 iamstyaj...@googlemail.com wrote:
  Hi,
 
  Can anyone give me an insight on how I can integrate wicket into php
  project.
 
  I already have an application that is written in php.
 
  I will like to upgrade the application with some new features in which I
  prefer to use  wicket.
 
  I am afraid if this is possible?
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Login page expired

2009-05-20 Thread Neil Curzon
Hi Jeremy,

Thanks for your reply. Adding a session.bind() solved the issue.

Neil

On Wed, May 20, 2009 at 12:03 PM, Jeremy Thomerson 
jer...@wickettraining.com wrote:

 If you're in the stateless form's onsubmit and you redirect to a
 stateless page, you may need to call session.bind so that it knows
 that you need the session to be persistent.

 --
 Jeremy Thomerson
 http://www.wickettraining.com




 On Wed, May 20, 2009 at 10:50 AM, Neil Curzon neil.cur...@gmail.com
 wrote:
  Hi all,
 
  I'm having an issue with sitting on the login page for a while before
  entering credentials. You get a Page Expired if you submit after waiting
 too
  long, and I think this will confuse my users. Especially since I was
  planning on setting my custom expired page to the Login.
 
  Some googling lead me to StatelessForm which sounded like it would solve
 my
  problem. However, after I use it, I find I can actually never log in
  successfully. For now, I just set a boolean in the session if the
  credentials match. My debugging output indicates that the boolean is
 being
  set to true. Here's the form's onSubmit.
 
 @Override
 protected void onSubmit() {
 if (loginIsValid()) {
 System.out.println(Yep, I'm setting logged in to true);
 MySession session = MySession.get();
 session.setLoggedIn(true);
 setRedirect(true);
 setResponsePage(AdminIndex.class);
 } else {
 System.out.println(NO GOOD);
 error(Invalid user and/or password);
 }
 }
 
  However, I also put a debug message before my newSession method in my
  Application, and it seems that a new session is created for every
 request,
  including the redirect after successful login. This results in my base
 page
  class detecting that the user isn't logged in and redirecting back to the
  Login page. Everything works fine if I change the StatelessForm back to
  Form.
 
  Is there some way I could fix this StatelessForm? Or is there some better
  way to get the login form to never give a page expired?
 
  Thanks
  Neil
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: ModalDialog in a SubmitLink

2009-05-20 Thread Igor Vaynberg
add(new onsubmitlink(...) {
  oncomponenttag(tag) {
 super(tag);
 tag.put(onclick, if (!confirm('message')) return;
+tag.getattributes().get(onclick));
  }
}

-igor

On Tue, May 19, 2009 at 4:04 PM, Werner Caacbay werner.caac...@inode.at wrote:
 Hello
 I'm trying to submit a form with an AjaxSubmitLink which is in a
 modalwindow.
 I have to get a confirmation from the user during the submit process
 which controll the submit.
 I need suggestions on how I could realize the modaldialog for the user
 in the submitLink and how i could interrupt the submitLink to wait for
 the users choice.

 thanks
 Werner

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: What is the correct way to include the Wicket DTD?

2009-05-20 Thread Steve Swinsburg
Or are you suggesting we replace the w3 dtd with the wicket one that  
incorporates it?



cheers,
Steve




On 20 May 2009, at 16:17, Steve Swinsburg wrote:

So how do you include a DOCTYPE definition as well, since that has a  
DTD associated with it. I just did some experimenting as I had my  
pages as the wicket.sourceforge.net one previously:


!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
http://www.w3.org/TR/html4/strict.dtd;
html
  xmlns=http://www.w3.org/1999/xhtml;
  xmlns:wicket=http://wicket.sourceforge.net/;
  xml:lang=en
  lang=en

Which the browser interpreted to the same.

But updating to:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
http://www.w3.org/TR/html4/strict.dtd;
html
  xmlns=http://www.w3.org/1999/xhtml;
  xmlns:wicket=http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd 


  xml:lang=en
  lang=en

The browser rightly so strips out the extra DTD and renders it to:

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
http://www.w3.org/TR/html4/strict.dtd;
html xml:lang=en lang=en xmlns=http://www.w3.org/1999/xhtml;

What is the full DTD and HTML namespace that needs to be at the top  
of pages?



cheers,
Steve




On 20 May 2009, at 15:52, Igor Vaynberg wrote:

Since  you can only have one dtd we had to use the full HTML one a  
a base.


-igor

On Tuesday, May 19, 2009, Erik van Oosten e.vanoos...@grons.nl  
wrote:

Hi,

I recently updated the page http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html 
 for the new DTDs. However, now that I see that the DTD actually  
includes the whole xhtml spec I am doubting whether I wrote the  
correct text.


So my question for the xhtml guru's here is: what is the correct  
way to include the DTD?


Regards,
  Erik.


--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org







smime.p7s
Description: S/MIME cryptographic signature


Re: Wicket in Php

2009-05-20 Thread Paolo Di Tommaso
In other words .. impossible

-- paolo

On Wed, May 20, 2009 at 6:24 PM, Jeremy Thomerson jer...@wickettraining.com
 wrote:

 That's for you to decide.  Typically it involves some kind of jump
 page between the two applications that once you are signed in, it
 sends the user to a page in the other app with a key (perhaps a UUID,
 etc) that correlates to that user in the DB so that the other app can
 automatically sign the user in.

 The problem of course will be keeping session data in sync between the
 two since they can't share the same object.  This typically means
 persisting much of the session state to a database or memcache layer.

 --
 Jeremy Thomerson
 http://www.wickettraining.com




 On Wed, May 20, 2009 at 11:20 AM, Ajayi Yinka
 iamstyaj...@googlemail.com wrote:
  Thanks
 
 
  May I get the description on how to do the integration. I may not mind
 the
  integration, provided it can handle my session for me (As in if a user
 log
  in through a wicket page, we can use this same log in instance to manage
 the
  wicket page).
 
 
  regards,
  yinka
 
  On Wed, May 20, 2009 at 4:45 PM, Jeremy Thomerson 
 jer...@wickettraining.com
  wrote:
 
  Wicket is written in Java.  You would need to build an application in
  Java, running in a servlet container.  Perhaps you could do an
  integration and have some pages running in PHP and some in Java, but
  you are looking at a complex project.
 
  --
  Jeremy Thomerson
  http://www.wickettraining.com
 
 
 
 
  On Wed, May 20, 2009 at 10:39 AM, Ajayi Yinka
  iamstyaj...@googlemail.com wrote:
   Hi,
  
   Can anyone give me an insight on how I can integrate wicket into php
   project.
  
   I already have an application that is written in php.
  
   I will like to upgrade the application with some new features in which
 I
   prefer to use  wicket.
  
   I am afraid if this is possible?
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Wicket in Php

2009-05-20 Thread Ajayi Yinka
Thanks


May I get the description on how to do the integration. I may not mind the
integration, provided it can handle my session for me (As in if a user log
in through a wicket page, we can use this same log in instance to manage the
wicket page).


regards,
yinka

On Wed, May 20, 2009 at 4:45 PM, Jeremy Thomerson jer...@wickettraining.com
 wrote:

 Wicket is written in Java.  You would need to build an application in
 Java, running in a servlet container.  Perhaps you could do an
 integration and have some pages running in PHP and some in Java, but
 you are looking at a complex project.

 --
 Jeremy Thomerson
 http://www.wickettraining.com




 On Wed, May 20, 2009 at 10:39 AM, Ajayi Yinka
 iamstyaj...@googlemail.com wrote:
  Hi,
 
  Can anyone give me an insight on how I can integrate wicket into php
  project.
 
  I already have an application that is written in php.
 
  I will like to upgrade the application with some new features in which I
  prefer to use  wicket.
 
  I am afraid if this is possible?
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Wicket in Php

2009-05-20 Thread James Carman
I don't think they said it's impossible, but it's definitely impractical.

On Wed, May 20, 2009 at 3:12 PM, Paolo Di Tommaso
paolo.ditomm...@gmail.com wrote:
 In other words .. impossible

 -- paolo

 On Wed, May 20, 2009 at 6:24 PM, Jeremy Thomerson jer...@wickettraining.com
 wrote:

 That's for you to decide.  Typically it involves some kind of jump
 page between the two applications that once you are signed in, it
 sends the user to a page in the other app with a key (perhaps a UUID,
 etc) that correlates to that user in the DB so that the other app can
 automatically sign the user in.

 The problem of course will be keeping session data in sync between the
 two since they can't share the same object.  This typically means
 persisting much of the session state to a database or memcache layer.

 --
 Jeremy Thomerson
 http://www.wickettraining.com




 On Wed, May 20, 2009 at 11:20 AM, Ajayi Yinka
 iamstyaj...@googlemail.com wrote:
  Thanks
 
 
  May I get the description on how to do the integration. I may not mind
 the
  integration, provided it can handle my session for me (As in if a user
 log
  in through a wicket page, we can use this same log in instance to manage
 the
  wicket page).
 
 
  regards,
  yinka
 
  On Wed, May 20, 2009 at 4:45 PM, Jeremy Thomerson 
 jer...@wickettraining.com
  wrote:
 
  Wicket is written in Java.  You would need to build an application in
  Java, running in a servlet container.  Perhaps you could do an
  integration and have some pages running in PHP and some in Java, but
  you are looking at a complex project.
 
  --
  Jeremy Thomerson
  http://www.wickettraining.com
 
 
 
 
  On Wed, May 20, 2009 at 10:39 AM, Ajayi Yinka
  iamstyaj...@googlemail.com wrote:
   Hi,
  
   Can anyone give me an insight on how I can integrate wicket into php
   project.
  
   I already have an application that is written in php.
  
   I will like to upgrade the application with some new features in which
 I
   prefer to use  wicket.
  
   I am afraid if this is possible?
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Getting a encoded URL for sending a BookmarkablePageLink through e-mail

2009-05-20 Thread Kent Larsson
I'll look into it, it sounds good, thank you!

Best regards, Kent


On Wed, May 20, 2009 at 7:31 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
 mount your page - that way you will always know what the url will be
 and there is no need to have it constructed at runtime by wicket.

 -igor

 On Wed, May 20, 2009 at 10:10 AM, Kent Larsson kent.lars...@gmail.com wrote:
 I have a follow up question, a harder one.

 I want to send the mail from a Spring Bean using the Spring Framework.

 The Spring Beans mark my transaction boundary. When I call a method in
 a Spring bean a transaction is started, and when the method returns
 the transaction is commited. Inside my Wicket component code there
 never is any transaction.

 It would be best if I could create the URL inside the Spring Bean as I
 would like to do it inside the transaction.

 I guess I could do it using a callback from the Spring Bean to the
 Wicket component. But if I'm able to do it without any callback I
 think that would be a better solution. Is it possible?

 Best regards, Kent


 On Wed, May 20, 2009 at 6:33 PM, Kent Larsson kent.lars...@gmail.com wrote:
 Thank you, it worked!

 PageParameters pars = new PageParameters();
 pars.add(confirmationCode, some conf?codestring);
 System.out.println(URL:  + urlFor(ForgotPasswordRequest.class, pars));

 Best regards, Kent


 On Wed, May 20, 2009 at 6:01 PM, Clint Popetz cl...@42lines.net wrote:
 Component.urlFor(ForgotPasswordRequest.class,pars);

 (not a static...call it as urlFor(...) from your page or component)

 -Clint

 On Wed, May 20, 2009 at 10:54 AM, Kent Larsson kent.lars...@gmail.com 
 wrote:
 Hi,

 I have created a BookmarkablePageLink and I would like to grab a
 properly escaped URL-string which I can then send through e-mail.

 For my first try noHtmlSensitiveChars  fullyEscaped contained the
 empty () string:

 PageParameters pars = new PageParameters();
 pars.add(confirmationCode, someconfcodestring);
 BookmarkablePageLink bookmarkablePageLink = new
 BookmarkablePageLink(link, ForgotPasswordRequest.class, pars);
 String noHtmlSensitiveChars = 
 bookmarkablePageLink.getModelObjectAsString();
 String fullyEscaped = Strings.escapeMarkup(noHtmlSensitiveChars, true,
 true).toString();
 System.out.println(No sensitive chars: + noHtmlSensitiveChars);
 System.out.println(Fully escaped: + fullyEscaped);

 Any ideas on how I could solve this?

 Best regards, Kent

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 Clint Popetz
 http://42lines.net
 Scalable Web Application Development

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket in Php

2009-05-20 Thread Jeremy Thomerson
Not impossible.  But you really need a reason for taking on such a big
project.  I've done integration between disparate systems, for
example, between a ColdFusion application and a Tapestry application.
But they are difficult and time consuming.

You should not take on such a project just for oh, I'd like to try
new coolest thing.  This kind of project is best done if you can
migrate entire sections that do not need to inter-connect.  Anytime
you have to sync session info between multiple applications, though,
it becomes very difficult.

If you are looking for something to make your PHP application better,
more object-oriented, and separate logic and presentation, I would
HIGHLY RECOMMEND the Symfony framework [1].  I recently signed on to
do a project where it had to be in PHP because of the existing talent
within the company, and I chose Symfony.  It's the only reason I would
even take on a PHP project.  Check it out.  It's as close to Wicket as
you'll get in PHP.

[1] - http://www.symfony-project.org/

--
Jeremy Thomerson
http://www.wickettraining.com




On Wed, May 20, 2009 at 2:12 PM, Paolo Di Tommaso
paolo.ditomm...@gmail.com wrote:
 In other words .. impossible

 -- paolo

 On Wed, May 20, 2009 at 6:24 PM, Jeremy Thomerson jer...@wickettraining.com
 wrote:

 That's for you to decide.  Typically it involves some kind of jump
 page between the two applications that once you are signed in, it
 sends the user to a page in the other app with a key (perhaps a UUID,
 etc) that correlates to that user in the DB so that the other app can
 automatically sign the user in.

 The problem of course will be keeping session data in sync between the
 two since they can't share the same object.  This typically means
 persisting much of the session state to a database or memcache layer.

 --
 Jeremy Thomerson
 http://www.wickettraining.com




 On Wed, May 20, 2009 at 11:20 AM, Ajayi Yinka
 iamstyaj...@googlemail.com wrote:
  Thanks
 
 
  May I get the description on how to do the integration. I may not mind
 the
  integration, provided it can handle my session for me (As in if a user
 log
  in through a wicket page, we can use this same log in instance to manage
 the
  wicket page).
 
 
  regards,
  yinka
 
  On Wed, May 20, 2009 at 4:45 PM, Jeremy Thomerson 
 jer...@wickettraining.com
  wrote:
 
  Wicket is written in Java.  You would need to build an application in
  Java, running in a servlet container.  Perhaps you could do an
  integration and have some pages running in PHP and some in Java, but
  you are looking at a complex project.
 
  --
  Jeremy Thomerson
  http://www.wickettraining.com
 
 
 
 
  On Wed, May 20, 2009 at 10:39 AM, Ajayi Yinka
  iamstyaj...@googlemail.com wrote:
   Hi,
  
   Can anyone give me an insight on how I can integrate wicket into php
   project.
  
   I already have an application that is written in php.
  
   I will like to upgrade the application with some new features in which
 I
   prefer to use  wicket.
  
   I am afraid if this is possible?
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AutoComplete results disappear when using scrollbar in IE

2009-05-20 Thread Igor Vaynberg
sounds like we either need to build paging into the list, or you need
to limit the number of results you show.

-igor

On Tue, May 19, 2009 at 2:13 AM, Jan Grathwohl
jan.grathw...@kontrast.de wrote:
 Hi list,

 I am using Wicket's AutoCompleteTextField in my application, and the result
 list that is shown to the user by the autocomplete can be quite long in some
 situations, so that it does not fit into the browser window anymore, and the
 complete result list is only visible by scrolling down in the browser
 window.

 The problem with IE is now, if users try to use the browser's scrollbar to
 get to the end of the result list, the list immediately disappears. It looks
 like the click on the scrollbar in IE fires an onblur event, which hides the
 autocomplete's result list. As a result of this, the autocomplete can only
 be used in IE by scrolling down the page with the mouse's scroll wheel, but
 IE users without a mouse are in trouble...

 Funny thing is that this only happens if I use a HTML doctype declaration in
 the HTML page. If I remove the declaration from the HTML, IE runs in Quirks
 mode and does not fire onblur any more when clicking the scroll bar, and
 everything works. But removing the doctype declaration from my HTML then
 again breaks all the existing CSS, so this is not really a solution.

 Is this a known issue (or an issue at all)? Did anyone on this list have the
 same problem, and found a way to fix it or work around it?

 I know I could make the result list itself scrollable, by setting a height
 for div.wicket-aa, so users would scroll the div instead of the whole
 browser window. But if there is a possibility to keep the current behaviour
 of the autocomplete, only fix the problem with the click on the scrollbar, I
 would prefer that.


 BTW, the objectautocomplete component from wicket-stuff shows the same
 problem. Just add

 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
 http://www.w3.org/TR/html4/loose.dtd;
 html

 to the example HTML page, and the autocomplete's result list disappears when
 you click on the scrollbar.


 Regards,

 Jan





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Login page expired

2009-05-20 Thread Neil Curzon
Hi all,

I'm having an issue with sitting on the login page for a while before
entering credentials. You get a Page Expired if you submit after waiting too
long, and I think this will confuse my users. Especially since I was
planning on setting my custom expired page to the Login.

Some googling lead me to StatelessForm which sounded like it would solve my
problem. However, after I use it, I find I can actually never log in
successfully. For now, I just set a boolean in the session if the
credentials match. My debugging output indicates that the boolean is being
set to true. Here's the form's onSubmit.

@Override
protected void onSubmit() {
if (loginIsValid()) {
System.out.println(Yep, I'm setting logged in to true);
MySession session = MySession.get();
session.setLoggedIn(true);
setRedirect(true);
setResponsePage(AdminIndex.class);
} else {
System.out.println(NO GOOD);
error(Invalid user and/or password);
}
}

However, I also put a debug message before my newSession method in my
Application, and it seems that a new session is created for every request,
including the redirect after successful login. This results in my base page
class detecting that the user isn't logged in and redirecting back to the
Login page. Everything works fine if I change the StatelessForm back to
Form.

Is there some way I could fix this StatelessForm? Or is there some better
way to get the login form to never give a page expired?

Thanks
Neil


Getting a encoded URL for sending a BookmarkablePageLink through e-mail

2009-05-20 Thread Kent Larsson
Hi,

I have created a BookmarkablePageLink and I would like to grab a
properly escaped URL-string which I can then send through e-mail.

For my first try noHtmlSensitiveChars  fullyEscaped contained the
empty () string:

PageParameters pars = new PageParameters();
pars.add(confirmationCode, someconfcodestring);
BookmarkablePageLink bookmarkablePageLink = new
BookmarkablePageLink(link, ForgotPasswordRequest.class, pars);
String noHtmlSensitiveChars = bookmarkablePageLink.getModelObjectAsString();
String fullyEscaped = Strings.escapeMarkup(noHtmlSensitiveChars, true,
true).toString();
System.out.println(No sensitive chars: + noHtmlSensitiveChars);
System.out.println(Fully escaped: + fullyEscaped);

Any ideas on how I could solve this?

Best regards, Kent

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket meeting in Amsterdam?

2009-05-20 Thread francisco treacy
Hi Linda,

I am interested, whatever the nature of the event is (sessions, code
reviews, social, etc).

There's an existing wiki page but apparently this was lined up only
for the meeting during the ApacheCon:

http://cwiki.apache.org/WICKET/wicket-community-meetups-amsterdam.html

Any other Amsterdamers interested in such a meetup?

Francisco


2009/4/29 Linda van der Pal lvd...@heritageagenturen.nl:
 Who would be interested in a meeting in Amsterdam? We talked about it before
 in several discussions, but I thought it might attract more notice in it's
 own thread. And also what kind of meeting would you like it to be? (Social,
 unconference, sessions, code reviews, something else entirely?)

 Regards,
 Linda

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket in Php

2009-05-20 Thread Jeremy Thomerson
Wicket is written in Java.  You would need to build an application in
Java, running in a servlet container.  Perhaps you could do an
integration and have some pages running in PHP and some in Java, but
you are looking at a complex project.

--
Jeremy Thomerson
http://www.wickettraining.com




On Wed, May 20, 2009 at 10:39 AM, Ajayi Yinka
iamstyaj...@googlemail.com wrote:
 Hi,

 Can anyone give me an insight on how I can integrate wicket into php
 project.

 I already have an application that is written in php.

 I will like to upgrade the application with some new features in which I
 prefer to use  wicket.

 I am afraid if this is possible?


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: Empty response on AJAX request when the session has timed out

2009-05-20 Thread Joel Barciauskas
Upgrading to 1.3.6 made this work properly when I'm testing it with a real web 
server, e.g. when I perform the AJAX request, I am redirected to the 
PageExpiredErrorPage.  However, I am still getting strange results when using 
WicketTester.  For instance, I have the following test...


setUpUser();
login(user, password);

tester.startPage(classUnderTest);

FormTester accountSelectionFormTester = 
tester.newFormTester(accountSelectionForm);
accountSelectionFormTester.select(accountSelectBox, 0);

tester.getWicketSession().invalidateNow();
//Select client action

tester.executeAjaxEvent(accountSelectionForm:accountSelectBox, onchange);

tester.assertRenderedPage(PageExpiredErrorPage.class);

However, the assertion is failing and telling me I am still at classUnderTest!  
Is there something else magical I have to do to get the tester to invalidate 
the session??

-Original Message-
From: Joel Barciauskas [mailto:jbarciaus...@nexaweb.com] 
Sent: Wednesday, May 20, 2009 11:07 AM
To: users@wicket.apache.org
Subject: Empty response on AJAX request when the session has timed out

Hi,

I am using Spring Security with wicket-auth-roles and wicket 1.3.5.  After a 
user is logged in, the normal behavior on a session timeout is when a 
subsequent non-AJAX request is made (e.g., requesting a new page using a 
regular Link), the user is 302 redirected to the LoginPage.  However, if the 
user makes an AJAX request after the session is timed out, nothing happens.  In 
the AJAX debug console, I see the following:

INFO: ajax-response /ajax-response

Any guidance on how to configure Wicket so that when a request is made after a 
session is invalidated, the response is the same 302 redirect?

Thanks!

Joel Barciauskas

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket meeting in Amsterdam?

2009-05-20 Thread nino martinez wael
Although not an amsterdammer, I might be interested (if I get a budget
approval from my boss)..

2009/5/20 francisco treacy francisco.tre...@gmail.com:
 Hi Linda,

 I am interested, whatever the nature of the event is (sessions, code
 reviews, social, etc).

 There's an existing wiki page but apparently this was lined up only
 for the meeting during the ApacheCon:

 http://cwiki.apache.org/WICKET/wicket-community-meetups-amsterdam.html

 Any other Amsterdamers interested in such a meetup?

 Francisco


 2009/4/29 Linda van der Pal lvd...@heritageagenturen.nl:
 Who would be interested in a meeting in Amsterdam? We talked about it before
 in several discussions, but I thought it might attract more notice in it's
 own thread. And also what kind of meeting would you like it to be? (Social,
 unconference, sessions, code reviews, something else entirely?)

 Regards,
 Linda

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket Web Beans 1.1 and Wicket 1.4

2009-05-20 Thread nino martinez wael
Are there a trunk or something.. I'd really like to try it out. But im
not going back to 1.3 todo it :)

2009/5/20 Daniel Toffetti dto...@yahoo.com.ar:

 danisevsky danisevsky danisevsky at gmail.com writes:


 Hi

 I wanted to try Wicket Web Beans 1.1 upload example but I get the following
 exception

 .

 Is Wicket Web Beans 1.1 incompatible with Wicket 1.4 rc4 or is reason of
 exception something else?

 Thanks for reply


 Hi,

    WWB 1.1 is compatible with Wicket 1.3.x, it's expected that
 a new version of WWB compatible with Wicket 1.4 will be released
 shortly after Wicket 1.4 goes final.

 hth,

 Daniel



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Example of ModalWindow misleading

2009-05-20 Thread Martin Makundi
 http://www.wicket-library.com/wicket-examples/ajax/modal-window.1 is
 pretty misleading : passing components between components/page is
 quite broken as can be seen in the past discussion on the mailing list
 (serialization issue can arise and makes both sides using different
 references of the same object logically speaking).

True.

I have found that the only safe way to pass references is via
getSession().xxx so now all my (not all, but generally relevant ones)
models are in session instead of being page-scoped. Not heavy models
but selection models such that indicate what the user is operating on.

However. Instead of changing the documentation, I would rather change
the implementation such that the serialization would not break.

The same offect, however, occurs if you have some other kind of pop-up
window it would be nice to be able to continue using the
underlying page in sync with the pop-up.



**
Martin


 However, as it is in the example, I first used it considering that it
 should be ok to do so.

 Could it be changed in some way ?

 On the bigger picture, I guess it raises again the issue of the
 recommended way of communicating between the page and the modal
 window, which currently doesn't exist (session, database...??).
 However, this example is currently completely misleading, so even so
 comments to explicit the issue would be welcomed.

 thanks again
 nono

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket Web Beans 1.1 and Wicket 1.4

2009-05-20 Thread Dan Syrstad
I think Daniel was going to start work on the Wicket 1.4 migration on the
trunk sometime in the near future. Currently the trunk supports 1.3.5.

-Dan

On Wed, May 20, 2009 at 3:20 PM, nino martinez wael 
nino.martinez.w...@gmail.com wrote:

 Are there a trunk or something.. I'd really like to try it out. But im
 not going back to 1.3 todo it :)

 2009/5/20 Daniel Toffetti dto...@yahoo.com.ar:
 
  danisevsky danisevsky danisevsky at gmail.com writes:
 
 
  Hi
 
  I wanted to try Wicket Web Beans 1.1 upload example but I get the
 following
  exception
 
  .
 
  Is Wicket Web Beans 1.1 incompatible with Wicket 1.4 rc4 or is reason of
  exception something else?
 
  Thanks for reply
 
 
  Hi,
 
 WWB 1.1 is compatible with Wicket 1.3.x, it's expected that
  a new version of WWB compatible with Wicket 1.4 will be released
  shortly after Wicket 1.4 goes final.
 
  hth,
 
  Daniel
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Wicket meeting in Amsterdam?

2009-05-20 Thread Jeremy Thomerson
Me too if Nino's boss is handing out airline tickets.  :)

--
Jeremy Thomerson
http://www.wickettraining.com



On Wed, May 20, 2009 at 3:18 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
 Although not an amsterdammer, I might be interested (if I get a budget
 approval from my boss)..


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket 1.4m3 ModalWindow close problem in Opera

2009-05-20 Thread Stefan Simik

I have the same problem with the latest Opera 9.64.



FakeBoy wrote:
 
 Hi,
 I would like to ask you about my problem with modal modal window in Opera.
 When i close modal window everything works good in java (all listeners ale
 correctly called). But in browser window i still see some parts of modal
 window in background of my page. It dispappears only when i refresh page
 or invoke show modal window again. I try open modal window example
 (http://www.wicket-library.com/wicket-examples/ajax/modal-window.1) in
 opera and result is in attachment.
 Can somebody help me to fix this problem?
 Thanks Dave
  http://www.nabble.com/file/p19002461/operaModalWindow.PNG
 operaModalWindow.PNG 
 

-- 
View this message in context: 
http://www.nabble.com/Wicket-1.4m3-ModalWindow-close-problem-in-Opera-tp19002461p23643595.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Example of ModalWindow misleading

2009-05-20 Thread Matej Knopp
I think modal window example could be fixed by using
getPageReference() to pass page reference between pages instead of
page instance.

-Matej

On Wed, May 20, 2009 at 10:29 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
 http://www.wicket-library.com/wicket-examples/ajax/modal-window.1 is
 pretty misleading : passing components between components/page is
 quite broken as can be seen in the past discussion on the mailing list
 (serialization issue can arise and makes both sides using different
 references of the same object logically speaking).

 True.

 I have found that the only safe way to pass references is via
 getSession().xxx so now all my (not all, but generally relevant ones)
 models are in session instead of being page-scoped. Not heavy models
 but selection models such that indicate what the user is operating on.

 However. Instead of changing the documentation, I would rather change
 the implementation such that the serialization would not break.

 The same offect, however, occurs if you have some other kind of pop-up
 window it would be nice to be able to continue using the
 underlying page in sync with the pop-up.



 **
 Martin


 However, as it is in the example, I first used it considering that it
 should be ok to do so.

 Could it be changed in some way ?

 On the bigger picture, I guess it raises again the issue of the
 recommended way of communicating between the page and the modal
 window, which currently doesn't exist (session, database...??).
 However, this example is currently completely misleading, so even so
 comments to explicit the issue would be welcomed.

 thanks again
 nono

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket Web Beans 1.1 and Wicket 1.4

2009-05-20 Thread John Patterson

I just tried it out on 1.4 with no problems.  It took about 2 minutes to edit
the source - mainly by changing getModel() to getDefaultModel() etc


Dan Syrstad-2 wrote:
 
 I think Daniel was going to start work on the Wicket 1.4 migration on the
 trunk sometime in the near future. Currently the trunk supports 1.3.5.
 
 -Dan
 
 On Wed, May 20, 2009 at 3:20 PM, nino martinez wael 
 nino.martinez.w...@gmail.com wrote:
 
 Are there a trunk or something.. I'd really like to try it out. But im
 not going back to 1.3 todo it :)

 2009/5/20 Daniel Toffetti dto...@yahoo.com.ar:
 
  danisevsky danisevsky danisevsky at gmail.com writes:
 
 
  Hi
 
  I wanted to try Wicket Web Beans 1.1 upload example but I get the
 following
  exception
 
  .
 
  Is Wicket Web Beans 1.1 incompatible with Wicket 1.4 rc4 or is reason
 of
  exception something else?
 
  Thanks for reply
 
 
  Hi,
 
 WWB 1.1 is compatible with Wicket 1.3.x, it's expected that
  a new version of WWB compatible with Wicket 1.4 will be released
  shortly after Wicket 1.4 goes final.
 
  hth,
 
  Daniel
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 
 

-- 
View this message in context: 
http://www.nabble.com/Wicket-Web-Beans-1.1-and-Wicket-1.4-tp23630336p23644633.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



fragment markup resolution

2009-05-20 Thread Joe Fawzy
hi alli have several pages which have a lot of fragments , this works fine
when i subclassed this page class , i may change only one fragment or even
no one at all but override a method, yet i have to duplicate all the markup
for all the fragments even if they are just a clones of those in the bse
class
so , is there any way to make wicket lookup the fragments markup in the base
page if it is not found in the page or what
do i have to inplement custom markup resolver? any key or pointer on how
this can b achieved?
thanks in advance..
Joe


Re: Tools for Managing a Wicket Project

2009-05-20 Thread Vladimir K

I installed it on MyEclipse I didn't find how to format the text. Does it
capable to format text better than WTP does?


Linkan wrote:
 
 We use Aptana plugin for eclipse as html editor. If you dont install the 
 full suit its free.
 
 //Swanthe
 
 Eduardo Nunes wrote:
 I have just one problem with eclipse, I can't use the HTML formatter,
 that's very sucks. I tried tidy but it didn't work too. What do you
 use guys to format html code?

 On Mon, May 18, 2009 at 2:06 PM, Dane Laverty danelave...@gmail.com
 wrote:
   
 I just wanted to thank Jeremy, Scott, and Linda for recommending
 Effective
 Java. I read through the book this week. It's wonderful -- accessible
 and
 useful. Now I'm in the process of refactoring my project to start
 applying
 the concepts.

 On Fri, May 1, 2009 at 8:53 AM, Carlo Camerino cmcamer...@gmail.com
 wrote:

 
 we used to be bugzilla, mediawiki, continuum statck.we moved to Trac.
 It
 was
 simply amazing with all those plugins.

 Code Review WIth Trac Is Good.
 Review Board is also good software but it doesn't suit our programming
 needs.

 On Fri, May 1, 2009 at 11:38 PM, Matt Welch matt...@welchkin.net
 wrote:

   
 Tools that our team is using (after some trial and error):

 IDE - Eclipse/IDEA
 Source Control - SVN
 Build - Maven
 Local Network Maven Repo - Nexus (after a year trying different ones)
 Build Server  - TeamCity, which absolutely rocks (We actually
 purchased
 
 and
   
 used Bamboo for 9 months. I can't believe it comes from the same
 company
 
 as
   
 JIRA. Bamboo was terrible.)
 Story Mgmt/Defects - Rally (hosted commercial app for agile projects;
 not
 bad, but not fantastic either)
 Code Review - Code Collaborator (again not bad and I'd rather have it
 
 than
   
 nothing at all, but could be better)


 Our QA team has used various testing tools from expensive commercial
 
 tools
   
 like Mercury (now HP) Quality Center to Selenium. They use Rally for
 
 defect
   
 management.

 My highest recommendations are for TeamCity, Nexus, and SVN.

 -Matt


 --
 View this message in context:

 
 http://www.nabble.com/Tools-for-Managing-a-Wicket-Project-tp23299396p23334970.html
   
 Sent from the Wicket - User mailing list archive at Nabble.com.

 



   
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Tools-for-Managing-a-Wicket-Project-tp23299396p23647597.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org