[Wicket-user] Are Wicket HTML Pages OO?

2007-07-10 Thread Ali Sakebi
Hi

I have heard a lot about but new to Wicket.

My question is not about objects living inside server and user session
objects but about *how pages are composed*: Are Wicket HTML Pages OO?

For example a site with a layout that all other pages should *extend*.

I'm currently using Jamon as Web/Templating engine, because of it's OO
nature of document generating and I would like to know whether they
are available in Wicket?

You can find more about OO document generating here:
http://www.jamon.org/tutorial/TutorialPath.html

Regards,
Ali

-
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] Are Wicket HTML Pages OO?

2007-07-10 Thread Ali Sakebi
Martijn,
Thanks for response. I think it was what I was searching for.

Philip,
I had put that link in my email to be clear about my question.

you want us to do the work for you and read this documentation and compare?
No, I didn't want any one to do any thing for me, but you could help
me or any one else that has asked a question by providing any relevant
info that you have if you like and if any, as Martijn did. Or I'm
wrong about what mailing list is for.

Finally,
Thanks for all responses and sorry if my question was irrelevant or wrong.

Regards,
Ali

-
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] subscription

2007-06-06 Thread ali
subscription

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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] for IDEA users that wish a wicket plugin

2007-05-14 Thread ali
IDEA ade the online Wish List survey where everybody is welcome to leave  
their opinion, let it be a request for a new plugin or suggestion to  
improve the existing one.

please vote and add your features for wicket plugin
a href=http://plugins.intellij.net/wishlist/item/?wid=95;wicket  
plugin/a

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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] set dir attribute of body tag of page

2007-04-15 Thread ali
my page has transparent two border .
how change direction of page based say locale of page (fa_IRan is  
dir=rlt)

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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] XSD / Validation

2007-04-08 Thread ali
I link your xsd to external resources of IDEA and add wicket:id to custom  
html tags/attributes, and now it know wicket'tags
, but  after validate following xhtml file :


html xmlns=http://www.w3.org/1999/xhtml;
xmlns:wicket=http://wicket.sourceforge.net/; xml:lang=en lang=en
head
titleyour site : location within site : topic title/title

wicket:remove
 script type=text/javascript src=wicket-preview.js/script
/wicket:remove
/head

body
 pPlace your content here/p
 wicket:extend
 ol wicket:id=wmc
 li wicket:id=datesspan wicket:id=date[Test  
Date]/span/li
 /ol
 /wicket:extend
/body
/html

i see :

D:\Documents and  
Settings\JavaMan\IdeaProjects\Modules\test1\src\main\java\app1\Home.xhtml

bError/b:Error:line (1,482)ct-props-correct.5: Error for type  
'#AnonType_a'. Two attribute declarations, 'name' and 'id' have types  
which are derived from ID.

bError/b:Error:line (20)cvc-complex-type.2.4.a: Invalid content was  
found starting with element 'wicket:remove'.
One of
'{http://www.w3.org/1999/xhtml:script,
http://www.w3.org/1999/xhtml:style,
http://www.w3.org/1999/xhtml:meta,
http://www.w3.org/1999/xhtml:link,
http://www.w3.org/1999/xhtml:object,
http://www.w3.org/1999/xhtml:isindex,
http://www.w3.org/1999/xhtml:base}' is expected.

bError/b:Error:line (26)cvc-complex-type.2.4.a: Invalid content was  
found starting with element 'wicket:extend'.
One of
'{http://www.w3.org/1999/xhtml:p,
http://www.w3.org/1999/xhtml:h1,
http://www.w3.org/1999/xhtml:h2,
http://www.w3.org/1999/xhtml:h3,
http://www.w3.org/1999/xhtml:h4,
http://www.w3.org/1999/xhtml:h5,
http://www.w3.org/1999/xhtml:h6,
http://www.w3.org/1999/xhtml:div, http://www.w3.org/1999/xhtml:ul,  
http://www.w3.org/1999/xhtml:ol, http://www.w3.org/1999/xhtml:dl,  
http://www.w3.org/1999/xhtml:menu, http://www.w3.org/1999/xhtml:dir,  
http://www.w3.org/1999/xhtml:pre, http://www.w3.org/1999/xhtml:hr,  
http://www.w3.org/1999/xhtml:blockquote,  
http://www.w3.org/1999/xhtml:address,  
http://www.w3.org/1999/xhtml:center,  
http://www.w3.org/1999/xhtml:noframes,  
http://www.w3.org/1999/xhtml:isindex,  
http://www.w3.org/1999/xhtml:fieldset,  
http://www.w3.org/1999/xhtml:table, http://www.w3.org/1999/xhtml:form,  
http://www.w3.org/1999/xhtml:a, http://www.w3.org/1999/xhtml:br,  
http://www.w3.org/1999/xhtml:span, http://www.w3.org/1999/xhtml:bdo,  
http://www.w3.org/1999/xhtml:object,  
http://www.w3.org/1999/xhtml:applet, http://www.w3.org/1999/xhtml:img,  
http://www.w3.org/1999/xhtml:map, http://www.w3.org/1999/xhtml:iframe,  
http://www.w3.org/1999/xhtml:tt, http://www.w3.org/1999/xhtml:i,  
http://www.w3.org/1999/xhtml:b, http://www.w3.org/1999/xhtml:u,  
http://www.w3.org/1999/xhtml:s, http://www.w3.org/1999/xhtml:strike,  
http://www.w3.org/1999/xhtml:big, http://www.w3.org/1999/xhtml:small,  
http://www.w3.org/1999/xhtml:font,  
http://www.w3.org/1999/xhtml:basefont,  
http://www.w3.org/1999/xhtml:em, http://www.w3.org/1999/xhtml:strong,  
http://www.w3.org/1999/xhtml:dfn, http://www.w3.org/1999/xhtml:code,  
http://www.w3.org/1999/xhtml:q, http://www.w3.org/1999/xhtml:samp,  
http://www.w3.org/1999/xhtml:kbd, http://www.w3.org/1999/xhtml:var,  
http://www.w3.org/1999/xhtml:cite, http://www.w3.org/1999/xhtml:abbr,  
http://www.w3.org/1999/xhtml:acronym,  
http://www.w3.org/1999/xhtml:sub, http://www.w3.org/1999/xhtml:sup,  
http://www.w3.org/1999/xhtml:input,  
http://www.w3.org/1999/xhtml:select,  
http://www.w3.org/1999/xhtml:textarea,  
http://www.w3.org/1999/xhtml:label,  
http://www.w3.org/1999/xhtml:button,  
http://www.w3.org/1999/xhtml:noscript,  
http://www.w3.org/1999/xhtml:ins, http://www.w3.org/1999/xhtml:del,  
http://www.w3.org/1999/xhtml:script}' is expected.

bError/b:Error:line (27)cvc-complex-type.3.2.2: Attribute 'wicket:id'  
is not allowed to appear in element 'ol'.

bError/b:Error:line (28)cvc-complex-type.3.2.2: Attribute 'wicket:id'  
is not allowed to appear in element 'li'.

bError/b:Error:line (28)cvc-complex-type.3.2.2: Attribute 'wicket:id'  
is not allowed to appear in element 'span'.
-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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] i still can NOT read pages from your old wiki

2007-04-07 Thread ali
i instead , get following page
i try each 3 browser.
==
Precondition Failed

We're sorry, but we could not fulfill your request for  
/wiki/index.php/WicketServices on this server.

We have established rules for access to this server, and any person or  
robot that violates these rules will be unable to access this site.

To resolve this problem, please try the following steps:
Ensure that your computer is free of viruses, Trojan horses, spyware or  
any other sort of malicious software.
If you are using any sort of personal firewall or browser privacy  
software, check to ensure that its settings do not cause your web browser  
to inadvertently violate any of the rules listed below.
If you are behind a Web proxy or corporate firewall, the proxy must  
conform to the HTTP specification with respect to proxy servers. Contact  
your network administrator if the trouble persists, or bypass the proxy  
and connect directly if possible.
Disable any download accelerators you may be using. They don't speed up  
your downloads anyway; in most cases, they actually run slower!
If all else fails, try using a different Web browser, such as Firefox.

If you still need assistance, please contact gwyn.evans at gmail.com.

More Information

For your reference, the conditions for access to this server are:

Robots:

MUST read and obey robots.txt.
MUST identify themselves properly; for example MUST NOT identify as  
Mozilla.
MUST NOT pretend to be a human.

Humans:

MUST NOT pretend to be a robot.
MUST NOT use a computer infected with viruses, Trojan horses or other  
malicious software.

Both:

MUST NOT harvest email addresses.
MUST NOT attempt to send spam.
MUST NOT attempt to compromise server security.
MUST NOT use excessive amounts of bandwidth or other server resources.

The precondition on the request for the URL /wiki/index.php/WicketServices  
evaluated to false.
ADDRESSApache/1.3.33 Server at www.wicket-wiki.org.uk Port 80/ADDRESS

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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] XSD / Validation

2007-04-07 Thread ali
PLEASE can tell me how set up IntelliJ to validate only the *.xhtml  
files.

validate command of Tools menu only validate current xhtml file.
-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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-22 Thread Ali Zaid
 should be
 improved
 (though this is a little hard to do in detail short of simply
 annotating
 the
 page) or I can just plunge ahead and draft a revised page. If I do
 the
 latter I could potentially post it somewhere else for comment
instead
 of
 directly replacing the existing page on the wiki. Perhaps we need a
 'in
 draft' part of the wiki for working on long pages like this one.

 Actually, another alternative is for me to gradually introduce
 changes to
 the wiki page over a span of days, giving people a chance to
comment
 as I
 go.
 --
 View this message in context:

http://www.nabble.com/revising-the-%22Working-with-Wicket-models%22-page-tf3016921.html#a8378321
 Sent from the Wicket - User mailing list archive at Nabble.com.



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

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



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

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











--
View this message in context:
http://www.nabble.com/revising-the-%22Working-with-Wicket-models%22-page-tf3016921.html#a8516354
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





--
Regards,
Ali Z. Anwar
-
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] Table in a form

2006-12-04 Thread Ali Zaid
well, I do do this all the time, I use listview to go through each
object in a list, and add a fragment to the item, of course the way I
do it doesn't involve edit all the items, it's like edit a row in a
table, so I chose the row (keep the object id in a session variable),
redraw the table, if the row represent the chosen object then instead
of showing the fragment with the information, I show the fragment with
the form.

On 12/4/06, Ted Roeloffzen [EMAIL PROTECTED] wrote:
 Hi all,

 Is it possible with Wicket to use a DataTable(repeater) in a form?
 In every row of the table, there will be at least 2 textfields and a
 checkbox.
 Is this possible and if so how do I do this?

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





-- 
Regards, Ali

-
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] feed of wicket wiki

2006-10-30 Thread ali
it is very big = 512 kb

it is naturally ?

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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] [ANN] Intellij Idea wicket plugin

2006-10-09 Thread ali
also see thread of JavaOne, Wicket, NetBeans

-
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] Collapsing Bar in Wicket

2006-09-17 Thread ali
On Mon, 22 May 2006 11:54:47 +0430, Ayodeji Aladejebi  
[EMAIL PROTECTED] wrote:

 Well here is the file...give it a try again. they are functional now and
 look at the quick start before writing yours

wicket tell can not found package resource [name=.DS_Store ...]

so i delete following line from CollapsablePane

private static final PackageResourceReference item = new  
PackageResourceReference( CollapsablePane.class, .DS_Store);

and also this line from CollapsingPaneInitializer

PackageResource.bind(application, CollapsablePane.class, .DS_Store);

now app is running but effect not work , i find a init script not write to  
final markup. i see in CollapsablePane


 mainContent = new WebMarkupContainer(MAIN_CONTENT_ID){
 protected void onBeforeRender() {  this method is a new  
method and no a overrided/framework method
 Response response  = getResponse();
 response.write(script  
type=\text/javascript\!--//--![CDATA[//!--\n);
 
response.write(settings.getMode().getInitFunction(settings.getDuration(),settings.getOpaque()));
 response.write(//--!]]\n/script);
 }
 };

i rename it to onRender

 mainContent = new WebMarkupContainer(MAIN_CONTENT_ID){
 protected void onRender(final MarkupStream markupStream) {
 Response response  = getResponse();
 response.write(script  
type=\text/javascript\!--//--![CDATA[//!--\n);
 
response.write(settings.getMode().getInitFunction(settings.getDuration(),settings.getOpaque()));
 response.write(//--!]]\n/script);
 super.onRender(markupStream);
 }
 };

now toggle effect work well (in opera and firefox but in IE 6, toggled  
content immediately auto-close)
, but collapse effect not work
-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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] can'nt read wiki

2006-09-15 Thread ali
On Thu, 15 Jun 2006 13:24:38 +0430, Gwyn Evans [EMAIL PROTECTED]  
wrote:

 OK, I've reset the spam-traps again - If you want to stay out of them  
 then:
   a) Don't use Offline Explorer. [1]
   b) Don't use Opera. [2]
 More...
   [1] When I have some spare time, I'll try  have a go with some apps
 such as that to see if they can use used without triggering the traps
 and equally, without going down the wrong links, but I don't think
 I'll have time for a while.
   [2] I don't know what your setup is exactly, but it looks as if
 there's something specific to your setup (i.e. the Opera version or
 the proxy config or something) that's meaning that your use of Opera
 trigger the traps.  I've had a go with both the current downloadable
 ones (V8.5.4 and V9 Beta 2) and they don't trigger things for me, so
 can't suggest what it is...
  Give the wiki a go with IE or Firefox, then if/when that works and
 you want to get back to Opera
   (a) Get the latest Opera
   (b) Install, trying to make sure it uses default settings rather
 than any saved settings
   (c) Try, making note of ANY changes to the Network/Proxy values
   (d) Report back on the results.

i can ONLY get my first page by Opera/FreFox/IE then on others page  
requested , all browsers show 412 Precondition Failed page

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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] can'nt read wiki

2006-09-15 Thread ali
On Fri, 15 Sep 2006 15:31:49 +0430, Gwyn Evans [EMAIL PROTECTED]  
wrote:

 you read my point (b), as your comment suggests you didn't?
 /Gwyn
 On 15/09/06, ali [EMAIL PROTECTED] wrote:
 On Thu, 15 Jun 2006 13:24:38 +0430, Gwyn Evans [EMAIL PROTECTED]
 wrote:

  OK, I've reset the spam-traps again - If you want to stay out of them
  then:
a) Don't use Offline Explorer. [1]
b) Don't use Opera. [2]
  More...

i live in iran.
yes i use explicity use IE/FF for your wiki and use Opera for other stuff.

FF/IE/Opera after first request , show error 412
-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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 use Javascript Alert

2006-09-11 Thread ali
On Sun, 10 Sep 2006 02:57:29 +0430, Eelco Hillenius  
[EMAIL PROTECTED] wrote:

 If you can use Ajax, you could even implement it more transparently.
 In that case, make a panel for the normal display of the row, and a
 panel that has the buttons. When the row is clicked, you do an ajax
 roundtrip, and replace the display component with the buttons
 component. And attached to these buttons are yet two other ajax round
 trips, one for canceling that would redisplay the normal row, and the
 other would delete the row and let the whole list component render
 itself (be careful: don't re-render a lists with ajax directly, but
 instead re-render the parent of the list.


in ConfrimPanel, ajax of cancel button want replace its parent [it's  
ConfrimPanel] with person panel

 public ConfrimPanel(final String id, final MarkupContainer row,  
final Person person) {
 super(id );
 setOutputMarkupId(true);
 add(new AjaxFallbackLink(ok) {
 public void onClick(final AjaxRequestTarget target) {
 Application1.getPersons().remove(person);
 target.addComponent(row.getParent().getParent());
 }
 });
 add(new AjaxFallbackLink(cancel) {
 public void onClick(final AjaxRequestTarget target) {
 PersonPanel personPanel = new PersonPanel(id, person);  
// reuse a same id for two panel.
 row.replace(personPanel); // replacing, call  
page.componentRemoved(aConfrimPanel);
 target.addComponent(personPanel);
 }
 });
 }
on AbstractDefaultAjaxBehavior

public final void onRequest() {
...
finally 
{getComponent().getPage().setVersioned(isPageVersioned); }

getComponent() = aConfrimPanel
getPage() = null

maybe i missing things but wicket tell :

ERROR RequestCycle- No Page found for component  
[MarkupContainer [Component id = cancel, page = No Page, path =  
person_or_confrim:cancel.Home$ConfrimPanel$2]]
java.lang.IllegalStateException: No Page found for component  
[MarkupContainer [Component id = cancel, page = No Page, path =  
person_or_confrim:cancel.Home$ConfrimPanel$2]]
at wicket.Component.getPage(Component.java:1041)
at  
wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:220)
at  
wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:98)
at  
wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:65)
at  
wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:57)
at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:822)
at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:855)
at wicket.RequestCycle.step(RequestCycle.java:936)
at wicket.RequestCycle.steps(RequestCycle.java:1010)
at wicket.RequestCycle.request(RequestCycle.java:452)
at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:210)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
at  
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
at  
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
at  
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
at  
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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

Re: [Wicket-user] set attributes of HTML tag of page ?

2006-09-06 Thread ali
i use 1.2 beta1


On Mon, 28 Aug 2006 10:43:20 +0430, Martijn Dashorst  
[EMAIL PROTECTED] wrote:

 If you use trunk, then you need to provide the parent as well in the
 constructor:
 WebMarkupContainer html = new WebMarkupContainer(this, html);
 where this is the page.



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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] ListMultipleChoice render size = 0

2006-08-29 Thread ali
in library , page EditBook , ListMultipleChoice for wrtingStyles render  
attribute size=0

in IE , it isnt a problem, but in opera, it height is only a row
-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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] set attributes of HTML tag of page ?

2006-08-29 Thread ali
i use wicket 1.2 beta1.

On Mon, 28 Aug 2006 10:43:20 +0430, Martijn Dashorst  
[EMAIL PROTECTED] wrote:

 If you use trunk, then you need to provide the parent as well in the
 constructor:

 WebMarkupContainer html = new WebMarkupContainer(this, html);

 where this is the page.



-
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] set attributes of HTML tag of page ?

2006-08-28 Thread ali
i use 1.2 beta1 , i try checkout trunk from svn but not be success.

WebMarkupContainer html = new WebMarkupContainer(html);
html.add(new AttributeModifier(dir, true, myModel));
add(html);

html wicket:id=html ...

but wicket throw exception

wicket.WicketRuntimeException: Programming error: 'parent' should be a  
Page or a Border implementing IHeaderRenderer
  at  
wicket.markup.html.internal.HtmlHeaderContainer.onComponentTagBody(HtmlHeaderContainer.java:131)
  at wicket.Component.renderComponent(Component.java:1605)
  at wicket.MarkupContainer.onRender(MarkupContainer.java:823)
  at wicket.Component.render(Component.java:1519)
  at wicket.Component.render(Component.java:1488)
  at wicket.MarkupContainer.autoAdd(MarkupContainer.java:181)
  at  
wicket.markup.resolver.HtmlHeaderResolver.resolve(HtmlHeaderResolver.java:75)
  at wicket.MarkupContainer.renderNext(MarkupContainer.java:1251)
  at  
wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:893)
  at wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:813)
  at wicket.Component.renderComponent(Component.java:1605)
  at wicket.MarkupContainer.onRender(MarkupContainer.java:823)
  at wicket.Component.render(Component.java:1519)
  at wicket.MarkupContainer.renderNext(MarkupContainer.java:1224)
  at wicket.MarkupContainer.renderAll(MarkupContainer.java:840)
  at wicket.Page.onRender(Page.java:848)

  

On Mon, 28 Aug 2006 03:28:51 +0430, Eelco Hillenius  
[EMAIL PROTECTED] wrote:

 true,



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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] set attributes of HTML tag of page ?

2006-08-27 Thread ali
Hi everyone.

i want set dir on tag html of page ?

it's seem that AttributeModifier or onComponentTagBody only work on  
components has a related tag . page component is root Wicket know it  
relate to html but i know how set ?

very thanks for best your java web framework.
-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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] can'nt checkout wicket from svn

2006-08-27 Thread ali
i try several times. but still success. please guide me.

-- 

On Sun, 27 Aug 2006 03:33:25 +0430, Eelco Hillenius  
[EMAIL PROTECTED] wrote:

 Maybe try again a



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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] DatePicker with SimpleDateFormat

2006-08-14 Thread Ali Zaid
Did you check DateTextField wicket-extensions?

On 8/14/06, kurt heston [EMAIL PROTECTED] wrote:
 Johan,

 Thanks for the help.  Settled on this:

   final DateConverter conv = new DateConverter();
   final SimpleDateFormat sdf = new SimpleDateFormat(MM/yy);
   conv.setDateFormat(Locale.getDefault(), sdf);
   TextField exp = new RequiredTextField(expiration) {
 public IConverter getConverter() {
   return new SimpleConverterAdapter() {
 public String toString(Object value) {
   return value != null ? sdf.format(value) : null;
 }

 public Object toObject(String value) {
   try {
 return sdf.parse(value.toString());
   } catch (Exception e) {
 throw new ConversionException(' + value
 + ' is not a valid Date);
   }
 }
   };
 }
   };
   DatePicker picker = new DatePicker(expirationDatePicker, exp);
   picker.setDateConverter(conv);
   add(exp);
   add(picker);



 Johan Compagner wrote:
  That way it is only used to format the string to the screen.
  The dateformatter is used to get the format out and javascript
  dateformat is generated based on that
 
  That dateformatter should also be used by the textfield itself to
  handle the formatting both ways.
  So override the getConverter() of the exp textfield and return als
  your converter (that has to work 2 ways then!)
 
  johan
 
 
  On 8/11/06, *kurt heston * [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  I'm trying to create a field that allows filling in of a credit card
  expiration date using 1.2.  What did I miss?
 
  Code:
 
TextField exp = new RequiredTextField(expiration);
DatePicker picker = new DatePicker(expirationDatePicker,
  exp);
DateConverter conv = new DateConverter();
conv.setDateFormat(Locale.getDefault(),new
  SimpleDateFormat(MM/));
picker.setDateConverter(conv);
add(exp);
add(picker);
 
  Exception:
 
  wicket.util.convert.ConversionException: Cannot parse '03/2006'
  using format [EMAIL PROTECTED]
   at
  wicket.util.convert.converters.AbstractConverter.newConversionException
  (AbstractConverter.java:72)
   ...
 
  
  -
  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
  
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  mailto: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



-- 
Regards, Ali

-
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] IBATIS (and Spring)

2006-07-29 Thread Ali Zaid
Hi;

Once I read that there was going to be a port of the pet store to
wicket using Ibatis, I wonder if this is still comming?

Great wiki! thanks!

On 7/28/06, Gwyn Evans [EMAIL PROTECTED] wrote:
 While there's nothing too Wicket-specific needed to use iBATIS with
 Wicket, I've nevertheless created a page on the Wiki that may be of
 interest if anyone's considering it's use.

 It also shows an example of Spring configuration and covers Oracle
 paging, but they're peripheral to the main point - See
 http://www.wicket-wiki.org.uk/wiki/index.php/IBATIS for more info.

 /Gwyn

 -
 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



-- 
Regards, Ali

-
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] Wicket in Action?

2006-07-22 Thread Ali Zaid
Hi All!

I wonder where Wicket in Action stands now? is there a way we can
have early access to the chapters? I would love to have something
released periodically than wait for the whole thing :)

-- 
Regards, Ali

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


Re: [Wicket-user] wicket emailaddress validation incorrect

2006-06-22 Thread ali
On Tue, 20 Jun 2006 13:07:37 +0430, Michiel Korthuis  
[EMAIL PROTECTED] wrote:

i think \w = [_A-Za-z0-9]

so instread of
   ^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)[EMAIL 
PROTECTED](\\.[A-Za-z0-9-]+)*((\\.[A-Za-z]{2,}){1}$)

can tell
   ^\w+(\.\w+)[EMAIL PROTECTED]((\.\w+\.)+|\.)[a-z]{2,3}$

(only my difference that .words in part of domain of email end also to  
. except of last .word that must be 2 or 3 letter)

FAQ : why use | ?

answer : we see below shape after @ in email :
  ali.WORDs.com (WORDs once or more) = (\.\w+\.)+
or
  ali.com = \.


 I am currently working on my graduation(project) @ Topicus with another
 student (Ronald Hemmink). We are new to Wicket and before we saw the
 wicket-build-in validator we came up with our own expression:
 ^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)[EMAIL 
 PROTECTED](\\.[A-Za-z0-9-]+)*((\\.[A-Za-z]{2,}){1}$)

 the Wicket expression:
 ^[_a-z0-9-]+(\\.[_a-z0-9-]+)[EMAIL PROTECTED](\\.[a-z0-9-]+)*(\\.[a-z]{2,3})$

 almost identical, but 'large TLD compatible' (the pattern in wicket has  
 the
 argument 'Pattern.CASE_INSENSITIVE' and therefore they don't need to  
 define
 the upper-case charcters).

 your pattern looks a bit too complicated for the job :P

 Michiel

 On 6/20/06, Frank Bille Jensen [EMAIL PROTECTED] wrote:

 Thats right.. In our company we use the (crazy) regex pattern taken from
 http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html



 String emailPattern = [...]


 Would anyone in the wicket team like to use this as the emailvalidation
 pattern instead, I would be happy to submit a patch (for both 1.2 or 2.0
 if thats the case).


 Regards
 Frank Bille
 Avaleo


 On Tue, 2006-06-20 at 10:08 +0200, Michiel Korthuis wrote:
  hi,
 
  In
  wicket.markup.html.form.validation.EmailAddressPatternValidator.java
  the validation-expression is incorrect.
  the regular expression reads:
  ^[_a-z0-9-]+(\\.[_a-z0-9-]+)[EMAIL PROTECTED](\\.[a-z0-9-]+)*(\
  \.[a-z]{2,3})$
 
  According to this expression the TLD is 2 or 3 characters, but that's
  incorrect.
  Nowadays it can exceed the limit of 3 characters (for example: .aero
  or .travel. Source: http://www.iana.org/gtld/gtld.htm ).
 
  Michiel
 
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user



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




-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] can'nt read wiki

2006-06-14 Thread ali
On Tue, 13 Jun 2006 10:52:57 +0430, Igor Vaynberg  
[EMAIL PROTECTED] wrote:

i  told that i try Offline Explorer to get wiki pages but although I tell  
it that only crawl intern of site and never go to external links , it  
start shows me counts 3000 pages/links. after Mr Gwyn tell me that NOT use  
OE. i try Opera/FireFox/IE but since i only able that get page of first  
request but Wiki tell to others requests :

 Precondition Failed

 thats easy to fix, quit being a robot!

 -Igor


 On 6/12/06, ali [EMAIL PROTECTED] wrote:

 On Sat, 20 May 2006 17:16:10 +0430, Gwyn Evans [EMAIL PROTECTED]
 wrote:

 please help me, i still not read wiki , wiki returns only first  
 requested
 page , it tells

 Precondition Failed

 We're sorry, but we could not fulfill your request for
 /wiki/index.php/Reference_library on this server.

 We have established rules for access to this server, and any person or
 robot that violates these rules will be unable to access this site.
 ...


  Well, something's acting as some sort of proxy and not passing on the
  correct 'Connection' header - as that's a typical spam-tool behaviour
  it's triggering the spam-trap.  I've removed the logs from the
  195.96.13?.* IP from the DB, so it won't think it's already identified
  you as a spammer IP but I'd suggest you take another look at the
  ad-blocker config  maybe set the wicket-wiki.org.uk domain to be
  passed through unchecked, as if it sees the same behaviour again,
  it'll block you again.
 
  /Gwyn
 
  On 20/05/06, ali [EMAIL PROTECTED] wrote:
  http://www.wicket-wiki.org.uk/wiki/index.php/FAQs
or
  http://www.wicket-wiki.org.uk/wiki/index.php/Main_Page
 
  i use opera
 
  my IP is not fix and i use dailup connection
  client ip = 195.96.134.91
  server ip = 195.96.133.12
  i not user ad filter ofcourse i use builtin ad filter of opera to
 filter
  some site
 
  some tme only my first request get page but other requests get
  Precondition Failed page
 
  
  On Fri, 19 May 2006 14:10:24 +0430, Gwyn Evans [EMAIL PROTECTED]
  wrote:
 
   Hmm, what URL are you trying, with what program  what do you get?
  
   It looks like SF is having issues right now, in that if I go to
   http://wicket.sourceforge.net/wiki I just get Firefox showing
   Loading... but that's the same for the http://sourceforge.net/
 .  You
   can still get to the Wiki itself at
   http://www.wicket-wiki.org.uk/wiki/
  
   Mind you, SF's now responding OK, so it should be OK whatever URL  
 you
   use, although there's a possibility that you're getting trapped by
 the
   anti-spammer Bad Behaviour traps there...
  
   I'd need to know your IP to check the details, but there certainly
   look to be some requests being trapped - One issue could be with
   someone using Opera,  which uses the 'TE' header, together with  
 some
   form of proxy (maybe an ad-blocker type) that strips out the
   associated info that is required to be in the 'Connection' header,
 but
   I don't know if that's you.
  
   /Gwyn
  
   On 19/05/06, ali [EMAIL PROTECTED] wrote:
   now i can not read any page of wiki
  
   i no has a virus, firewall ,
  
   i test opera, firefox, IE ,
   =
   On Thu, 18 May 2006 12:18:34 +0430, Gwyn Evans  
 [EMAIL PROTECTED]
 
   wrote:
  
Hi,
  I'm not sure of the exact issue there, but on the other hand,  
 as
it'll cost if we exceed the bandwidth, I'm not really sure that  
 I
  want
to encourage the practice of periodically auto-downloading the
  Wiki...
   
  It might be that this product uses HEAD requests to check if  
 the
download's needed but even so, spiders/robots aren't  
 particularly
  web
suited to wiki's, as there are too many links that they'll  
 follow
  that
are not relevent.  I looked at the product's web site, but the
  focus
is (as expected) on downloading the site's quickly rather than  
 on
minimising the bandwidth used, so can't tell exactly what it
  does...
   
  Anyway, the best way to see the changes is the Recent  
 Changes,
which is available either as a HTML page
   
  (http://www.wicket-wiki.org.uk/wiki/index.php/Special:Recentchanges)
or as Rss  Atom feeds
   
  
  (
 http://www.wicket-wiki.org.uk/wiki/index.php?title=Special:Recentchangesfeed=rss
and
   
  
 
 http://www.wicket-wiki.org.uk/wiki/index.php?title=Special:Recentchangesfeed=atom
 ).
   
/Gwyn
   
On 18/05/06, ali [EMAIL PROTECTED] wrote:
please help , i would use offline explorer to track changes and
  auto
update downloaded
wiki pages but wiki reponse me this :
   
Precondition Failed
We're sorry, but we could not fulfill your request for  =
   
/wiki/index.php/FAQs on this server.
.
   
   
---
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

[Wicket-user] Link to anchor?

2006-06-02 Thread Ali Zaid
Hay guys;

I have been doing some coding today, and I came across a need to an
anchor, I though that this will be a part of 1.2 release?

Regards, Ali


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


Re: [Wicket-user] Wicket 1.2 released!

2006-05-24 Thread Ali Zaid

Congrate to all of us!!!

I have mixed feelings, I'm very happy it's out

Thanks for the wonderful team!!! I'm downloading now!!!

Regards, Ali

On 5/24/06, Martijn Dashorst [EMAIL PROTECTED] wrote:

 The Wicket project has released Wicket 1.2. Wicket is a Java component
based web application framework licensed under the open source Apache 2
license. Wicket allows Java developers to create highly dynamic web
applications using plain Java and HTML.

This is the third major release of the Wicket web framework and marks a
major milestone after 7 months of hard labor by the core team of developers
and the users of the framework. This release has been anticipated for
several months and sports many major new features and improvements over
previous releases. Major features of Wicket 1.2 include:
 Native, cross-platform AJAX support: use AJAX without having to write a
single line of JavaScript. Wicket's AJAX cross-platform capabilities have
been rated 'A'
 Render multiple components in one AJAX call, where each component can
occupy any part of the page
 Improved markup inheritance: panels, pages, header contributions
 Improved and simplified internationalization (i18n) support, using
wicket:message, better resource bundle lookup strategy
 Out of the box default resource bundles for many languages, including
English, German, Spanish, Portugese, French, Hungarian, Dutch, Finnish,
Danish, Swedish, Japanese, Chinese, Italian, Bulgarian and Farzi (Iranian).
 Multiple form component validation, validate two or more fields that are
related
 Improved form handling: clear form validation workflow that allows you to
much easier defined required and type conversion attributes of a form
component
Nice URL support through URL mounting
Markup fragments (inline panels)
 Improved performance by replacing OGNL with our own object graph language
parser
 Response filter support, added ServerTime and ServerClientTime filters
 Reloading of resource bundles in development mode
 Improved unit test support for your Wicket components and pages through the
WicketTester, create unittests that run outside the container.
 Out-of-the-box AJAX components: paging navigator, link with fallback,
auto-updater, AJAX form, AJAX submit buttons, etc.
 Improved authorization and authentication support, giving you the power to
specify authorization at the component level. An example project featuring a
role based, annotation framework is now part of the standard distribution.
 Spring support for injecting your business logic into your web pages in a
non-intrusive manner, while still being able to use the convenient Wicket
idiom for creating pages (using the Java new operator).
 Improved settings system: settings are now partitioned into logical
groupings to make them easier to find
Numerous bug fixes and minor improvements Wicket runs on any application
server supporting the servlet API version 2.3 and higher, and will work on
Java 1.4 SDK's or newer. We have tried to keep API changes to a minimum, but
had to change and remove some methods and classes. Wicket 1.2 will not be a
drop-in replacement, though most of your application's pages and components
should not be affected. There is a migration guide available on our wiki:
Migrating to Wicket 1.2 The Wicket 1.2 release is a highly anticipated major
landmark in the history of Wicket.

The core development team wishes to extend their gratitude to all users who
helped build and test this release.

Enjoy and have fun!

- The Wicket team





--
Regards, Ali
-
Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] notify on update of bookmarked page

2006-05-22 Thread ali
i am sorry , i speak about programming but about read pages from internet  
, i want a app notify me that a page that i bookmark it, updated so app  
itself when i am online , download page


On Sat, 20 May 2006 21:58:54 +0430, Eelco Hillenius  
[EMAIL PROTECTED] wrote:



That's not something you should do in your UI in my opinion.
Typically, a if you have pages that have dynamic content - even if
that content only changes once in a while - you should get it from
e.g. a database instead of hard coded. If you implement that, it's
easy to implement that whenever that page's contents (the db table or
wherever it comes from) changes, you send out a notificiation email.
And as for users viewing a page that gets stale while they still have
it in front of them... Personally, I think you shouldn't bother. Next
time they'll access that page it will show the current contents. If
you really want to display the change 'near realtime', you could
consider using AJAX that polls for changes, and replaces the contents
when there is anything new.

Eelco



do everyone know a way that easily i notified on update of bookmarked
pages and when i am online , my browser/a app automatically update  
staled

bookmarked page




---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Collapsing Bar in Wicket

2006-05-20 Thread ali

i get ClassCastException so

protected void populateItem(ListItem item) {
//CollapsingPair pair = (CollapsingPair)item.getModel();
	CollapsingPair pair = (CollapsingPair)item.getModelObject();  //@TODO :  
Ali Reza Sharghi , i add


also if i correctly use your component , where is tag of header or content  
components of client of component ? and surely you want choosing these  
tags give to client of components.


i get exception

  wicket.WicketRuntimeException: The component(s) below failed to  
render. A common problem is that you have added a
  component in code but forgot to reference it in the markup (thus the  
component will never be rendered).


when use your component in this way :

ListCollapsingPair listItems = new ArrayListCollapsingPair();
listItems.add(new CollapsingPair(new Label(label1, one),  
getPanel(panel1)));
listItems.add(new CollapsingPair(new Label(label2, two),  
getPanel(panel2)));
listItems.add(new CollapsingPair(new Label(label3, three),  
getPanel(panel3)));
add(new CollapsablePane(pane, listItems, Duration.ONE_SECOND,  
true)); //span wicket:id=paneTest Pane/span



  }

private Panel getPanel(String id) {
Panel panel = new Panel(id);
panel.add(new Label( id +a, id + a));
panel.add(new Label( id +b, id + b));
panel.add(new Label( id +c, id + c ));
return panel;
}
in summary , my labels an panels where thier tags defined in markup ?  
please help

==
On Fri, 19 May 2006 18:59:43 +0430, Ayodeji Aladejebi  
[EMAIL PROTECTED] wrote:



yeah... lots of lazy developers like myslef..okay then..but i made this
one...hey igor am i in a good direction? :)

On 5/19/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:


okay then..but i made this one...hey igor am i in a good direction?


On 5/19/06, Johan Compagner [EMAIL PROTECTED]  wrote:

 Not contribute anymore? no time?
 They only have to work for 8 hours for the boss!
 thats still 16 hours left of the 24 that you have in a day..

 johan



 On 5/18/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
 
  The dojo.js library is a product under very high construction. Our
  full time students had a really hard time of working with it. This  
makes is
  very hard to actually implement anything stable. The students have  
now
  joined our company, but we put a lot of work on their shoulders so  
that they

  can't contribute anymore.
 
  I heard someone volunteering to pick the pieces up (don't remember
  who), so if anyone wants to get his/her hands dirty on supporting  
an open

  source project, now is your chance.
 
  The wicket stuff project has been created to allow anyone to
  contribute to wicket, and support those packages the core  
developers don't

  have time for. Dojo, scriptaculous and such are those packages.
 
 
  Martijn
 
  On 5/18/06, Ayodeji Aladejebi  [EMAIL PROTECTED] wrote:
  
   are we still someday soon expecting wicket-dojo-contrib...jeez i
   really loved what i was learning with the old wicket-dojo until  
Wicket

   1.2 was no longer compatible.
  
  
   On 5/18/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
   
rico has one, and Dojo also.
   
Martijn
   
   
On 5/18/06, Ayodeji Aladejebi  [EMAIL PROTECTED] wrote:

 :D. okay pls who has links to any free cross browser  
javascript

 library that can do this?

 thank yu

 On 5/18/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
 
  i dont think there is a component like that right now, but
  feel free to contribute one :)
 
  -Igor
 
 
 
  On 5/18/06, Ayodeji Aladejebi  [EMAIL PROTECTED] wrote:
  
   This sliding effect collapsing side menu bar like the one  
in

   the Echo2 App Demo http://demo.nextapp.com/Demo/app i
   was tryin to do it with wicket but i was tempted to go  
the javascript way
   again. Is there an wicket-extension package that can make  
this easy to build

   in wicket just like the TabbedPane?
  
   thank yu
  
  
  
 

   
   
--
Wicket 1.2 is coming! Write Ajax applications without touching
JavaScript!
-- http://wicketframework.org
   
  
  
  
  
  
 
 
  --
  Wicket 1.2 is coming! Write Ajax applications without touching
  JavaScript!
  -- http://wicketframework.org
 









--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] notify on update of bookmarked page

2006-05-19 Thread ali
very thanks by best web framwwork i see. (you throw logic from markup to  
code , i love this part)

has you plan for a IDEA plugin for wicket.

1)by macro feature of IDEA , you can only by a click highlight all  
components in markup


A- only add following macro to macros.xml of your config
macro name=highlight_wicket
  action id=IncrementalSearch /
  typing text=wicket:id /
  action id=ExpandAllRegions /
  action id=EditorSelectWord /
  action id=EditorSelectWord /
  action id=HighlightUsagesInFile /
  action id=EditorTextStart /
  action id=FindNext /
/macro

B- add this macro to toolbar with a wicket icon , in customazation of IDEA
C- assign a shortcut to thus icon in keymap of IDEA

==
2) i know that this not related to wicket. but want get help from kind  
smart guys of this list


if a page has no feed , email-for-notify form and all any ability for  
notify  its users,


do everyone know a way that easily i notified on update of bookmarked  
pages and when i am online , my browser/a app automatically update staled  
bookmarked page


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] can'nt read wiki

2006-05-19 Thread ali

http://www.wicket-wiki.org.uk/wiki/index.php/FAQs
 or
http://www.wicket-wiki.org.uk/wiki/index.php/Main_Page

i use opera

my IP is not fix and i use dailup connection
client ip = 195.96.134.91
server ip = 195.96.133.12
i not user ad filter ofcourse i use builtin ad filter of opera to filter  
some site


some tme only my first request get page but other requests get  
Precondition Failed page



On Fri, 19 May 2006 14:10:24 +0430, Gwyn Evans [EMAIL PROTECTED]  
wrote:



Hmm, what URL are you trying, with what program  what do you get?

It looks like SF is having issues right now, in that if I go to
http://wicket.sourceforge.net/wiki I just get Firefox showing
Loading... but that's the same for the http://sourceforge.net/.  You
can still get to the Wiki itself at
http://www.wicket-wiki.org.uk/wiki/

Mind you, SF's now responding OK, so it should be OK whatever URL you
use, although there's a possibility that you're getting trapped by the
anti-spammer Bad Behaviour traps there...

I'd need to know your IP to check the details, but there certainly
look to be some requests being trapped - One issue could be with
someone using Opera,  which uses the 'TE' header, together with some
form of proxy (maybe an ad-blocker type) that strips out the
associated info that is required to be in the 'Connection' header, but
I don't know if that's you.

/Gwyn

On 19/05/06, ali [EMAIL PROTECTED] wrote:

now i can not read any page of wiki

i no has a virus, firewall ,

i test opera, firefox, IE ,
=
On Thu, 18 May 2006 12:18:34 +0430, Gwyn Evans [EMAIL PROTECTED]
wrote:

 Hi,
   I'm not sure of the exact issue there, but on the other hand, as
 it'll cost if we exceed the bandwidth, I'm not really sure that I want
 to encourage the practice of periodically auto-downloading the Wiki...

   It might be that this product uses HEAD requests to check if the
 download's needed but even so, spiders/robots aren't particularly web
 suited to wiki's, as there are too many links that they'll follow that
 are not relevent.  I looked at the product's web site, but the focus
 is (as expected) on downloading the site's quickly rather than on
 minimising the bandwidth used, so can't tell exactly what it does...

   Anyway, the best way to see the changes is the Recent Changes,
 which is available either as a HTML page
 (http://www.wicket-wiki.org.uk/wiki/index.php/Special:Recentchanges)
 or as Rss  Atom feeds
  
(http://www.wicket-wiki.org.uk/wiki/index.php?title=Special:Recentchangesfeed=rss

 and
  
http://www.wicket-wiki.org.uk/wiki/index.php?title=Special:Recentchangesfeed=atom).


 /Gwyn

 On 18/05/06, ali [EMAIL PROTECTED] wrote:
 please help , i would use offline explorer to track changes and auto
 update downloaded
 wiki pages but wiki reponse me this :

 Precondition Failed
 We're sorry, but we could not fulfill your request for  =

 /wiki/index.php/FAQs on this server.
 .


 ---
 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=lnkkid0709bid3057dat1642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


---
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?cmdlnkkid0709bid3057dat1642
___
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


---
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=lnkkid0709bid3057dat

[Wicket-user] info log messages

2006-05-18 Thread ali

i myself setup wicket-examples in IDEA , and all things work well

INFO  - WicketServlet  - WicketServlet loaded application  
ComponentReferenceApplication via  
wicket.protocol.http.ContextParamWebApplicationFactory factory

INFO  - Application- You are in DEVELOPMENT mode

but jetty log many info messages like this :

INFO  - UrlResourceStream  - cannot convert url:  
jar:file:/C:/java/wicket-1.2-beta1/wicket-examples-1.2-beta1/src/webapp/WEB-INF/lib/wicket-extensions-1.2-beta1.jar!/wicket/extensions/markup/html/datepicker/style/aqua/active-bg.gif  
to file (URI is not hierarchical), falling back to the inputstream for  
polling


again same message but for diff resuorces are logined

plase help.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] can'nt read wiki

2006-05-18 Thread ali

now i can not read any page of wiki

i no has a virus, firewall ,

i test opera, firefox, IE ,
=
On Thu, 18 May 2006 12:18:34 +0430, Gwyn Evans [EMAIL PROTECTED]  
wrote:



Hi,
  I'm not sure of the exact issue there, but on the other hand, as
it'll cost if we exceed the bandwidth, I'm not really sure that I want
to encourage the practice of periodically auto-downloading the Wiki...

  It might be that this product uses HEAD requests to check if the
download's needed but even so, spiders/robots aren't particularly web
suited to wiki's, as there are too many links that they'll follow that
are not relevent.  I looked at the product's web site, but the focus
is (as expected) on downloading the site's quickly rather than on
minimising the bandwidth used, so can't tell exactly what it does...

  Anyway, the best way to see the changes is the Recent Changes,
which is available either as a HTML page
(http://www.wicket-wiki.org.uk/wiki/index.php/Special:Recentchanges)
or as Rss  Atom feeds
(http://www.wicket-wiki.org.uk/wiki/index.php?title=Special:Recentchangesfeed=rss
and  
http://www.wicket-wiki.org.uk/wiki/index.php?title=Special:Recentchangesfeed=atom).


/Gwyn

On 18/05/06, ali [EMAIL PROTECTED] wrote:

please help , i would use offline explorer to track changes and auto
update downloaded
wiki pages but wiki reponse me this :

Precondition Failed
We're sorry, but we could not fulfill your request for  =

/wiki/index.php/FAQs on this server.
.



---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] can'nt read wiki

2006-05-17 Thread ali
please help , i would use offline explorer to track changes and auto  
update downloaded

wiki pages but wiki reponse me this :

Precondition Failed
We're sorry, but we could not fulfill your request for  =

/wiki/index.php/FAQs on this server.
.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket in action?

2006-05-12 Thread Ali Zaid

Yah Guys ;), but no hyucks, it suppose to help get rid of them :)

On 5/12/06, Vincent Jenks [EMAIL PROTECTED] wrote:

He'll definitely internalize every word.  Really absorbing the
contents...hyuck hyuck.

Alright, I'm done now.

On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 I guess he wants to digest it fully.

 Eelco

 On 5/11/06, Nick Heudecker [EMAIL PROTECTED] wrote:
  Won't that make it hard to read?
 
 
  On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote:
   hay :) when do we expect this? I want to eat this book!!! :)
  
  
 
 


 ---
 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?cmdlnkkid0709bid3057dat1642
 ___
 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?cmdlnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Regards, Ali
-
Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D


---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] FeedBackPanel in a ListView throws an Exception?

2006-05-11 Thread Ali Zaid

Hi Guys;

It's been a long time since I have a time to return and code with
wicket (long time is almost 3 weeks, I'm wicket adicted) :)

Anyway, I have a problem, I have a Panel which I add a ListView to it,
each Item in the ListView is a Panel, 2 types of Panels, one is just a
row (Labels and link), and the otherone contains FeedBackPanel and a
Form.

The problem is that the FeedBackPanel doesn't render and it throw an
exception if I add it to the Form Panel, which is a child for the
ListView, but when I move the FeedBackPanel outside the ListView it
works fine.

Am I missing something? FeedBackPanels can't be in a Panel in a ListView?

The code is simple, if needed I can send.

Regards, Ali


---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] FeedBackPanel in a ListView throws an Exception?

2006-05-11 Thread Ali Zaid

I will attach these tonight, Thanks :)

On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote:

Hi Ali,

What version of Wicket are you using and what is the exception you
get? If you got some code to share, maybe it's best to file and issue
(bug report) with the code attached to it.

Eelco


On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote:
 Hi Guys;

 It's been a long time since I have a time to return and code with
 wicket (long time is almost 3 weeks, I'm wicket adicted) :)

 Anyway, I have a problem, I have a Panel which I add a ListView to it,
 each Item in the ListView is a Panel, 2 types of Panels, one is just a
 row (Labels and link), and the otherone contains FeedBackPanel and a
 Form.

 The problem is that the FeedBackPanel doesn't render and it throw an
 exception if I add it to the Form Panel, which is a child for the
 ListView, but when I move the FeedBackPanel outside the ListView it
 works fine.

 Am I missing something? FeedBackPanels can't be in a Panel in a ListView?

 The code is simple, if needed I can send.

 Regards, Ali


 ---
 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?cmdlnkkid0709bid3057dat1642
 ___
 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?cmdlnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Regards, Ali
-
Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D


---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Link to Anchor

2006-05-11 Thread Ali Zaid

Hay Guys;

I was testing RC3 and I have noticed that anchors are not implemented,
I think I file a request for this, let me explain

if I have a link that say

a href=#clientPanel wicket:id=newClinetLink new Client/a

when redirect to the new client page it should jump to that anchor,
the way I do it now is

@Override
protected CharSequence getURL() {
  return super.getURL() + #clientPanel;
}

I think link should be able to read the what's in href and do that
automatically ;), I think this is more wicket way than have to inser
some html thing in java.

--
Regards, Ali
-
Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D


---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Link to Anchor

2006-05-11 Thread Ali Zaid

Hay Guys;

Glad you like the idea, as for adding a setter, I don't think it's any
different than overridding the method as above, as wicket always does,
it uses what in HTML, and this will help in design time too.

On 5/11/06, Andrew Berman [EMAIL PROTECTED] wrote:

I'd rather have a setter added to Link called setAnchor which appends the
#anchor automatically to the url.


On 5/11/06, Vincent Jenks  [EMAIL PROTECTED] wrote:
 +1 - I think that's pretty cool!

 Couldn't that be done w/ an ExternalLink?
AttributeModifier?

 On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
  Yeah, I like that idea. So, if the contents of the url start with #,
  we append that to the url... that's the idea, right?
 
  What do other people think/ votes?
 
  Eelco
 
 
  On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote:
   Hay Guys;
  
   I was testing RC3 and I have noticed that anchors are not implemented,
   I think I file a request for this, let me explain
  
   if I have a link that say
  
   a href=#clientPanel wicket:id=newClinetLink new Client/a
  
   when redirect to the new client page it should jump to that anchor,
   the way I do it now is
  
   @Override
   protected CharSequence getURL() {
  return super.getURL() + #clientPanel;
   }
  
   I think link should be able to read the what's in href and do that
   automatically ;), I think this is more wicket way than have to inser
   some html thing in java.
  
   --
   Regards, Ali
   -
   Fight back spam! Download the Blue Frog.
  
http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D
  
  
  
---
   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?cmdlnkkid0709bid3057dat1642
   ___
   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?cmdlnkkid0709bid3057dat1642
  ___
  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?cmdlnkkid0709bid3057dat1642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user






--
Regards, Ali
-
Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D


---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Link to Anchor

2006-05-11 Thread Ali Zaid
in prevoius post I did suggest to check what after #, I would also like to suggest adding something like setResponsePage(somePage, someAnchor), it may not only be needed for a link, we may need to jump to that anchor after sumitting a link :), don't hate me guys ;) 
On 5/11/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
yeaha href="" wicket:id=blahyou need that # so the link renders like a link when you preview in the browser.-Igor
On 5/11/06, 
Philip A. Chapman [EMAIL PROTECTED] wrote:




  
  


You might want to check for content after the #. As a general rule, I put # in the href of my template's a tags. I picked that up from examples and such. I think it'd work fine to have the # hanging on the end, but there's no need for it.


On Thu, 2006-05-11 at 08:21 -0600, Vincent Jenks wrote:


+1 - I think that's pretty cool!

Couldn't that be done w/ an ExternalLink?  AttributeModifier?

On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 Yeah, I like that idea. So, if the contents of the url start with #,
 we append that to the url... that's the idea, right?

 What do other people think/ votes?

 Eelco


 On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote:
  Hay Guys;
 
  I was testing RC3 and I have noticed that anchors are not implemented,
  I think I file a request for this, let me explain
 
  if I have a link that say
 
  a href="" wicket:id=newClinetLink new Client/a
 
  when redirect to the new client page it should jump to that anchor,
  the way I do it now is
 
  @Override
  protected CharSequence getURL() {
 return super.getURL() + #clientPanel;
  }
 
  I think link should be able to read the what's in href and do that
  automatically ;), I think this is more wicket way than have to inser
  some html thing in java.
 
  --
  Regards, Ali
  -
  Fight back spam! Download the Blue Frog.
  http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D

 
 
  ---
  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?cmdlnkkid0709bid3057dat1642

  ___
  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?cmdlnkkid0709bid3057dat1642

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

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







-- Philip A. ChapmanDesktop and Web Application Development:Java, .NET, PostgreSQL, MySQL, MSSQLLinux, Windows 2000, Windows XP






-BEGIN PGP SIGNATURE-Version: GnuPG v1.4.1 (GNU/Linux)iD8DBQBEY2VwAdpynRSGw3URAvbBAJ9pFQxk7MKs7AgmZcLMDj7oD2agfQCcCsrIybI6wST1Z1xCxPWPfhVVEWQ==TINi-END PGP SIGNATURE-----



-- Regards, Ali-Fight back spam! Download the Blue Frog.http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D



Re: [Wicket-user] Link to Anchor

2006-05-11 Thread Ali Zaid
Sorry, I ment submitting a formOn 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote:
in prevoius post I did suggest to check what after #, I would also like to suggest adding something like setResponsePage(somePage, someAnchor), it may not only be needed for a link, we may need to jump to that anchor after sumitting a link :), don't hate me guys ;) 
On 5/11/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote:
yeaha href="" wicket:id=blahyou need that # so the link renders like a link when you preview in the browser.-Igor
On 5/11/06, 
Philip A. Chapman [EMAIL PROTECTED] wrote:





  
  


You might want to check for content after the #. As a general rule, I put # in the href of my template's a tags. I picked that up from examples and such. I think it'd work fine to have the # hanging on the end, but there's no need for it.


On Thu, 2006-05-11 at 08:21 -0600, Vincent Jenks wrote:


+1 - I think that's pretty cool!

Couldn't that be done w/ an ExternalLink?  AttributeModifier?

On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 Yeah, I like that idea. So, if the contents of the url start with #,
 we append that to the url... that's the idea, right?

 What do other people think/ votes?

 Eelco


 On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote:
  Hay Guys;
 
  I was testing RC3 and I have noticed that anchors are not implemented,
  I think I file a request for this, let me explain
 
  if I have a link that say
 
  a href="" wicket:id=newClinetLink new Client/a
 
  when redirect to the new client page it should jump to that anchor,
  the way I do it now is
 
  @Override
  protected CharSequence getURL() {
 return super.getURL() + #clientPanel;
  }
 
  I think link should be able to read the what's in href and do that
  automatically ;), I think this is more wicket way than have to inser
  some html thing in java.
 
  --
  Regards, Ali
  -
  Fight back spam! Download the Blue Frog.
  http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D

 
 
  ---
  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?cmdlnkkid0709bid3057dat1642

  ___
  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?cmdlnkkid0709bid3057dat1642

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

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








-- Philip A. ChapmanDesktop and Web Application Development:Java, .NET, PostgreSQL, MySQL, MSSQLLinux, Windows 2000, Windows XP






-BEGIN PGP SIGNATURE-Version: GnuPG v1.4.1 (GNU/Linux)iD8DBQBEY2VwAdpynRSGw3URAvbBAJ9pFQxk7MKs7AgmZcLMDj7oD2agfQCcCsrIybI6wST1Z1xCxPWPfhVVEWQ==TINi-END PGP SIGNATURE-----




-- Regards, Ali-Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D


-- Regards, Ali-Fight back spam! Download the Blue Frog.http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D



Re: [Wicket-user] Link to Anchor

2006-05-11 Thread Ali Zaid

I don't see why we can't have both, but really, I think we need to set
anchors in setResponsePage() too, it will be good for forms too.

On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote:

What about both? Btw, I'm not sure whether anchor is the best name, as
any a tag technically is an anchor. That said, I wouldn't know an
alternative.

So, what we could do is use that property if it is set. If it is not
set we look at whether the attribute value starts with #, and when
that's not the case, we don't do anything.

Personally, if I have to choose between the two, I like the variant of
having it in the markup file better, as that is where your anchor
targets are defined in the first place. But I can think of cases where
you would want to do it programatically too.

Eelco


On 5/11/06, Andrew Berman [EMAIL PROTECTED] wrote:
 I'd rather have a setter added to Link called setAnchor which appends the
 #anchor automatically to the url.


 On 5/11/06, Vincent Jenks  [EMAIL PROTECTED] wrote:
  +1 - I think that's pretty cool!
 
  Couldn't that be done w/ an ExternalLink?
 AttributeModifier?
 
  On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
   Yeah, I like that idea. So, if the contents of the url start with #,
   we append that to the url... that's the idea, right?
  
   What do other people think/ votes?
  
   Eelco
  
  
   On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote:
Hay Guys;
   
I was testing RC3 and I have noticed that anchors are not implemented,
I think I file a request for this, let me explain
   
if I have a link that say
   
a href=#clientPanel wicket:id=newClinetLink new Client/a
   
when redirect to the new client page it should jump to that anchor,
the way I do it now is
   
@Override
protected CharSequence getURL() {
   return super.getURL() + #clientPanel;
}
   
I think link should be able to read the what's in href and do that
automatically ;), I think this is more wicket way than have to inser
some html thing in java.
   
--
Regards, Ali
-
Fight back spam! Download the Blue Frog.
   
 http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D
   
   
   
 ---
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?cmdlnkkid0709bid3057dat1642
___
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?cmdlnkkid0709bid3057dat1642
   ___
   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?cmdlnkkid0709bid3057dat1642
  ___
  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?cmdlnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Regards, Ali
-
Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D


---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket in action?

2006-05-11 Thread Ali Zaid

hay :) when do we expect this? I want to eat this book!!! :)

--
Regards, Ali
-
Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D


---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] why create new page instances ?

2006-05-08 Thread ali
On Sun, 07 May 2006 10:38:53 +0430, Igor Vaynberg  
[EMAIL PROTECTED] wrote:


i return to first post :

 2- if a user view/edit 4 book in its session , for him/her created 4  
BookDetails and 4 EditBook page object.(why this needed)


i can not understand why this needed ?

in mailing list , see that one of core developers told wicket pages  
'component tree suppose dynamically chnaged/replaced , do this feature is  
response to above FAQ.


if i will NOT want in this use case use this feature , what I do ?

OR i am still new in wicket and am iimmediately for tell ideas bring to my  
head , please guide me in this problem


you still havent explained exactly what the point is? and what you want  
to

do is easily achieved.

create your own page factory that keeps a map:class-instance in the  
session
object, that way wicket will always use that singleton instance whenever  
you

do things like setResponsePage(Blah.class)

also never create a page using the new operator, always do it through the
pagefactory.

and there you go.

i still dont see any advantages, only disadvantages, but the usecase can  
be

easily implemented nontheless.

-Igor


On 5/6/06, ali [EMAIL PROTECTED] wrote:


sorry for come late.
but i talk about singleton page in level of session/user and not in  
level

application

user1 has one and only one instance of page A
user2 has one and only one instance of page A (not equals with page of
user1)
==
On Tue, 21 Mar 2006 12:11:45 +0430, Martijn Dashorst
[EMAIL PROTECTED] wrote:

 You probably can manage to make the page a singleton, but I strongly
 discourage you from trying.

 You are in a multithreaded environment. Wicket pages are stateful,  
which

 means you can't safely share them across threads. As a consequence a
page
 can not be shared between sessions, and that is what you do when you
 build a
 singleton.
 When you let Wicket 'manage' your pages, i.e. you just create pages on
 the
 fly, you won't run into multithreading problems. Wicket will  
synchronize

 for
 each session on the session with an incoming request. So per user you
 won't
 have threading issues.

 I can't think of any web framework that supports this way of working,
 perhaps the action oriented frameworks (webwork, struts). Wicket is  
not

 like
 that. Wicket creates statefull pages and components, which means they
 cannot
 be shared between threads at the same time. Even Tapestry doesn't
support
 singletons, but uses page pooling. And because of that, they had to
 create
 some magic to make the pages loose their state when the page is put  
back

 into the pool.

 If you are /that/ concerned with memory, then you probably shouldn't  
use

 Wicket. Not because we don't think Wicket is up for the task, but I
think
 you'd have more fun with Tapestry or another framework that let's you
 work
 the way you want.

 Martijn


 On 3/21/06, ali [EMAIL PROTECTED] wrote:

 On Tue, 21 Mar 2006 04:47:13 +0530, Martijn Dashorst
 [EMAIL PROTECTED] wrote:

 i want suppose can EditBook be is singleton .

  new Link(editLink) {
  protected void onClick() {
  Book book = (Book)getParent().getModelObject();
  setResponsePage(new EditBook(book));
  }
  }
 
  Should work.
 
  Martijn
 
  On 3/20/06, ali [EMAIL PROTECTED] wrote:
 
  On Mon, 20 Mar 2006 14:18:48 +0530, Johan Compagner
   [EMAIL PROTECTED]
  wrote:
  can i do like :
 
  class BookList extends WebPage {
 
  public BookList() {
 
  add(new ListView(booksList, booksList){
 
  public void populateItem(ListItem item) {
 
  add(new Link(editLink) {
  EditBook page =
  EditBook.getInstance();
  page.setModel(new
  CompoundPropertyModel(item.getModelObject ())); //or
  line also move to page
  setResponsePage(page);
  }
  });
  }
  }
 
  if i can do this then what effects do it put in on end-user of  
app?

 
   you can reuse pages just fine for one session ofcourse if you
want.
  
   So in youre BookList you hold on to an internal page BookDetails
or
   EditBook
   page
   And when you click on a view/edit link you just reuse that page.
  
   I wouldn't share pages across sessions.
  
   johan
  
  
   On 3/20/06, ali [EMAIL PROTECTED] wrote:
  
   i am new in wicket , it's correct that we tell
  
   1- always use getPageFactory.newPage() instead new.
  
   2- if a user view/edit 4 book in its session , for him/her
 created 4
   BookDetails and 4 EditBook page object.(why this needed)
  
   do we can define page be singleton in level of handler thread  
or

  session
   (i remember ThreadLocal)? so that like swing only once EditBook
or
   BookDetails pages instanced and for next book only needed that
 call
  on
   them setBook(booK);
  
   refrence to these pages can keep in session and also

Re: [Wicket-user] why create new page instances ?

2006-05-06 Thread ali

sorry for come late.
but i talk about singleton page in level of session/user and not in level  
application


user1 has one and only one instance of page A
user2 has one and only one instance of page A (not equals with page of  
user1)

==
On Tue, 21 Mar 2006 12:11:45 +0430, Martijn Dashorst  
[EMAIL PROTECTED] wrote:



You probably can manage to make the page a singleton, but I strongly
discourage you from trying.

You are in a multithreaded environment. Wicket pages are stateful, which
means you can't safely share them across threads. As a consequence a page
can not be shared between sessions, and that is what you do when you  
build a

singleton.
When you let Wicket 'manage' your pages, i.e. you just create pages on  
the
fly, you won't run into multithreading problems. Wicket will synchronize  
for
each session on the session with an incoming request. So per user you  
won't

have threading issues.

I can't think of any web framework that supports this way of working,
perhaps the action oriented frameworks (webwork, struts). Wicket is not  
like
that. Wicket creates statefull pages and components, which means they  
cannot

be shared between threads at the same time. Even Tapestry doesn't support
singletons, but uses page pooling. And because of that, they had to  
create

some magic to make the pages loose their state when the page is put back
into the pool.

If you are /that/ concerned with memory, then you probably shouldn't use
Wicket. Not because we don't think Wicket is up for the task, but I think
you'd have more fun with Tapestry or another framework that let's you  
work

the way you want.

Martijn


On 3/21/06, ali [EMAIL PROTECTED] wrote:


On Tue, 21 Mar 2006 04:47:13 +0530, Martijn Dashorst
[EMAIL PROTECTED] wrote:

i want suppose can EditBook be is singleton .

 new Link(editLink) {
 protected void onClick() {
 Book book = (Book)getParent().getModelObject();
 setResponsePage(new EditBook(book));
 }
 }

 Should work.

 Martijn

 On 3/20/06, ali [EMAIL PROTECTED] wrote:

 On Mon, 20 Mar 2006 14:18:48 +0530, Johan Compagner
  [EMAIL PROTECTED]
 wrote:
 can i do like :

 class BookList extends WebPage {

 public BookList() {

 add(new ListView(booksList, booksList){

 public void populateItem(ListItem item) {

 add(new Link(editLink) {
 EditBook page =
 EditBook.getInstance();
 page.setModel(new
 CompoundPropertyModel(item.getModelObject ())); //or
 line also move to page
 setResponsePage(page);
 }
 });
 }
 }

 if i can do this then what effects do it put in on end-user of app?

  you can reuse pages just fine for one session ofcourse if you want.
 
  So in youre BookList you hold on to an internal page BookDetails or
  EditBook
  page
  And when you click on a view/edit link you just reuse that page.
 
  I wouldn't share pages across sessions.
 
  johan
 
 
  On 3/20/06, ali [EMAIL PROTECTED] wrote:
 
  i am new in wicket , it's correct that we tell
 
  1- always use getPageFactory.newPage() instead new.
 
  2- if a user view/edit 4 book in its session , for him/her  
created 4

  BookDetails and 4 EditBook page object.(why this needed)
 
  do we can define page be singleton in level of handler thread or
 session
  (i remember ThreadLocal)? so that like swing only once EditBook or
  BookDetails pages instanced and for next book only needed that  
call

 on
  them setBook(booK);
 
  refrence to these pages can keep in session and also they can
 
  or maybe i must more read examples and docs
 
  --
  Using Opera's revolutionary e-mail client:
http://www.opera.com/mail/
 
 
  ---
  This SF.Net email is sponsored by xPML, a groundbreaking scripting
  language
  that extends applications into web and mobile media. Attend the  
live

  webcast
  and join the prime developer group breaking into this new coding
  territory!
 
  
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642


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



 --
 Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting
 language
 that extends applications into web and mobile media. Attend the live
 webcast
 and join the prime developer group breaking into this new coding
 territory!

http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

Re: [Wicket-user] call for i18n contributions

2006-04-23 Thread ali
On Mon, 17 Apr 2006 13:09:49 +0530, Eelco Hillenius  
[EMAIL PROTECTED] wrote:


(only for note \u002e is '.' in end of each message)

from Iran : fa_IR

RequiredValidator= \u0648\u0631\u0648\u062f\u06cc '${label}'  
\u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u0627\u0633\u062a\u002e
TypeValidator='${input}'  \u06cc\u06a9  ${type}  
\u0645\u0639\u062a\u0628\u0631 \u0646\u06cc\u0633\u062a\u002e


NumberValidator.range=${input} \u0628\u0627\u06cc\u062f \u0628\u06cc\u0646  
${minimum} \u0648 ${maximum} \u0628\u0627\u0634\u062f\u002e
NumberValidator.minimum='${input}' \u0628\u0627\u06cc\u062f  
\u0628\u0632\u0631\u06af\u062a\u0631 \u0627\u0632 ${minimum}  
\u0628\u0627\u0634\u062f\u002e
NumberValidator.maximum='${input}' \u0628\u0627\u06cc\u062f  
\u06a9\u0648\u0686\u06a9\u062a\u0631 \u0627\u0632 ${maximum}  
\u0628\u0627\u0634\u062f\u002e


StringValidator.range='${input}' \u0628\u0627\u06cc\u062f  
\u0628\u06cc\u0646 ${minimum} \u0648 ${maximum}  
\u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0628\u0627\u0634\u062f\u002e
StringValidator.minimum='${input}' \u0628\u0627\u06cc\u062f  
\u062d\u062f\u0627\u0642\u0644 ${mimimum}  
\u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0628\u0627\u0634\u062f\u002e
StringValidator.maximum='${input}' \u0628\u0627\u06cc\u062f  
\u062d\u062f\u0627\u06a9\u062b\u0631 ${maximum}  
\u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0628\u0627\u0634\u062f\u002e


DateValidator.range=${input} \u0628\u0627\u06cc\u062f \u0628\u06cc\u0646  
${minimum} \u0648 ${maximum} \u0628\u0627\u0634\u062f\u002e
DateValidator.minimum='${input}' \u0628\u0627\u06cc\u062f  
\u0628\u0639\u062f \u0627\u0632 ${minimum} \u0628\u0627\u0634\u062f\u002e
DateValidator.maximum='${input}' \u0628\u0627\u06cc\u062f  
\u0642\u0628\u0644 \u0627\u0632 ${maximum} \u0628\u0627\u0634\u062f\u002e


PatternValidator='${input}' \u0645\u0637\u0627\u0628\u0642  
\u0627\u0644\u06af\u0648 '${pattern}' \u0646\u06cc\u0633\u062a\u002e
EmailAddressPatternValidator='${input}' \u06cc\u06a9  
\u0622\u062f\u0631\u0633 \u067e\u0633\u062a\u06cc  
\u0645\u0639\u062a\u0628\u0631 \u0646\u06cc\u0633\u062a\u002e


EqualInputValidator='${input0}' \u0627\u0632 ${label0} \u0648 '${input1}'  
\u0627\u0632 ${label1} \u0628\u0627\u06cc\u062f  
\u0645\u0633\u0627\u0648\u06cc \u0628\u0627\u0634\u0646\u062f\u002e


null=\u06cc\u06a9\u06cc \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646
nullValid=\u0646\u0627\u0645\u0634\u062e\u0635




---
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] call for i18n contributions

2006-04-20 Thread ali
On Tue, 18 Apr 2006 04:58:32 +0530, Eelco Hillenius  
[EMAIL PROTECTED] wrote:


(only for note \u002e is '.' in end of each message)

from Iran : fa_IR

RequiredValidator= \u0648\u0631\u0648\u062f\u06cc '${label}'  
\u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u0627\u0633\u062a\u002e
TypeValidator='${input}'  \u06cc\u06a9  ${type}  
\u0645\u0639\u062a\u0628\u0631 \u0646\u06cc\u0633\u062a\u002e


NumberValidator.range=${input} \u0628\u0627\u06cc\u062f \u0628\u06cc\u0646  
${minimum} \u0648 ${maximum} \u0628\u0627\u0634\u062f\u002e
NumberValidator.minimum='${input}' \u0628\u0627\u06cc\u062f  
\u0628\u0632\u0631\u06af\u062a\u0631 \u0627\u0632 ${minimum}  
\u0628\u0627\u0634\u062f\u002e
NumberValidator.maximum='${input}' \u0628\u0627\u06cc\u062f  
\u06a9\u0648\u0686\u06a9\u062a\u0631 \u0627\u0632 ${maximum}  
\u0628\u0627\u0634\u062f\u002e


StringValidator.range='${input}' \u0628\u0627\u06cc\u062f  
\u0628\u06cc\u0646 ${minimum} \u0648 ${maximum}  
\u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0628\u0627\u0634\u062f\u002e
StringValidator.minimum='${input}' \u0628\u0627\u06cc\u062f  
\u062d\u062f\u0627\u0642\u0644 ${mimimum}  
\u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0628\u0627\u0634\u062f\u002e
StringValidator.maximum='${input}' \u0628\u0627\u06cc\u062f  
\u062d\u062f\u0627\u06a9\u062b\u0631 ${maximum}  
\u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0628\u0627\u0634\u062f\u002e


DateValidator.range=${input} \u0628\u0627\u06cc\u062f \u0628\u06cc\u0646  
${minimum} \u0648 ${maximum} \u0628\u0627\u0634\u062f\u002e
DateValidator.minimum='${input}' \u0628\u0627\u06cc\u062f  
\u0628\u0639\u062f \u0627\u0632 ${minimum} \u0628\u0627\u0634\u062f\u002e
DateValidator.maximum='${input}' \u0628\u0627\u06cc\u062f  
\u0642\u0628\u0644 \u0627\u0632 ${maximum} \u0628\u0627\u0634\u062f\u002e


PatternValidator='${input}' \u0645\u0637\u0627\u0628\u0642  
\u0627\u0644\u06af\u0648 '${pattern}' \u0646\u06cc\u0633\u062a\u002e
EmailAddressPatternValidator='${input}' \u06cc\u06a9  
\u0622\u062f\u0631\u0633 \u067e\u0633\u062a\u06cc  
\u0645\u0639\u062a\u0628\u0631 \u0646\u06cc\u0633\u062a\u002e


EqualInputValidator='${input0}' \u0627\u0632 ${label0} \u0648 '${input1}'  
\u0627\u0632 ${label1} \u0628\u0627\u06cc\u062f  
\u0645\u0633\u0627\u0648\u06cc \u0628\u0627\u0634\u0646\u062f\u002e


null=\u06cc\u06a9\u06cc \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646
nullValid=\u0646\u0627\u0645\u0634\u062e\u0635



Very cool. I don't think we can put it in a file like that though.
Martijn warned that we should use unicode characters for anything
fancier than old ASCII. For instance, a line of the Chinese
translation is

NumberValidator.minimum = '${input}' \u5FC5\u9808\u5927\u65BC ${minimum}

If I understand correctly, Persian uses the arabic alphabet as well,
which is listed with unicode here:
http://en.wikipedia.org/wiki/Arabic_alphabet

Could you please take a look at that?

Thanks!

Eelco


Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


---
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] New Suggestion: Form components as labels

2006-04-19 Thread Ali Zaid
Hi Guys;

I have been working with the RC1 and I found it wonderful, today I
came across something that make me think about new thing to add to
wicket (unless it is there and I don't know)

The thing is, I want to create some Information sheet (I always do
;)), and I need to show info, and give the user the ability to press
edit and edit this info, what I used to do is to create 2 panels, one
that show the info as text, and the other is the form. and the other
trick is to add 2 components to the field and show or hide one
depending on what mode the user in.

Since I'm lazy, and wicket has beed designed to make us even more lazy
than before ;), I would suggest this

TextField tf = new TextField(name);

now what wicket would expect is to have a tag for this in html that
looks like this

input type=text wicket:id=name /

now come the lazy part why don't we add something to it to make it
render as a simple Label, something like:

tf.preview(true);

or

tf.renderAsLabel(true);

now if this can be done for all the form component in my openion this
would be really useful, tell you the truth I'm so excited about Ajax
in place edit of 1.2, and I'm trying to use it in a new project I'm
writting in wicket! but still the above is really worth allot in my
openion.

--
Regards, Ali
-
Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D


---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] call for i18n contributions

2006-04-17 Thread ali


from Iran : fa_IR

RequiredValidator= ورودی '${label}' مورد نیاز است.
TypeValidator='${input}'  یک  ${type} معتبر نیست.

NumberValidator.range=${input} باید بین ${minimum} و ${maximum} باشد.
NumberValidator.minimum='${input}' باید بزرگتر از ${minimum} باشد.
NumberValidator.maximum='${input}' باید کوچکتر از ${maximum} باشد.

StringValidator.range='${input}' باید بین ${minimum} و ${maximum} کاراکتر  
باشد.

StringValidator.minimum='${input}' باید حداقل ${mimimum} کاراکتر باشد.
StringValidator.maximum='${input}' باید حداکثر ${maximum} کاراکتر باشد.

DateValidator.range=${input} باید بین ${minimum} و ${maximum} باشد.
DateValidator.minimum='${input}' باید بعد از ${minimum} باشد.
DateValidator.maximum='${input}' باید قبل از ${maximum} باشد.

PatternValidator='${input}' مطابق الگو '${pattern}' نیست.
EmailAddressPatternValidator='${input}' یک آدرس پستی معتبر نیست.

EqualInputValidator='${input0}' از ${label0} و '${input1}' از ${label1}  
باید مساوی باشند.


null=یکی انتخاب کن
nullValid=نامشخص


with best regards
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RE: WicketTester and checkAccess redirections

2006-04-12 Thread ali

only for lovers of IDEA :

1- search symbol : ctrl + shift + alt + n (IDEA also has search class or  
search file)
2- type getRequest with a space in end for narrow list (or type  
get*Request*)
3- IDEA actually sugesst only three items from lib of wicket 1.2 , in  
Component and in RequestCycle and in ServletRequestWrapper


may you tell me that i much depend myself to this tool BUT i like this  
status. still this IDE wonder me


On Wed, 12 Apr 2006 00:49:34 +0530, Igor Vaynberg  
[EMAIL PROTECTED] wrote:



RequestCycle.get().getRequest()..

-Igor


On 4/11/06, Gustavo Hexsel [EMAIL PROTECTED] wrote:


  Juergen gave me some pointers and I decided to try migrating to 1.2.   
I

have to say things are quite a bit more complicated now...  how do I get
access to the request from an AuthorizationStrategy?  I need to check  
if the
request's IP is within a pre-configured range.  Before, I was doing  
this on

checkAccess():

final ServletWebRequest servletWebRequest =
(ServletWebRequest) getRequest();
final HttpServletRequest request =
servletWebRequest.getHttpServletRequest();
final String clientIP = request.getRemoteAddr();
boolean isOffSiteIP = ConfigurationService.getInstance
().isOffSiteIP(clientIP);
boolean isOffSiteAllowed =
ConfigurationService.getInstance
().load().isOffSiteAccessEnabled().booleanValue();

if(isOffSiteIP  !isOffSiteAllowed){
... redirect to appropriate warning page
}

[]s Gus



-Original Message-
From: Gustavo Hexsel
Sent: April 10, 2006 6:10 PM
To: 'wicket-user@lists.sourceforge.net'
Subject: WicketTester and checkAccess redirections


  Hi,

  I'm using Wicket 1.1.1 and trying to get my first WicketTester to work
with the current app.  I can't seem to get the  
redirectToInterceptPage(Page)

method to actually redirect to the page.  It works fine from Tomcat and
Jetty, but the WicketTester seems to ignore the call (though I stepped  
into

it and saw it was actually called).

  Is this the expected behaviour?  If so, how do you test the
interceptions?


[]s Gus


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 1.2-beta3 is available

2006-04-03 Thread Ali Zaid
Hay;

Congratulate, it's really one of the best! can't wait for it to be final!!!

Regards, Ali

On 4/2/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
 All,

 I have created and uploaded the third beta release of Wicket 1.2. We have
 solved quite some bugs, but there are some nasty one's still unsolved. This
 is why we chose to release another beta instead of moving into the end game
 of our 1.2 release schedule. You can monitor the bug list at sourceforge
 (http://sourceforge.net/tracker/?group_id=119783atid=684975)
 to see which are still open and which are solved.

 The outstanding bugs shouldn't hurt development efforts, so if you are in
 the process of upgrading to Wicket 1.2, please continue to do so with this
 release (or bake your own from SVN trunk). This release is not considered
 stable enough to use in production.

 Help us finalize this release by downloading and test driving this release.
 The more bugs you find now, the better the final release will be!

 You can download the release(s) of the different projects at the usual
 download location:
 http://sourceforge.net/project/showfiles.php?group_id=119783

 This release contains the following projects:

  o wicket
  o wicket-extensions
  o wicket-spring
  o wicket-spring-annot
  o wicket-auth-roles
  o and all example projects for each release.

 Have fun!

 - the Wicket team

 --
 Wicket 1.2 is coming! Write Ajax applications without touching JavaScript!
 -- http://wicketframework.org


--
Regards, Ali
-
Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] AjaxSubmitButton as an Image?

2006-03-28 Thread Ali Zaid
Hay Guys;

Wonderful work!

I wanted to have the AjaxSubmitButton to be as an image, and then I
found out that AjaxSubmitButton check for the attibute type and throw
and exception if it's not a button, I modifed it and checked it with
an image, and it works :), can you please have AjaxSubmitButton accept
images too in the final release :), if this is not in the plan, I can
submit a request.

Thanks a million!

--
Regards, Ali
-
Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxSubmitButton as an Image?

2006-03-28 Thread Ali Zaid
Igor;

My mistake, I just checked it again, and I made a fast judgment,
Sorry, it seems image doesn't work with Ajax :(, it submit the form in
a normal way, unless you have found work around.

I'm really sorry for this mistake. I will recheck again and update
you. again, Really sorry.

Regards, Ali

On 3/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 done.

 -Igor



 On 3/28/06, Ali Zaid [EMAIL PROTECTED] wrote:
 
  Hay Guys;

 Wonderful work!

 I wanted to have the AjaxSubmitButton to be as an image, and then I
 found out that AjaxSubmitButton check for the attibute type and throw
 and exception if it's not a button, I modifed it and checked it with
 an image, and it works :), can you please have AjaxSubmitButton accept
 images too in the final release :), if this is not in the plan, I can
 submit a request.

 Thanks a million!

 --
 Regards, Ali
  -
 Fight back spam! Download the Blue Frog.
 http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D


 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Regards, Ali
-
Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxSubmitButton as an Image?

2006-03-28 Thread Ali Zaid
Ok;

If you don't hate me :), I did reCheck and it didn't work, I don't
know, maybe we make a link that submit a form in Ajax?

Really sorry about this again (I guess this is why it was checking for
a button in the first place)

Regards, Ali

On 3/28/06, Ali Zaid [EMAIL PROTECTED] wrote:
 Igor;

 My mistake, I just checked it again, and I made a fast judgment,
 Sorry, it seems image doesn't work with Ajax :(, it submit the form in
 a normal way, unless you have found work around.

 I'm really sorry for this mistake. I will recheck again and update
 you. again, Really sorry.

 Regards, Ali

 On 3/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
  done.
 
  -Igor
 
 
 
  On 3/28/06, Ali Zaid [EMAIL PROTECTED] wrote:
  
   Hay Guys;
 
  Wonderful work!
 
  I wanted to have the AjaxSubmitButton to be as an image, and then I
  found out that AjaxSubmitButton check for the attibute type and throw
  and exception if it's not a button, I modifed it and checked it with
  an image, and it works :), can you please have AjaxSubmitButton accept
  images too in the final release :), if this is not in the plan, I can
  submit a request.
 
  Thanks a million!
 
  --
  Regards, Ali
   -
  Fight back spam! Download the Blue Frog.
  http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D
 
 
  ---
  This SF.Net email is sponsored by xPML, a groundbreaking scripting language
  that extends applications into web and mobile media. Attend the live webcast
  and join the prime developer group breaking into this new coding territory!
  http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 --
 Regards, Ali
 -
 Fight back spam! Download the Blue Frog.
 http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D



--
Regards, Ali
-
Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxSubmitButton as an Image?

2006-03-28 Thread Ali Zaid
Igor;

I did give it a try, and it works as I said, it submit the form in a
normal way not though Ajax, so page do refresh.

Regards, Ali

On 3/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 i tweaked it and it now should work with button/image/submit

 give it a try.

 -Igor



 On 3/28/06, Ali Zaid  [EMAIL PROTECTED] wrote:
 
 Igor;

 My mistake, I just checked it again, and I made a fast judgment,
 Sorry, it seems image doesn't work with Ajax :(, it submit the form in
 a normal way, unless you have found work around.

 I'm really sorry for this mistake. I will recheck again and update
 you. again, Really sorry.

 Regards, Ali

 On 3/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
  done.
 
  -Igor
 
 
 
  On 3/28/06, Ali Zaid  [EMAIL PROTECTED] wrote:
  
   Hay Guys;
 
  Wonderful work!
 
  I wanted to have the AjaxSubmitButton to be as an image, and then I
  found out that AjaxSubmitButton check for the attibute type and throw
  and exception if it's not a button, I modifed it and checked it with
  an image, and it works :), can you please have AjaxSubmitButton accept
  images too in the final release :), if this is not in the plan, I can
  submit a request.
 
  Thanks a million!
 
  --
  Regards, Ali
   -
  Fight back spam! Download the Blue Frog.
 
 http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D
 
 
  ---
  This SF.Net email is sponsored by xPML, a groundbreaking scripting
 language
  that extends applications into web and mobile media. Attend the live
 webcast
  and join the prime developer group breaking into this new coding
 territory!
 
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 --
 Regards, Ali
  -
 Fight back spam! Download the Blue Frog.
 http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D


 ---

 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Regards, Ali
-
Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxSubmitButton as an Image?

2006-03-28 Thread Ali Zaid
Igor;

if you mean this:

protected void onComponentTag(ComponentTag tag)
{
checkComponentTag(tag, input);

final String type = tag.getAttributes().getString(type);
if (!button.equals(type)  
!image.equals(type)!submit.equals(type))
{
findMarkupStream().throwMarkupException(
Component  + getId() +  must be 
applied to a tag with 'type'
+  attribute matching 
'submit', 'button' or 'image', not ' +
type + ');
}

super.onComponentTag(tag);
}


I did test it, and it still submit in a normal way (not ajax), is
there any other class/file that was updated with this one? is there
anything that I should include in the markup?

mine looks like this

input type=image name=imageField
src=../../../../../../images/accept.png
wicket:id=submitAjaxSubmitButton/

Regards,
Ali


On 3/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 you wrote that email w/out testing eh :)

 update and try again

 -Igor



 On 3/28/06, Ali Zaid [EMAIL PROTECTED]  wrote:
 
 Igor;

 I did give it a try, and it works as I said, it submit the form in a
 normal way not though Ajax, so page do refresh.

 Regards, Ali

 On 3/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
  i tweaked it and it now should work with button/image/submit
 
  give it a try.
 
  -Igor
 
 
 
  On 3/28/06, Ali Zaid  [EMAIL PROTECTED] wrote:
  
  Igor;
 
  My mistake, I just checked it again, and I made a fast judgment,
  Sorry, it seems image doesn't work with Ajax :(, it submit the form in
  a normal way, unless you have found work around.
 
  I'm really sorry for this mistake. I will recheck again and update
   you. again, Really sorry.
 
  Regards, Ali
 
  On 3/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
   done.
  
-Igor
  
  
  
   On 3/28/06, Ali Zaid  [EMAIL PROTECTED] wrote:
   
Hay Guys;
  
   Wonderful work!
  
   I wanted to have the AjaxSubmitButton to be as an image, and then I
   found out that AjaxSubmitButton check for the attibute type and throw
   and exception if it's not a button, I modifed it and checked it with
   an image, and it works :), can you please have AjaxSubmitButton accept
   images too in the final release :), if this is not in the plan, I can
   submit a request.
  
   Thanks a million!
  
   --
   Regards, Ali
-
   Fight back spam! Download the Blue Frog.
  
 
 http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D
  
  
   ---
   This SF.Net email is sponsored by xPML, a groundbreaking scripting
  language
   that extends applications into web and mobile media. Attend the live
  webcast
   and join the prime developer group breaking into this new coding
  territory!
  
 
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
  --
  Regards, Ali
   -
  Fight back spam! Download the Blue Frog.
 
 http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D
 
 
  ---
 
  This SF.Net email is sponsored by xPML, a groundbreaking scripting
 language
  that extends applications into web and mobile media. Attend the live
 webcast
  and join the prime developer group breaking into this new coding
 territory!
 
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 --
 Regards, Ali
  -
 Fight back spam! Download the Blue Frog.
 http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D


 ---

 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Regards, Ali
-
Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642

Re: [Wicket-user] AjaxSubmitButton as an Image?

2006-03-28 Thread Ali Zaid
ok, I only changed the class, what other files where changed?

On 3/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 no i added something else, what does the generated onclick handler look
 like?

 -Igor



 On 3/28/06, Ali Zaid  [EMAIL PROTECTED] wrote:
 
 Igor;

 if you mean this:

 protected void onComponentTag(ComponentTag tag)
 {
 checkComponentTag(tag, input);

 final String type = tag.getAttributes().getString(type);
 if (!button.equals(type) 
 !image.equals(type)!submit.equals(type))
 {

 findMarkupStream().throwMarkupException(
 Component  +
 getId() +  must be applied to a tag with 'type'
  +
  attribute matching 'submit', 'button' or 'image', not ' +
 type + ');
 }

 super.onComponentTag(tag);
 }


 I did test it, and it still submit in a normal way (not ajax), is
 there any other class/file that was updated with this one? is there
 anything that I should include in the markup?

 mine looks like this

 input type=image name=imageField
 src=../../../../../../images/accept.png
 wicket:id=submitAjaxSubmitButton/

 Regards,
 Ali


 On 3/28/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
  you wrote that email w/out testing eh :)
 
  update and try again
 
  -Igor
 
 
 
  On 3/28/06, Ali Zaid  [EMAIL PROTECTED]  wrote:
  
  Igor;
 
  I did give it a try, and it works as I said, it submit the form in a
  normal way not though Ajax, so page do refresh.
 
  Regards, Ali
 
  On 3/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
   i tweaked it and it now should work with button/image/submit
  
   give it a try.
  
   -Igor
  
  
  
   On 3/28/06, Ali Zaid  [EMAIL PROTECTED] wrote:

   Igor;
  
   My mistake, I just checked it again, and I made a fast judgment,
   Sorry, it seems image doesn't work with Ajax :(, it submit the form in
   a normal way, unless you have found work around.
  
   I'm really sorry for this mistake. I will recheck again and update
you. again, Really sorry.
  
   Regards, Ali
  
   On 3/28/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
done.
   
 -Igor
   
   
   
On 3/28/06, Ali Zaid  [EMAIL PROTECTED] wrote:

 Hay Guys;
   
Wonderful work!
   
I wanted to have the AjaxSubmitButton to be as an image, and then I
found out that AjaxSubmitButton check for the attibute type and throw
and exception if it's not a button, I modifed it and checked it with
an image, and it works :), can you please have AjaxSubmitButton accept
images too in the final release :), if this is not in the plan, I can
submit a request.
   
Thanks a million!
   
--
 Regards, Ali
 -
Fight back spam! Download the Blue Frog.
   
  
 
 http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D
   
   
   
 ---
This SF.Net email is sponsored by xPML, a groundbreaking scripting
   language
that extends applications into web and mobile media. Attend the live
   webcast
and join the prime developer group breaking into this new coding
   territory!
   
  
 
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
  https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
  
  
   --
   Regards, Ali
-
   Fight back spam! Download the Blue Frog.
  
 
 http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D
  
  
   ---
  
   This SF.Net email is sponsored by xPML, a groundbreaking scripting
  language
   that extends applications into web and mobile media. Attend the live
  webcast
   and join the prime developer group breaking into this new coding
  territory!
  
 
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
  --
  Regards, Ali
   -
  Fight back spam! Download the Blue Frog.
 
 http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D
 
 
  ---
 
  This SF.Net email is sponsored by xPML, a groundbreaking scripting
 language
  that extends applications into web and mobile media. Attend the live
 webcast
  and join the prime developer group breaking into this new coding
 territory!
 
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 --
 Regards, Ali
  -
 Fight back spam! Download the Blue Frog.
 http://www.bluesecurity.com

Re: [Wicket-user] AjaxSubmitButton as an Image?

2006-03-28 Thread Ali Zaid
input type=image
id=fullContactPanel_fullContactListView_2_fullContactPanel_fullContactForm_submitAjaxSubmitButton
name=imageField src=../../../../../../images/accept.png
onclick=var 
wicketAjaxCallMade=wicketSubmitFormById('fullContactPanel_fullContactListView_2_fullContactPanel_fullContactForm',
'/Yakhdhoor?wicket:interface=:2:fullContactPanel:fullContactListView:2:fullContactPanel:fullContactForm:submitAjaxSubmitButton:-1:IUnversionedBehaviorListeneramp;wicket:behaviorId=0'
);; return true;; return false;

On 3/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 i only changed the ajax submit button class. what does your onclick handler
 look like?


 -Igor


 On 3/28/06, Ali Zaid  [EMAIL PROTECTED] wrote:
  ok, I only changed the class, what other files where changed?
 
  On 3/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
   no i added something else, what does the generated onclick handler look
   like?
  
   -Igor
  
  
  
   On 3/28/06, Ali Zaid  [EMAIL PROTECTED] wrote:
   
   Igor;
  
   if you mean this:
  
   protected void onComponentTag(ComponentTag tag)
   {
   checkComponentTag(tag, input);
  
   final String type =
 tag.getAttributes().getString(type);
   if (!button.equals(type) 
   !image.equals(type)!submit.equals(type))
   {
  
   findMarkupStream().throwMarkupException(
   Component  +
   getId() +  must be applied to a tag with 'type'
  
  +
attribute matching 'submit', 'button' or 'image', not ' +
   type + ');
   }
  
   super.onComponentTag(tag);
   }
  
  
   I did test it, and it still submit in a normal way (not ajax), is
   there any other class/file that was updated with this one? is there
   anything that I should include in the markup?
  
   mine looks like this
  
   input type=image name=imageField
   src=../../../../../../images/accept.png
   wicket:id=submitAjaxSubmitButton/
  
   Regards,
   Ali
  
  
   On 3/28/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
you wrote that email w/out testing eh :)
   
update and try again
   
-Igor
   
   
   
On 3/28/06, Ali Zaid  [EMAIL PROTECTED]  wrote:

Igor;
   
I did give it a try, and it works as I said, it submit the form in a
normal way not though Ajax, so page do refresh.
   
Regards, Ali
   
On 3/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 i tweaked it and it now should work with button/image/submit

 give it a try.

 -Igor



 On 3/28/06, Ali Zaid  [EMAIL PROTECTED] wrote:
  
 Igor;

 My mistake, I just checked it again, and I made a fast judgment,
 Sorry, it seems image doesn't work with Ajax :(, it submit the form
 in
 a normal way, unless you have found work around.

 I'm really sorry for this mistake. I will recheck again and update
  you. again, Really sorry.

 Regards, Ali

 On 3/28/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
  done.
 
   -Igor
 
 
 
  On 3/28/06, Ali Zaid  [EMAIL PROTECTED] wrote:
  
   Hay Guys;
 
  Wonderful work!
 
  I wanted to have the AjaxSubmitButton to be as an image, and then
 I
  found out that AjaxSubmitButton check for the attibute type and
 throw
  and exception if it's not a button, I modifed it and checked it
 with
  an image, and it works :), can you please have AjaxSubmitButton
 accept
  images too in the final release :), if this is not in the plan, I
 can
  submit a request.
 
  Thanks a million!
 
  --
   Regards, Ali
   -
  Fight back spam! Download the Blue Frog.
 

   
  
 http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D
 
 
 
   ---
  This SF.Net email is sponsored by xPML, a groundbreaking scripting
 language
  that extends applications into web and mobile media. Attend the
 live
 webcast
  and join the prime developer group breaking into this new coding
 territory!
 

   
  
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
 
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 --
 Regards, Ali
  -
 Fight back spam! Download the Blue Frog.

   
  
 http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D



 ---

 This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
 that extends applications into web and mobile media. Attend the live
webcast
 and join the prime developer group breaking into this new coding
territory!

   
  
 http://sel.as-us.falkag.net/sel

Re: [Wicket-user] AjaxSubmitButton as an Image?

2006-03-28 Thread Ali Zaid
hummm...

Sorry Igor, I will work on it, tell me, how can I can download the
whole source code?

On 3/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 you are not up to date all the way.


 -Igor


 On 3/28/06, Ali Zaid [EMAIL PROTECTED] wrote:
  input type=image
 
 id=fullContactPanel_fullContactListView_2_fullContactPanel_fullContactForm_submitAjaxSubmitButton
  name=imageField
 src=../../../../../../images/accept.png
  onclick=var
 wicketAjaxCallMade=wicketSubmitFormById('fullContactPanel_fullContactListView_2_fullContactPanel_fullContactForm',
 
 '/Yakhdhoor?wicket:interface=:2:fullContactPanel:fullContactListView:2:fullContactPanel:fullContactForm:submitAjaxSubmitButton:-1:IUnversionedBehaviorListeneramp;wicket:behaviorId=0'
  );; return true;; return false;
 
  On 3/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
   i only changed the ajax submit button class. what does your onclick
 handler
   look like?
  
  
   -Igor
  
  
   On 3/28/06, Ali Zaid  [EMAIL PROTECTED] wrote:
ok, I only changed the class, what other files where changed?
   
On 3/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 no i added something else, what does the generated onclick handler
 look
 like?

 -Igor



 On 3/28/06, Ali Zaid  [EMAIL PROTECTED]  wrote:
 
 Igor;

 if you mean this:

 protected void onComponentTag(ComponentTag tag)
 {
 checkComponentTag(tag, input);

 final String type =
   tag.getAttributes().getString(type);
 if (!button.equals(type) 
 !image.equals(type)!submit.equals(type))
 {

 findMarkupStream().throwMarkupException(
 Component
  +
 getId() +  must be applied to a tag with 'type'

+
  attribute matching 'submit', 'button' or 'image', not ' +
 type + ');
 }

 super.onComponentTag(tag);
 }


 I did test it, and it still submit in a normal way (not ajax), is
 there any other class/file that was updated with this one? is there
 anything that I should include in the markup?

 mine looks like this

 input type=image name=imageField
 src=../../../../../../images/accept.png
 wicket:id=submitAjaxSubmitButton/

 Regards,
 Ali


 On 3/28/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
  you wrote that email w/out testing eh :)
 
  update and try again
 
  -Igor
 
 
 
  On 3/28/06, Ali Zaid  [EMAIL PROTECTED]  wrote:
  
  Igor;
 
  I did give it a try, and it works as I said, it submit the form in
 a
  normal way not though Ajax, so page do refresh.
 
  Regards, Ali
 
  On 3/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
   i tweaked it and it now should work with button/image/submit
  
   give it a try.
  
   -Igor
  
  
  
   On 3/28/06, Ali Zaid  [EMAIL PROTECTED] wrote:

   Igor;
  
   My mistake, I just checked it again, and I made a fast judgment,
   Sorry, it seems image doesn't work with Ajax :(, it submit the
 form
   in
   a normal way, unless you have found work around.
  
   I'm really sorry for this mistake. I will recheck again and
 update
you. again, Really sorry.
  
   Regards, Ali
  
   On 3/28/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
done.
   
 -Igor
   
   
   
On 3/28/06, Ali Zaid  [EMAIL PROTECTED] wrote:

 Hay Guys;
   
Wonderful work!
   
I wanted to have the AjaxSubmitButton to be as an image, and
 then
   I
found out that AjaxSubmitButton check for the attibute type
 and
   throw
and exception if it's not a button, I modifed it and checked
 it
   with
an image, and it works :), can you please have
 AjaxSubmitButton
   accept
images too in the final release :), if this is not in the
 plan, I
   can
submit a request.
   
Thanks a million!
   
--
 Regards, Ali
 -
Fight back spam! Download the Blue Frog.
   
  
 

  
 http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D
   
   
   

 ---
This SF.Net email is sponsored by xPML, a groundbreaking
 scripting
   language
that extends applications into web and mobile media. Attend
 the
   live
   webcast
and join the prime developer group breaking into this new
 coding
   territory!
   
  
 

  
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
   
 ___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 
  
 https

Re: [Wicket-user] AjaxSubmitButton as an Image?

2006-03-28 Thread Ali Zaid
this is what I found in svn :), anyway, I will check more into it
tonight ;), Thanks Igor!

On 3/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 just check it out from svn


 -Igor


 On 3/28/06, Ali Zaid [EMAIL PROTECTED] wrote:
  hummm...
 
  Sorry Igor, I will work on it, tell me, how can I can download the
  whole source code?
 
  On 3/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
   you are not up to date all the way.
  
  
   -Igor
  
  
   On 3/28/06, Ali Zaid [EMAIL PROTECTED] wrote:
input type=image
   
  
 id=fullContactPanel_fullContactListView_2_fullContactPanel_fullContactForm_submitAjaxSubmitButton
name=imageField
   src=../../../../../../images/accept.png
onclick=var
  
 wicketAjaxCallMade=wicketSubmitFormById('fullContactPanel_fullContactListView_2_fullContactPanel_fullContactForm',
   
  
 '/Yakhdhoor?wicket:interface=:2:fullContactPanel:fullContactListView:2:fullContactPanel:fullContactForm:submitAjaxSubmitButton:-1:IUnversionedBehaviorListeneramp;wicket:behaviorId=0'
);; return true;; return false;
   
On 3/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 i only changed the ajax submit button class. what does your onclick
   handler
 look like?


 -Igor


 On 3/28/06, Ali Zaid  [EMAIL PROTECTED] wrote:
  ok, I only changed the class, what other files where changed?
 
  On 3/28/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
   no i added something else, what does the generated onclick
 handler
   look
   like?
  
   -Igor
  
  
  
   On 3/28/06, Ali Zaid  [EMAIL PROTECTED]  wrote:
   
   Igor;
  
   if you mean this:
  
   protected void onComponentTag(ComponentTag tag)
   {
   checkComponentTag(tag, input);
  
   final String type =
 tag.getAttributes().getString(type);
   if (!button.equals(type) 
   !image.equals(type)!submit.equals(type))
   {
  
   findMarkupStream().throwMarkupException(
  
 Component
+
   getId() +  must be applied to a tag with 'type'
  
  +
attribute matching 'submit', 'button' or 'image', not ' +
   type + ');
   }
  
   super.onComponentTag(tag);
   }
  
  
   I did test it, and it still submit in a normal way (not ajax),
 is
   there any other class/file that was updated with this one? is
 there
   anything that I should include in the markup?
  
   mine looks like this
  
   input type=image name=imageField
   src=../../../../../../images/accept.png
   wicket:id=submitAjaxSubmitButton/
  
   Regards,
   Ali
  
  
   On 3/28/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
you wrote that email w/out testing eh :)
   
update and try again
   
-Igor
   
   
   
On 3/28/06, Ali Zaid  [EMAIL PROTECTED]  wrote:

Igor;
   
I did give it a try, and it works as I said, it submit the
 form in
   a
normal way not though Ajax, so page do refresh.
   
Regards, Ali
   
On 3/28/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
 i tweaked it and it now should work with button/image/submit

 give it a try.

 -Igor



 On 3/28/06, Ali Zaid  [EMAIL PROTECTED] wrote:
  
 Igor;

 My mistake, I just checked it again, and I made a fast
 judgment,
 Sorry, it seems image doesn't work with Ajax :(, it submit
 the
   form
 in
 a normal way, unless you have found work around.

 I'm really sorry for this mistake. I will recheck again and
   update
  you. again, Really sorry.

 Regards, Ali

 On 3/28/06, Igor Vaynberg  [EMAIL PROTECTED]  wrote:
  done.
 
   -Igor
 
 
 
  On 3/28/06, Ali Zaid  [EMAIL PROTECTED] wrote:
  
   Hay Guys;
 
  Wonderful work!
 
  I wanted to have the AjaxSubmitButton to be as an image,
 and
   then
 I
  found out that AjaxSubmitButton check for the attibute
 type
   and
 throw
  and exception if it's not a button, I modifed it and
 checked
   it
 with
  an image, and it works :), can you please have
   AjaxSubmitButton
 accept
  images too in the final release :), if this is not in the
   plan, I
 can
  submit a request.
 
  Thanks a million!
 
  --
   Regards, Ali
   -
  Fight back spam! Download the Blue Frog.
 

   
  

  
 http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D

Re: [Wicket-user] Java Web Framework Sweet Spots

2006-03-27 Thread ali
On Sat, 25 Mar 2006 09:47:02 +0530, Eelco Hillenius  
[EMAIL PROTECTED] wrote:



FYI, Matt Raible asked me to give my opinion about Wicket and some of
it's competitors. He presenting it tonight at the server side
symposium, and you can find his presentation here:
http://www.virtuas.com/articles/webframework-sweetspots.html

Eelco




Tapestry

4. What is the future of your web framework? What?s coming that?ll make it  
easier for users to develop with? Do you support Ajax natively? If not,  
are you planning on adding support?


Tapestry 4.0 has very good Ajax support via the Tacos library. Tapestry  
4.1 will make a number of internal API changes to make that support even  
better.


Tapestry 5 will be significantly advanced over Tapestry 4 or anything  
else; planned features

are

? No more abstract classes.
? No inheritance imposition.
? Annotations directly on fields rather than on (abstract) methods.
? No XML, just templates and annotations.
? Smart class loader; pick up changes to classes automatically and  
efficiently.

? Minimal APIs, beyond annotations.
? Aspect-oriented construction of components, using mix-ins.

i see post a  
href=http://jroller.com/page/JonathanLocke?entry=mixed_types_and_wicketMixed  
Types and Wicket/a of JonathanLocke , now see Howard Lewis Ship also  
speak about same topic. it's seem topic is important


can every one speak about this in wicket ?
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] why create new page instances ?

2006-03-21 Thread ali
On Tue, 21 Mar 2006 13:49:02 +0530, Igor Vaynberg  
[EMAIL PROTECTED] wrote:


i told in my first post , i talk about singleton of thread/session level  
instead application level


i repeat my FAQ only to inform myself: is it good/possible that for a user  
in a session , create only one instance of PageA ?


if i recall from the podcast HLS says that in his mind pages have a  
fairly
static component hierarchy - this is why it is easy to pool them. once  
you
create a page you dont really add/change components - that is the  
tapestry

model for the most part.

in wicket pages are dynamic, you are free to change the hierarchy at any
time in any way that you want - this is why a singleton page makes little
sense.

as i said before, this is a non issue until it shows up as a hotspot.  
until

then you are optimizing way too prematurely.

-Igor


On 3/20/06, Martijn Dashorst [EMAIL PROTECTED] wrote:


You probably can manage to make the page a singleton, but I strongly
discourage you from trying.

You are in a multithreaded environment. Wicket pages are stateful, which
means you can't safely share them across threads. As a consequence a  
page
can not be shared between sessions, and that is what you do when you  
build a

singleton.
When you let Wicket 'manage' your pages, i.e. you just create pages on  
the
fly, you won't run into multithreading problems. Wicket will  
synchronize for
each session on the session with an incoming request. So per user you  
won't

have threading issues.

I can't think of any web framework that supports this way of working,
perhaps the action oriented frameworks (webwork, struts). Wicket is not  
like
that. Wicket creates statefull pages and components, which means they  
cannot
be shared between threads at the same time. Even Tapestry doesn't  
support
singletons, but uses page pooling. And because of that, they had to  
create

some magic to make the pages loose their state when the page is put back
into the pool.

If you are /that/ concerned with memory, then you probably shouldn't use
Wicket. Not because we don't think Wicket is up for the task, but I  
think
you'd have more fun with Tapestry or another framework that let's you  
work

the way you want.

Martijn



On 3/21/06, ali  [EMAIL PROTECTED] wrote:

 On Tue, 21 Mar 2006 04:47:13 +0530, Martijn Dashorst
 [EMAIL PROTECTED] wrote:

 i want suppose can EditBook be is singleton .

  new Link(editLink) {
  protected void onClick() {
  Book book = (Book)getParent().getModelObject();
  setResponsePage(new EditBook(book));
  }
  }
 
  Should work.
 
  Martijn
 
  On 3/20/06, ali [EMAIL PROTECTED] wrote:
 
  On Mon, 20 Mar 2006 14:18:48 +0530, Johan Compagner
   [EMAIL PROTECTED]
  wrote:
  can i do like :
 
  class BookList extends WebPage {
 
  public BookList() {
 
  add(new ListView(booksList, booksList){
 
  public void populateItem(ListItem item) {
 
  add(new Link(editLink) {
  EditBook page =
  EditBook.getInstance();
  page.setModel(new
  CompoundPropertyModel(item.getModelObject ())); //or
  line also move to page
  setResponsePage(page);
  }
  });
  }
  }
 
  if i can do this then what effects do it put in on end-user of app?
 
   you can reuse pages just fine for one session ofcourse if you  
want.

  
   So in youre BookList you hold on to an internal page BookDetails  
or


   EditBook
   page
   And when you click on a view/edit link you just reuse that page.
  
   I wouldn't share pages across sessions.
  
   johan
  
  
   On 3/20/06, ali [EMAIL PROTECTED]  wrote:
  
   i am new in wicket , it's correct that we tell
  
   1- always use getPageFactory.newPage() instead new.
  
   2- if a user view/edit 4 book in its session , for him/her  
created

 4
   BookDetails and 4 EditBook page object.(why this needed)
  
   do we can define page be singleton in level of handler thread or
  session
   (i remember ThreadLocal)? so that like swing only once EditBook  
or


   BookDetails pages instanced and for next book only needed that
 call
  on
   them setBook(booK);
  
   refrence to these pages can keep in session and also they can
  
   or maybe i must more read examples and docs
  
   --
   Using Opera's revolutionary e-mail client:
 http://www.opera.com/mail/
  
  
   ---
   This SF.Net email is sponsored by xPML, a groundbreaking  
scripting


   language
   that extends applications into web and mobile media. Attend the
 live
   webcast
   and join the prime developer group breaking into this new coding
   territory!
  
   
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642


   ___
   Wicket-user mailing list
   Wicket-user

Re: [Wicket-user] why create new page instances ?

2006-03-20 Thread ali
On Mon, 20 Mar 2006 14:18:48 +0530, Johan Compagner [EMAIL PROTECTED]  
wrote:

can i do like :

class BookList extends WebPage {

public BookList() {

add(new ListView(booksList, booksList){

public void populateItem(ListItem item) {

add(new Link(editLink) {
EditBook page = EditBook.getInstance();
	page.setModel(new CompoundPropertyModel(item.getModelObject())); //or  
line also move to page

setResponsePage(page);
}
});
}
}

if i can do this then what effects do it put in on end-user of app?


you can reuse pages just fine for one session ofcourse if you want.

So in youre BookList you hold on to an internal page BookDetails or  
EditBook

page
And when you click on a view/edit link you just reuse that page.

I wouldn't share pages across sessions.

johan


On 3/20/06, ali [EMAIL PROTECTED] wrote:


i am new in wicket , it's correct that we tell

1- always use getPageFactory.newPage() instead new.

2- if a user view/edit 4 book in its session , for him/her created 4
BookDetails and 4 EditBook page object.(why this needed)

do we can define page be singleton in level of handler thread or session
(i remember ThreadLocal)? so that like swing only once EditBook or
BookDetails pages instanced and for next book only needed that call on
them setBook(booK);

refrence to these pages can keep in session and also they can

or maybe i must more read examples and docs

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] why create new page instances ?

2006-03-19 Thread ali

i am new in wicket , it's correct that we tell

1- always use getPageFactory.newPage() instead new.

2- if a user view/edit 4 book in its session , for him/her created 4  
BookDetails and 4 EditBook page object.(why this needed)


do we can define page be singleton in level of handler thread or session  
(i remember ThreadLocal)? so that like swing only once EditBook or  
BookDetails pages instanced and for next book only needed that call on  
them setBook(booK);


refrence to these pages can keep in session and also they can

or maybe i must more read examples and docs

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wierd Span Tag in Ajax and WebMarkupContainer

2006-03-17 Thread Ali Zaid
Hi guys;

I have something strange happening wicket 1.2 beta 1

I have a WebMarkupContainer that has a ListView in it, and outside
that MarkupContainer I have an AjaxLink that do something and cause
the Container to redraw, which works, what I have noticed is, the
ListView which is a Table in the markup file renders with one extra
column.

Now I would love to have a fast solution for this, what I would love
too is to know, how can I see the source of html file after it's been
modified by javascript? is there a way?

--
Regards, Ali


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Editable Labels : How to

2006-03-17 Thread Ali Zaid
excel like datagrid ;)

On 3/17/06, Johan Compagner [EMAIL PROTECTED] wrote:
 come on guys.. request more features you see that igor will implement them
 all right away!

 johan



 On 3/17/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
 
  i was taking a short break from work, and thought what the hell, why not
 write one?
 
  so i did, only took me half an hour or so. i just checked it into
 extensions. its not very flexible/powerful yet, but it works well. look in
 wicket-examples/ajax for an example of it in all its glory. its called
 AjaxEditableLabel.
 
  any patches to make it better are welcome :)
 
 
  -Igor
 
 
 
 
  On 3/17/06, Igor Vaynberg [EMAIL PROTECTED]  wrote:
  
   it should be pretty easy to do.
   you create a panel with both the label and the textfield. hide the
 textfield initially. attach an ajax onevent behavior to the label and in the
 event handler hide the label, show the textfield and update the panel via
 ajax. same thing for textfield, add an onblur behavior to it that hides the
 textfield, shows the labels, and redraws the panel.
  
  
   -Igor
  
  
  
  
   On 3/17/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
   
   
I have been tryin to use wicket Ajax support to workout a Label that
 onDoubleClick, it will transform into a textfield so that onBlur, it will
 feed the edited value back to the model...
   
any idea on how i can get this done or any anticipated support
 out-of-the-box for this kind of function? i think i will be great
   
thanks
   
   
-
  
  
 
 




--
Regards, Ali


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxSubmitButton How To?

2006-03-14 Thread Ali Zaid
Works like a charm, it was a mistake I had :), didn't add the button
to the form :)

On 3/14/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 i added an example of ajaxsubmitbutton to the ajax examples in wicket. go to
 form example and there will be two buttons, the ajax submit and a regular
 submit. the ajax submit will validate the form and update the feedback panel
 via ajax.

 there is also a wicket ajax debug feature that might help you find the
 problem. call
 getAjaxSettings().setAjaxDebugModeEnabled(true); in your
 app.init() and if you have any ajax components on the page you will have a
 WICKET AJAX DEBUG link on the bottom left corner of the screen. click that
 and it will open a log console.

 -Igor



 On 3/13/06, Ali Zaid [EMAIL PROTECTED] wrote:
  Eelco :), nothing till this moment about wicket I don't like, my only
  hope is that wicket in Action be realesed soon, and I cover my weak
  points, which I still have allot, other wise, I'm finishing my 2ed
  application using wicket, and I have never been as productive and
  impressive as I am now using wicket, using wicket, Ajax and db4o I not
  only have managed to wrap 2 projects, but also deliver client request
  and modification in record time (maybe record to me too :))
 
  Oh, and I still didn't manage to make the form submit using Ajax ;),
  if someone can wrap a simple code, I don't really know what I'm doing
  wrong.
 
  On 3/13/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
   Good to hear. Just remember there is no perfect framework, and you
   *will* find things about Wicket you don't like. Anyway, if you find
   them, it's open source and please help our community to improve it.
  
   Eelco
  
Igor you will not believe the amount of popularity wicket is gaining
(in my working group), it's becoming like the savior of our life.
  
  
   ---
   This SF.Net email is sponsored by xPML, a groundbreaking scripting
 language
   that extends applications into web and mobile media. Attend the live
 webcast
   and join the prime developer group breaking into this new coding
 territory!
  
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
  --
  Regards, Ali
 
 
  ---
  This SF.Net email is sponsored by xPML, a groundbreaking scripting
 language
  that extends applications into web and mobile media. Attend the live
 webcast
  and join the prime developer group breaking into this new coding
 territory!
 
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 




--
Regards, Ali


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] icon wicket on toolbar of IDEA

2006-03-14 Thread ali

if html file has one and more wicket:id , it highlight all them

else it highlight all wicket:* in html file

it's better that before click this button , html file move to opposite tab  
group.


to install enter following  macro to macros.xml of your config/options/

macro name=highlight_wicket
  action id=IncrementalSearch /
  typing text=wicket:id /
  action id=EditorSelectWord /
  action id=EditorSelectWord /
  action id=HighlightUsagesInFile /
  action id=EditorTextStart /
  action id=FindNext /
/macro

and in Customazation of IDEA , in toolbar , add icon for this macro or in  
Keymap of IDEA , assaign shorcut for this macro


of course on my system , i have a problem
{ each time IDEA restarted , it can not any my macros , but if i  create a  
empty macro (by double click start/stop macro ) then IDEA find all macros.  
in this situation , you inforced again in customazation of IDEA,

double click on set icon of this macro to see icon of macro on toolbar }







--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxSubmitButton How To?

2006-03-13 Thread Ali Zaid
Yes :), I'm working on it again now, I will inform you of the result
as soon I'm done.

Igor you will not believe the amount of popularity wicket is gaining
(in my working group), it's becoming like the savior of our life.

Regards, Ali

On 3/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 did you call form.setOutputMarkupId(true) ?


 -Igor


 On 3/12/06, Ali Zaid [EMAIL PROTECTED] wrote:
  I did, but it's abstract and I have to override onSubmit, still Idid,
  and it didn't work, Iwill give it more try.
 
  Thanks! :)
 
  On 3/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
   all you have to do is attach it to input type=button/ and it should
 work
   i think.
  
   -Igor
  
  
  
   On 3/12/06, Ali Zaid  [EMAIL PROTECTED] wrote:
   
   Hi;
  
   any code snippet on how to submit a form using Ajax by
   AjaxSubmitButton? Please :)
  
   --
   Regards, Ali
  
  
   ---
   This SF.Net email is sponsored by xPML, a groundbreaking scripting
 language
   that extends applications into web and mobile media. Attend the live
 webcast
   and join the prime developer group breaking into this new coding
 territory!
  
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
  --
  Regards, Ali
 
 
  ---
  This SF.Net email is sponsored by xPML, a groundbreaking scripting
 language
  that extends applications into web and mobile media. Attend the live
 webcast
  and join the prime developer group breaking into this new coding
 territory!
 
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 




--
Regards, Ali


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxSubmitButton How To?

2006-03-13 Thread Ali Zaid
Eelco :), nothing till this moment about wicket I don't like, my only
hope is that wicket in Action be realesed soon, and I cover my weak
points, which I still have allot, other wise, I'm finishing my 2ed
application using wicket, and I have never been as productive and
impressive as I am now using wicket, using wicket, Ajax and db4o I not
only have managed to wrap 2 projects, but also deliver client request
and modification in record time (maybe record to me too :))

Oh, and I still didn't manage to make the form submit using Ajax ;),
if someone can wrap a simple code, I don't really know what I'm doing
wrong.

On 3/13/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 Good to hear. Just remember there is no perfect framework, and you
 *will* find things about Wicket you don't like. Anyway, if you find
 them, it's open source and please help our community to improve it.

 Eelco

  Igor you will not believe the amount of popularity wicket is gaining
  (in my working group), it's becoming like the savior of our life.


 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



--
Regards, Ali


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] AjaxSubmitButton How To?

2006-03-12 Thread Ali Zaid
Hi;

any code snippet on how to submit a form using Ajax by
AjaxSubmitButton? Please :)

--
Regards, Ali


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxSubmitButton How To?

2006-03-12 Thread Ali Zaid
I did, but it's abstract and I have to override onSubmit, still Idid,
and it didn't work, Iwill give it more try.

Thanks! :)

On 3/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 all you have to do is attach it to input type=button/ and it should work
 i think.

 -Igor



 On 3/12/06, Ali Zaid  [EMAIL PROTECTED] wrote:
 
 Hi;

 any code snippet on how to submit a form using Ajax by
 AjaxSubmitButton? Please :)

 --
 Regards, Ali


 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Regards, Ali


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Request regarding Anchor by Link

2006-03-07 Thread Ali Zaid
Hi;

second time I post this email, for some reason it didn't make it way
to the group.

I wanted to do something easy, which is I wanted to have a link that
do some action by overriding onClick, but after the action is done, I
don't want only to refresh the page I want it to jump to an Anchor in
the same page.

while this is easy, it involved hard code the anchor name in java
code, so what I did is:

@Override
protected String getURL() {
String url = super.getURL() + #someWhereInThePage;
return url;
}

What I would suggest is to check the link href attribute, if the
attribute has something behind # then it should do the above in the
getURL of the super class, if the href has nothing or only #, it
should not, so simple but I guess it's more wicket sense than what I'm
doing now :)

Hope you like it.

P.S: Yah! Yah! Yah!

@Override
protected String getURL() {
BufferString url = new BufferString(super.getURL());
url.append(#someWhereInThePage);
return url.toString();
}

:) just joking!

--
Regards, Ali


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Request regarding Anchor by Link

2006-03-06 Thread Ali Zaid
Hi;

I wanted to do something easy, which is I wanted to have a link that
do some action by overriding onClick, but after the action is done, I
don't want only to refresh the page I want it to jump to an Anchor in
the same page.

while this is easy, it involved hard code the anchor name in java
code, so what I did is:

@Override
protected String getURL() {
String url = super.getURL() + #someWhereInThePage;
return url;
}

What I would suggest is to check the link href attribute, if the
attribute has something behind # then it should do the above in the
getURL of the super class, if the href has nothing or only #, it
should not, so simple but I guess it's more wicket sense than what I'm
doing now :)

Hope you like it.

P.S: Yah! Yah! Yah!

@Override
protected String getURL() {
BufferString url = new BufferString(super.getURL());
url.append(#someWhereInThePage);
return url.toString();
}

:) just joking!

--
Regards, Ali


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] New 1.2 snapshot release available

2006-02-21 Thread Ali Zaid
Ok;Now you going to really hate me :), this build messed up anchors, so if I have a page with an anchor instead of calling the same page and anchor (like it use to) it now take me to the root with the anchor.
Hope I will not be hated for this :)Regards, AliOn 2/21/06, Martijn Dashorst [EMAIL PROTECTED]
 wrote:A new snapshot is available, we have fixed the problems that havearisen with the previous one. The snapshot contains as usual:
 - wicket-core - wicket-extensions - wicket-examples - wicket-quickstartMartijn--Living a wicket life...Martijn Dashorst - http://www.jroller.com/page/dashorst
Wicket 1.1.1 is out: http://wicket.sourceforge.net/wicket-1.1---This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?Stop!Download the new AJAX search engine that makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user-- Regards, Ali


Re: [Wicket-user] New 1.2 snapshot release available

2006-02-21 Thread Ali Zaid
Simply I have links that jump to tables in one page, and my HTML looks
like this:

td align=centera href=#1RFQnbsp;(span
wicket:id=lbl_rfqCount1/span)/a/td

Now the span part works fine, but the whole line renders like this

td align=centera href=/#1RFQnbsp;(span2/span)/a/td

which means that wicket is adding /, so in some way I think wicket is
processing all links even if they are just static links (there is no
wicket:link in my project at all also) :)

Regards, Ali



On 2/21/06, Johan Compagner [EMAIL PROTECTED] wrote:
 what does the links really look like?
 and how do you run youre app? What is youre context?

 johan




 On 2/21/06, Ali Zaid  [EMAIL PROTECTED] wrote:
  Ok;
 
  Now you going to really hate me :), this build messed up anchors, so if I 
  have a page with an anchor instead of calling the same page and anchor 
  (like it use to) it now take me to the root with the anchor.
 
   Hope I will not be hated for this :)
 
  Regards, Ali
 
 
  On 2/21/06, Martijn Dashorst  [EMAIL PROTECTED]  wrote:
   A new snapshot is available, we have fixed the problems that have
   arisen with the previous one. The snapshot contains as usual:
- wicket-core
- wicket-extensions
- wicket-examples
- wicket-quickstart
  
   Martijn
  
   --
   Living a wicket life...
  
   Martijn Dashorst -  http://www.jroller.com/page/dashorst
  
   Wicket 1.1.1 is out: http://wicket.sourceforge.net/wicket-1.1
  
  
   ---
   This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
   files
   for problems?  Stop!  Download the new AJAX search engine that makes
   searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
 http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642
   ___
   Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 
  --
  Regards, Ali





--
Regards, Ali


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] New 1.2 snapshot release available

2006-02-21 Thread Ali Zaid
:), Thanks;

Well, I love wicket, it's like a dream came true to me, last few days
I created a big mess out of nothing regarding form update and it turn
out that my business logic was the problem, so this is why I think I
should be hated for :)...

Also, I'm really not fully aware of how things work, I'm just waitting
for Wicket in Action to eat it, drink it, and sleep with it :), this
is why I'm like 70% afraid that it's my problem/bug than a release
bug. (so I'm right it's release bug?)

Thanks Wicket team.

Regards, Ali

On 2/21/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
 We're not going to hate you for trying out the releases. We specifically
 create the snapshots for early bug detection. And apparently you are the
 first one to find one.

 Hmmm... should we put a bonus on finding bugs?

 Martijn

 On 2/21/06, Ali Zaid [EMAIL PROTECTED] wrote:
  Ok;
 
  Now you going to really hate me :), this build messed up anchors, so if I
 have a page with an anchor instead of calling the same page and anchor (like
 it use to) it now take me to the root with the anchor.
 
  Hope I will not be hated for this :)
 
  Regards, Ali
 
 
 
  On 2/21/06, Martijn Dashorst  [EMAIL PROTECTED]  wrote:
  
   A new snapshot is available, we have fixed the problems that have
   arisen with the previous one. The snapshot contains as usual:
   - wicket-core
   - wicket-extensions
   - wicket-examples
   - wicket-quickstart
  
   Martijn
  
   --
   Living a wicket life...
  
   Martijn Dashorst - http://www.jroller.com/page/dashorst
  
   Wicket 1.1.1 is out:
 http://wicket.sourceforge.net/wicket-1.1
  
  
   ---
   This SF.net email is sponsored by: Splunk Inc. Do you grep through log
 files
   for problems?  Stop!  Download the new AJAX search engine that makes
   searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
  
 http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 
  --
  Regards, Ali



 --

 Living a wicket life...

 Martijn Dashorst - http://www.jroller.com/page/dashorst

 Wicket 1.1.1 is out:
 http://wicket.sourceforge.net/wicket-1.1


--
Regards, Ali


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] New 1.2 snapshot release available

2006-02-21 Thread Ali Zaid
Johan;

Thanks, is there a new snapshot? or should I download it from cvs, but
then the problem would be where and how :)

On 2/21/06, Johan Compagner [EMAIL PROTECTED] wrote:
 fixed it
 just anchor tags are now not made absolute anymore by the
 PrependContextPathHandler


 On 2/21/06, Ali Zaid  [EMAIL PROTECTED] wrote:
  :), Thanks;
 
  Well, I love wicket, it's like a dream came true to me, last few days
  I created a big mess out of nothing regarding form update and it turn
  out that my business logic was the problem, so this is why I think I
  should be hated for :)...
 
  Also, I'm really not fully aware of how things work, I'm just waitting
  for Wicket in Action to eat it, drink it, and sleep with it :), this
  is why I'm like 70% afraid that it's my problem/bug than a release
  bug. (so I'm right it's release bug?)
 
  Thanks Wicket team.
 
  Regards, Ali
 
  On 2/21/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
   We're not going to hate you for trying out the releases. We specifically
   create the snapshots for early bug detection. And apparently you are the
   first one to find one.
  
   Hmmm... should we put a bonus on finding bugs?
  
   Martijn
  
   On 2/21/06, Ali Zaid [EMAIL PROTECTED] wrote:
Ok;
   
Now you going to really hate me :), this build messed up anchors, so
 if I
   have a page with an anchor instead of calling the same page and anchor
 (like
   it use to) it now take me to the root with the anchor.
   
Hope I will not be hated for this :)
   
Regards, Ali
   
   
   
On 2/21/06, Martijn Dashorst  [EMAIL PROTECTED]  wrote:

 A new snapshot is available, we have fixed the problems that have
 arisen with the previous one. The snapshot contains as usual:
 - wicket-core
 - wicket-extensions
 - wicket-examples
 - wicket-quickstart

 Martijn

 --
 Living a wicket life...

 Martijn Dashorst -
 http://www.jroller.com/page/dashorst

 Wicket 1.1.1 is out:
   http://wicket.sourceforge.net/wicket-1.1



 ---
 This SF.net email is sponsored by: Splunk Inc. Do you grep through
 log
   files
 for problems?  Stop!  Download the new AJAX search engine that makes
 searching your log files as easy as surfing the  web.  DOWNLOAD
 SPLUNK!

  
 http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net

  
 https://lists.sourceforge.net/lists/listinfo/wicket-user

   
   
   
--
Regards, Ali
  
  
  
   --
  
   Living a wicket life...
  
   Martijn Dashorst - http://www.jroller.com/page/dashorst
  
   Wicket 1.1.1 is out:
   http://wicket.sourceforge.net/wicket-1.1
 
 
  --
  Regards, Ali
 
 
  ---
  This SF.net email is sponsored by: Splunk Inc. Do you grep through log
 files
  for problems?  Stop!  Download the new AJAX search engine that makes
  searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
 
 http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 




--
Regards, Ali


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] New 1.2 snapshot release available

2006-02-21 Thread Ali Zaid
Hi Guys;

Well, I did all of that, thanks for teaching me these coool stuff, and
I went to wicket cvs.sourceforge.net but it say that
PrependContextPathHandler was last modified 3 days ago, anyway, so I
had to do the change myself and it works!!! :)

Waitting for the next cl snapshot to bug you about :)

Regards, Ali

On 2/21/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
 You have the wicket sources in the zip distribution. Unzip it into your
 ide's workspace and compile it. Then try to find the
 PrependContextPathHandler (ctrl-shift-t in eclipse), then you know the
 package where it is in. You can download the (modified) code from web CVS as
 that is usually very up to date, and recompile it.

 Using ant or maven you can build your own jar file and use it in your
 project.


 Martijn


 On 2/21/06, Ali Zaid  [EMAIL PROTECTED] wrote:
  Johan;
 
  Thanks, is there a new snapshot? or should I download it from cvs, but
  then the problem would be where and how :)
 
  On 2/21/06, Johan Compagner [EMAIL PROTECTED] wrote:
   fixed it
   just anchor tags are now not made absolute anymore by the
   PrependContextPathHandler
  
  
   On 2/21/06, Ali Zaid  [EMAIL PROTECTED] wrote:
:), Thanks;
   
Well, I love wicket, it's like a dream came true to me, last few days
I created a big mess out of nothing regarding form update and it turn
out that my business logic was the problem, so this is why I think I
should be hated for :)...
   
Also, I'm really not fully aware of how things work, I'm just waitting
for Wicket in Action to eat it, drink it, and sleep with it :), this
is why I'm like 70% afraid that it's my problem/bug than a release
bug. (so I'm right it's release bug?)
   
Thanks Wicket team.
   
Regards, Ali
   
On 2/21/06, Martijn Dashorst  [EMAIL PROTECTED] wrote:
 We're not going to hate you for trying out the releases. We
 specifically
 create the snapshots for early bug detection. And apparently you are
 the
 first one to find one.

 Hmmm... should we put a bonus on finding bugs?

 Martijn

 On 2/21/06, Ali Zaid  [EMAIL PROTECTED] wrote:
  Ok;
 
  Now you going to really hate me :), this build messed up anchors,
 so
   if I
 have a page with an anchor instead of calling the same page and
 anchor
   (like
 it use to) it now take me to the root with the anchor.
 
  Hope I will not be hated for this :)
 
  Regards, Ali
 
 
 
  On 2/21/06, Martijn Dashorst  [EMAIL PROTECTED]  wrote:
  
   A new snapshot is available, we have fixed the problems that
 have
   arisen with the previous one. The snapshot contains as usual:
   - wicket-core
   - wicket-extensions
   - wicket-examples
   - wicket-quickstart
  
   Martijn
  
   --
   Living a wicket life...
  
   Martijn Dashorst -
   http://www.jroller.com/page/dashorst
  
   Wicket 1.1.1 is out:
 http://wicket.sourceforge.net/wicket-1.1
  
  
  
   ---
   This SF.net email is sponsored by: Splunk Inc. Do you grep
 through
   log
 files
   for problems?  Stop!  Download the new AJAX search engine that
 makes
   searching your log files as easy as surfing the  web.  DOWNLOAD
   SPLUNK!
  

  
 http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  

  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 
  --
  Regards, Ali



 --

 Living a wicket life...

 Martijn Dashorst -
 http://www.jroller.com/page/dashorst

 Wicket 1.1.1 is out:
 http://wicket.sourceforge.net/wicket-1.1
   
   
--
Regards, Ali
   
   
   
 ---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
   files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD
 SPLUNK!
   
  
 http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
 
 
  --
  Regards, Ali
 
 
  ---
  This SF.net email is sponsored by: Splunk Inc. Do you grep through log
 files
  for problems?  Stop!  Download the new AJAX search engine that makes
  searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
 
 http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https

Re: [Wicket-user] New 1.2 snapshot release available

2006-02-20 Thread Ali Zaid
Hi;when I used the new snapshot it say ERROR - RequestCycle - The mount path '/' is reserved for the application home pagejava.lang.IllegalArgumentException: The mount path '/' is reserved for the application home page
ok? :)Regards, AliOn 2/20/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
All,Yet another snapshot release is available for download at thesourceforge servers.
If you have problems with anon-CVS, this one is up-to-date until7:30am CET (Central European Time, GMT-1).Martijn--Living a wicket life...Martijn Dashorst - 
http://www.jroller.com/page/dashorstWicket 1.1.1 is out: http://wicket.sourceforge.net/wicket-1.1---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- Regards, Ali


Re: [Wicket-user] TextField in ListView in Form, PLEASE!

2006-02-20 Thread Ali Zaid
Martijn  Igor; Thanks for your help, unfortunatily I have to deliver something today, and I had to do it in a different way (edit each item alone, client don't like it :)) I will wrap the project and send it to you, although I don't want you to waist you time because someone like me don't fully understand how to work with models, it has to be a model problem (I dreamt about it in my sleep) :), Thanks allot again.
Regards, AliOn 2/19/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
ali this doesnt compile when i drop it into the kickstart project.could you dumb down your code so it can run in kickstart and attach that. i dont have time to do it myself. a rar with kickstart in it would be the best so i can just unrar and run it.
i think in this situation we need to have see it run to help you better because as martijn mentioned it ran fine in his mock up. remove the daos and simply hardcode the list in or something like that.
-Igor
On 2/19/06, Ali Zaid 
[EMAIL PROTECTED] wrote:
HI;I'm posting the sourse code of what I have, the project is really big, anyway, I really can't understand what I'm doing wrong :(Guys I really appreciate your help, even if I don't reach a olution, I may consider an alternative way, but I really want to understand what I'm doing wrong.
@Martijn, I will try this, I'm sure that the form get posted because it show the message in the onSubmit FORM SUBMITTED!!!, but for some reason values don't get updated in the model.Regards, Ali
On 2/19/06, Martijn Dashorst 

[EMAIL PROTECTED] wrote:
Ali,I tried to create a mockup, and it works for me. Can you debug theapplication and see whether the request parameters are available inthe RequestCycle?MartijnOn 2/19/06, Ali Zaid 
[EMAIL PROTECTED] wrote: NO nested forms for sure, I'm attaching the form generated, I tried both way
 to inatiated the list using onBeginRequest and in constructor, but it
 shouldn't be a problem should it? my problem is that values don't submit at all! I do get FORM SUBMITTED!!! and I do get values which are all zeros. form action=""
 method=post id=pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity input type=hidden name=pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity:hf:0
 id=pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity:hf:0/ tr class=tableRow_forToolTip tdspanPRI AEA3734/span/td
 tdspanGist Group/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:0:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI 3A82F4F/span/td
 tdspanRaid Al-Nia#039;ami/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:1:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI C491231/span/td
 tdspanAous/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:2:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI 5EBCA9E/span/td
 tdspanTime Technology/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:3:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI AAF9121/span/td
 tdspanHaider Zaid/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:4:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI 13B6700/span/td
 tdspanAli Zaid/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:5:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI A5CD697/span/td
 tdspanMohammed Jassim/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:6:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI 7829AC0/span/td
 tdspanSmart Systems/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:7:requestedQuantity//td /tr input name= type=submit value=Submit /
 /form On 2/19/06, Matej Knopp [EMAIL PROTECTED]
 wrote:  Do you mean that the values you enter to the form aren't preserved?
  Well, you reload the list of items on every request  (onBeginRequest()). So they can't be preserved. Instead, try to lead  the list only once (in page constructor). That might help.


   -Matej   On 2/19/06, Ali Zaid [EMAIL PROTECTED] wrote:

   Guys, PLEASE! PLEASE! PLEASE tell me why on earth this is not
 working,   the values don't update, It's extreemly Urgent, and I would really   appreciate your help here.   package com.yakhdor.application


; import java.util.ArrayList;   import java.util.List; import wicket.markup.html.basic.Label ;   import wicket.markup.html.form.Form


;   import wicket.markup.html.form.TextField;   import wicket.markup.html.list.ListItem;   import wicket.markup.html.list.ListView;   import wicket.markup.html.panel.Panel


 ;   import wicket.model.CompoundPropertyModel;   import wicket.model.IModel;   import wicket.model.PropertyModel; import com.yakhdor.businessLogic.OfferItem


 ;   import com.yakhdor.businessLogic.PriceRequestItem 

Re: [Wicket-user] New 1.2 snapshot release available

2006-02-20 Thread Ali Zaid
I totally don't get it, the same configurate work when I replace wicket-1.2-20060220.jar with wicket-1.2-20060212.jar? and I have been using this config for the last 4 monthsOn 2/20/06, 
Mark Derricutt [EMAIL PROTECTED] wrote:
On 2/20/06, Ali Zaid [EMAIL PROTECTED] wrote:
 
ERROR - RequestCycle - The mount path '/' is reserved for the application home pagejava.lang.IllegalArgumentException: The mount path '/' is reserved for the application home page
That sounds valid - / would be the logical home page (as set with the Appliation#getHomePage method.Mark

-- Regards, Ali


Re: [Wicket-user] New 1.2 snapshot release available

2006-02-20 Thread Ali Zaid
Here is my config. filesweb.xml?xml version=1.0 encoding=UTF-8?!DOCTYPE web-app  PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
  http://java.sun.com/dtd/web-app_2_3.dtdweb-app display-namemyWicket/display-name  
 servlet  servlet-nameYakhdor_Dealler/servlet-name  servlet-classwicket.protocol.http.WicketServlet/servlet-class  init-param   param-nameapplicationClassName/param-name
   param-valuecom.yakhdor.application.Start/param-value  /init-param  load-on-startup1/load-on-startup /servlet servlet-mapping
  servlet-nameYakhdor_Dealler/servlet-name  url-pattern/*/url-pattern /servlet-mapping/web-appJetty-config.xml?xml version=
1.0? !DOCTYPE Configure PUBLIC -//Mort Bay Consulting//DTD Configure 1.2//EN http://jetty.mortbay.org/configure_1_2.dtd
Configure class=org.mortbay.jetty.Server Call name=addListener Arg New class=org.mortbay.http.SocketListener Set name=PortSystemProperty name=
jetty.port default=8080//Set Set name=MinThreads50/Set Set name=MaxThreads100/Set Set name=MaxIdleTimeMs3/Set
 Set name=LowResourcePersistTimeMs5000/Set Set name=ConfidentialPort8443/Set Set name=IntegralPort8443/Set
 /New /Arg /Call Call name=addWebApplication Arg//Arg Arg/workspace/Yakhdor_Dealler/Arg /Call
 Set name=requestsPerGC2000/Set Set name=statsOnfalse/Set/ConfigureOn 2/20/06, 
Ali Zaid [EMAIL PROTECTED] wrote:I totally don't get it, the same configurate work when I replace 
wicket-1.2-20060220.jar with wicket-1.2-20060212.jar? and I have been using this config for the last 4 monthsOn 2/20/06, 
Mark Derricutt [EMAIL PROTECTED] wrote:

On 2/20/06, Ali Zaid [EMAIL PROTECTED] wrote:

 
ERROR - RequestCycle - The mount path '/' is reserved for the application home pagejava.lang.IllegalArgumentException: The mount path '/' is reserved for the application home page
That sounds valid - / would be the logical home page (as set with the Appliation#getHomePage method.Mark

-- Regards, Ali

-- Regards, Ali


Re: [Wicket-user] New 1.2 snapshot release available

2006-02-20 Thread Ali Zaid
Ok, let's re-phrase the question...What do you mean by mount? override of getHomePage() in my Application class? well, I have this done, and it used to work.public Class getHomePage() {  return Home.class
;}which is com.yakhdor.application.HomeRegards, AliOn 2/20/06, Johan Compagner [EMAIL PROTECTED]
 wrote:what do you config files have to do with this?You mount a bookmarkable page on the root.
That can't happen because therefor we have the Application.getHomePage()And that mounting and youre homepage settings are just in javacode.
johanOn 2/20/06, Ali Zaid 
[EMAIL PROTECTED] wrote:
Here is my config. filesweb.xml?xml version=1.0 encoding=UTF-8?!DOCTYPE web-app  PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
  http://java.sun.com/dtd/web-app_2_3.dtdweb-app

 display-namemyWicket/display-name  
 servlet  servlet-nameYakhdor_Dealler/servlet-name  servlet-classwicket.protocol.http.WicketServlet/servlet-class  init-param   param-nameapplicationClassName/param-name
   param-valuecom.yakhdor.application.Start/param-value  /init-param  load-on-startup1/load-on-startup /servlet servlet-mapping
  servlet-nameYakhdor_Dealler/servlet-name  url-pattern/*/url-pattern /servlet-mapping/web-appJetty-config.xml?xml version=
1.0? !DOCTYPE Configure PUBLIC -//Mort Bay Consulting//DTD Configure 1.2//EN 

http://jetty.mortbay.org/configure_1_2.dtd
Configure class=org.mortbay.jetty.Server Call name=addListener Arg New class=org.mortbay.http.SocketListener Set name=PortSystemProperty name=
jetty.port default=8080//Set Set name=MinThreads50/Set Set name=MaxThreads100/Set Set name=MaxIdleTimeMs3/Set
 Set name=LowResourcePersistTimeMs5000/Set Set name=ConfidentialPort8443/Set Set name=IntegralPort8443/Set
 /New /Arg /Call Call name=addWebApplication Arg//Arg Arg/workspace/Yakhdor_Dealler/Arg /Call
 Set name=requestsPerGC2000/Set Set name=statsOnfalse/Set/Configure
On 2/20/06, 
Ali Zaid [EMAIL PROTECTED] wrote:

I totally don't get it, the same configurate work when I replace 
wicket-1.2-20060220.jar with wicket-1.2-20060212.jar? and I have been using this config for the last 4 monthsOn 2/20/06, 
Mark Derricutt [EMAIL PROTECTED] wrote:



On 2/20/06, Ali Zaid [EMAIL PROTECTED] wrote:



 
ERROR - RequestCycle - The mount path '/' is reserved for the application home pagejava.lang.IllegalArgumentException: The mount path '/' is reserved for the application home page
That sounds valid - / would be the logical home page (as set with the Appliation#getHomePage method.Mark

-- Regards, Ali

-- Regards, Ali



-- Regards, Ali


Re: [Wicket-user] New 1.2 snapshot release available

2006-02-20 Thread Ali Zaid
I'm not using mount at all, I'm using only getHomePage()On 2/20/06, Mark Derricutt [EMAIL PROTECTED] wrote:
On 2/20/06, Ali Zaid 
[EMAIL PROTECTED] wrote:

What do you mean by mount? override of getHomePage() in my Application class? well, I have this done, and it used to work.I'm assuming in your Application class you're calling mount(/, 
SomePage.class) ?You can't use / here as it conflicts with the getHomePage() page.

-- Regards, Ali


[Wicket-user] Martijn Igor Help

2006-02-20 Thread Ali Zaid
Hi Guys;I'm really having bad 24 hours, I would appreciate your help guys, if you have private emails where I can attach my whole project for you to test, and better if we can chat somewhere msn/gmail/skype, I have 2 problems:
1- The TextFields in a listview in Form that we discussed yesterday, although I'm working on alternative solution, I still would love to find what is wrong.2- I want to use the last snapshot of 1.2 but I get this exception:
ERROR - RequestCycle - The mount path '/' is reserved for the application home pagejava.lang.IllegalArgumentException: The mount path '/' is reserved for the application home page at wicket.protocol.http.request.WebRequestCodingStrategy.urlCodingStrategyForPath
(WebRequestCodingStrategy.java:214) at wicket.protocol.http.request.WebRequestCodingStrategy.targetForPath(WebRequestCodingStrategy.java:280) at wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve
(DefaultRequestTargetResolverStrategy.java:73) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:48) at wicket.RequestCycle.step(RequestCycle.java
:914) at wicket.RequestCycle.steps(RequestCycle.java:1005) at wicket.RequestCycle.request(RequestCycle.java:451) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:208) at javax.servlet.http.HttpServlet.service
(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch
(WebApplicationHandler.java:294) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) at org.mortbay.jetty.servlet.WebApplicationContext.handle
(WebApplicationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java
:790) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java
:218) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)-- Regards, Ali


Re: [Wicket-user] TextField in ListView in Form, PLEASE!

2006-02-20 Thread Ali Zaid
Guys;I O You a big thanks and appology, I'm reaaallly feel bad about this thread, but I was really stupid regarding this problem, I found out that regardless of what I value I enter the set method of the variable updated set the value to zero (logic behind this is that ordered quantity is = offered quantity, and guess what offered quantty was zero).
I'm really thankful for your support, and sorry if I caused any other distract :(Regards, AliOn 2/20/06, Ali Zaid 
[EMAIL PROTECTED] wrote:Martijn  Igor; Thanks for your help, unfortunatily I have to deliver something today, and I had to do it in a different way (edit each item alone, client don't like it :)) I will wrap the project and send it to you, although I don't want you to waist you time because someone like me don't fully understand how to work with models, it has to be a model problem (I dreamt about it in my sleep) :), Thanks allot again.
Regards, AliOn 2/19/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote:
ali this doesnt compile when i drop it into the kickstart project.could you dumb down your code so it can run in kickstart and attach that. i dont have time to do it myself. a rar with kickstart in it would be the best so i can just unrar and run it.
i think in this situation we need to have see it run to help you better because as martijn mentioned it ran fine in his mock up. remove the daos and simply hardcode the list in or something like that.
-Igor
On 2/19/06, Ali Zaid 

[EMAIL PROTECTED] wrote:
HI;I'm posting the sourse code of what I have, the project is really big, anyway, I really can't understand what I'm doing wrong :(Guys I really appreciate your help, even if I don't reach a olution, I may consider an alternative way, but I really want to understand what I'm doing wrong.
@Martijn, I will try this, I'm sure that the form get posted because it show the message in the onSubmit FORM SUBMITTED!!!, but for some reason values don't get updated in the model.Regards, Ali
On 2/19/06, Martijn Dashorst 


[EMAIL PROTECTED] wrote:
Ali,I tried to create a mockup, and it works for me. Can you debug theapplication and see whether the request parameters are available inthe RequestCycle?MartijnOn 2/19/06, Ali Zaid 
[EMAIL PROTECTED] wrote: NO nested forms for sure, I'm attaching the form generated, I tried both way
 to inatiated the list using onBeginRequest and in constructor, but it
 shouldn't be a problem should it? my problem is that values don't submit at all! I do get FORM SUBMITTED!!! and I do get values which are all zeros. form action=""
 method=post id=pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity input type=hidden name=pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity:hf:0
 id=pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity:hf:0/ tr class=tableRow_forToolTip tdspanPRI AEA3734/span/td
 tdspanGist Group/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:0:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI 3A82F4F/span/td
 tdspanRaid Al-Nia#039;ami/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:1:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI C491231/span/td
 tdspanAous/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:2:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI 5EBCA9E/span/td
 tdspanTime Technology/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:3:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI AAF9121/span/td
 tdspanHaider Zaid/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:4:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI 13B6700/span/td
 tdspanAli Zaid/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:5:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI A5CD697/span/td
 tdspanMohammed Jassim/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:6:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI 7829AC0/span/td
 tdspanSmart Systems/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:7:requestedQuantity//td /tr input name= type=submit value=Submit /
 /form On 2/19/06, Matej Knopp [EMAIL PROTECTED]
 wrote:  Do you mean that the values you enter to the form aren't preserved?
  Well, you reload the list of items on every request  (onBeginRequest()). So they can't be preserved. Instead, try to lead  the list only once (in page constructor). That might help.



   -Matej   On 2/19/06, Ali Zaid [EMAIL PROTECTED] wrote:


   Guys, PLEASE! PLEASE! PLEASE tell me why on earth this is not
 working,   the values don't update, It's extreemly Urgent, and I would really   appreciate your help here.   package com.yakhdor.application



; import java.util.ArrayList;   import java.util.List; 

Re: [Wicket-user] Martijn Igor Help

2006-02-20 Thread Ali Zaid
Johan;Thanks for reply, still, what do I need to do? this is new to this build? to be honest with you I don't know what is going on, are you saying my configuration is wrong because I use the /? should I attach my configuration files?
I'm little bit relieved because I managed to push my deadline for a week, and also solved a problem that was going to drive me nuts (Textfield in listview in form) which turned out that my business logic was resetting values to zero,long story :), I only need some guidance to how to make this build work (specially that I can't wait to test Fragment and new Ajax stuff).
Regards, AliOn 2/20/06, Johan Compagner [EMAIL PROTECTED] wrote:
I see youre problem. When we try to resolve/find a mount target we now throw that error.That is a bit wrong because you haven't mounted anything you just ask to find a mount on /Why that happens i don't know that has something to do with youre config files.
Because when you don't mount youre app on root what do you do then?Because all the example things we have don't come with a pathinfo (that is that / ) on / but null for the root.johan


On 2/20/06, Ali Zaid [EMAIL PROTECTED] wrote:


Hi Guys;I'm really having bad 24 hours, I would appreciate your help guys, if you have private emails where I can attach my whole project for you to test, and better if we can chat somewhere msn/gmail/skype, I have 2 problems:
1- The TextFields in a listview in Form that we discussed yesterday, although I'm working on alternative solution, I still would love to find what is wrong.2- I want to use the last snapshot of 1.2 but I get this exception:
ERROR - RequestCycle - The mount path '/' is reserved for the application home pagejava.lang.IllegalArgumentException: The mount path '/' is reserved for the application home page at wicket.protocol.http.request.WebRequestCodingStrategy.urlCodingStrategyForPath



(WebRequestCodingStrategy.java:214) at wicket.protocol.http.request.WebRequestCodingStrategy.targetForPath(WebRequestCodingStrategy.java:280) at wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve



(DefaultRequestTargetResolverStrategy.java:73) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:48) at wicket.RequestCycle.step(RequestCycle.java



:914) at wicket.RequestCycle.steps(RequestCycle.java:1005) at wicket.RequestCycle.request(RequestCycle.java:451) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:208) at javax.servlet.http.HttpServlet.service



(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch



(WebApplicationHandler.java:294) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) at org.mortbay.jetty.servlet.WebApplicationContext.handle



(WebApplicationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java



:790) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java



:218) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)-- Regards, Ali




-- Regards, Ali
?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app
	  PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
	  http://java.sun.com/dtd/web-app_2_3.dtd;

web-app

	display-namemyWicket/display-name
	
	
	servlet
		servlet-nameYakhdor_Dealler/servlet-name
		servlet-classwicket.protocol.http.WicketServlet/servlet-class
		init-param
		  param-nameapplicationClassName/param-name
			param-valuecom.yakhdor.application.Start/param-value
		/init-param
		load-on-startup1/load-on-startup
	/servlet

	servlet-mapping
		servlet-nameYakhdor_Dealler/servlet-name
		url-pattern/*/url-pattern
	/servlet-mapping

/web-app
?xml version=1.0? 
!DOCTYPE Configure PUBLIC -//Mort Bay Consulting//DTD Configure 1.2//EN http://jetty.mortbay.org/configure_1_2.dtd;

Configure class=org.mortbay.jetty.Server

  Call name=addListener
Arg
  New class=org.mortbay.http.SocketListener
Set name=PortSystemProperty name=jetty.port default=8080//Set
Set name=MinThreads50/Set
Set name=MaxThreads100/Set
Set name=MaxIdleTimeMs3/Set
Set name=LowResourcePersistTimeMs5000/Set
Set name=ConfidentialPort8443/Set
Set name=IntegralPort8443/Set
  /New
/Arg
  /Call

  Call name=addWebApplication
Arg//Arg
Arg/workspace/Yakhdor_Dealler/Arg
  /Call

  Set name=requestsPerGC2000/Set
  Set name=statsOnfalse/Set

/Configure



[Wicket-user] TextField in ListView in Form, PLEASE!

2006-02-19 Thread Ali Zaid
Guys, PLEASE! PLEASE! PLEASE tell me why on earth this is not working, the values don't update, It's extreemly Urgent, and I would really appreciate your help here.package com.yakhdor.application;import 
java.util.ArrayList;import java.util.List;import wicket.markup.html.basic.Label;import wicket.markup.html.form.Form;import wicket.markup.html.form.TextField;import wicket.markup.html.list.ListItem;
import wicket.markup.html.list.ListView;import wicket.markup.html.panel.Panel;import wicket.model.CompoundPropertyModel;import wicket.model.IModel;import wicket.model.PropertyModel;import com.yakhdor.businessLogic.OfferItem
;import com.yakhdor.businessLogic.PriceRequestItem;import com.yakhdor.database.PriceRequestItemDAO;public class OfferItemView_PriceRequestItems_Panel extends Panel {  private UserSession session = (UserSession) getSession();
  private List priceRequestItemsList = new ArrayList();  private ListView lst_items;  public OfferItemView_PriceRequestItems_Panel(String id, IModel model) {  super(id, model);
  init(); }  @Override protected void onBeginRequest() {  OfferItem OfferItem = (OfferItem) getModelObject();  priceRequestItemsList = PriceRequestItemDAO.getListByRfqItem
(OfferItem.getRfqItem());  lst_items.modelChanged(); }  private void init() {Form frm_orderQuantity = new Form(frm_orderQuantity) {   @Override
   protected void onSubmit() {// TODO Auto-generated method stubSystem.out.println(FORM SUBMITTED);super.onSubmit();
for (PriceRequestItem item : getPriceRequestItemsList()) { System.out.println(item.getRequestedQuantity());}   }  };  frm_orderQuantity.setModel(new PropertyModel(this,priceRequestItemsList));
lst_items = new ListView(lst_PriceRequestItems, new PropertyModel(this,priceRequestItemsList))  {  protected IModel getListItemModel(final IModel listViewModel, final int index)
   {return new CompoundPropertyModel(super.getListItemModel(listViewModel, index));   }  @Override   protected void populateItem(ListItem item) {
item.add(new Label(priceRequestItemID));item.add(new Label(priceRequest.supplier.name
));item.add(new Label(price));item.add(new TextField(requestedQuantity));   }  };  lst_items.setOptimizeItemRemoval(true);
  frm_orderQuantity.add(lst_items);add(frm_orderQuantity);   }  public List PriceRequestItemgetPriceRequestItemsList() {  return priceRequestItemsList;
 } }What am I doing wrong ( I used wicket 1.2 (12 Feb) but I also try several other builds)PLEASE help me get over this tonight or I'm dead :(-- Regards, Ali


Re: [Wicket-user] TextField in ListView in Form, PLEASE!

2006-02-19 Thread Ali Zaid
NO nested forms for sure, I'm attaching the form generated, I tried both way to inatiated the list using onBeginRequest and in constructor, but it shouldn't be a problem should it? my problem is that values don't submit at all! I do get FORM SUBMITTED!!! and I do get values which are all zeros.
form action="" method=post id=pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity
 input type=hidden name=pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity:hf:0 id=pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity:hf:0/
 tr class=tableRow_forToolTip tdspanPRI AEA3734/span/td tdspanGist Group/span/td
 tdspan0/span/td tdinput value=0 type=text size=6 name=lst_PriceRequestItems:0:requestedQuantity//td
 /tr tr class=tableRow_forToolTip tdspanPRI 3A82F4F/span/td tdspanRaid Al-Nia#039;ami/span/td
 tdspan0/span/td tdinput value=0 type=text size=6 name=lst_PriceRequestItems:1:requestedQuantity//td
 /tr tr class=tableRow_forToolTip tdspanPRI C491231/span/td tdspanAous/span/td
 tdspan0/span/td tdinput value=0 type=text size=6 name=lst_PriceRequestItems:2:requestedQuantity//td
 /tr tr class=tableRow_forToolTip tdspanPRI 5EBCA9E/span/td tdspanTime Technology/span/td
 tdspan0/span/td tdinput value=0 type=text size=6 name=lst_PriceRequestItems:3:requestedQuantity//td
 /tr tr class=tableRow_forToolTip tdspanPRI AAF9121/span/td tdspanHaider Zaid/span/td
 tdspan0/span/td tdinput value=0 type=text size=6 name=lst_PriceRequestItems:4:requestedQuantity//td
 /tr tr class=tableRow_forToolTip tdspanPRI 13B6700/span/td tdspanAli Zaid/span/td
 tdspan0/span/td tdinput value=0 type=text size=6 name=lst_PriceRequestItems:5:requestedQuantity//td
 /tr tr class=tableRow_forToolTip tdspanPRI A5CD697/span/td tdspanMohammed Jassim/span/td
 tdspan0/span/td tdinput value=0 type=text size=6 name=lst_PriceRequestItems:6:requestedQuantity//td
 /tr tr class=tableRow_forToolTip tdspanPRI 7829AC0/span/td tdspanSmart Systems/span/td
 tdspan0/span/td tdinput value=0 type=text size=6 name=lst_PriceRequestItems:7:requestedQuantity//td
 /tr input name= type=submit value=Submit / /formOn 2/19/06, 
Matej Knopp [EMAIL PROTECTED] wrote:
Do you mean that the values you enter to the form aren't preserved?Well, you reload the list of items on every request(onBeginRequest()). So they can't be preserved. Instead, try to leadthe list only once (in page constructor). That might help.
-MatejOn 2/19/06, Ali Zaid [EMAIL PROTECTED] wrote: Guys, PLEASE! PLEASE! PLEASE tell me why on earth this is not working, the values don't update, It's extreemly Urgent, and I would really
 appreciate your help here. package com.yakhdor.application; import java.util.ArrayList; import java.util.List; import wicket.markup.html.basic.Label
; import wicket.markup.html.form.Form; import wicket.markup.html.form.TextField; import wicket.markup.html.list.ListItem; import wicket.markup.html.list.ListView; import wicket.markup.html.panel.Panel
; import wicket.model.CompoundPropertyModel; import wicket.model.IModel; import wicket.model.PropertyModel; import com.yakhdor.businessLogic.OfferItem ; import com.yakhdor.businessLogic.PriceRequestItem
; import com.yakhdor.database.PriceRequestItemDAO; public class OfferItemView_PriceRequestItems_Panel extends Panel { private UserSession session = (UserSession) getSession();
 private List priceRequestItemsList = new ArrayList(); private ListView lst_items; public OfferItemView_PriceRequestItems_Panel(String id, IModel model) {
 super(id, model); init(); } @Override protected void onBeginRequest() { OfferItem OfferItem = (OfferItem) getModelObject(); priceRequestItemsList =
 PriceRequestItemDAO.getListByRfqItem (OfferItem.getRfqItem()); lst_items.modelChanged(); } private void init() { Form frm_orderQuantity = new Form(frm_orderQuantity) {
 @Override protected void onSubmit() { // TODO Auto-generated method stub System.out.println(FORM SUBMITTED);
 super.onSubmit(); for (PriceRequestItem item : getPriceRequestItemsList()) { System.out.println(item.getRequestedQuantity()); }
 } }; frm_orderQuantity.setModel(new PropertyModel(this,priceRequestItemsList)); lst_items = new ListView(lst_PriceRequestItems,
 new PropertyModel(this,priceRequestItemsList)) { protected IModel getListItemModel(final IModel listViewModel, final int index) {
 return new CompoundPropertyModel(super.getListItemModel(listViewModel, index)); } @Override protected void populateItem(ListItem item) {
 item.add(new Label(priceRequestItemID)); item.add(new Label(priceRequest.supplier.name ));
 item.add(new Label(price)); item.add(new TextField(requestedQuantity)); } }; lst_items.setOptimizeItemRemoval(true);
 frm_orderQuantity.add(lst_items); add(frm_orderQuantity); } public List PriceRequestItemgetPriceRequestItemsList() { return priceRequestItemsList;
 } } What am I doing wrong ( I used wicket 1.2 (12 Feb) but I also try several other builds) PLEASE help me get over this tonight or I'm dead :(
 -- Re

Re: [Wicket-user] TextField in ListView in Form, PLEASE!

2006-02-19 Thread Ali Zaid
HI;I'm posting the sourse code of what I have, the project is really big, anyway, I really can't understand what I'm doing wrong :(Guys I really appreciate your help, even if I don't reach a olution, I may consider an alternative way, but I really want to understand what I'm doing wrong.
@Martijn, I will try this, I'm sure that the form get posted because it show the message in the onSubmit FORM SUBMITTED!!!, but for some reason values don't get updated in the model.Regards, Ali
On 2/19/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
Ali,I tried to create a mockup, and it works for me. Can you debug theapplication and see whether the request parameters are available inthe RequestCycle?MartijnOn 2/19/06, Ali Zaid 
[EMAIL PROTECTED] wrote: NO nested forms for sure, I'm attaching the form generated, I tried both way to inatiated the list using onBeginRequest and in constructor, but it
 shouldn't be a problem should it? my problem is that values don't submit at all! I do get FORM SUBMITTED!!! and I do get values which are all zeros. form action=""
 method=post id=pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity input type=hidden name=pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity:hf:0
 id=pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity:hf:0/ tr class=tableRow_forToolTip tdspanPRI AEA3734/span/td
 tdspanGist Group/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:0:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI 3A82F4F/span/td
 tdspanRaid Al-Nia#039;ami/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:1:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI C491231/span/td
 tdspanAous/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:2:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI 5EBCA9E/span/td
 tdspanTime Technology/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:3:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI AAF9121/span/td
 tdspanHaider Zaid/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:4:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI 13B6700/span/td
 tdspanAli Zaid/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:5:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI A5CD697/span/td
 tdspanMohammed Jassim/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:6:requestedQuantity//td /tr tr class=tableRow_forToolTip tdspanPRI 7829AC0/span/td
 tdspanSmart Systems/span/td tdspan0/span/td tdinput value=0 type=text size=6
 name=lst_PriceRequestItems:7:requestedQuantity//td /tr input name= type=submit value=Submit /
 /form On 2/19/06, Matej Knopp [EMAIL PROTECTED] wrote:  Do you mean that the values you enter to the form aren't preserved?
  Well, you reload the list of items on every request  (onBeginRequest()). So they can't be preserved. Instead, try to lead  the list only once (in page constructor). That might help.
   -Matej   On 2/19/06, Ali Zaid [EMAIL PROTECTED] wrote:   Guys, PLEASE! PLEASE! PLEASE tell me why on earth this is not
 working,   the values don't update, It's extreemly Urgent, and I would really   appreciate your help here.   package com.yakhdor.application
; import java.util.ArrayList;   import java.util.List; import wicket.markup.html.basic.Label ;   import wicket.markup.html.form.Form
;   import wicket.markup.html.form.TextField;   import wicket.markup.html.list.ListItem;   import wicket.markup.html.list.ListView;   import wicket.markup.html.panel.Panel
 ;   import wicket.model.CompoundPropertyModel;   import wicket.model.IModel;   import wicket.model.PropertyModel; import com.yakhdor.businessLogic.OfferItem
 ;   import com.yakhdor.businessLogic.PriceRequestItem ;   import com.yakhdor.database.PriceRequestItemDAO; public class OfferItemView_PriceRequestItems_Panel
 extends   Panel { private UserSession session = (UserSession) getSession(); private List priceRequestItemsList = new ArrayList();
 private ListView lst_items; public OfferItemView_PriceRequestItems_Panel(String id,   IModel model) {   super(id, model);
   init();   } @Override   protected void onBeginRequest() {   OfferItem OfferItem = (OfferItem) getModelObject();
   priceRequestItemsList =   PriceRequestItemDAO.getListByRfqItem   (OfferItem.getRfqItem());   lst_items.modelChanged();   }
 private void init()   { Form frm_orderQuantity = new Form(frm_orderQuantity) {   @Override
   protected void onSubmit() {   // TODO Auto-generated method stub   System.out.println(FORM SUBMITTED);
   super.onSubmit(); for (PriceRequestItem item : getPriceRequestItemsList()) {   System.out.println
(item.getRequestedQuantity());   }   }   };   frm_orderQuantity.setModel(new   Pro

Re: [Wicket-user] Too many open files problem

2006-02-19 Thread Ali Zaid
OK, I surender, it's one oclock in the morningm and I have to go to work in 6 hours, I will try to do it in some other way :(, I still need to learn more, kinda hoped this work.To all thanks.Regards, Ali
On 2/19/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
Hmm,The setting could also come from a JNDI lookup, or some otherprogrammatic way. Perhaps we should take that into account as well.MartijnOn 2/19/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote: because in this situation it makes sense to have this particular setting configued externally outside of code so that you can deploy your app and not have to recompile it just because now you are running in production!
 -Igor On 2/19/06, Gili [EMAIL PROTECTED] wrote:   I'd expect to be able to stick all my configuration stuff in
 init().  Why is it alright to move configure() into XML configuration and leave  the rest of the settings in init()? All I'm saying is that there should  be consistency. 
  Is there no way for us to make configure() work in init()? I understand  it is more work than simply removing configure(), but in my view that's  like fixing a bug by removing the feature. Just my 2 cents...
   Gili   Andrew Lombardi wrote:   +1 on this.To make the programmatic configure() work just seems like a   lot of fluff, don't see why you'd ever need to call this during the
   app's lifecycle, only at the beginning. ---  This SF.net email is sponsored by: Splunk Inc. Do you grep through log
 files  for problems?Stop!Download the new AJAX search engine that makes  searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!  
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642  ___  Wicket-user mailing list  
Wicket-user@lists.sourceforge.net  https://lists.sourceforge.net/lists/listinfo/wicket-user --
Living a wicket life...Martijn Dashorst - http://www.jroller.com/page/dashorstWicket 1.1.1 is out: 
http://wicket.sourceforge.net/wicket-1.1---This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makes
searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user-- Regards, Ali


Re: [Wicket-user] recommend HTML editor for Wicket user

2006-02-14 Thread Ali Zaid
Ok, here what I do, I seperate classes and HTML in seperate folders, I use Dreamweaver for HTML, it has the option to add attribute to the tags and new tags, so I did, I added wicket:id and I added the wicket tags (remove, panel,...)
On 2/15/06, Dirk Markert [EMAIL PROTECTED] wrote:

2006/2/14, Martijn Dashorst [EMAIL PROTECTED]:

Frank,There are several options. But by far the best one is use a plugin for
your IDE. NetBeans and IntelliJ IDEA both have very decent markup
editors, with tag completion. Eclipse has a couple of plugins ofvarying quality. You might want to check out the WTP package.Eclipse has a built in browser, but I tend not to use that, as it getsin the way of editing the file. As I am rather fluent in HTML I
usually know what the final result looks like.A very nice workflow is to start Wicket using Jetty launcher, anEclipse plugin, and run your application in development mode (in yourapplication constructor do: configure(development);
This will instruct Wicket to scan for resource updates and will reloadyour markup as you change it and press the save button. If you run indebug mode, Eclipse will try to hot swap the code as you change it in

your application. So you can update that behavior of the onclickmethod of your button and links!If you don't mind paying a minor fee, you could see if MyEclipse works for you.I don't have other preferences. For basic editing stuff on a windows
box I use UltraEdit. Probably the best plain text editor around.

If you are looking for a free editoruse PSPad.
Martijn

Dirk
On 2/14/06, Frank Silbermann 
[EMAIL PROTECTED]
 wrote: I am not only new to Wicket; I am also new to web programming.I can read HTML, but I'm not fluent in writing it.Any suggestions for a free HTML editor that is appropriate for Wicket users?
 I presume it should be text-centric rather than a WYSIWYG editor, because we need to keep things clean, small and readable at the tag level.But it would probably be nice if there were a way to view the result at the touch
 of a button.Also, it should make it easy to produce correct XHTML, especially for someone who has trouble remembering the names of tags.--Living a wicket life...Martijn Dashorst - 
http://www.jroller.com/page/dashorstWicket 1.1.1 is out: 
http://wicket.sourceforge.net/wicket-1.1
---This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642
___
Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-- Regards, Ali


Re: [Wicket-user] Using Dojo/prototype to post data fails, any help please

2006-02-01 Thread Ali Zaid
Marco;let me tell you what I'm working on now (not finished yet), it simply does this: // Define an ajax call in a handlerAjaxDojoBind bind = new AjaxDojoBind();
bind.setCallBackURL(getCallbackUrl());bind.setMethod(AjaxDojoBind.Method.GET);bind.addParameter(productID, 312EO+B);bind.addParameter(tf.getInputName(), $_this.value);
and when calling:attributes.put(onkeyup, bind.getJavaScript());it generate this:dojo.io.bind({url:'/?path=0:myNumberinterface=IBehaviorListenerbehaviourId=1', mimetype:'text/plain', method : 'GET', content: {productID:312%26EO%2BB,myNumber:
this.value}});now, what I have now only support the above, but I'm planing on put more in it. So tell me if this is helpfull and I will speed things up and submit to wicket comunity :)Also, if you want to suggest different name or want to suggest a package for this, the reason I'm building this is to also support selection lists I want to build, which you have 2 HTML lists that you can drag an item from one list to another to add, I'll need this for a future project.
Regards, AliOn 2/1/06, Marco van de Haar [EMAIL PROTECTED] wrote:
If you have working dojo-wicket classes, we would be very happy ot addthem to the contrib-dojo project.MarcoAli Zaid schreef: Hi Eelco; Thanks for your reply, it's working now, just minutes before your
 email arrive, anyway, it work now with dojo (put not with prototype), the problem with dojo is that I missplaced the ' in (content:{ 'myNumber:705}'} ), what I want to do is a class AjaxDojoBind, which
 simply I feed callback URL, method, placeholder, and add parameters to it, and it construct the whole request, I also used something like $_ to tell the class that this parameter should be a _javascript_ not a
 string variable, when I'm done with it I will post it for eveybody. with prototype for some reason the above request doesn't work, and I don't want to make an issue of it since this is a _javascript_ code problem.
 As I said, I hope when I'm done and post this class for wicket comunity that they find it useful :) Regards, Ali On 1/31/06, *Eelco Hillenius* 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Ali, It's not clear to me what exactly isn't working. Could you explain a
 bit more, and maybe provide us with some more code? Eelco On 1/31/06, Ali Zaid [EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] wrote:  Hi;   I know this is a _javascript_ question more than wicket, but I'm going crazy!  I'm trying to do some helper class to construct my Ajax code,
 simply I tried  dojo.io.bind and Ajax.Request and failed to use post method to send the data  to my wicket Ajax handler, here is the generated code. 
  Dojo  input  >  mimetype:'text/plain', method : 'POST', content:{
 'myNumber:705}'});  value=-- type=text  name=myNumber id=myNumber/
  prototype  input >  Ajax.Request('/?path=0:myNumberinterface=IBehaviorListenerbehaviourId=1',  { method : 'POST', postBody: 'myNumber=705' });
  value=-- type=text  name=myNumber id=myNumber/  I'm really in a mess here, although I can easly send this info
 just by  construct the full call back URL cause my application is simple, I just want  what I wrote to work :(, PLEASE HELP! what am I missing? 
  --  Regards, Ali --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
 for problems?Stop!Download the new AJAX search engine that makes searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK! 
http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642 http://sel.as-us.falkag.net/sel?cmdlnkkid%103432bid#0486dat%121642
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
 https://lists.sourceforge.net/lists/listinfo/wicket-user -- Regards, Ali
---This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- Regards, Ali


Re: [Wicket-user] Setting HomePage in 1.2

2006-02-01 Thread Ali Zaid
Hi;In the WebApplication class override method getHomePage(), somthing like this:public Class getHomePage() {  return MyHomePage.class; }Regards, Ali
On 2/1/06, David Leangen [EMAIL PROTECTED] wrote:
I'm upgrading to version 1.2 and am having a few transition issues.What do I need to do to get rid of this problem? I assume thatsomething's changed since 1.1...Thanks!!java.util.MissingResourceException
: Unable to find resource:TypeValidator at wicket.markup.html.form.validation.TypeValidator.onValidate(TypeValidator.java:115) at wicket.markup.html.form.validation.StringValidator.validate(StringValidator.java
:35) at wicket.markup.html.form.FormComponent.validate(FormComponent.java:421) at wicket.markup.html.form.Form$12.formComponent(Form.java:753) at wicket.markup.html.form.Form$4.component(Form.java:336)
 at wicket.MarkupContainer.visitChildren(MarkupContainer.java:664) at wicket.markup.html.form.Form.visitFormComponents(Form.java:332) at wicket.markup.html.form.Form.validate(Form.java:746) at 
wicket.markup.html.form.Form.process(Form.java:683) at wicket.markup.html.form.Form.onFormSubmitted(Form.java:228) at java.lang.reflect.Method.invoke(Method.java:324) at wicket.request.target.AbstractListenerInterfaceRequestTarget.invokeInterface
(AbstractListenerInterfaceRequestTarget.java:225) at wicket.request.target.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:75) at wicket.request.compound.DefaultEventProcessorStrategy.processEvents
(DefaultEventProcessorStrategy.java:62) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:57) at wicket.RequestCycle.doProcessEventsAndRespond
(RequestCycle.java:815) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:880) at wicket.RequestCycle.step(RequestCycle.java:980) at wicket.RequestCycle.steps(RequestCycle.java:1040)
 at wicket.RequestCycle.request(RequestCycle.java:524) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:205) at wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:232) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)---This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?Stop!Download the new AJAX search engine that makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user-- 
Regards, Ali


Re: [Wicket-user] Using Dojo/prototype to post data fails, any help please

2006-02-01 Thread Ali Zaid
ok, thanks!On 2/1/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
Before you do that, you might want to wait a few days as Igor isrefactoring the base support for Ajax right now.Thanks for contributing,Eelco So tell me if this is helpfull and I will speed things up and submit to
 wicket comunity :)---This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makes
searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user-- Regards, Ali


[Wicket-user] Using Dojo/prototype to post data fails, any help please

2006-01-31 Thread Ali Zaid
Hi;I know this is a _javascript_ question more than wicket, but I'm going crazy! I'm trying to do some helper class to construct my Ajax code, simply I tried dojo.io.bind and Ajax.Request and failed to use post method to send the data to my wicket Ajax handler, here is the generated code.
Dojoinput onkeyup=dojo.io.bind({url:'/?path=0:myNumberinterface=IBehaviorListenerbehaviourId=1', mimetype:'text/plain', method : 'POST', content:{ 'myNumber:705}'}); 
value=-- type=text 
name=myNumber id=myNumber/
prototypeinput onkeyup=new Ajax.Request('/?path=0:myNumberinterface=IBehaviorListenerbehaviourId=1', { method : 'POST', postBody: 'myNumber=705' }); 
value=-- type=text 
name=myNumber id=myNumber/
I'm really in a mess here, although I can easly send this info just by construct the full call back URL cause my application is simple, I just want what I wrote to work :(, PLEASE HELP! what am I missing?
-- Regards, Ali


Re: [Wicket-user] Using Dojo/prototype to post data fails, any help please

2006-01-31 Thread Ali Zaid
Hi Eelco;Thanks for your reply, it's working now, just minutes before your email arrive, anyway, it work now with dojo (put not with prototype), the problem with dojo is that I missplaced the ' in (content:{ 'myNumber:705}'}
), what I want to do is a class AjaxDojoBind, which simply I feed callback URL, method, placeholder, and add parameters to it, and it construct the whole request, I also used something like $_ to tell the class that this parameter should be a _javascript_ not a string variable, when I'm done with it I will post it for eveybody.
with prototype for some reason the above request doesn't work, and I don't want to make an issue of it since this is a _javascript_ code problem.As I said, I hope when I'm done and post this class for wicket comunity that they find it useful :)
Regards, AliOn 1/31/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
Ali,It's not clear to me what exactly isn't working. Could you explain abit more, and maybe provide us with some more code?
EelcoOn 1/31/06, Ali Zaid [EMAIL PROTECTED] wrote: Hi; I know this is a _javascript_ question more than wicket, but I'm going crazy!
 I'm trying to do some helper class to construct my Ajax code, simply I tried dojo.io.bind and Ajax.Request and failed to use post method to send the data to my wicket Ajax handler, here is the generated code.
 Dojo input > mimetype:'text/plain', method : 'POST', content:{ 'myNumber:705}'});
 value=-- type=text name=myNumber id=myNumber/  prototype input > Ajax.Request('/?path=0:myNumberinterface=IBehaviorListenerbehaviourId=1',
 { method : 'POST', postBody: 'myNumber=705' }); value=-- type=text name=myNumber id=myNumber/  I'm really in a mess here, although I can easly send this info just by
 construct the full call back URL cause my application is simple, I just want what I wrote to work :(, PLEASE HELP! what am I missing? -- Regards, Ali---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- Regards, Ali


  1   2   >