[Wicket-user] [Wicket-User] How I selected Wicket

2007-02-04 Thread nilo de roock

( A bit off-topic but not too far )
Maybe it's interesting to know how I found Wicket. 
This was my startpoint ( i think )
http://www.java-source.net/open-source/web-frameworks
( I really like that site btw )
Apply a few criteria... otherwise I simply can't advise it to a client. ( I
already worked with Groovy for a client thanks to my advise )
- component based? ( a yes ) 
- do they have a book out? ( must, no future without one )
- company backing? ( preferred )
- what's the community like? ( i prefer CodeHaus over ASF )
Anyway,
- shortlist of 2: Tapestry, Wicket/Databinder
During the process I got doubts and looked at GWT and Echo. ( Returned asap
)
How do I like Wicket sofar?
Well, I read the book. Studied most parts of it.
What worries me is that I haven't started coding my app yet.
Subconcious doubts perhaps?
Yesterday I had a lot of annoying trouble trying to find things, etc.
Then I looked at this feature-list of Tapestry 5:
http://tapestry.apache.org/tapestry5/
They are going to address every reason why people may choose Wicket
What I don't like in Tapestry for example is the additional XML file in
between .java and .html, they fix that with annotation.
Anyway, I am going to try to compile 1.x now.
-nilo

-- 
View this message in context: 
http://www.nabble.com/-Wicket-User--How-I-selected-Wicket-tf3169035.html#a8790852
Sent from the Wicket - User mailing list archive at Nabble.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 DropDownChoice - retain selected value when choices are refreshed

2007-02-04 Thread Frank Bille

You have to submit the entire form using AjaxFormSubmitBehavior to also get
the value of B. AjaxFormComponentUpdatingBehavior only submit the form
component which it is attached to.

Frank


On 2/3/07, Peter Thomas [EMAIL PROTECTED] wrote:


Hi,

I have these two DropDownChoices (A and B) and I am refreshing the choices
in B through Ajax when the selection in A changes.
AjaxFormComponentUpdatingBehavior works fine, no problems here.

In my case many of the choices in B are common for all the possible
selections in A.  Consider the case that the user has already made a
selection in B, changes his mind and flips A.

What is happening now is of course, B is completely reset.  What I would
like is that if the earlier selected value of B is still available in the
new, refreshed list of choices, I would like that pre-selected.

I'm guessing that in the Ajax request to the server I need to be able to
send the information about what is currently selected in B.  How can I do
this?

Hope this makes sense!

Thanks,

Peter.



-
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



-
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-User] How I selected Wicket

2007-02-04 Thread Eelco Hillenius
 What worries me is that I haven't started coding my app yet.

That worries me too, especially considering the amount of emails you
sent this week ;)

Seriously, just start coding in the alternatives you like and see what
fits you best.

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


Re: [Wicket-user] How to download Wicket Javadoc ?

2007-02-04 Thread ZedroS Schwart
You're right, thanks a lot :)

ZedroS

On 2/4/07, Matthew Kwong [EMAIL PROTECTED] wrote:

 If it is 1.2.4, the apidoc is in wicket-1.2.4.zip\docs\apidocs folder.

 Matthew Kwong


 ZedroS Schwart wrote:
 
  Hi all
 
  Where could I download the Wicket Javadoc ?
 
  Thanks in advance
  ZedroS
 
  -
  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
 
 

 --
 View this message in context: 
 http://www.nabble.com/-Wicket-user--How-to-download-Wicket-Javadoc---tf3167834.html#a8788429
 Sent from the Wicket - User mailing list archive at Nabble.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


-
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 1.2.4] JIRA issue? Ampersand char problem in wicket.markup.html.link.ExternalLink.java

2007-02-04 Thread Johan Compagner

this has to be fixed different later on.
Because this is horrible. Everywhere we have those special url encoding char
replacing
of urls. That should go into one place (at moment of constructing and
rendering the url)

johan


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


Fixed, see http://issues.apache.org/jira/browse/WICKET-251

Eelco

On 1/23/07, Kadir Sener GUMUS [EMAIL PROTECTED] wrote:
 Hi all,
 i experienced a problem with href attribute of rendered ExternalLink.
 In our application, i needed to parse rendered html in a SaxParser
 implementation. But i couldnt!  When i looked in source codes of
 ExternalLink and Link, i saw the problematic line is that, in
ExternalLink
 there is no escaping for  signs.

 line 159:
  tag.put(href, url);
 should be as below
  tag.put(href , Strings.replaceAll(url, , amp;));
(which
 was already in the Link.java file)


 Regards
 Kadir

-
 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




-
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

-
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 wicket dtd in IDEA

2007-02-04 Thread Timo Rantalaiho
On Sat, 03 Feb 2007, Dmitry Kandalov wrote:
 I define namespace like this html xmlns=http://www.w3.org/1999/xhtml;
 xmlns:wicket=http://wicket.sourceforge.net/; and use
 wicket-xhtml1-strict.dtd. But IDEA says wicket:id is not allowed and can't
 recognize wicket tags. I wrote simple xsd for wicket tags and added
 wicket:id to IDEA custom tags to avoid the problem, though it might be not
 the best decision.
 
 Does anyone have similar problem?

There is an XSD in svn, I'm using that with IDEA. 

  
https://svn.apache.org/repos/asf/incubator/wicket/trunk/wicket/wicket-xhtml1-strict.dtd

I think that I also added some tags to IDEA custom tags and
maybe did something more.
Anyway now I am content as I can pretty much validate the
HTML templates with IDEA.

-- 
Timo Rantalaiho
Reaktor Innovations OyURL: http://www.ri.fi/ 

-
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 refreshing of DataTable

2007-02-04 Thread Jean-Baptiste Quenot
Hi PH,

Can you please send the relevant HTML markup snippet?  Did you try
adding to AjaxRequestTarget an element  that holds both the filter
toolbar and the data table?
-- 
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-
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] Right-click context menu

2007-02-04 Thread Jean-Baptiste Quenot
* Bruce Fraser:

 We   are   looking   for   something   similar   to   the   Dojo
 one   (http://dojotoolkit.org/  General   Widgets  -   Menu  -
 ContextMenu), and that will most likely  be what we'll use if we
 can't find a Wicket alternative.

If you  think the Dojo  ContextMenu could be nicely  integrated to
Wicket,  please checkout  wicket-contrib-dojo  and  see where  the
context menu would best fit.  We'd be more than happy to integrate
your contribution.

http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-dojo
-- 
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-
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-User] How I selected Wicket

2007-02-04 Thread Igor Vaynberg

On 2/4/07, Eelco Hillenius [EMAIL PROTECTED] wrote:


 What worries me is that I haven't started coding my app yet.

That worries me too, especially considering the amount of emails you
sent this week ;)

Seriously, just start coding in the alternatives you like and see what
fits you best.



dont you know that trolls dont code :)

-igor



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

-
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] Right-click context menu

2007-02-04 Thread Vincent Demay

Jean-Baptiste Quenot a écrit :

* Bruce Fraser:

  

We   are   looking   for   something   similar   to   the   Dojo
one   (http://dojotoolkit.org/  General   Widgets  -   Menu  -
ContextMenu), and that will most likely  be what we'll use if we
can't find a Wicket alternative.



If you  think the Dojo  ContextMenu could be nicely  integrated to
Wicket,  please checkout  wicket-contrib-dojo  and  see where  the
context menu would best fit.  We'd be more than happy to integrate
your contribution.

http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-dojo
  


Hi,

I've just finished to integrate DojoMenu, It is easy to use :
for exemple :

   DojoSimpleContainer container = new 
DojoSimpleContainer(container);

   container.setHeight(500px);
  
   DojoMenu menu = new DojoMenu(menu);

   menu.addChild(new DojoMenuItem(about, About));
   menu.addChild(new DojoMenuItem(edit, Edit)
   .addChild(new DojoMenuItem(copy, Copy, new 
ResourceReference(MenuSample.class, copy.jpg)))
   .addChild(new DojoMenuItem(move, Move, new 
ResourceReference(MenuSample.class, move.jpg;

   container.add(new DojoContextualMenuBehavior(menu));
  
   add(container);


And you do not need to add any html in your template. If you want to use 
it, just check-out the svn repository


--
Vincent Demay
http://www.demay-fr.net/blog/index.php/en


-
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] Right-click context menu

2007-02-04 Thread Jean-Baptiste Quenot
* Vincent Demay:

 I've just finished to integrate DojoMenu

Hi Vincent,

Great work!   However in your  MenuSample example, it's  not clear
how to intercept which particular menu item has been selected.  Am
I missing something?
-- 
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-
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] 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] Right-click context menu

2007-02-04 Thread Vincent Demay

Jean-Baptiste Quenot a écrit :

* Vincent Demay:

  

I've just finished to integrate DojoMenu



Hi Vincent,

Great work!   However in your  MenuSample example, it's  not clear
how to intercept which particular menu item has been selected.  Am
I missing something?
  

Thanks JB

Yes you miss onClick(AjaxRequestTarget target) in DojoMenuItem. it is 
triggered on click on the item :


[...]
new DojoMenuItem(move, Move, new ResourceReference(MenuSample.class, 
move.jpg)){

   public void onClick(AjaxRequestTarget target){
  //what ever you want here
   }
}
[...]


-
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


[Wicket-user] wicket-contrib-tinymce textareas

2007-02-04 Thread Francisco Treacy
Hi wicketers,

I'm having a problem/ doubt with a particular TinyMCE setting and its 
implementation in the wicket-contrib-tinymce project.

How can I change 

tinyMCE.init({
 mode : textareas,
 ...
});

for

tinyMCE.init({
 ...
 mode : exact,
 elements : elm1,elm2
});
or mode : specific_textareas ?

Cause I don't want *all* of the textareas in my page to be tinymce'd. I can't 
find this setting anywhere, particularly in the TinyMCESettings class where it 
should be settable.

Thanks in advance for your help!

Regards,
Francisco


-
 Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses.-
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-contrib-tinymce textareas

2007-02-04 Thread Igor Vaynberg

i dont know about the integration in wicket-stuff project, but i wrote my
own very simple one. the idea is to use a behavior to enable tinymce for a
textfield. see attached behavior, might help you get a head start.

the usage is pretty basic

TextArea textarea=new TextArea(...);
textarea.add(new TinyMceEnable());

-igor


On 2/4/07, Francisco Treacy [EMAIL PROTECTED] wrote:


Hi wicketers,

I'm having a problem/ doubt with a particular TinyMCE setting and its
implementation in the wicket-contrib-tinymce project.

How can I change

tinyMCE.init({
 mode : textareas,
 ...
});


for

tinyMCE.init({
 ...
 mode : exact,
 elements : elm1,elm2
});

or mode : specific_textareas ?

Cause I don't want *all* of the textareas in my page to be tinymce'd. I
can't find this setting anywhere, particularly in the TinyMCESettings class
where it should be settable.

Thanks in advance for your help!

Regards,
Francisco

--
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions
! Profitez des connaissances, des opinions et des expériences des
internautes sur Yahoo! 
Questions/Réponseshttp://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.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



/*
 * Copyright Teachscape
 */
package ts4.web.wicket.behavior.tinymce;

import wicket.behavior.AbstractAjaxBehavior;
import wicket.markup.ComponentTag;
import wicket.markup.html.IHeaderResponse;

public class TinyMceEnabler extends AbstractAjaxBehavior {

	private boolean allowLinking = true;

	private boolean allowFormatting = true;

	/**
	 * Checks if this editor allows html formatting
	 * 
	 * @return allowFormatting
	 */
	public boolean isAllowFormatting() {
		return allowFormatting;
	}

	/**
	 * Sets if this editor allows html formatting
	 * 
	 * @param allowFormatting
	 *allowFormatting
	 */
	public TinyMceEnabler setAllowFormatting(boolean allowFormatting) {
		this.allowFormatting = allowFormatting;
		return this;
	}

	/**
	 * Checks if this editor is allowed to create html anchors.
	 * 
	 * @return allowLinking
	 */
	public boolean isAllowLinking() {
		return allowLinking;
	}

	/**
	 * Sets if this editor is allowed to create html anchors.
	 * 
	 * @param allowLinking
	 *allowLinking
	 */
	public TinyMceEnabler setAllowLinking(boolean allowLinking) {
		this.allowLinking = allowLinking;
		return this;
	}

	public void onRequest() {
		throw new UnsupportedOperationException();
	}

	/**
	 * @see wicket.behavior.AbstractAjaxBehavior#renderHead(wicket.markup.html.IHeaderResponse)
	 */
	@Override
	public void renderHead(IHeaderResponse response) {
		super.renderHead(response);

		StringBuilder layout = new StringBuilder(theme_advanced_buttons1: \);
		if (isAllowFormatting()) {
			layout
	.append(bold,italic,underline,strikethrough,separator,undo,redo,separator,bullist,numlist,separator,);
		}
		if (isAllowLinking()) {
			layout.append(link,unlink,separator,);
		}
		layout
.append(spellchecker\,theme_advanced_buttons2:\\,theme_advanced_buttons3:\\,theme_advanced_buttons4:\\);

		response
.renderString(script language=\javascript\ type=\text/javascript\ src=\/html/static/js/tiny_mce/tiny_mce.js\/script\n);

		response
.renderJavascript(
		tinyMCE.init({mode:\specific_textareas\,textarea_trigger:\rte\,plugins:\spellchecker\,spellchecker_languages:\+English=en\,theme:\advanced\,
+ layout.toString() + ,content_css : \/html/static/css/tsTinyMceContent.css\});,
		TinyMceEnabler);
	}

	protected boolean isEnabled() {
		return true;
	}

	@Override
	protected void onBind() {
		getComponent().setOutputMarkupId(true);
	}

	@Override
	protected void onComponentTag(ComponentTag tag) {
		if (isEnabled()) {
			tag.put(rte, true);
		}
	}

}
-
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


[Wicket-user] property expression language

2007-02-04 Thread Scott Swank

A quick point of curiosity, does the property expression language support
expressions beyond foo.bar?  I searched the wiki and couldn't find any
more information that that in the models page under PropertyModel and
CompoundPropertyModel.

Thank you.

--
Scott Swank
reformed mathematician
-
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


[Wicket-user] setting model for FileUploadField explicitly

2007-02-04 Thread Prashant Khanal
Hello all,
How to set the model for the file upload field explicitly?



 

Need Mail bonding?
Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=listsid=396546091

-
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] property expression language

2007-02-04 Thread Igor Vaynberg

we support array/map access a[0] or a[foo] and i believe (not sure) method
invocation a.foo()

-igor


On 2/4/07, Scott Swank [EMAIL PROTECTED] wrote:


A quick point of curiosity, does the property expression language support
expressions beyond foo.bar?  I searched the wiki and couldn't find any
more information that that in the models page under PropertyModel and
CompoundPropertyModel.

Thank you.

--
Scott Swank
reformed mathematician
-
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



-
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] property expression language

2007-02-04 Thread Eelco Hillenius
Not much. See 
http://wicket.sourceforge.net/apidocs/wicket/util/lang/PropertyResolver.html

We started out with OGNL in the past but:
1) OGNL at one point took about 30% processor time of the whole
request. We simplified and optimized and wrote OGNL out.
2) We feel it's not the recommended way of programming to rely on
property expressions beyond simple navigations
3) By overriding
wicket.model.AbstractPropertyModel#onGetObject(wicket.Component) and
AbstractPropertyModel#onSetObject(Component, Object) users can provide
their own resolving if

Eelco


On 2/4/07, Scott Swank [EMAIL PROTECTED] wrote:
 A quick point of curiosity, does the property expression language support
 expressions beyond foo.bar?  I searched the wiki and couldn't find any
 more information that that in the models page under PropertyModel and
 CompoundPropertyModel.

 Thank you.

 --
 Scott Swank
 reformed mathematician
 -
 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



-
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] Form Post Issues in IE, not Mozilla

2007-02-04 Thread dukejansen

I figured this out, and it definitely had nothing to do with Wicket.

For anyone who cares:

It has to do with IE behavior relating to our NTML authentication filter
(JCIFS).

Essentially, once IE is forced to negotiate for a page (the first time it
hits the site), it assumes that all subsequent requests to that server are
going to need negotiation, and so it doesn't include the post data, since it
assumes it'll be rejected and it'll have to negotiate and resubmit anyway.
IE is TRYING to improve performance, but since it's a faulty assumption, it
fails.

Our site only negotiates once, then we cache the credentials in session so
that subsequent pages do not require the negotiation of credentials. To
correct, I added a filter before our auth filter which can detect IE doing
this and fake it out. This idea comes from Kevin Tapperson.

For a better understanding, see:

http://article.gmane.org/gmane.network.samba.java/3708/match=ntlmpostfilter
http://jcifs.samba.org/src/docs/ntlmhttpauth.html#post
http://lists.samba.org/archive/jcifs/2006-September/006561.html
http://lists.samba.org/archive/jcifs/2004-February/003061.html
http://lists.samba.org/archive/jcifs/2004-December/004459.html



igor.vaynberg wrote:
 
 strange indeed. what is your wicket filter/servlet mapping? what does the
 generated form markup look like?
 
 -igor
 
 
 On 2/1/07, dukejansen [EMAIL PROTECTED] wrote:


 I'm facing a very strange issue which may be Wicket-related or may not.

 It seems that for any form posts in our application, whether Ajax or
 otherwise, when the request arrives at the server there is no form data
 included. The request.postData member is null.

 This happens only in IE. Form posts work fine in Mozilla.

 I look at the HTML and it all looks fine. Basic form, method post, action
 is
 a wicket url.

 I have put breakpoints in my servlet filter before it even gets to wicket
 and the form data is already missing, so it doesn't seem to be a problem
 with Wicket reading the request. But it is very odd that it works fine in
 Mozilla and not IE.

 Since I've never encountered this before, I thought maybe it had
 something
 to do with the way Wicket generates forms or something.

 Long shot, I know, but thought I'd post just in case someone else has
 seen
 similar behavior and knows the silver bullet.

 Has anyone seen anything like this?

 -Jason
 --
 View this message in context:
 http://www.nabble.com/Form-Post-Issues-in-IE%2C-not-Mozilla-tf3158363.html#a8759743
 Sent from the Wicket - User mailing list archive at Nabble.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

 
 -
 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
 
 

-- 
View this message in context: 
http://www.nabble.com/Form-Post-Issues-in-IE%2C-not-Mozilla-tf3158363.html#a8801808
Sent from the Wicket - User mailing list archive at Nabble.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 components failing within DataView

2007-02-04 Thread dukejansen

Haven't had a chance but will try to get you a quickstart reproduction this
week...


igor.vaynberg wrote:
 
 can you reproduce in quickstart please?
 
 -igor
 
 
 On 2/1/07, dukejansen [EMAIL PROTECTED] wrote:


 I have a DataView.

 Within this DataView I have multiple items.

 Each item includes, among other things:
- a markup container more that starts out visible=false
- an ajax link show more, which toggles the visibility of the markup
 container (this is an AjaxFallbackLink)

 In addition, the dataview itself contains an AjaxPagingNavigator, which
 I've
 subclassed to provide some additional formatting but otherwise is the
 basic
 wicket version.

 The ajax show more link works great. Hides/shows the more info
 container
 for each item without a problem.

 But once I use any of the ajax paging links, which re-render the DataView
 only, the ajax more info links no longer work. Specifically, clicking
 on
 the more info link results in a full page form submit (instead of a
 behind-the-scenes ajax submit), as though there was no ajax behavior on
 them. Once it reloads the whole page, the more info ajax links work
 again.
 But any use of the paging links renders them useless oncemore.

 My only thought is that maybe somehow the AjaxFallbackLink for more
 info
 is getting confused, and not rendering the ajax code necessary after the
 paging controls re-render the data view.

 Any ideas what might be going on?

 -Jason
 --
 View this message in context:
 http://www.nabble.com/Ajax-components-failing-within-DataView-tf3158418.html#a8759860
 Sent from the Wicket - User mailing list archive at Nabble.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

 
 -
 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
 
 

-- 
View this message in context: 
http://www.nabble.com/Ajax-components-failing-within-DataView-tf3158418.html#a8801812
Sent from the Wicket - User mailing list archive at Nabble.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] property expression language

2007-02-04 Thread Scott Swank

Thank you both.  That seems like a reasonable compromise between
functionality and the desire to keep the code in Java instead of EL.

Scott

On 2/4/07, Eelco Hillenius [EMAIL PROTECTED] wrote:


Not much. See
http://wicket.sourceforge.net/apidocs/wicket/util/lang/PropertyResolver.html

We started out with OGNL in the past but:
1) OGNL at one point took about 30% processor time of the whole
request. We simplified and optimized and wrote OGNL out.
2) We feel it's not the recommended way of programming to rely on
property expressions beyond simple navigations
3) By overriding
wicket.model.AbstractPropertyModel#onGetObject(wicket.Component) and
AbstractPropertyModel#onSetObject(Component, Object) users can provide
their own resolving if

Eelco


On 2/4/07, Scott Swank [EMAIL PROTECTED] wrote:
 A quick point of curiosity, does the property expression language
support
 expressions beyond foo.bar?  I searched the wiki and couldn't find any
 more information that that in the models page under PropertyModel and
 CompoundPropertyModel.

 Thank you.

 --
 Scott Swank
 reformed mathematician

-
 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



-
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





--
Scott Swank
reformed mathematician
-
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 do I add custom javascript to wicket application

2007-02-04 Thread Carfield Yim
Sorry of get back late, I geuss I know why.

For my application there are some authentication logic, some pages can
view before login, some pages cannot.

For the pages that can only view after login, that investigation code
work properly. But for the pages that can view before login, that code
look like no executing.

For some reasons I don't have any Public pages use modalwindow any
more, so this is not an issue for me anymore. See if the above
information useful for wicket dev team any more

On 2/1/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
  Look like that  investigation code haven't executed. Which method is
  actually execute that  investigation code ?

 Does the browserinfo example in wicket-examples work for you?

 Try a break point in BrowserInfoPage, or specifically it's internal
 class PostBackForm#onSubmit

 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


-
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