Re: [Wicket-user] Accessing Template Value of a Label

2007-05-22 Thread Erik van Oosten

Well, actually, I like that solution.

 Erik.


severian wrote:
 
 OK Erik, it seems like the following works:
 
 class MyContainer extends WebMarkupContainer {
 public MyContainer(String id) {
 super(id);
 }
 
 @Override
 protected void onComponentTagBody(final MarkupStream markupStream,
 final ComponentTag openTag) {
 super.onComponentTagBody(markupStream, openTag);
 getResponse().write(*);
 }
 }
 
 I'm happy with this solution, unless anyone tells me otherwise.  I can
 easily change MyContainer to add a style (or whatever) as my requirements
 change, without touching the markup.
 
 Thanks again,
 Severian.
 

-- 
View this message in context: 
http://www.nabble.com/Accessing-Template-Value-of-a-Label-tf3796116.html#a10738893
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxPagingNavigator doesn't work as custom class

2007-05-15 Thread Erik van Oosten

Did you think of copying the templates (ie the html files) that are
associated with the navigator components?

I did succeed in extending the navigator, and also made it work with Ajax. I
must say, it was not an easy thing to do.

Regards,
Erik.


Tremelune wrote:
 
 Line for line,
 it's the same code, but one works, the other does not. There has to be
 something I'm missing.
 

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

-- 
View this message in context: 
http://www.nabble.com/AjaxPagingNavigator-doesn%27t-work-as-%22custom%22-class-tf3760248.html#a10630134
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AutoCompleteTextField

2007-05-15 Thread Erik van Oosten

Hi Marc,

1: IE 6 should work (I have autocompletion in production where most users
have IE6). If it does not work for you, it must be a regression. If you are
absolutely sure, you can file an issue.

2: Use the behavior attached to
https://issues.apache.org/jira/browse/WICKET-176.

3: I found the javadoc of the autocomplete fields quite informative. You may
find your answer to question 3 there.

Regards,
   Erik. 


Marc Stock wrote:
 
 Hello, I'm a wicket newbie so bear with me.  
 
 I'm trying to use the AutoCompleteTextField and I have three questions:
 
 1) The auto complete feature appears to work well in Firefox but does not
 work at all in IE 6.  Is there something special I need to do to get it
 working with IE 6?
 
 2) On my page, I have two autocomplete fields.  I need the second one to
 populate its list based on what they selected in the first one, however,
 when I inspect the value in the getChoices() method, it hasn't been
 updated yet.  Is there a way to get the model updated without doing a
 submit?  If so, how?
 
 3) I have a custom type I use to populate the autocomplete fields.  It has
 an id and description.  I override toString() it it all displays nicely in
 the list that appears to the user.  However, it appears that the custom
 type I created gets lost and wicket only keeps the string values.  Is
 there a way to get to the custom type I inserted (and the user selected)
 or do I have to write code to map the descriptive text back to an ID?
 
 Thanks for the help.  Sorry if these are very easy questions but I'm still
 new to wicket and trying to figure it out from reading example codes.
 
 -- Marc
 

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

-- 
View this message in context: 
http://www.nabble.com/AutoCompleteTextField-tf3760833.html#a10631615
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] weird url behaviour for bookmarkable pages

2007-05-14 Thread Erik van Oosten

Wouter,

To complete Johan: the newBrowserWindow check can detect that a page is
opened in another browser window/tab then the page it was opened from. When
this happens, a new pagemap is created.

@Johan, how does Wicket detect a new browser window/tab in 1.3?

Regards,
Erik. 


Johan Compagner wrote:
 
 i think in 2.0 the newBrowserWindow check is still enabled.
 
 this makes sure that for one pagemap only one window is open.
 If the checker finds another tab (or window) in a browser that is new and
 the pagemap
 is already used by another window then it will redirect and the same page
 will be moved
 to the new pagemap (wicket-1%3A)
 
 this can be disabled (and is already disabled in 1.3 by default when using
 the SecondLevelCache)
 
 johan
 

--
Erik van Oosten
http://2007.rubyenrails.nl/
http://day-to-day-stuff.blogspot.com/
-- 
View this message in context: 
http://www.nabble.com/weird-url-behaviour-for-bookmarkable-pages-tf3752813.html#a10607983
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] weird url behaviour for bookmarkable pages

2007-05-14 Thread Erik van Oosten



igor.vaynberg wrote:
 
 hope this explains it.
 
 -igor
 

With the addition that A' is a clone of A, it does.

Thanks Igor.
-- 
View this message in context: 
http://www.nabble.com/weird-url-behaviour-for-bookmarkable-pages-tf3752813.html#a10609207
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[jira] Commented: (WICKET-214) Call all behaviors attached to the same event

2007-05-12 Thread Erik van Oosten (JIRA)

[ 
https://issues.apache.org/jira/browse/WICKET-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495299
 ] 

Erik van Oosten commented on WICKET-214:


The situation would already be improved a lot if the javadoc would make it 
clear that it is not possible to add multiple behaviors to the same event.

Yet another option is to provide an aggregation behavior. Something that would 
allow you to merge 2 behaviors into 1. I am not sure how this could work.

I am not familiar with Wicket.Event (a 1.3 feature?).

 Call all behaviors attached to the same event
 -

 Key: WICKET-214
 URL: https://issues.apache.org/jira/browse/WICKET-214
 Project: Wicket
  Issue Type: Improvement
  Components: wicket
Affects Versions: 1.2.4, 1.3, 2.0
Reporter: Erik van Oosten
 Assigned To: Johan Compagner
 Fix For: 1.3, 2.0


 If one adds 2 AjaxFormComponentUpdatingBehaviors with event onchange to the 
 same form component, only the behavior that was added last will actually be 
 called. Please make it so that both are called.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (WICKET-176) Introduce AjaxFormElementValidatingBehavior

2007-05-12 Thread Erik van Oosten (JIRA)

[ 
https://issues.apache.org/jira/browse/WICKET-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495301
 ] 

Erik van Oosten commented on WICKET-176:


As this class validates a field on the server as soon as it is changed, this 
class would be ideal for the currently discussed HibernateValidator.

 Introduce AjaxFormElementValidatingBehavior
 ---

 Key: WICKET-176
 URL: https://issues.apache.org/jira/browse/WICKET-176
 Project: Wicket
  Issue Type: New Feature
  Components: wicket
Affects Versions: 1.2.3
Reporter: Erik van Oosten
 Assigned To: Eelco Hillenius
 Fix For: 1.3, 2.0

 Attachments: AjaxFormComponentValidatingBehavior.java, 
 AjaxFormComponentValidatingBehavior.java


 There is currently no easy  way to validate a single form element using Ajax. 
 Please add attached code to the Wicket-core.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: [Wicket-user] POST form submissions being converted to GETs

2007-05-11 Thread Erik van Oosten

Wicket will always do a redirect after the POST. So the information you are
seeing is from the second request, which is a GET.

You can install LiveHTTPHeaders in FireFox. There is something similar for
IE.

Regards,
Erik.



Lowell Kirsh wrote:
 
 I have a wicket form which is supposed to be POSTing its data. Looking
 at the generated page, it is indeed method=post. But the page that
 it redirects to thinks that it is a GET. I found this information by
 doing:
 
 WebRequest request = (WebRequest) RequestCycle.get().getRequest();
 String method = request.getHttpServletRequest().getMethod();
 
 In this case, method is GET. I don't get why this is not POST. So
 right now I'm not sure if it's mistakenly thinking it's a GET when it
 is indeed a POST, or if it's really a GET. Does anyone have any
 recommendation on how I can figure this out (eg. some tool not
 associated with wicket)?
 
 Thanks,
 Lowell
 


-- 
Erik van Oosten
http://2007.rubyenrails.nl/
http://www.day-to-day-stuff.blogspot.com/ 

-- 
View this message in context: 
http://www.nabble.com/POST-form-submissions-being-converted-to-GETs-tf3725515.html#a10426535
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] programmatic access to a wicket site

2007-05-10 Thread Erik van Oosten
Lowell,

Yes, it matters a great deal. The class java.net.HttpURLConnection does 
not give you return codes, it just throws an exception. You need to use 
something like apache commons HttpClient.

Btw, if you can not massage Wicket into doing what you want, you can 
always add a self-written servlet (or a servlet from any other 
web-framework) in the same web-application.

Regards,
 Erik.


Lowell Kirsh wrote:
 I think they will be using a java.net.HttpURLConnection. Does it matter?
   

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


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] programmatic access to a wicket site

2007-05-10 Thread Erik van Oosten
Yeah, weird it is. Perhaps that method only returns something when there 
was a result code representing a successful retrieval, so anything in 
the 200-299 range. I am positively very sure that non-2XX codes will 
trigger an IOException.

Regards,
 Erik.


Lowell Kirsh wrote:
 Really? What about the getResponseCode() method?

 http://java.sun.com/j2se/1.4.2/docs/api/java/net/HttpURLConnection.html#getResponseCode()

 But I'm sure if you are right about not being able to get it from that
 class, my clients will use the jakarta (or other) client instead.

 So the idea of using a POS (plain old servlet ;-) did cross my mind,
 but I was hoping to make my web page serve both purposes so that I
 could minimize the amount of coding I would have to do. Hopefully I
 can actually use the AbortWithWebErrorCodeException to serve this
 purpose.

   


-- 
Erik van Oosten
http://2007.rubyenrails.nl/
http://www.day-to-day-stuff.blogspot.com/


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


How do you replace a (non-optional) dependency?

2007-05-08 Thread Erik van Oosten

Hello,

I am trying to switch from commons-logging to slf4j. I have seen many
message about this, but did not find one with a solution.

I understand Craig McClanahan who wrote that many poms are broken by
requiring optional things. But in general I must disagree. The point is that
those projects really depend on the commons-logging interface, even for the
most basic functions. In my case I want to insert another project (namely
the slf4j jar that implements the same public classes, and therefore has the
same interface as commons-logging).

I have about 60 external dependencies, of which only about 15 are declared
in my poms. I have yet to find a way to find all dependency to
commons-logging. Even if I did find a way, declaring the same exclusion 60
times is not an attractive solution.

Are there solutions I missed?

Otherwise, I would something like an exclusions element (with exclusion
childs) as a direct child of the dependencyManagement element. The effect
of this would be to exclude the mentioned artifact from any dependecy (even
those I did not specify).

Regards,
Erik.

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

-- 
View this message in context: 
http://www.nabble.com/How-do-you-replace-a-%28non-optional%29-dependency--tf3709940s177.html#a10376868
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: [Radiant] Error when testing extensions

2007-05-06 Thread Erik van Oosten
Ah, that's good news. I'd better upgrade to the 0.6 release then (I am 
still on RC2).

I guess I can recreate my extension, and then copy in all the code.

Regards,
Erik.

John W. Long wrote:
 Erik van Oosten wrote:
   
 Indeed, I am not sure its a bug or a feature, but extensions can only be 
 tested in application mode.
 

 Um, no. That was true for most of the mental branch's life, but it is 
 not true for the 0.6 series. You can run tests for extensions in 
 instance or application mode.

 If the extension was created before 0.6 was released you may be forced 
 to run the tests in application mode.
   

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

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Wicket-user] Wicket-stuff GMAP

2007-05-05 Thread Erik van Oosten
Nino,

There is a special repository for the snapshots. You can find 
instructions on http://incubator.apache.org/wicket/building-from-svn.html.

Regards,
 Erik.



Nino Saturnino Martinez Vazquez Wael schreef:
 Hi

 Im trying to get the GMAP contribution to work, i've checked it out from 
 svn. But it has a dependency to wicket 1.3 snapshot, which does not exist.

 ...dependency:
 dependency
 groupIdorg.apache.wicket/groupId
 artifactIdwicket/artifactId
 version1.3.0-incubating-SNAPSHOT/version
 /dependency
 ...dependency

 Does anybody have a jar or a working source, how do I solve this?

 regards Nino

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   

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


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Good Tutorial on core wicket

2007-05-05 Thread Erik van Oosten
Probably caused by the wiki conversion some time ago.

 Erik.

cowwoc schreef:
   I wonder why the indentation is all screwed up for the code at the
 bottom, the markup text looks correct to me...

 Gili

 Scott Swank wrote:
   
 Have you seen this in the wiki?  It's a reasonable start on the sort
 of thing that I _think_ you're asking for.

 http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html

 Scott
 


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


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Bamboo Trunk build

2007-05-04 Thread Erik van Oosten
Hi,

The wiki page
http://cwiki.apache.org/confluence/display/WICKET/Wicket+from+source says
that you can find the latest snapshots on
http://wicketstuff.org/maven/repository/wicket/wicket/. There is no such
build for the trunk.

Will this be added?

Regards,
Erik.

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



Re: Bamboo Trunk build

2007-05-04 Thread Erik van Oosten
Oosp, I found it at
http://wicketstuff.org/maven/repository/org/apache/wicket/wicket/!
Of course, the groupid changed.

Have fun,
Erik.


 Hi,

 The wiki page
 http://cwiki.apache.org/confluence/display/WICKET/Wicket+from+source says
 that you can find the latest snapshots on
 http://wicketstuff.org/maven/repository/wicket/wicket/. There is no such
 build for the trunk.

 Will this be added?

 Regards,
 Erik.

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






Re: Bamboo Trunk build

2007-05-04 Thread Erik van Oosten
No no, the wiki is fine, it is just located in another sub-directory!

 fix wiki! :)

 On 5/4/07, Erik van Oosten [EMAIL PROTECTED] wrote:

 Oosp, I found it at
 http://wicketstuff.org/maven/repository/org/apache/wicket/wicket/!
 Of course, the groupid changed.

  Hi,
 
  The wiki page
  http://cwiki.apache.org/confluence/display/WICKET/Wicket+from+sourcesays
  that you can find the latest snapshots on
  http://wicketstuff.org/maven/repository/wicket/wicket/. There is no
 such
  build for the trunk.
 
  Will this be added?

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




Re: [Wicket-user] Wicket BoF @ Apache Con: thursday May 3rd, 8pm

2007-05-02 Thread Erik van Oosten
Martijn,

Was a place selected as well?
Or is it simply somewhere at some square at the conference?

Erik.

Martijn Dashorst wrote:

 We picked a time and day: May 3rd, 8pm. Be there or be square
 (obligatory '80s quote).

 Martijn



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wanted: Wicket presentation

2007-04-27 Thread Erik van Oosten
Hello,

I have been asked to give an introduction presentation on Wicket for my
colleagues.
Is there any presentation out there that I may re-use?

Regards,
Erik.


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


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wanted: Wicket presentation

2007-04-27 Thread Erik van Oosten
Bedankt Martijn!

Erik.



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wanted: Wicket presentation

2007-04-27 Thread Erik van Oosten
Yes, no problem.
I have been keeping the 'articles' page up to date for a couple of months
already :)

Erik.

 On 4/27/07, Erik van Oosten [EMAIL PROTECTED] wrote:
 Bedankt Martijn!

 Can you add the discovered presentations to a wiki page please?

 Martijn



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Replace non-wicket attributed sections of a html document

2007-04-24 Thread Erik van Oosten
Hi Andrew,

Your use-case is exactly what Wicket is about. In the template file, use 
wicket:id attributes on the img tag. Place these tags in some kind of 
container (span or div element) to be able to repeat it. In the code you 
can attach an instance of Image (or variations, see javadoc). Use a 
ListView or Repeater to repeat the images.

You can find more information in the javadocs and on the Wiki. In 
particular
http://cwiki.apache.org/WICKET/newuserguide.html, 
http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html and 
http://cwiki.apache.org/WICKET/how-to-load-an-external-image.html.

Regards,
 Erik


Andrew Moore wrote:
 Hi,
 I'm currently writing a CMS in wicket. One of the things I'm wanting to do
 is make it nice and flexible to be able to design new templates for
 rendering the page.

 I'm looking at producing an image gallery at the moment.

 For the moment I'm using  dummy.jpg  or something similar in the html files,
 which is fine.

 image1 would then be replaced by a Static Image of something like
 /images/gallery/realImage1.jpg or whatever..

 The problem is, I'm wanting to be able to make it as flexible as possible
 for the designers to be able to use what they want re javascript and markup
 to get the page how they want it.

 So for example, instead of referencing /images/gallery/realImage1.jpg via
 the wicket:id of an img tag, the value may want to be put into other parts
 of the html markup:
 e.g. 
 # 
 or


 or anything else really!

 So is there anyway this could be done?
 Maybe there is a way to process the HTML and replace data, so for exmaple I
 could have something like:

 $image1$ 
 # 


 and replace $image1$ with '/images/gallery/realImage1.jpg' while rendering
 the page.

 Anyone any suggestions?
 Thanks
 Andrew

   

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


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Replace non-wicket attributed sections of a html document

2007-04-24 Thread Erik van Oosten
Hi Andrew,

I see. Yes that makes it quite different. I am not knowledgeable enough 
on dynamic templates. So other could help you better.

There are a few other attempt to write Wicket components for a CMS. 
Perhaps you can learn from those.
http://burgerweeshuis.sourceforge.net/
http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/branches/WICKET_1_2/wicket-kronos-cms/

Regards,
 Erik.



Andrew Moore wrote:
 Hi,
 Thanks for your reply.
 I'm familiar with wicket (reasonably anyway), that may not have been clear
 from the post.
 The admin of the CMS system is all using wicket, and I'm fairly happy with
 that.

 The situation is where the CMS content template pages are unknown in
 structure, but I just want to be able to insert a marker into the page to
 replace certain values (as I'm not sure which component the references may
 be in - ie in the src attribute of an img tag, or in a parameter passed to
 some javascript etc), so I can't map wicket components to the dynamic
 content.

 I've noticed the wicket velocity and wicket freemarker contrib projects,
 would these accomplish what I want?

 I still want to have the functionality of wicket (which is great), but just
 want to be able to do effectivley some global replaces on the generated html
 markup to replace some markers with actual values.
 Hope that makes it a little clearer.
 Cheers
 Andrew




 Erik van Oosten wrote:
   
 Hi Andrew,

 Your use-case is exactly what Wicket is about. In the template file, use 
 wicket:id attributes on the img tag. Place these tags in some kind of 
 container (span or div element) to be able to repeat it. In the code you 
 can attach an instance of Image (or variations, see javadoc). Use a 
 ListView or Repeater to repeat the images.

 You can find more information in the javadocs and on the Wiki. In 
 particular
 http://cwiki.apache.org/WICKET/newuserguide.html, 
 http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html and 
 http://cwiki.apache.org/WICKET/how-to-load-an-external-image.html.

 Regards,
  Erik


 Andrew Moore wrote:
 
 Hi,
 I'm currently writing a CMS in wicket. One of the things I'm wanting to
 do
 is make it nice and flexible to be able to design new templates for
 rendering the page.

 I'm looking at producing an image gallery at the moment.

 For the moment I'm using  dummy.jpg  or something similar in the html
 files,
 which is fine.

 image1 would then be replaced by a Static Image of something like
 /images/gallery/realImage1.jpg or whatever..

 The problem is, I'm wanting to be able to make it as flexible as possible
 for the designers to be able to use what they want re javascript and
 markup
 to get the page how they want it.

 So for example, instead of referencing /images/gallery/realImage1.jpg
 via
 the wicket:id of an img tag, the value may want to be put into other
 parts
 of the html markup:
 e.g. 
 # 
 or


 or anything else really!

 So is there anyway this could be done?
 Maybe there is a way to process the HTML and replace data, so for exmaple
 I
 could have something like:

 $image1$ 
 # 


 and replace $image1$ with '/images/gallery/realImage1.jpg' while
 rendering
 the page.

 Anyone any suggestions?
 Thanks
 Andrew

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


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


 

   

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


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Radiant] access one specific child

2007-04-23 Thread Erik van Oosten
Hi Oliver,

Perhaps this should be added to Radiant's Trac.
I would welcome this patch as well.

Regards,
 Erik.


Oliver Baltzer wrote:
 I have made a little patch for that to find a URL locally relative to 
 the current page:

 --- standard_tags.rb(revision 363)
 +++ standard_tags.rb(working copy)
 @@ -396,9 +398,12 @@
 }
 tag 'find' do |tag|
   if url = tag.attr['url']
 -  if found = Page.find_by_url(tag.attr['url'])
 +  if url[0..0] != / and found = Content.find(:first, :conditions 
 = [slug = ? AND parent_id = ?, url, tag.locals.page.id])
   tag.locals.page = found
   tag.expand
 +  elsif found = Page.find_by_url(tag.attr['url'])
 +tag.locals.page = found
 +tag.expand
 end
   else
 raise TagError.new(`find' tag must contain `url' attribute)

 You just use it like find: r:find url=slug.../r:find

 Cheers,
 Oliver

   

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

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-23 Thread Erik van Oosten
Hi ZedroS,

Sorry, I am a bit late in this thread. Perhaps I am too late, but 
otherwise you might benefit from this article 
http://day-to-day-stuff.blogspot.com/2007/01/backward-compatible-ajax-development.html.

Regards,
Erik.


ZedroS Schwart wrote:
 Thanks a lot for your answer.

 In fact, I was confused because the form onSubmit was called but the
 setVisible(false) in it wasn't rendered.

 I've just added target.addComponent(form) on my ajax submit button and
 it now works properly. I didn't know this target.AddComponent was
 first of all meaning to redraw it !

 Thanks a lot !
 ZedroS
   


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


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-23 Thread Erik van Oosten
Of course, please go ahead!

When you're done, please add the French link to 
http://cwiki.apache.org/WICKET/articles-about-wicket.html.

 Erik.

ZedroS Schwart wrote:
 It's a very instructive post.

 Do you mind if I translate it to french and then publish it on this
 website : http://www.developpez.com/ ? For sure I would put a link to
 your blog ! :)

 ZedroS

   

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


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Radiant] Instance Mode and Extension testing

2007-04-20 Thread Erik van Oosten

Leon Yeh wrote:
 Has anyone seen the same problem ? Can you run your own 
 extension test on instance method ?
   
Yes, I have seen that problem. This is when I switched to that mode 
where you copy everything from the gems folder to your instance (I am 
sorry, I really cannot grok the run-mode names) for extension development.

I should not be too hard to fix the environment files to allow testing 
in all modes. I am still too inexperieced to try.

Regards,
 Erik.


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

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Wicket-user] What is Component Versioning (isVersioned())

2007-04-20 Thread Erik van Oosten
Put in the wiki as a subpage of 
http://cwiki.apache.org/WICKET/component.html.

Can someone update the static pages again? The new page does not show up 
yet.

Regards,
 Erik.

Eelco Hillenius wrote:
 Basically, it says whether a component supports back button or not
 when component replacement is used (and less importantly, when
 setModel is used)
   


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


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 1.3 ready for development?

2007-03-31 Thread Erik van Oosten
Thanks Eelco, Frank,

1.3 it will be.

Regards,
Erik.


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


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


Re: [Wicket-user] complex user case

2007-03-31 Thread Erik van Oosten
What comes close is Wicket's autocompletion field. It works just like 
google's autocompletion. It is quite flexible and easy to use.

Regards,
Erik.

richard schmidt wrote:
 I am evaluating frameworks wrt a new project I will be working on.
  
 The application requires a richish user interface (don't they all now!)
  
 The 'richest' user case is
  
 1) The user starts entering the name of a client into a text field.
  
 2) After entering a few letters they enter a special keystroke. This 
 results in a server side call looking for clients with that name.
  
 3) If only one client is found, then the clients name is entered into 
 the text field and the focus moves onto the next text field.
  
 4) If more than one client is found, then a pop up is displayed to 
 user. This pop up contains the search results as well as extra 
 controls so that the user can further narrow his search. This could 
 either be a multi page table with ordering  and filtering, or a 
 'google type' search result. By selecting one of the items, the pop up 
 is closed and the client name is entered into the text field and the 
 focus moves to the next control.
  
 Can Wicket be used to implement the user case? Or should I look at 
 stuff like GWT or Swing?
  
 Thanks
 Richard
  


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


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


Re: Bean properties

2007-03-30 Thread Erik van Oosten

Petr,

In what way do you think it might be useful?
Personally, I think that interoperability between bean-properties and 
existing code would be more cumbersome then staying with getters/setters.


Regards,
   Erik.


Petr Sakar wrote:

Can be of some use for wicket ?

http://www.theserverside.com/news/thread.tss?thread_id=44804
https://bean-properties.dev.java.net/

saki
  


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



Re: [Wicket-user] localized resource property file - fallback to default?

2007-03-30 Thread Erik van Oosten
It already does work like that.
http://cwiki.apache.org/WICKET/i18n-and-resource-bundles.html

Regards,
 Erik.


dukejansen wrote:
 Right now, if I have a localized property file (e.g. Welcome_de.properties),
 it seems I must have all resource keys defined in it.

 I would prefer to have the localizer be smart enough to fallback to the
 default properties file (e.g. Welcome.properties) if a property is not
 present in the localized property file.

 This would make it possible to add properties to the system and not have to
 translate them all immediately - let it fall back to the default language
 until someone gets around to translating it.

 Does Wicket have this easily configurable, or do I need to roll my own
 resource resolvers or other classes for this purpose?
   

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


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


Re: [Radiant] Table 'radiant_dev.config' doesn't exist

2007-03-22 Thread Erik van Oosten
There is even a shortcut!
rake db:remigrate

Regards,
Erik.


Jacob Burkhart wrote:
 Attempt to connect to your radaitn_dev database manually and confirm 
 that the config table exists.  Do any tables exists? Perhaps you need to 
 re-run the database install. or:

 rake db:migrate VERSION=0
 and then
 rake db:migrate
 

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

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] RSS Feed for archive with sub categories

2007-03-17 Thread Erik van Oosten
Hi Nancy,

That is a very nice list you have there.
Just for the record, I see someone has put them up at 
http://dev.radiantcms.org/radiant/wiki/Extensions.

Regards,
 Erik.


Nancy Carroll wrote:
 Hi Sean,

 I've been collecting them as they are announced here on the mailing
 list.  I thought I'd make a part on my (coming soon) blog for this until
 there was somehing official.

 Here is the list I have so far...
 -
 In the Radiant svn (of course)

 http://dev.radiantcms.org/radiant/browser/branches/mental/extensions
 = aggregation
 = ldap
 = mailer
 = reorder
 = search

 Private Releases

 vim extension : a href=http://www.raphinou.com/radiant.vim
 Released by: Raphael Bauduin (on 13 Mar, 2007)

 virtual_domain :
 http://silverinsanity.com/~benji/radiant/virtual_domain-1.1.tar.gz
 Released by: Brian Gernhardt (on 27 Feb, 2007)

 WYSIWYG Text Editor (based on TinyMCE) : http://tinyurl.com/2xfegp
 Released by: Chris Parris (on 4 Feb, 2007

 Maruku Text Filter : http://tinyurl.com/yr96bz
 Released by: Chris Parrish (on 24 Feb, 2007)

 rss_reader-0.2 : www.scidept.com/content/rss_reader-0.2
 Released by: BJ Clark / Loren Johnson (on 23 Jan, 2007)

 language_redirect_extension :
 https://svn1.hosted-projects.com/medlar/language_redirect_extension
 Released by: Giovanni Intini (on 22 Jan, 2007)

 page_attachments :
 http://seancribbs.com/svn/rails/plugins/extensions/page_attachments
 Released by: Sean Cribbs (on 21 Jan, 2007)
 

 Hope this helps, and happy Saturday!
 Nancy

 Sean Johnson schrieb:
   
 Great - is there a list somewhere of all the currently available extensions?

 -s
 

 ___
 Radiant mailing list
 Post:   Radiant@lists.radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
   

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

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


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

2007-03-17 Thread Erik van Oosten
Still, if you know what you are doing non-detachable models may be 
appropriate. For example, I have used them for some slow-to-get database 
query results. But I also wrote my own custom cached page invalidator to 
make sure these results do not stay around for too long.

Regards,
Erik.

Jonathan Locke wrote:
 Non-detachable models probably are not the best way to work
 with a database.  And since they can't be detached, your whole 
 model stays in the session the whole time, while the detachable 
 ones shrink to a few bytes (object header + id + transient slot)
 when they are detached by Wicket after each request.

   

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


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


Re: [Wicket-user] Apache Con Amsterdam: wicket presence

2007-03-14 Thread Erik van Oosten
If you are off into the city, I'll join you.  Perhaps I can show you one 
or two locations as well.

 Erik.


Alexandru Popescu schreef:
 On 3/14/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
   
 That is the idea, or just go and drink ourselves a hangover!
 

 As always I am in for this last proposal ;-).


   

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


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


Re: [Radiant] Alias Page Extension

2007-03-12 Thread Erik van Oosten
Thanks Brian,

That is unfortunate for me, I was looking for the reverse :(

I hoped to find an extension that would re-direct to another page so I can
maintain some URLs when I migrate to Radiant.

Regards,
Erik.


 On Mar 11, 2007, at 3:41 PM, Erik van Oosten wrote:

 What does the extension do exactly?
 Is there a bit of documentation?

 Sorry about the terseness.

 Mark a page as an Alias Page, and add a source part.  The source part
 is a path (not a URL) to another page in the system.  Whenever the
 system asks for that page, it will return the source page.  It will,
 however, search for it's
 own children before the source's.

 I plan to use this in conjunction with the virtual domain extension
 to have the same page under multiple domains.

 There is something resembling documentation in the code.

 ~~ Brian



___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Wicket-user] Spring design in Wicket

2007-03-09 Thread Erik van Oosten
Hello Roland,

Personally I would not recommend the (beta) javaconfig thing to an 
unexperienced spring user.
Avoiding XML hell is done by doing the wiring with Spring, and doing 
configuration separately (with or without Spring). I know this is a fine 
line of distinction, but one well worth exploring.

Regards,
Erik.


Roland Kaercher wrote:
 Hi ZedroS,

 you could check out the wicket pastebin at
 http://developer.berlios.de/projects/wicketpastebin/ which uses wicket
 and spring.
 I personally think using only the interfaces in your code is usually a
 good idea. If you want to avoid XML and don't mind dabbling with
 experimental code then you could take a look at
 http://www.springframework.org/javaconfig which aims to configure
 spring in java code.

 regards,

 roland

   

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


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


Re: [Wicket-user] Spring design in Wicket

2007-03-09 Thread Erik van Oosten
Hi,

ZedroS Schwart wrote:
 - one can follow a Domain Driven Design, with a manager per kind of object.
   
That is a major simplification, but yes, that is true.

 - In the Spring ApplicationContext file, I should only define
 implementations and in my Java code I should only use interfaces.

 Is that correct ?
   
Yes.

 BTW, could you advice me some goods books on the topic ? I'm reading a
 french book on it, but it doesn't detail the design aspects of it...
   
I gave you one already, but I think a book in Spring would be more 
helpful (for example 'Spring in Action', or 'Pro Spring').

Regards,
Erik.

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


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


Re: [Radiant] Radiant 0.6 RC2

2007-03-08 Thread Erik van Oosten
Great!

How you upgrade from RC1?

Regards,
Erik.


John W. Long wrote:
 Read all about it:

 http://radiantcms.org/blog/2007/03/08/radiant-0-6-release-candidate-2/

   

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

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Radiant 0.6 RC2 and extensions (Was: Radiant 0.6 RC2)

2007-03-08 Thread Erik van Oosten
Instance mode is the mode where the whole Radiant code is copied into 
your project?
If I understand correctly, instance mode is required to develop 
extensions (which I intend to to). Or are there other means?

I am sorry, its all a bit vague to me. Perhaps I have not yet seen the 
right documentation. Or perhaps there are just too many options :)

What would be the appropriate way to operate when you want to develop an 
extension which will be available for others, potentially through svn, 
but definitely through some other way (gem?)? (Perhaps important: I 
still did not have time to finish my svn setup.)

I wrote a camping application to manage a virtual e-mail domain with 
postfix (redirects only). I would like to convert it to a Radiant extension.

Regards,
Erik.


John W. Long wrote:
 John W. Long wrote:
   
 Read all about it:

 http://radiantcms.org/blog/2007/03/08/radiant-0-6-release-candidate-2/
 

 I should also add that RC2 includes recent changes in Mental that allow 
 you to run script/generate in instance mode:

script/generate extension AssetManager

 --
 John Long
 http://wiseheartdesign.com
   

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

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Wicket-user] Getting value of a text field via Ajax, no form

2007-03-08 Thread Erik van Oosten
Just dropping into the conversation (sorry, if its off topic): if you 
need to get the value of a single cell, you can use (a variation of) the 
code attached to https://issues.apache.org/jira/browse/WICKET-176. I use 
it to validate just one field.

Regards,
 Erik.

Nathan Hamblen wrote:
 Speaking of, is AjaxFormSubmitBehavior broken in the current 1.x 
 snapshot, or is it just me?

 Nathan

 Igor Vaynberg wrote:
   
 see AjaxFormComponentUpdatingBehavior

 AjaxEventBehavior doesnt send over the value of the form component, just 
 triggers a roundtrip
 

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


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


Re: [Wicket-user] Spring design in Wicket

2007-03-08 Thread Erik van Oosten
Hello ZedroS,

You ask very difficult questions which are not easy to answer. The 
ability to answer comes with years of practice and learning. I can 
recommend reading some books on design patterns.

I /can/ provide some very rough guidelines:
- put similar things in the same place (do not construct one service 
object from Spring, another from code)
- 'Managers for each kind of object' are usually called services (you 
can read more for example in Domain Driven Design from Edwards), 
normally you would instantiate services from a Spring configuration. For 
getting services in your Wicket components: see the Wicket wiki on 
Spring integration.
- about: 'Setting only the implementations in the ApplicationContext 
file and using only interfaces in my code', this is the recommend way to 
work with Spring.

Regards,
 Erik.


ZedroS Schwart wrote:
 Hi all

 As said earlier, I'm beginning with Spring and I find it a bit hard to
 know how to design my application with it.

 Let me give an example : in order for the end user to register, I've a
 registration form. Up to now, I've a registrationBean which isn't
 managed by Spring. On the form submit, I do a Spring bean and save it
 as needed.

 Is it the best way to proceed ? Or all objects used should be managed
 by Spring excepted for my pages, session and forms ?

 BTW, do you have a reference source dealing with Spring design in
 general ? I fear XML hell and I've seen so many different designs that
 I'm looking for the good way. For example, I'm hesitating between :
 - implementing somes Managers for each kind of objects
 - setting both the interfaces and the implementations in the
 ApplicationContext file
 - setting only the implementations in the ApplicationContext file and
 using only interfaces in my code
 -...

 My goals are to be able to unit test my work as well as avoid xml hell
 and the like...

 Thanks in advance
 ZedroS

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

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


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


Re: [Radiant] Radiant i18n

2007-03-07 Thread Erik van Oosten
I can provide a Dutch translation.

Do we need some kind of administration to maintain translations?

Regards,
Erik.

Julio Santos Monteiro wrote:
 Hello,

 I would like to propose to the next versions of Radiant some kind of
 internacionalization system. The only pages that need to be translated
 are the ones from the /admin.

 I can translate to Portuguese (pt) and Brazilian Portuguese (pt-br).

   

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

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Media Temple Setup

2007-03-07 Thread Erik van Oosten
Hi Jena,

Try running the script with the word 'ruby' in front of it. If you do 
not have Ruby installed, well then I am afraid you have to ask again.

  ruby ../script/setup_database production

Regards,
Erik.


Jena Jena wrote:
 Hi!

 The first line says: #!/usr/bin/env ruby

 I have no idea what language it is in. I'm not a programmer and I'm just 
 trying to teach myself this stuff.

 I also don't know where my ruby is executable.

 If I could figure that out, I'd know how to access the script from 
 terminal, yes?

 Am I even on the right track?

 Thank you!

 Anton Aylward wrote:
   
 Have you looked at the script?
 What does the first line say?
 What language is it in?
 Where is your ruby executable?

 Jena Jena said the following on 03/07/2007 03:44 PM:
 
 Here's their document/instructions:

 I'm close, I just know it, but I cannot get this to work.

 I have logged in and logged out a million times, and googled, and tried
 everything I can to get help.

 Any advice would be appreciated.

 Thank you!

   
 --
 Men fear thought as they fear nothing else on earth, more than ruin, 
 more
 even than death. . . . Thought is subversive and revolutionary, 
 destructive
 and terrible, thought is merciless to privilege, established 
 institutions,
 and comfortable habit. Thought looks into the pit of hell and is not 
 afraid.
 Thought is great and swift and free, the light of the world, and the 
 chief
 glory of man.
-- Bertrand Russell
 


   

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

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in 2.0

2007-03-07 Thread Erik van Oosten
Hello,

We are currently evaluating whether to use 1.2, 1.3 or 2.0 for a new 
project. Given that 1.3 will have a RC very soon, and that the question 
on W2.0 is even out there, we will go for 1.3 for sure.
If this is a more common sentiment, I would say: drop further 
development for 2.0 as soon as possible. In the arts world there is an 
expression: 'Kill your darlings'. I am afraid this is appropriate here 
as well.

I am sorry if Eelco en Martijn have to rewrite their book ;(

Regards,
Erik.


Eelco Hillenius wrote:
 Hi,

 We (Wicket's developers) are having some discussion over 1.3 vs 2.0
 and how difficult it is as a nun-funded project to spend so much time
 synchronizing the branches.

 A major issue in the discussion is that not everyone is convinced
 anymore that the constructor change in 2.0 is for the better. There
 are pros and cons for sure, but we want to get your opinion on this.

 Please help us out giving your opinion. We want to know:

 1) Who uses 2.0 for serious projects?

 2) What do you think of the constructor change? Do you prefer 1.3's
 add style or 2.0's style of passing in the parent construction time.

 3) If we would ever backtrack on the constructor change (*if*, don't
 panic for now) how much trouble would that give you?

 Please don't be shy giving your opinion. This is an important issue in
 the future development of Wicket.

 Regards,

 Eelco

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

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


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


Re: [Radiant] Newbie - How does one learn to use Radiant?

2007-03-06 Thread Erik van Oosten
Hi David,

There used to be some great presentations out there. However, all my links
to them are dead.

In particular the following used to be excellent an excellent
presentation: http://blog.brandalism.com/assets/2006/10/4/radiant_cms.pdf
by Nathan Wright.

Perhaps Nathan can place the presentation back somewhere? (He is still on
this list.) I'll also put my copy online this (European) evening. If you
want I can mail it directly.

Regards,
Erik.


 I am very excited about someday being able to use your Radiant CMS
 system and see you have a very active forum of people asking specific
 questions. Are there any tutorial type pages available or a book
 published on this topic?
 I  would be very grateful for a 'recommended reading list' or pointers
 to where I might learn how to produce a site in Radiant.
 I am making good progress learning to write Ruby on Rails database web
 applications...I just don't see how Rails fits into Radiant?
 I am grateful for any hints that you may offer to learn this more.
 Thank you,
 David
 dak AT itracker DOT com



___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Wicket-user] Redirecting to another internal page

2007-03-02 Thread Erik van Oosten
Hi David,

Did you already try to throw a RestartResponseException?

Regards,
Erik.


David Robison wrote:
 I have a wicket application where, when I'm constructing the requested 
 page, if I detect an error, I want to stop processing the page and 
 redirect to another page and display the error. However, everything I 
 tried reports an error that I did not finish mapping the first page. Is 
 this possible with Wicket? Any other ideas of how to approach this problem?
 Thanks, David Robison

   

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


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


Re: [Wicket-user] Nicer URLs

2007-02-28 Thread Erik van Oosten

If you want more power, you can use MixedParamUrlCodingStrategy from Wicket
1.3/2.0. If you are on the 1.2 branch you can pull it from
http://issues.apache.org/jira/browse/WICKET-138.

Regards,
 Erik.



igor.vaynberg wrote:
 
 http://wicketstuff.org/wicket13/niceurl/
 
 -igor
 

--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-- 
View this message in context: 
http://www.nabble.com/Nicer-URLs-tf3308127.html#a9245308
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: [VOTE] All examples in one project, Java 5 required

2007-02-27 Thread Erik van Oosten

(non-binding)

[ ] No, I object! Java 1.4 examples are the thing I live and die for
[x] Yes, make one examples project to rule them all, and by all means,
make it Java 1.5 dependent




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



Re: [Wicket-user] Unknown Runtime Exception in Ajax?

2007-02-26 Thread Erik van Oosten
Lets add some more risk:

Ryan Holmes wrote:
 2) Double check that any component added to your AjaxRequestTarget has a 
 markup id.
   
You do this by calling setOutputMarkupId(true) on the component 
immediately after construction.

 Erik.


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


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


[Radiant] Weird children:each behavior when mixing filters in 0.6RC1

2007-02-23 Thread Erik van Oosten
Hello,

I found a weird bug (I think) in 0.6 RC1. It appears that the behavior 
of the Radius tags differ depending on the filter.

I have the following content structure:
/Home Page (published)
 /Stukken (published)
  /1999 (published)
  /Beauty Queen of Leenane (published)
  /2000 (published)
  /Een draad in het donker (published)
  /2001 (published)
  /Roberto Zucco (published)
  /2002 (draft)
  /2003 (draft)
  /2004 (draft)
  /2005 (draft)
  /2006 (draft)
  /2007 (published)
  /Adel Blank (published)
  /Festen (published)

Some might recognize plays here, and you would be right :)

In the default layout there is the following:
r:content part=sidebar inherit=true /

In Home Page I have the part 'sidebar', filter: Textile (currently this 
is the only page which this part):
r:find url=/stukken/r:content part=menu//r:find

In Stukken I have the part 'menu', filter: None:
r:children:each order=desc
  div class=MenuBlokTitelr:link//div
  div class=MenuBlok
r:children:each order=desc
  r:if_content part=menur:content part=menu//r:if_content
/r:children:each
  /div
/r:children:each

All of the published plays have a 'menu' part, filter: none.

When I request the home page what I expect is:
 div class=MenuBlokTitela href=/stukken/2007/2007/a/div
 div class=MenuBlok
Menu content for Festen.
Menu content for Adel Blank.
 /div
 div class=MenuBlokTitela href=/stukken/2001/2001/a/div
 div class=MenuBlok
Menu content for Roberto Zucco.
 /div
 div class=MenuBlokTitela href=/stukken/2000/2000/a/div
 div class=MenuBlok
Menu content for Een draad in het donker.
 /div
 div class=MenuBlokTitela href=/stukken/1999/1999/a/div
 div class=MenuBlok
Menu content for Beauty Queen of Leenane.
 /div

However, I got the following:
pdiv class=MenuBlokTitela href=/stukken/2007/2007/a/div
  div class=MenuBlok
Menu content for Festen.
Menu content for Adel Blank.
Menu content for Roberto Zucco.
Menu content for Een draad in het donker.
Menu content for Beauty Queen of Leenane./p
/div
Also note the weird p placements.

When you change the filter of 'Home Page' part 'sidebar' to None, I get 
the expected results.

Shall I add this to Trac?

Regards,
 Erik.


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

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Wicket-user] Pure JavaScript calls from Links

2007-02-23 Thread Erik van Oosten
Attach a simple WebMarkupComponent to your a. Then add a 
SimpleAttributeBehavior(onclick, foo();) to the component.

Regards,
 Erik.

Will Morton wrote:
 I am having some issues getting my Wicket application to work.  Any 
 assistance would be much appreciated.

 I have a bunch of pre-defined JavaScript functions that I am including in 
 headers.  There are some links on my site that, when clicked, should call one 
 of these pre-defined JS functions.  However, I need to create these links 
 using Wicket, because the arguments to the functions are being pulled out of 
 the database.  When the user clicks on these links, the JS function should be 
 executed, but the user's browser should NOT hit the website.

 I have tried creating Link objects and overwriting getOnClickScript() to 
 return the function call, and onClick() with an empty method, however this 
 empty onClick() stills seems to make Wicket hit the website.  

 From within my Page class, I want to create the JavaScript, and have just 
 that JavaScript execute, and nothing else to happen at all.  Can anyone tell 
 me how to set up my Link not to do this?

 Thanks in advance!

 Will
   

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


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


Re: [Wicket-user] Pure JavaScript calls from Links

2007-02-23 Thread Erik van Oosten
Sorry, it is more something like WebMarkupContainer, not WebMarkupComponent.

 Erik.

Erik van Oosten wrote:
 Attach a simple WebMarkupComponent to your a. Then add a 
 SimpleAttributeBehavior(onclick, foo();) to the component.

 Regards,
  Erik.

 Will Morton wrote:
   
 I am having some issues getting my Wicket application to work.  Any 
 assistance would be much appreciated.

 I have a bunch of pre-defined JavaScript functions that I am including in 
 headers.  There are some links on my site that, when clicked, should call 
 one of these pre-defined JS functions.  However, I need to create these 
 links using Wicket, because the arguments to the functions are being pulled 
 out of the database.  When the user clicks on these links, the JS function 
 should be executed, but the user's browser should NOT hit the website.

 I have tried creating Link objects and overwriting getOnClickScript() to 
 return the function call, and onClick() with an empty method, however this 
 empty onClick() stills seems to make Wicket hit the website.  

 From within my Page class, I want to create the JavaScript, and have just 
 that JavaScript execute, and nothing else to happen at all.  Can anyone 
 tell me how to set up my Link not to do this?

 Thanks in advance!

 Will
   
 

   

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


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


[Radiant] Available tags does not show all tags

2007-02-21 Thread Erik van Oosten

Hi,

I started using 0.6rc1 2 days ago. One small thing I noticed is that the
'available tags' link does not show the tags that are available through the
behaviors. You can see this on the archive page when you start with a full
features blog (option 3).

Also, I find the popup window not very convenient. Since I would like to
keep the reference on screen, it would have been more convenient if the tags
showed up in another browser window.

Is it fair to add the bug and requests to trac?

Regards,
 Erik.


--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-- 
View this message in context: 
http://www.nabble.com/Available-tags-does-not-show-all-tags-tf3265522.html#a9077378
Sent from the Radiant - User mailing list archive at Nabble.com.

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: wicket modules

2007-02-19 Thread Erik van Oosten
Forgive me if I am wrong, but I thought that unknown annotations must be 
ignored by the Java compiler. If not, I stand corrected.


About logging: there is usually too much logging already. Logging is 
mostly useful for negative messages. Extracting more information from a 
log takes the hours I was talking about. :(  Debugging is more effective 
most of the time.


Regards,
Erik.

Igor Vaynberg wrote:

all these cons are invalid
you would also get class not found on the annotations like @SpringBean
and a log message tells you what modules have been initialized

:)

-igor


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



Re: wicket modules

2007-02-18 Thread Erik van Oosten

Hi Igor, Jonathan,

Good idea, I have never liked the way I had to inherit from the 
application base classes.


From a users point of view, I agree with Jonathan on the config thing, 
I'd rather have one line of code somewhere (on a predictable place, e.g. 
application#init). This also makes it immediately clear when it does not 
work: you get a classnotfoundexception. When it is implicit you can 
search for hours before you realize that a jar is missing. Especially 
when you are talking about annotations.


Regards,
Erik.


Jonathan Locke wrote:

I like the idea of snap-in modules of some sort, but I don't completely
understand what you're talking about here and I'm not sure I agree with what
all of what I do get.



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



Re: [Wicket-user] VOTE on wicket:component

2007-02-14 Thread Erik van Oosten
Hi,

I vote either:

[X] Keep wicket:component, but define its limits, document it on the wiki
as fully supported and commit to supporting it in the future

or

[X] Delete this unimportant and generally unsupported feature
with the amendment that the case below is supported in some other way


Like Timo I am using it in a number of places to keep my XHTML valid.

For example:
table
wicket:component wicket:id=persons
  trtdRow 1 of person data/td/tr
  trtdRow 2 of person data/td/tr
/wicket:component
/table

I do not know how to write this in valid XHTML without wicket:component.

Regards,
 Erik.


Jonathan Locke wrote:
 Our Wiki describes the wicket:component tag as follows:

 wicket:component - Creates a Wicket component on the fly. Needs a class
 attribute. Though this has been in wicket for a long time, it is still kind
 of an unsupported feature, as most of the core developers believe that this
 may lead to misuse of the framework. Before heavily relying on this feature,
 you might want to contact the user list to discuss alternative strategies.

 It's unclear to me that anyone is using this.  The utility is limited and
 unimportant.  And for anyone creating tooling support for wicket, this will
 be a tripping point.  I can't see any good reason to keep this feature as it
 is a way to instantiate a component in the markup and might server as the
 beginning of a bunch of requests to add component configuration or other
 code logic where we should only have nice clean markup.

 VOTE:

  [ ] Delete this unimportant and generally unsupported feature
  [ ] Keep wicket:component, but define its limits, document it on the wiki
 as fully supported and commit to supporting it in the future



   

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


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


Re: Commits on 1.2.x?

2007-02-12 Thread Erik van Oosten

Hi,

Is there a JIRA issue already?

I released a Wicket app based on a pre-1.2.5 release 2 weeks ago. I 
would like to know whether we need to create an update after 1.2.6 is out.


Regards,
Erik.


Johan Compagner wrote:
Yesterday i just fixed the AccessStackPageMap in 1.3 (that is the one 
used

in 1.2)
there is a bug in it that it leaks pages into the session under specific
circumstances

so maybe a 1.2.6?

johan


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



Re: [Wicket-user] Who is using Wicket under production environment?

2007-02-12 Thread Erik van Oosten
That page is not editable.
How can I add another Wicket app?

 Erik.

Matthes R. wrote:
 check this out:
 http://cwiki.apache.org/WICKET/#Index-SitesusingWicket

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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Who is using Wicket under production environment?

2007-02-12 Thread Erik van Oosten
Thanks. I added my app.

 Erik.


Igor Vaynberg wrote:
 not sure why it was locked...i unlocked.

 -igor

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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Test Frameworks and Wicket

2007-02-10 Thread Erik van Oosten
Hi Nilo,

I would go all the way and use Selenium for functional regression tests. 
Selenium tests are easy to produce with the excellent Firefox extension 
SeleniumIDE. The tests can then be run in IE, Firefox and a couple of 
other browsers. Some can be started automatically from a CI server.

Regards,
 Erik.

nilo de roock wrote:
 I had a brief look at the WicketTester example. It's not something I would
 like to use for writing a functional regressing test. 
   

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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] ajax libraries wicket

2007-02-08 Thread Erik van Oosten
He is talking about his beer drinking, I think...

Erik.

Scott Swank wrote:
 You know, JSF is sounding better  better

 On 2/8/07, *Eelco Hillenius* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED]  wrote:

 On 2/8/07, Eelco Hillenius  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
  On 2/8/07, Scott Swank [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
   Cyllenius is a name for the Greek god Hermes -- associated
 with commerce.
 
  That sounds a lot better than Hillenius with Herpes ;)

 Though I too have some godly features. But that's OT.

 Eelco



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[jira] Created: (WICKET-256) wicket-ajax.js not added as regular header contribution

2007-02-05 Thread Erik van Oosten (JIRA)
wicket-ajax.js not added as regular header contribution
---

 Key: WICKET-256
 URL: https://issues.apache.org/jira/browse/WICKET-256
 Project: Wicket
  Issue Type: Bug
  Components: wicket
Affects Versions: 1.2.4
Reporter: Erik van Oosten


Since wicket-ajax.js is not added as a regular header contribution, so that 
doing something like 
add(HeaderContributor.forJavaScript(AbstractDefaultAjaxBehavior.JAVASCRIPT); 
from a component will add the file to the header twice.

Discussed on the user maillist: 
http://www.nabble.com/forum/ViewPost.jtp?post=8809387framed=y

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[Wicket-user] Problem with javascript initialization order and header contributions

2007-02-05 Thread Erik van Oosten
Hi,

I have some javascript with initialization code that needs functions 
from wicket-ajax.js. However, my javascript is loaded (and run) before 
wicket-ajax.js.

The javascript is added in a component as follows:
add(HeaderContributor.forJavaScript(this.getClass(), 
AutoLogout.js));

Is there a way to force header contributions to load in a certain order?
Or, is there a way to run the initialization when all javascript has 
been loaded?

The (old) thread 
http://www.nabble.com/header-contribution-ordering-tf1768566.html did 
not provide an answer.

Regards,
 Erik.


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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Ajax - t has no properties

2007-02-05 Thread Erik van Oosten
Hi Alexis,

This is a firebug bug.
Wicket has been changed to prevent the bug from appearing in the 
upcoming 1.2.5 release.

Regards,
 Erik.


Alexis schreef:
 We're currently using wicket 1.2.4. When wicket built-in ajax refreshes an
 entire table, we kept getting this js error on the client : t has no
 properties (thanks firebug).
 You can reproduce it on 
 http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.tree.SimpleTreePage
 wicket examples 
 Has anyone experienced this ? 
 We haven't had this behaviour when using 1.2.3. 
 I couldn't find this issue on Jira, maybe it's resolved in 1.3, i haven't
 checked thought.
   

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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Problem with javascript initialization order and header contributions

2007-02-05 Thread Erik van Oosten
Oh, and euh, I am using a Wicket pre-1.2.5 snapshot from 2007-01-23.

Erik van Oosten wrote:
 Hi,

 I have some javascript with initialization code that needs functions 
 from wicket-ajax.js. However, my javascript is loaded (and run) before 
 wicket-ajax.js.

 The javascript is added in a component as follows:
 add(HeaderContributor.forJavaScript(this.getClass(), 
 AutoLogout.js));

 Is there a way to force header contributions to load in a certain order?
 Or, is there a way to run the initialization when all javascript has 
 been loaded?

 The (old) thread 
 http://www.nabble.com/header-contribution-ordering-tf1768566.html did 
 not provide an answer.

 Regards,
  Erik.


   

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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Problem with javascript initialization order and header contributions

2007-02-05 Thread Erik van Oosten
Al Maw wrote:
 Unfortunately, wicket-ajax.js is rendered as a kind-of composite 
 HeaderContributor, so you can't just go like this:
 add(HeaderContributor.forJavaScript(AbstractDefaultAjaxBehavior.JAVASCRIPT);

 ...as you'll get two of them. :-(
   
Yes, I noticed and saw the code. Are functions in wicket-ajax.js not 
intended for public use?
 This may well work, actually, but it's not very nice.
 We should probably get AbstractDefaultAjaxBehaviour to add its stuff as 
 proper HeaderContributors so that this works.

 Would you like to open a JIRA issue for this? I expect it affects both 
 1.3 and 2.0, and won't be fixed for the 1.2.x branch. :-)
   
https://issues.apache.org/jira/browse/WICKET-256
 Or, is there a way to run the initialization when all javascript has 
 been loaded?
 
 You can use the window.onload event and hook into that. If you're using 
 prototype, something like
   
I am not using prototype. I 'fixed' it with by hacking the onload 
attribute on one of my templates.

Thanks Al,
 Erik.


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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: VOTE: add Joda time as a dependency

2007-02-04 Thread Erik van Oosten

It is so big because it contains a snapshot of the tz database.

Regards,
   Erik.

Johan Compagner wrote:
why is it so big? complete wicket is 1.5 so only some date 
manipulations are

1/3th?

johan



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



Re: [Wicket-user] ApacheCon Europe 2007

2007-02-04 Thread Erik van Oosten
Ballpark: EUR 850.

Erik.

nilo de roock wrote:
 My office tried to register me, but the site is still closed. You haven't
 registered yet either?
 Any idea of the entrance fee (for the entire week)? Ballpark is fine.
 - nilo
   


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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to include a form field in the ajax request without form submit

2007-01-31 Thread Erik van Oosten
Hello Conny,

You could use the 'onclick' event, however, you won't get the value of 
the text input. So, you probably need to submit the form. For this links 
are not intended, you need a submit buttons. With css you can style the 
button as a link again (if you really must :) ). Wicket won't support 
something that can not be supported.

Please read the class comment of Wicket's Form class for a lot of 
information on form processing.

Regards,
 Erik.

Conny Kühne wrote:
 Thanks for the quick response. Unfortunately I don't quite understand 
 how to achieve the functionality with
 ajaxformcomponentupdatingbehavior. More precise, I don't know which 
 event to attache to it. I don't want to
 call the availability check onBlur but only when the link is clicked.



 2007/1/30, Igor Vaynberg  [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED]:

 see ajaxformcomponentupdatingbehavior

 -igor


 On 1/30/07, *Conny Kühne*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Hi,

 my scenario is as follows:

 I have a registration form (non ajax) and want to add a link
 that checks the availability of the username
 (i.e., if it has already been taken) via ajax.

 So I need a way to get the value of a form field without
 submitting the form. Ideally the value of the form field
 should be read (or it's model updated) when the ajax link is
 clicked.

 Is there a convinient way to achieve this behavior.

 Best regards,
 Conny



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


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


Re: [Wicket-user] Groovy integration? Scripting languages

2007-01-26 Thread Erik van Oosten
Hi Nilo,

I tried Wicket with JRuby a week ago. Unfortunately JRuby's (0.9.2) Java 
integration is not yet powerful enough to make this viable (actually, it 
simply broken). Perhaps in a couple of months I'll try again.

Regards,
 Erik.


nilo.de.roock wrote:
 I was hoping to be able to use Groovy ( or any other scripting language )
 with Wicket but I just read...
   

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


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


Re: [Wicket-user] Page Expired

2007-01-26 Thread Erik van Oosten
Hi Sajeev,

You should probably use another pagemap for each frame. This can be as 
simple as adding the pageMapName attribute to the initial frame URL.

Regards,
 Erik.

sunraider wrote:
 Hi,

 I am using Frames in my application, I have three framesets one with header
 second with tree (Wicket Tree) and three with content. I get page expired
 quite often when the user does series of actions on the content frame and
 then click on the link in the tree. 

 I have read through many posts in the forum but I am unable to get a
 solution to this problem. Can someone help me on this?

 Thanks,
 Sajeev
   

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


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


Re: [Radiant] Nabble forums ready

2007-01-24 Thread Erik van Oosten
Did not think about that. But according to 
http://www.nabble.com/help/Answer.jtp?id=21 it seems pretty easy.
Sorry I don't have the time for it today. Perhaps on Saturday.

Erik.

John W. Long wrote:
 Erik van Oosten wrote:
   
 For all forum fans out there: the three radiant lists have been imported 
 in Nabble: http://www.nabble.com/Radiant-f18309.html.
 

 Nice! How hard would it be to make it match the Radiant Web site?

 --
 John Long
 http://wiseheartdesign.com
   

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

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Nabble forums ready

2007-01-24 Thread Erik van Oosten
I came as far as what is copied below here.
A big problem is that the background should really be white as the 
Nabble images have a white background. The footer is not correct yet, 
perhaps a missing  /div.

Feel free to continue where I left off.

Regards,
Erik.

--8--

html

  head

link rel=stylesheet type=text/css 
href=http://radiantcms.org/styles.css; /

style

/style

  /head

  body

div id=header

  div id=logo

img src=http://radiantcms.org/images/logo.gif; alt=Radiant - Content 
Management Simplified /

  /div

  div id=site-links

 a href=http://radiantcms.org/;Home/a

 span class=separator | /span

 a href=http://radiantcms.org/demo/;Demo/a

 span class=separator | /span

 a href=http://radiantcms.org/download/;Download/a

 span class=separator | /span

 a href=http://dev.radiantcms.org/;Development/a

 span class=separator | /span

 a href=http://radiantcms.org/mailing-list/;Mailing List/a

 span class=separator | /span

 strongForum/strong

 span class=separator | /span

 a href=http://radiantcms.org/blog/;Weblog/a

  /div

/div

div id=content

  div class='nabble' id='nabble' /

/div

div id=footer

  p

This site is made with a href=http://ruby-lang.org;Ruby/a and 
powered by a href=http://radiantcms.org;Radiant CMS/a and Nabble.br /

Web Site Design, Logo, Etc. Copyright copy; 2006, a 
href=http://wiseheartdesign.com/;John W. Long/a. All Rights Reserved.  
/p

/div

  /body

/html

--8--



John W. Long wrote:
 Erik van Oosten wrote:
   
 For all forum fans out there: the three radiant lists have been imported 
 in Nabble: http://www.nabble.com/Radiant-f18309.html.
 

 Nice! How hard would it be to make it match the Radiant Web site?

 --
 John Long
 http://wiseheartdesign.com
 ___
 Radiant mailing list
 Post:   Radiant@lists.radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
   

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

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Comments Behavior port to an Page Type / Extension

2007-01-23 Thread Erik van Oosten
Hi Loren,

Could you add this (and your previous mail) to the Wiki?

Thanks!
Erik.


Loren Johnson schreef:
 Oops...

 A zip of the ported commentable extension code can be found here:

 http://www.fn-group.com/assets/code/commentable.zip

 Sorry about the attachment for those of you who received it  that way.

 Loren Johnson
 www.fn-group.com


 ___
 Radiant mailing list
 Post:   Radiant@lists.radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
   

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

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: Packaging our releases

2007-01-23 Thread Erik van Oosten

Hi Igor,

Actually, I do use maven. I just have lots of bad experiences with it. 
Including it screwing up my eclipse config files. I don't like it when I 
have to read a whole book for something simple as building (well, 
perhaps it is not so simple anymore :( ).



 - do we need to supply all dependencies in the source and/or binary
 distribution
You could make it optional. Spring does this and at times I have found
this very convenient.
Just an option. If is too much effort, the wicket core will suffer. So 
in that case, I could not care less :)

Building the src jars is another matter. Not everybody can/will do so.

Regards,
   Erik.


Igor Vaynberg wrote:

fine. you dont use maven, but we do. why should we spend extra time
packaging things in a zip, blah, blah when they are easily available 
to you

from the maven repo?

http://wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.3-incubating-SNAPSHOT/ 



http://mirrors.ibiblio.org/pub/mirrors/maven2/wicket/wicket/1.2.4/

rather then downloading a zip that has everything, just download the 
parts

that you need

-igor



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



Re: [Wicket-user] spring integration question

2007-01-23 Thread Erik van Oosten

Johan Compagner wrote:
 So i guess Windows Rules.. others just suck! :)
To rule and to suck can go hand in hand as well :)



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


Re: [Wicket-user] SURVEY: Are you using Page.before/afterCallComponent

2007-01-23 Thread Erik van Oosten

Not using it (and I have also never seen it before).

 Erik.


igor.vaynberg wrote:
 
 are you using Page.before/afterCallComponent? and if so what is the
 usecase?
 
 -igor
 
 

-- 
View this message in context: 
http://www.nabble.com/-Wicket-user--SURVEY%3A-Are-you-using-Page.before-afterCallComponent-tf3060803.html#a8524051
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: [Wicket-user] VOTE: IModel and 'model object' name change

2007-01-23 Thread Erik van Oosten
With those names I am changing my vote to +1.

 Erik.

Jonathan Locke wrote:
 what do you think of gustav and eelco's IModelLocator / get/setModel idea?

   

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


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


Re: [Wicket-user] update propertyModel value to null

2007-01-23 Thread Erik van Oosten
Hi Shawn,

Could you check that you have a single, properly nested form element 
in the html? I vaguely remember someone having problems with this.

 Erik.


Shawn Tumey wrote:
 onblur has the same outcome as onchange.

 Updates to myString that grow it, or shrink it work fine as long as 
 there is something in the textarea field. Clearing the field retains 
 the previous value.

 BTW, this is using 1.2.4

 any other ideas?

 On of my coworkers suggested overloading the setMyString method.

 To this end, I created:

 public void setMyString() {
this.myString = null;
 }

 this had no affect.

 On 1/23/07, *Igor Vaynberg* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 hmm can you try onblur instead of onchange, dont know if textarea
 supports that event

 -igor




 -- 
 Shawn Tumey
 Cofounder
 MT Web Productions LLC
 www.mtwebproduction.com http://www.mtwebproduction.com
 

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

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

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


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


Re: [Wicket-user] form validation

2007-01-22 Thread Erik van Oosten
Hi Tbt,

You can work with form validators:
http://cwiki.apache.org/WICKET/validating-related-fields.html

Regards,
 Erik.


tbt schreef:
 Hi! I'm a newbie to wicket and I'd like to know how to get multiple inputs
 into a single form validation class.
 eg:- i have several components in a form and in order to validate one
 component, i need the input of several other components. 
   

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


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


Re: [Radiant] Food for thought

2007-01-20 Thread Erik van Oosten
Hi Andrew,

E-mail lists and forums go hand in hand with www.nabble.com. I was 
surprised the Radiant mailing list is not on there yet. I'll get on it 
right away.

Regards,
 Erik.


Andrew Klein wrote:
 My first suggestion is a decent way of communicating. I know you may all 
 groan when I say 'forums', but right now the forums may be the best 
 option to manage this level of communications effectively

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

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Wicket-user] Setting html-tags properties

2007-01-19 Thread Erik van Oosten
Wauw!

Can also do that with more properties?
Something like input wicket:id=somethingButton type=submit 
value=hereSomething wicket:message=value=key,type=key2/ ?

Erik.

Igor Vaynberg wrote:
 input wicket:id=somethingButton type=submit value=hereSomething 
 wicket:message=value=key/

 make sure you have WicketMessageTagHandler added to markupparser.

 -igor


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


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


[jira] Updated: (WICKET-218) Removing comments from markup can fail

2007-01-18 Thread Erik van Oosten (JIRA)

 [ 
https://issues.apache.org/jira/browse/WICKET-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erik van Oosten updated WICKET-218:
---

Attachment: MarkupParserPatch.txt

 Removing comments from markup can fail
 --

 Key: WICKET-218
 URL: https://issues.apache.org/jira/browse/WICKET-218
 Project: Wicket
  Issue Type: Bug
  Components: wicket
Affects Versions: 1.2.4
Reporter: Erik van Oosten
 Attachments: MarkupParserPatch.txt


 Markup with comments in it sometimes causes Wicket to crash with a nasty 
 StringIndexOutOfBoundsException.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (WICKET-218) Removing comments from markup can fail

2007-01-18 Thread Erik van Oosten (JIRA)

[ 
https://issues.apache.org/jira/browse/WICKET-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465747
 ] 

Erik van Oosten commented on WICKET-218:


The problem is that the code tries to read beyond the comment even when the 
comment is exactly at the end of the rawMarkup.

 Removing comments from markup can fail
 --

 Key: WICKET-218
 URL: https://issues.apache.org/jira/browse/WICKET-218
 Project: Wicket
  Issue Type: Bug
  Components: wicket
Affects Versions: 1.2.4
Reporter: Erik van Oosten
 Attachments: MarkupParserPatch.txt


 Markup with comments in it sometimes causes Wicket to crash with a nasty 
 StringIndexOutOfBoundsException.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




Comments in markup sometimes throw weird exceptions

2007-01-18 Thread Erik van Oosten
(Ljava.lang.String;Ljava.lang.String;Lorg.mortbay.http.HttpRequest;Lorg.mortbay.http.HttpResponse;)Z(HttpContext.java:1807)

   at 
org.mortbay.jetty.servlet.WebApplicationContext.handle(Ljava.lang.String;Ljava.lang.String;Lorg.mortbay.http.HttpRequest;Lorg.mortbay.http.HttpResponse;)Z(WebApplicationContext.java:525)

   at 
org.mortbay.http.HttpContext.handle(Lorg.mortbay.http.HttpRequest;Lorg.mortbay.http.HttpResponse;)Z(HttpContext.java:1757)

   at 
org.mortbay.http.HttpServer.service(Lorg.mortbay.http.HttpRequest;Lorg.mortbay.http.HttpResponse;)Lorg.mortbay.http.HttpContext;(HttpServer.java:879)

   at 
org.mortbay.http.HttpConnection.service(Lorg.mortbay.http.HttpRequest;Lorg.mortbay.http.HttpResponse;)Lorg.mortbay.http.HttpContext;(HttpConnection.java:789)

Caused by: java.lang.StringIndexOutOfBoundsException: String index out of 
range: -1

   at java.lang.String.substring(II)Ljava.lang.String;(Unknown Source)

   at java.lang.String.substring(I)Ljava.lang.String;(Unknown Source)

   at 
wicket.markup.MarkupParser.removeComment(Ljava.lang.String;)Ljava.lang.String;(MarkupParser.java:391)

   at wicket.markup.MarkupParser.parseMarkup()V(MarkupParser.java:278)

   at 
wicket.markup.MarkupParser.readAndParse(Lwicket.markup.MarkupResourceStream;)Lwicket.markup.Markup;(MarkupParser.java:200)

   at 
wicket.markup.MarkupCache.loadMarkup(Lwicket.MarkupContainer;Ljava.lang.CharSequence;Lwicket.markup.MarkupResourceStream;)Lwicket.markup.Markup;(MarkupCache.java:279)

   at 
wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(Lwicket.MarkupContainer;Ljava.lang.CharSequence;Lwicket.markup.MarkupResourceStream;)Lwicket.markup.Markup;(MarkupCache.java:354)

   at 
wicket.markup.MarkupCache.getMarkup(Lwicket.MarkupContainer;Ljava.lang.Class;)Lwicket.markup.Markup;(MarkupCache.java:198)

   at 
wicket.markup.MarkupCache.getMarkupStream(Lwicket.MarkupContainer;Z)Lwicket.markup.MarkupStream;(MarkupCache.java:106)

   at 
wicket.MarkupContainer.getAssociatedMarkupStream(Z)Lwicket.markup.MarkupStream;(MarkupContainer.java:827)

   at 
wicket.MarkupContainer.renderAssociatedMarkup(Ljava.lang.String;Ljava.lang.String;)V(MarkupContainer.java:550)

   at 
wicket.markup.html.panel.Panel.onComponentTagBody(Lwicket.markup.MarkupStream;Lwicket.markup.ComponentTag;)V(Panel.java:108)

   at 
wicket.Component.renderComponent(Lwicket.markup.MarkupStream;)V(Component.java:1712)

   at 
wicket.MarkupContainer.onRender(Lwicket.markup.MarkupStream;)V(MarkupContainer.java:927)

   at 
wicket.Component.render(Lwicket.markup.MarkupStream;)V(Component.java:1526)

   at wicket.Component.renderComponent()V(Component.java:1650)

   at 
wicket.ajax.AjaxRequestTarget.respondComponent(Lwicket.Response;Ljava.lang.String;Lwicket.Component;)V(AjaxRequestTarget.java:474)

   at 
wicket.ajax.AjaxRequestTarget.respond(Lwicket.RequestCycle;)V(AjaxRequestTarget.java:361)

   at 
wicket.request.compound.DefaultResponseStrategy.respond(Lwicket.RequestCycle;)V(DefaultResponseStrategy.java:49)

   at 
wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(Lwicket.RequestCycle;)V(AbstractCompoundRequestCycleProcessor.java:66)

   at 
wicket.RequestCycle.doProcessEventsAndRespond(Lwicket.request.IRequestCycleProcessor;)V(RequestCycle.java:902)

   at wicket.RequestCycle.processEventsAndRespond()V(RequestCycle.java:934)

   at wicket.RequestCycle.step()V(RequestCycle.java:1010)

   at wicket.RequestCycle.steps()V(RequestCycle.java:1084)

   at wicket.RequestCycle.request()V(RequestCycle.java:454)

   at 
wicket.protocol.http.WicketServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(WicketServlet.java:219)

   at 
wicket.protocol.http.WicketServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(WicketServlet.java:262)

   at 
javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760)

   at 
javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)

   at 
org.mortbay.jetty.servlet.ServletHolder.handle(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletHolder.java:358)

   at 
org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(WebApplicationHandler.java:342)

   at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainProxy.java:264)

8-


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



Re: Comments in markup sometimes throw weird exceptions

2007-01-18 Thread Erik van Oosten

Hi,

I found the problem already. I'll create a Jira issue with the solution.

Regards,
Erik.


Erik van Oosten wrote:

Hi,

Whenever I try to comment out parts of the markup I get weird 
exceptions (attached below). I have tried to make a quick-start 
application to reproduce this. But after trying very hard for at least 
half an hour I could not create a case. Apparently, the exception only 
occurs in complex situations.


Are there developers aware of this problem?

Regards,
Erik.

8- 



ERROR - AjaxRequestTarget  - Error while responding to an AJAX 
request: [EMAIL PROTECTED] markupIdToComponent 
[{maincontent_searchresult=[MarkupContainer [Component id = 
searchresult, page = nl.amsterdam.rbrb.web.search.SearchPage, path = 
2:maincontent:searchresult.WozSearchResult, isVisible = true, 
isVersioned = false]], maincontent_searchform=[MarkupContainer 
[Component id = searchform, page = 
nl.amsterdam.rbrb.web.search.SearchPage, path = 
2:maincontent:searchform.SearchPanel$1, isVisible = true, isVersioned 
= false]]}], prependJavascript [[]], appendJavascript [[]]


wicket.WicketRuntimeException: Exception in rendering component: 
[MarkupContainer [Component id = searchresult, page = 
nl.amsterdam.rbrb.web.search.SearchPage, path = 
2:maincontent:searchresult.WozSearchResult, isVisible = true, 
isVersioned = false]]


   at 
wicket.Component.renderComponent(Lwicket.markup.MarkupStream;)V(Component.java:1739) 



   at 
wicket.MarkupContainer.onRender(Lwicket.markup.MarkupStream;)V(MarkupContainer.java:927) 



   at 
wicket.Component.render(Lwicket.markup.MarkupStream;)V(Component.java:1526) 



   at wicket.Component.renderComponent()V(Component.java:1650)

   at 
wicket.ajax.AjaxRequestTarget.respondComponent(Lwicket.Response;Ljava.lang.String;Lwicket.Component;)V(AjaxRequestTarget.java:474) 



   at 
wicket.ajax.AjaxRequestTarget.respond(Lwicket.RequestCycle;)V(AjaxRequestTarget.java:361) 



   at 
wicket.request.compound.DefaultResponseStrategy.respond(Lwicket.RequestCycle;)V(DefaultResponseStrategy.java:49) 



   at 
wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(Lwicket.RequestCycle;)V(AbstractCompoundRequestCycleProcessor.java:66) 



   at 
wicket.RequestCycle.doProcessEventsAndRespond(Lwicket.request.IRequestCycleProcessor;)V(RequestCycle.java:902) 



   at 
wicket.RequestCycle.processEventsAndRespond()V(RequestCycle.java:934)


   at wicket.RequestCycle.step()V(RequestCycle.java:1010)

   at wicket.RequestCycle.steps()V(RequestCycle.java:1084)

   at wicket.RequestCycle.request()V(RequestCycle.java:454)

   at 
wicket.protocol.http.WicketServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(WicketServlet.java:219) 



   at 
wicket.protocol.http.WicketServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(WicketServlet.java:262) 



   at 
javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760) 



   at 
javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853) 



   at 
org.mortbay.jetty.servlet.ServletHolder.handle(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletHolder.java:358) 



   at 
org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(WebApplicationHandler.java:342) 



   at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainProxy.java:264) 



   at 
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(HttpSessionContextIntegrationFilter.java:193) 



   at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainProxy.java:274) 



   at 
org.acegisecurity.util.FilterChainProxy.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(FilterChainProxy.java:148) 



   at 
org.acegisecurity.util.FilterToBeanProxy.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(FilterToBeanProxy.java:98) 



   at 
org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(WebApplicationHandler.java:334) 



   at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(Ljava.lang.String;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Lorg.mortbay.jetty.servlet.ServletHolder;)V(WebApplicationHandler.java:286

Re: VOTE: include WICKET-218 in 1.2.5

2007-01-18 Thread Erik van Oosten

+1 (non binding)

Igor Vaynberg wrote:

include https://issues.apache.org/jira/browse/WICKET-218 in 1.2.5

-igor




Re: [Wicket-user] ApacheCon Europe 2007

2007-01-17 Thread Erik van Oosten
Hello Martijn,

I can present my application for the municipality of Amsterdam. Have to 
ask for permission first of course.
How do I apply?

Regards,
 Erik.


Martijn Dashorst wrote:
 Not sure, perhaps give each willing person a time slot to show off
 their application, something like 10 minutes (depending on the number
 of people that want to give it a go) with:
  - personal introduction (who are you, what company, what does the comp do)
  - purpose of application (market, what can you do with it, etc)
  - demo
  - why did you choose wicket (viral marketing, liked what you saw, got
 recommended by a friend, other)
  - what other technologies did you use
  - what were the top 3 problems you had
  - what were the top 3 benefits you recieved

 It is a lot to cover in 10 minutes though. Basically anything that
 shows off your application and gives us more insight into how Wicket
 was used and where we can improve things.

 Martijn
   

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


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


Re: [Wicket-user] Multiple sessions from one client

2007-01-17 Thread Erik van Oosten
Short answer: NO.

Long answer: mostly no, but it strongly depends on the browser.

Solution: do not use the session (is against Wicket matra anyway) but 
maintain state in the Wicket components. Make sure that your components 
are versioned (defaults to on).

Regards,
 Erik.


Johannes Fahrenkrug wrote:
 Is it possible to have multiple sessions from the same client?
   

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


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


Re: [Wicket-user] skandinavian characters encoding lost...

2007-01-16 Thread Erik van Oosten
Thanks Jürgen, thats the one.
I added a link to the Wicket wiki.

 Erik.

Juergen Donnerstag wrote:
 http://cwiki.apache.org/WW/how-to-support-utf-8-uriencoding-with-tomcat.html

 Juergen

   

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


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


Re: [Wicket-user] Making disappear a section

2007-01-16 Thread Erik van Oosten
Another option is to:
- attach a AjaxFallbackLink to the arrow,
- override the onClick method,
- in the method replace the component you want to hide with the one you 
want to show:
  compToHide.replaceWith(compToShow);
- then finish the method with:
   if (target != null) { target.addComponent(compToShow); }

You now have changed the page structure. Upon the re-render the new 
component is displayed (non-ajax browser). But in the last step you 
enable an Ajaxified replace as well.

I recently wrote an article about this on my blog: 
http://day-to-day-stuff.blogspot.com/2007/01/backward-compatible-ajax-development.html

Have fun,
Erik.


Martijn Dashorst wrote:
 For individual elements, where you don't mind having all markup
 already in the source of the page:

 Hiding:
 ajaxrequesttarget.appendJavaScript(document.getElementById(' +
 component.getMarkupId() + ').style.display = 'none';);

 Showing:
 ajaxrequesttarget.appendJavaScript(document.getElementById(' +
 component.getMarkupId() + ').style.display = '';);

 Otherwise, put everything in the panel, and update the whole panel
 whilst setting the visibility flags of the child components:

 class MyPanel extends Panel {
 private WebMarkupContainer normalView;
 private WebMarkupContainer detailedView;
 private AjaxLink showDetails;
 private AjaxLink hideDetails;

 MyPanel() {
 ...
 add(showDetails = new AjaxLink(showDetails) {
 onClick(AjaxRequestTarget t) {
 normalView.setVisible(false);
 hideDetails.setVisible(true);
 detailedView.setVisible(true);
 setVisible(false);
 t.addComponent(MyPanel.this);
 }});

 The rest is left as an exercise to the reader.

 Martijn
   

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


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


Re: [Wicket-user] Making disappear a section

2007-01-16 Thread Erik van Oosten
Martijn's example works only with JavaScript but needs no server roundtrip.
Igor's and my version also works without JavaScript but does need to 
make a call to the server.

My version is probably more useful when you need to switch more things 
in and out. Now I reread your question, this does not seem to be the 
case. So either of the Martijn and Igor solutions are appropriate.

Erik.


Marc-Andre Houle wrote:
 Every one of you seem's to have a different answer, but I'm not sure 
 which one is the best...

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


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


Re: [Wicket-user] When the connetction must be opened and when it have to closed?

2007-01-16 Thread Erik van Oosten
Did you attach a component to the submit button?
If you read the class comment of Form you can see that this may change 
form processing quite a bit.

Otherwise your code looks ok to me.

Regards,
 Erik.

Ramazan Pekin wrote:
 I have created a BaseForm class which extending Form class. I have 
 overrided Form.process() function but when I run the application I 
 have seen that, the process() function running and terminating before 
 reaching onSubmit() function. Because of that if I create the 
 connection on process() function I cant reach from onSubmit() function 
 before it is terminated so before the connection closed.
  

 @Override

 **

 *public* *boolean* process(){

 openConnection();

 *boolean* superProcess = *super*.process();

 closeConnection();

 *return* superProcess;

 }

  

 Is there any other way to provide a connection when ever the form 
 processed. Can you help me with code. Thanks for now.



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


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


[jira] Created: (WICKET-214) Call all behaviors attached to the same event

2007-01-15 Thread Erik van Oosten (JIRA)
Call all behaviors attached to the same event
-

 Key: WICKET-214
 URL: https://issues.apache.org/jira/browse/WICKET-214
 Project: Wicket
  Issue Type: Improvement
  Components: wicket
Affects Versions: 1.2.4, 1.3, 2.0
Reporter: Erik van Oosten


If one adds 2 AjaxFormComponentUpdatingBehaviors with event onchange to the 
same form component, only the behavior that was added last will actually be 
called. Please make it so that both are called.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: [Wicket-user] ComponentModel

2007-01-15 Thread Erik van Oosten
Hi Nino,

You should never use div/ but always div/div.

Regards,
 Erik.


Nino Wael wrote:
 Hmm this does not difference, still not working.. Heres the markup before 
 processing:

   

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


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


Re: [Wicket-user] skandinavian characters encoding lost...

2007-01-15 Thread Erik van Oosten
Are you using Tomcat?

 Erik.

Nino Wael schreef:

 Hi

  

 I seem to be expriencing lost of encoding, if I have an text area and 
 text field and if Æ Ø or Å are entered then they do not get interpered 
 as Å Ø Æ but losses their encoding. Am I missing something? Wicket 
 does pickup that the browser are in Danish locale and actually does 
 display the default text in dropdowns in Danish(choose one – vælg en).

  

 Regards Nino

 

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

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

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


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


Re: [Wicket-user] Input Field background color change on validation

2007-01-15 Thread Erik van Oosten
Hi Cliff,

You can look on the Wiki: http://cwiki.apache.org/WICKET/forms.html
The wicket-examples probably have some eh, examples.

The basic thing is to call formfield#add(IValidator).

Have fun,
 Erik.


Cliff Pereira wrote:
 Hi,

 first of all. Thanks for your help. This version seems much easier and 
 clearer to me. But still I do not now where to validate the input of 
 the field. Should I use the wicket validators? I'm not so familiar 
 with that. Would be kind, if you could give me one or two more hints! 
 The models returns valid on startup. So the textfield is green. :-( 
 How do I change the value returned by the isValid() method? Could you 
 give me a hint, how to check for Cliff e.g.?
 

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


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


[Wicket-user] Adding multiple behaviors fails

2007-01-15 Thread Erik van Oosten
Hi,

In my current application I added 2 AjaxFormComponentUpdatingBehaviors 
with event onchange to the same form component. Only the behavior that 
is added last will actually be called. Is this on purpose? I would like 
both to be called.

I tried both on 1.2.4 and a fresh (today) 1.2 snapshot.

Regards,
 Erik.


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


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


<    3   4   5   6   7   8   9   10   11   >