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

2007-01-22 Thread Ali Zaid

-1

I'm sorry, although I totally understand your argument, and how it may help
new users, but this will break already written code, will not add additional
level of functionality, and really it's just a matter of reading to
understand how IModel works, I did have difficulties when I started to
understand detachable models, but not the concept of the model itself.

Maybe  new user need more detailed example and tutorials if they lack time
to read and understand the examples, which I still think they are available
around, and there is a book too, and there will be the long awaited wicket
book, that I can't really wait to get my hands on! :)

beside set value? what if it's not a value, I mean most of my models contain
an object with long list of values :)

One last thing, most of the programmers out there still don't use the "OO"
concept of programming, still don't implement proper patterns, and seriously
they don't think of interfaces for their design, I will have to include
myself with the lawzi ones (although I fully use OO even in database level),
I think we should not encourage this.

I'm sorry again

On 1/23/07, Jonathan Locke <[EMAIL PROTECTED]> wrote:




i'd like us to vote on changing IModel to this in 2.0 (i know it's very
late, but please at least read my argument below and think about it for a
moment):

public interface IModel extends IDetachable
{
  V getValue();
  void setValue(V value);
}

we would also change getModelObject() to getValue() as well as any other
related methods like getModelObjectAsString() to getValueAsString() (or
valueAsString() if preferred).  there might be naming conflicts somewhere
or
other problems, but i don't know of any offhand.

i realize we're about to enter beta, but i feel like this matters since
our
users have been telling us for some time now that models are hard to
understand and it seems likely that the term 'model object' (as derived
from
the IModel interface naming) is really not helping anyone to understand
things.  in fact, that term is actually ambiguous since the object
implementing IModel might be informally understood to be the model object
(which is not what we mean).

i realize this change would affect the book and so eelco and martijn may
very understandably not want to deal with that so i won't be upset if this
change can't happen.  but i'd like to see it if it's possible, so at any
rate, i'm +1 and i think igor says he's +0.


Jonathan Locke wrote:
>
>
> We did already break the model contract with 1.2/1.3... would
> get/setObject->get/setValue be a huge hassle?  Or am I spacing something
> here?
>
>
> Jonathan Locke wrote:
>>
>>
>> Made a few more changes.  I think it's getting shorter/better.
>>
>> My one regret looking at this documentation is that I wish
>> IModel.get/setObject were actually IModel.get/setValue.  Or was there
>> some crazy reason we didn't do this?  It would be much easier and more
>> natural to talk about a model's value this way...
>>
>>
>> Jonathan Locke wrote:
>>>
>>>
>>> Nice work.  I made a few small changes and rephrased the first
paragraph
>>> to be even more specific.  Maybe it could be tweaked a little more,
but
>>> I think this sums it up better now:
>>>
>>> "In Wicket, a model holds a value for a component to display and/or
>>> edit. How exactly this value is held is determined by a given model's
>>> implementation of the wicket.model.IModel interface. This interface
>>> decouples a component from the data which forms its value. This in
turn
>>> decouples the whole Wicket framework from any and all details of model
>>> storage, such as the details of a given persistence technology. As far
>>> as Wicket itself is concerned, a model is anything that implements the
>>> IModel interface, no matter how it might do that."
>>>
>>> It does feel like this is the best place to show the IModel interface
>>> since readers will be wondering what it looks like already.  It sounds
>>> scarier than it is, so why delay?
>>>
>>>
>>> Loren Rosen wrote:

 I've saved my rewritten version. (See

http://cwiki.apache.org/confluence/display/WICKET/Working+with+Wicket+models
)
 Comments by everyone from experts to complete newbies
 are most welcome. Doubtless there are things that are confusing or
 flat-out wrong.

 In addition to rephrasing or rewriting a lot of material, and adding
a
 few things, I
 excised some details I thought would be distracting for a beginner.
 Some of this
 material is, I think, still useful, perhaps in a slightly more
advanced
 "More about
 Models" page.


 igor.vaynberg wrote:
>
> go ahead and edit the page...the wiki is versioned i think so we can
> always
> roll back.
>
> when you are done with the majority let us know and we will review
the
> changes.
>
> -igor
>
>
> On 1/15/07, Loren Rosen <[EMAIL PROTECTED]> wrote:
>>
>>
>> When I first started using Wicket I found the informatio

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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=DEVDEV
___
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]
> > > 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=lnk&kid=120709&bid=263057&dat=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=lnk&kid=120709&bid=263057&dat=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=lnk&kid=120709&bid=263057&dat=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=lnk&kid=120709&b

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


[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
, 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=lnk&kid=107521&bid=248729&dat=121642
___
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?cmdlnk&kid0709&bid&3057&dat1642
> ___
> 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?cmdlnk&kid0709&bid&3057&dat1642
___
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=lnk&kid0709&bid&3057&dat1642
___
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=lnk&kid0709&bid&3057&dat1642
___
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

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  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
> > > >
> > > > new Client
> > > >
> > > > 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?cmdlnk&kid0709&bid&3057&dat1642
> > > > ___
> > > > 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?cmdlnk&kid0709&bid&3057&dat1642
> > > ___
> > > 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?cmdlnk&kid0709&bid&3057&dat1642
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listi

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:
yeahyou 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  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
> >
> > new Client
> >
> > 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?cmdlnk&kid0709&bid&3057&dat1642

> > ___
> > 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?cmdlnk&kid0709&bid&3057&dat1642

> ___
> 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
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:
yeahyou 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  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
> >
> > new Client
> >
> > 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?cmdlnk&kid0709&bid&3057&dat1642

> > ___
> > 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?cmdlnk&kid0709&bid&3057&dat1642

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

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
> > >
> > > new Client
> > >
> > > 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?cmdlnk&kid0709&bid&3057&dat1642
> > > ___
> > > 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?cmdlnk&kid0709&bid&3057&dat1642
> > ___
> > 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?cmdlnk&kid0709&bid&3057&dat1642
> ___
> 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=lnk&kid0709&bid&3057&dat1642
___
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

new Client

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=lnk&kid0709&bid&3057&dat1642
___
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?cmdlnk&kid0709&bid&3057&dat1642
> ___
> 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?cmdlnk&kid0709&bid&3057&dat1642
___
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=lnk&kid0709&bid&3057&dat1642
___
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=lnk&kid0709&bid&3057&dat1642
___
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



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=lnk&kid0709&bid&3057&dat1642
___
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=119783&atid=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=lnk&kid0944&bid$1720&dat1642
___
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
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:
> > > >  > > >
> > >
> 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:IUnversionedBehaviorListener&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
> > > > > > >
> > > > > > >  > > > > > > src="../../../../../../images/accept.png"
> > > > > > > wicket:id="submitAjaxSubmitButton"/>
> > > > > > >
> 

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:
> >  >
> 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:IUnversionedBehaviorListener&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
> > > > >
> > > > >  > > > > 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 

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

2006-03-28 Thread Ali Zaid


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

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
>
>  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?cmdlnk&kid0944&bid$1720&dat1642
> > > > ___
> > > > Wicket-user mailing list
> > > > Wicket-user@lists.sourceforge.net
> > > >
> 

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



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?cmdlnk&kid0944&bid$1720&dat1642
> > > ___
> > > 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?cmdlnk&kid0944&bid$1720&dat1642
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
>
> --
> Regards, Ali
>

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?cmdlnk&kid0944&bid$1720&dat1642
> > ___
> > 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?cmdlnk&kid0944&bid$1720&dat1642
> ___
> 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=lnk&kid0944&bid$1720&dat1642
___
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?cmdlnk&kid0944&bid$1720&dat1642
> > ___
> > 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=lnk&kid0944&bid$1720&dat1642
___
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?cmdlnk&kid0944&bid$1720&dat1642
> ___
> 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=lnk&kid0944&bid$1720&dat1642
___
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=lnk&kid0944&bid$1720&dat1642
___
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=lnk&kid0944&bid$1720&dat1642
___
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=lnk&kid0944&bid$1720&dat1642
___
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?cmdlnk&kid0944&bid$1720&dat1642
> > > ___
> > > 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?cmdlnk&kid0944&bid$1720&dat1642
> > ___
> > 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=lnk&kid0944&bid$1720&dat1642
___
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?cmdlnk&kid0944&bid$1720&dat1642
> ___
> 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=lnk&kid0944&bid$1720&dat1642
___
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  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?cmdlnk&kid0944&bid$1720&dat1642
> > > ___
> > > 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?cmdlnk&kid0944&bid$1720&dat1642
> > ___
> > 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=lnk&kid0944&bid$1720&dat1642
___
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  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?cmdlnk&kid0944&bid$1720&dat1642
> ___
> 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=lnk&kid0944&bid$1720&dat1642
___
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=lnk&kid0944&bid$1720&dat1642
___
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=lnk&kid0944&bid$1720&dat1642
___
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=lnk&kid0944&bid$1720&dat1642
___
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
> > > > &g

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?cmdlnk&kid3432&bid#0486&dat1642
> > > > > ___
> > > > > 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?cmdlnk&kid3432&bid#0486&dat1642
> > ___
> > 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=lnk&kid3432&bid#0486&dat1642
___
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?cmdlnk&kid3432&bid#0486&dat1642
> > > ___
> > > 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=lnk&kid3432&bid#0486&dat1642
___
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
Simply I have links that jump to tables in one page, and my HTML looks
like this:

RFQ (1)

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

RFQ (2)

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
 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?cmdlnk&kid3432&bid#0486&dat1642
> > > ___
> > > 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=lnk&kid3432&bid#0486&dat1642
___
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 the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user-- Regards, Ali


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

http://java.sun.com/dtd/web-app_2_3.dtd";>



	myWicket
	
	
	
		Yakhdor_Dealler
		wicket.protocol.http.WicketServlet
		
		  applicationClassName
			com.yakhdor.application.Start
		
		1
	

	
		Yakhdor_Dealler
		/*
	


 
http://jetty.mortbay.org/configure_1_2.dtd";>



  

  

50
100
3
5000
8443
8443
  

  

  
/
/workspace/Yakhdor_Dealler
  

  2000
  false





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.>>> > action=""
> method="post"> id="pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity">> > 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"/>> >   PRI AEA3734
>   Gist Group>   0>   > name="lst_PriceRequestItems:0:requestedQuantity"/>> > >   PRI 3A82F4F
>   Raid Al-Nia'ami>   0>   > name="lst_PriceRequestItems:1:requestedQuantity"/>> > >   PRI C491231
>   Aous>   0>   > name="lst_PriceRequestItems:2:requestedQuantity"/>> > >   PRI 5EBCA9E
>   Time Technology>   0>       > name="lst_PriceRequestItems:3:requestedQuantity"/>> > >   PRI AAF9121
>   Haider Zaid>   0>   > name="lst_PriceRequestItems:4:requestedQuantity"/>> > >   PRI 13B6700
>   Ali Zaid>   0>   > name="lst_PriceRequestItems:5:requestedQuantity"/>> > >   PRI A5CD697
>   Mohammed Jassim>   0>   > name="lst_PriceRequestItems:6:requestedQuantity"/>> > >   PRI 7829AC0
>   Smart Systems>   0>           > name="lst_PriceRequestItems:7:requestedQuantity"/>> > 
>   >>>>> On 2/19/06, Matej Knopp <[EMAIL PROTECTED]
> wrote:> > Do you mean t

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


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      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
      "http://java.sun.com/dtd/web-app_2_3.dtd">

    myWicket        
            Yakhdor_Dealler        wicket.protocol.http.WicketServlet                  applicationClassName
            com.yakhdor.application.Start                1        
        Yakhdor_Dealler        /*    Jetty-config.xml 

http://jetty.mortbay.org/configure_1_2.dtd">
                50    100    3
    5000    8443    8443
              /    /workspace/Yakhdor_Dealler  
  2000  false
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 just go you email after I posted my config files :), anyway, are we talking about /* in web.xml? or the jetty?On 2/20/06, Mark Derricutt <
[EMAIL PROTECTED]> wrote: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 monthsWell 1.2 is a moving target really, I can understand the reasoning behind it as "/" conflicts with the homepage setting - if you did both - which should be used?  the homePage or the mounted page?
Mark

-- Regards, Ali


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

2006-02-20 Thread Ali Zaid
Here is my config. filesweb.xml      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
      "http://java.sun.com/dtd/web-app_2_3.dtd">    myWicket        
            Yakhdor_Dealler        wicket.protocol.http.WicketServlet                  applicationClassName
            com.yakhdor.application.Start                1        
        Yakhdor_Dealler        /*    Jetty-config.xml http://jetty.mortbay.org/configure_1_2.dtd">
                50    100    3
    5000    8443    8443
              /    /workspace/Yakhdor_Dealler  
  2000  falseOn 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
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] 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.>>> > action=""
> method="post"> id="pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity">> > 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"/>> >   PRI AEA3734
>   Gist Group>   0>   > name="lst_PriceRequestItems:0:requestedQuantity"/>> > >   PRI 3A82F4F
>   Raid Al-Nia'ami>   0>   > name="lst_PriceRequestItems:1:requestedQuantity"/>> > >   PRI C491231
>   Aous>   0>   > name="lst_PriceRequestItems:2:requestedQuantity"/>> > >   PRI 5EBCA9E
>   Time Technology>   0>   > name="lst_PriceRequestItems:3:requestedQuantity"/>> > >   PRI AAF9121
>   Haider Zaid>   0>   > name="lst_PriceRequestItems:4:requestedQuantity"/>> > >   PRI 13B6700
>   Ali Zaid>   0>   > name="lst_PriceRequestItems:5:requestedQuantity"/>> > >   PRI A5CD697
>   Mohammed Jassim>   0>   > name="lst_PriceRequestItems:6:requestedQuantity"/>> > >   PRI 7829AC0
>   Smart Systems>   0>   > name="lst_PriceRequestItems:7:requestedQuantity"/>> > 
>   >>>>> 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, 

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 the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- Regards, Ali


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 the  web.  DOWNLOAD SPLUNK!> >> 
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=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 the  web.  DOWNLOAD SPLUNK!http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user-- Regards, Ali


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.>>> > action=""
> method="post"> id="pnl_items:lst_items:0:row:pnl_priceRequestItems:frm_orderQuantity">> > 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"/>> >   PRI AEA3734
>   Gist Group>   0>   > name="lst_PriceRequestItems:0:requestedQuantity"/>> > >   PRI 3A82F4F
>   Raid Al-Nia'ami>   0>   > name="lst_PriceRequestItems:1:requestedQuantity"/>> > >   PRI C491231
>   Aous>   0>   > name="lst_PriceRequestItems:2:requestedQuantity"/>> > >   PRI 5EBCA9E
>   Time Technology>   0>   > name="lst_PriceRequestItems:3:requestedQuantity"/>> > >   PRI AAF9121
>   Haider Zaid>   0>   > name="lst_PriceRequestItems:4:requestedQuantity"/>> > >   PRI 13B6700
>   Ali Zaid>   0>   > name="lst_PriceRequestItems:5:requestedQuantity"/>> > >   PRI A5CD697
>   Mohammed Jassim>   0>   > name="lst_PriceRequestItems:6:requestedQuantity"/>> > >   PRI 7829AC0
>   Smart Systems>   0>   > name="lst_PriceRequestItems:7:requestedQuantity"/>> > 
>   >>>>> 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_Pane

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.

    
      PRI AEA3734  Gist Group
  0  
          PRI 3A82F4F  Raid Al-Nia'ami
  0  
          PRI C491231  Aous
  0  
          PRI 5EBCA9E  Time Technology
  0  
          PRI AAF9121  Haider Zaid
  0  
          PRI 13B6700      Ali Zaid
  0  
          PRI A5CD697  Mohammed Jassim
  0  
          PRI 7829AC0  Smart Systems
  0  
          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 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 Li

[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 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 getPriceRequestItemsList() {        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] 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 editor use 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 the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
___
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
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 the  web.  DOWNLOAD SPLUNK!http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://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 the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=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
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", "312&EO+B");bind.addParameter(tf.getInputName(), "$_this.value");
and when calling:attributes.put("onkeyup", bind.getJavaScript());it generate this:dojo.io.bind({url:'/?path=0:myNumber&interface=IBehaviorListener&behaviourId=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]> [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]> [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> > > >> >> > mimetype:'text/plain', method : 'POST', content:{
> 'myNumber:705}'});"> > value="--" type="text"> > name="myNumber" id="myNumber"/> > >> >> >
> > prototype> > > >> Ajax.Request('/?path=0:myNumber&interface=IBehaviorListener&behaviourId=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 the  web.  DOWNLOAD> SPLUNK!> 
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642> <http://sel.as-us.falkag.net/sel?cmdlnk&kid%103432&bid#0486&dat%121642
>> ___> Wicket-user mailing list> Wicket-user@lists.sourceforge.net> 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 the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642___
Wicket-user mailing listWicket-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-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> > >> mimetype:'text/plain', method : 'POST', content:{ 'myNumber:705}'});"
> value="--" type="text"> name="myNumber" id="myNumber"/> >>>> prototype> > Ajax.Request('/?path=0:myNumber&interface=IBehaviorListener&behaviourId=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 the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://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.
DojoprototypeI'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] Wicket in Action

2006-01-23 Thread Ali Zaid
I hope too that it will be wicket 1.2 and byound (and contain special
part for Ajax), I can't wait to put my hand on it, yesterday my
company decided to use wicket as the main tool for web application,
and I was asked to make a small team to port what we have/need into
wicket :), YPY!!!

On 1/23/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> As one of the authors, we would gladly put our book into the early
> access program, but the book has to be pretty far into production
> before it becomes available through EAP.
>
> Nice to hear we already have one reader ;-)
>
> Martijn
>
> On 1/23/06, Serge Boulay <[EMAIL PROTECTED]> wrote:
> > I saw a couple of posts for wicket in Action .. was wondering if perhaps
> > this will be available as part of the manning "early access" program ?
> > Anyway, I am newbie to wicket (coming from struts,spring mvc,jsf tapestry
> > background)  and love the approach that the framework is taking. Without a
> > doubt .. we will be using wicket on our next project.
> >
> > Keep up the good work!
> >
>
>
> --
> Living a wicket life...
>
> Martijn Dashorst - http://www.jroller.com/page/dashorst
>
> Wicket 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?cmdlnk&kid3432&bid#0486&dat1642
> ___
> 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=lnk&kid3432&bid#0486&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Multible Panel Markup inside the page

2006-01-12 Thread Ali Zaid
n Donnerstag < [EMAIL PROTECTED] >
> > wrote:
> > > > > > >
> > > > > > > May be I haven't understood it. But what is the difference to
> > > > > > > EditRow/InfoRow being inner classes or not which derive from
> > > > > > > WebMarkupContainer and where isVisible is toggled dependend on the
> > > > > > > need?
> > > > > > >
> > > > > > > Juergen
> > > > > > >
> > > > > > > On 1/11/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:
> > > > > > > > but someone put a RFE for 2.0?
> > > > > > > >
> > > > > > > > On 1/11/06, Johan Compagner < [EMAIL PROTECTED]> wrote:
> > > > > > > > > i wouldn't do this for 1.2
> > > > > > > > > We should finish up 1.2 and i think that feature will bring
> > some
> > > > bugs
> > > > > > > > > again..
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 1/11/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > > > > > > > > > i dont know how feasible this is for 1.2 release. i think it
> > > > will
> > > > > > require
> > > > > > > > > quiet a bit of work as it is a big departure of how we do
> > things.
> > > > > > maybe a
> > > > > > > > > 2.0 feature.
> > > > > > > > > >
> > > > > > > > > > any other devels reading with us? what are your thoughts?
> > > > > > > > > >
> > > > > > > > > > -Igor
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On 1/11/06, Ali Zaid < [EMAIL PROTECTED] > wrote:
> > > > > > > > > > > Sorry, one of the EditRow should be InfoEdit ;)
> > > > > > > > > > > On 1/11/06, Ali Zaid < [EMAIL PROTECTED]> wrote:
> > > > > > > > > > > > Ok guys;
> > > > > > > > > > > >
> > > > > > > > > > > > Actually I was thinking if I was talking non-sense, but
> > I
> > > > run
> > > > > > into the
> > > > > > > > > > > > same need again, and yes I just solved it by creating
> > > > panels,
> > > > > > and I am
> > > > > > > > > > > > happy, but I still think we should have it if it's not
> > much
> > > > > > work,
> > > > > > > > > > > > maybe not as panel, maybe we add new container to the
> > API.
> > > > > > > > > > > >
> > > > > > > > > > > > @Laurent, yes it's a dreamweaver point of view, one file
> > for
> > > > > > HTML and
> > > > > > > > > > > > that's all.
> > > > > > > > > > > >
> > > > > > > > > > > > @Igor, If I get you right, It's not the Java code that I
> > > > want to
> > > > > > be in
> > > > > > > > > > > > the same file, it's the HTML.
> > > > > > > > > > > >
> > > > > > > > > > > > I was thinking something like
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > //-- Page HTML --
> > > > > > > > > > > >
> > > > > > > > > > > > 
> > > > > > > > > > > >
> > > > > > > > > > > > 
> > > > > > > > > > > > 
> > > > > > > > > > > >  > > > wicket:id="code">0001
> > > > > > > > > > > >  > > > wicket:id="name">Ali
> > > > > > > > > > > > 12
> > > > > > > > > > > > 
> > > > > &

Re: [Wicket-user] Multible Panel Markup inside the page

2006-01-11 Thread Ali Zaid
Hay Guys;

Glad that you like the idea ;), I do agree that it's not for 1.2,
things work as they are now perfectly. I will post RFE for 2.0. and
tell you the truth I just can't wait for 1.2 to come final ;), I just
love the new changes.

@Juergen, WebMarkupContainer would do th trick if I'm only doing this
once in a page, to show it or hide it, but if to use this as a
template for a row in a table populated by a listview then this will
not work.

Regards, Ali


On 1/12/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> we are talking about those two classes both being a panel. and the markup
> for that panel coming from their closest container with markup (another
> panel or the page) via the following tags or something like them:
>
> 
> markup
> 
>
> -Igor
>
>
>
>
> On 1/11/06, Juergen Donnerstag <[EMAIL PROTECTED] > wrote:
> > May be I haven't understood it. But what is the difference to
> > EditRow/InfoRow being inner classes or not which derive from
> > WebMarkupContainer and where isVisible is toggled dependend on the
> > need?
> >
> > Juergen
> >
> > On 1/11/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > > but someone put a RFE for 2.0?
> > >
> > > On 1/11/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > > > i wouldn't do this for 1.2
> > > > We should finish up 1.2 and i think that feature will bring some bugs
> > > > again..
> > > >
> > > >
> > > > On 1/11/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > > > > i dont know how feasible this is for 1.2 release. i think it will
> require
> > > > quiet a bit of work as it is a big departure of how we do things.
> maybe a
> > > > 2.0 feature.
> > > > >
> > > > > any other devels reading with us? what are your thoughts?
> > > > >
> > > > > -Igor
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 1/11/06, Ali Zaid < [EMAIL PROTECTED]> wrote:
> > > > > > Sorry, one of the EditRow should be InfoEdit ;)
> > > > > > On 1/11/06, Ali Zaid < [EMAIL PROTECTED]> wrote:
> > > > > > > Ok guys;
> > > > > > >
> > > > > > > Actually I was thinking if I was talking non-sense, but I run
> into the
> > > > > > > same need again, and yes I just solved it by creating panels,
> and I am
> > > > > > > happy, but I still think we should have it if it's not much
> work,
> > > > > > > maybe not as panel, maybe we add new container to the API.
> > > > > > >
> > > > > > > @Laurent, yes it's a dreamweaver point of view, one file for
> HTML and
> > > > > > > that's all.
> > > > > > >
> > > > > > > @Igor, If I get you right, It's not the Java code that I want to
> be in
> > > > > > > the same file, it's the HTML.
> > > > > > >
> > > > > > > I was thinking something like
> > > > > > >
> > > > > > >
> > > > > > > //-- Page HTML --
> > > > > > >
> > > > > > > 
> > > > > > >
> > > > > > > 
> > > > > > > 
> > > > > > > 0001
> > > > > > > Ali
> > > > > > > 12
> > > > > > > 
> > > > > > > 
> > > > > > >
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 0001
> > > > > > > 
> > > > > > > 12
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > >
> > > > > > > 
> > > > > > >
> > > > > > > //-- Page Class --
> > > > > > >
> > > > > > > ListView lst_students = new
> > > > ListView("lst_students",students)
> > > > > > > {
> > > > > > > protected void populateItem(ListItem item) {
> > > > > > >
> > > > > > > if(edit)
> > > > > > > {
> > > > > > >   item.add(new

Re: [Wicket-user] Multible Panel Markup inside the page

2006-01-11 Thread Ali Zaid
Sorry, one of the EditRow should be InfoEdit ;)
On 1/11/06, Ali Zaid <[EMAIL PROTECTED]> wrote:
> Ok guys;
>
> Actually I was thinking if I was talking non-sense, but I run into the
> same need again, and yes I just solved it by creating panels, and I am
> happy, but I still think we should have it if it's not much work,
> maybe not as panel, maybe we add new container to the API.
>
> @Laurent, yes it's a dreamweaver point of view, one file for HTML and
> that's all.
>
> @Igor, If I get you right, It's not the Java code that I want to be in
> the same file, it's the HTML.
>
> I was thinking something like
>
>
> //-- Page HTML --
>
> 
>
> 
> 
> 0001
> Ali
> 12
> 
> 
>
> 
> 
> 
> 0001
> 
> 12
> 
> 
> 
>
> 
>
> //-- Page Class --
>
> ListView lst_students = new ListView("lst_students",students)
> {
> protected void populateItem(ListItem item) {
>
> if(edit)
> {
>   item.add(new EditRow("editRow",item.getModel()));
> }
> else
> {
>  item.add(new EditRow("editRow",item.getModel()));
> }
>
> }
> }
>
>
> Where EditRow and InfoRow are classes (inner or not) that extends InnerPanel.
>
> Regards, Ali
>
>
>
> On 1/11/06, Laurent PETIT <[EMAIL PROTECTED]> wrote:
> > Nevermind,
> >
> > As Ali wants to be able to reuse the "panel" markup for one or many
> > instances of Panel subclasses (in order to be embedded in a loop ...),
> > I think we can't use a border (or the border should be positioned as
> > the item inside the marker for the loop, but it's a less general use
> > case than what he expected).
> >
> >
> >
> > On 1/11/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > > because border is meant to /wrap/ things not replace them.
> > >
> > > -Igor
> > >
> > >
> > >
> > > On 1/11/06, Laurent PETIT <[EMAIL PROTECTED] > wrote:
> > > >
> > > > Euuuhh,
> > > >
> > > > and why not just subclass Border ?
> > > >
> > > > On 1/11/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > > > > if the panels are not meant to be shared make them a private static
> > > class
> > > > > and use the parent$inner.html syntax to define html files like karthik
> > > > > mentioned.
> > > > >
> > > > > i dont know if we need such a syntactic sugar in wicket, because then 
> > > > > we
> > > > > need to start looking in multiple places to find a problem. ie look 
> > > > > for
> > > a
> > > > > separate markup file first, then if its not found look in the main
> > > markup
> > > > > file. but what if the panel is reusable? then you need to start 
> > > > > looking
> > > in
> > > > > markup of multiple pages to find the panel markup. and what about
> > > override
> > > > > rules: if the panel has a separate markup file AND the page provdes a
> > > markup
> > > > > for it?
> > > > >
> > > > > yes it is inconvinient in certain situations. i have also written 
> > > > > panels
> > > > > like what you are describing and it was a pain in the ass. but
> > > personally i
> > > > > dont want to trade that for clarity.
> > > > >
> > > > > maybe a better way might be to create an InlinePanel class that does 
> > > > > not
> > > > > extend from Panel if we decide to do anything about this.
> > > > >
> > > > >
> > > > > -Igor
> > > > >
> > > > >
> > > > >
> > > > >  On 1/11/06, Laurent PETIT < [EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > If I understand well,
> > > > > >
> > > > > > what you want is, say, starting from a big Page, made of only 1 html
> > > > > > markup file and 1 java class, and first start to decompose the big
> > > > > > java class into smaller units (1 Page and 0..n Panels), but still 
> > > > > > not
> > > > > > decompose the html markup at that time.
> > > > > > And so being able to reference different parts of the same html 
> &

Re: [Wicket-user] Multible Panel Markup inside the page

2006-01-11 Thread Ali Zaid
Ok guys;

Actually I was thinking if I was talking non-sense, but I run into the
same need again, and yes I just solved it by creating panels, and I am
happy, but I still think we should have it if it's not much work,
maybe not as panel, maybe we add new container to the API.

@Laurent, yes it's a dreamweaver point of view, one file for HTML and
that's all.

@Igor, If I get you right, It's not the Java code that I want to be in
the same file, it's the HTML.

I was thinking something like


//-- Page HTML --





0001
Ali
12






0001

12






//-- Page Class --

ListView lst_students = new ListView("lst_students",students)
{
protected void populateItem(ListItem item) {

if(edit)
{
  item.add(new EditRow("editRow",item.getModel()));
}
else
{
 item.add(new EditRow("editRow",item.getModel()));
}

}
}


Where EditRow and InfoRow are classes (inner or not) that extends InnerPanel.

Regards, Ali



On 1/11/06, Laurent PETIT <[EMAIL PROTECTED]> wrote:
> Nevermind,
>
> As Ali wants to be able to reuse the "panel" markup for one or many
> instances of Panel subclasses (in order to be embedded in a loop ...),
> I think we can't use a border (or the border should be positioned as
> the item inside the marker for the loop, but it's a less general use
> case than what he expected).
>
>
>
> On 1/11/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > because border is meant to /wrap/ things not replace them.
> >
> > -Igor
> >
> >
> >
> > On 1/11/06, Laurent PETIT <[EMAIL PROTECTED] > wrote:
> > >
> > > Euuuhh,
> > >
> > > and why not just subclass Border ?
> > >
> > > On 1/11/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > > > if the panels are not meant to be shared make them a private static
> > class
> > > > and use the parent$inner.html syntax to define html files like karthik
> > > > mentioned.
> > > >
> > > > i dont know if we need such a syntactic sugar in wicket, because then we
> > > > need to start looking in multiple places to find a problem. ie look for
> > a
> > > > separate markup file first, then if its not found look in the main
> > markup
> > > > file. but what if the panel is reusable? then you need to start looking
> > in
> > > > markup of multiple pages to find the panel markup. and what about
> > override
> > > > rules: if the panel has a separate markup file AND the page provdes a
> > markup
> > > > for it?
> > > >
> > > > yes it is inconvinient in certain situations. i have also written panels
> > > > like what you are describing and it was a pain in the ass. but
> > personally i
> > > > dont want to trade that for clarity.
> > > >
> > > > maybe a better way might be to create an InlinePanel class that does not
> > > > extend from Panel if we decide to do anything about this.
> > > >
> > > >
> > > > -Igor
> > > >
> > > >
> > > >
> > > >  On 1/11/06, Laurent PETIT < [EMAIL PROTECTED]> wrote:
> > > > >
> > > > > If I understand well,
> > > > >
> > > > > what you want is, say, starting from a big Page, made of only 1 html
> > > > > markup file and 1 java class, and first start to decompose the big
> > > > > java class into smaller units (1 Page and 0..n Panels), but still not
> > > > > decompose the html markup at that time.
> > > > > And so being able to reference different parts of the same html markup
> > > > > file from different java classes.
> > > > >
> > > > > Am I right ?
> > > > >
> > > > > I can see a use case for this. Indeed it helps reducing complexity by
> > > > > making java Component composition, but indeed, sometimes, it is a
> > > > > shame to have to manage several html files (in case that the panels
> > > > > are not yet to be shared with other pages) : no more consistency in a
> > > > > pure html editor such as Dreamweaver.
> > > > >
> > > > >
> > > > >
> > > > > On 1/11/06, Ali Zaid <[EMAIL PROTECTED]> wrote:
> > > > > > Well, I agree with you on that, I do like the way that we define
> > panel
> 

Re: [Wicket-user] Multible Panel Markup inside the page

2006-01-11 Thread Ali Zaid
Well, I agree with you on that, I do like the way that we define panel
now, but look at it this way, in my current application, I have HTML
file, and then I copy that file 4-5 times and start define panels,
rename these files and create classes for them, for some it doesn't
worth it, like a simple form with one field.

I know it sound like a lazy guy talking, but it's not just about work,
it can also help organizing code (HTML wise), since you have all the
elements in one file. for HTML + Javascript it worth it.

tell me if I started to sound non-sense.

Regards, Ali

On 1/11/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> So what you basically want is a panel but defined in the same file, like:
>
> 
>   blah
> 
> 
>   boo
> 
>
> Where of course the panel should have some kind of id as there might
> be more of them? Personally, I think that you lose clarity oposed to
> having seperate files for the panel. And we would lose clarity on what
> the best way of doing things is, as there would then be two different
> ways of specifying a panel.
>
> Eelco
>
>
> On 1/11/06, Ali Zaid <[EMAIL PROTECTED]> wrote:
> > ingram;
> >
> > Thanks, I know that I can use WebMarkupContainer, but I can't reuse it
> > in the same page more than once, incase of Listview for example, when
> > I say I don't want to reuse it I should have clearified that I don't
> > want to reuse in anothe page.
> >
> > I did mention I can use WebMarkupContainer in my first post, anyway, I
> > think my question is more into the lazy part than the practical part.
> >
> > Thanks for the reply.
> >
> > Regards, Ali
> >
> >
> > On 1/11/06, Ingram Chen <[EMAIL PROTECTED]> wrote:
> > > You don't need to use Panel if you don't want to reuse it.
> > >
> > > try WebMarkupContainer:
> > >
> > > 
> > > 
> > > 
> > > ...Markup
> > >  
> > > 
> > > ...Markup
> > > 
> > > 
> > > 
> > >
> > > and in Your page:
> > >
> > > public class InfoPage extends WebPage {
> > >
> > >   public InfoPage() {
> > >  WebMarkupContainer showInfo = new WebMarkupContainer("showInfo") 
> > > {
> > >public boolean isVisible() {
> > > return ! isEdit();
> > >}
> > >  };
> > >  showInfo.add(...some component for show...) ;
> > >  add(showInfo);
> > >
> > >  WebMarkupContainer editInfo = new WebMarkupContainer("editInfo") 
> > > {
> > > public boolean isVisible() {
> > >  return isEdit();
> > > }
> > >   };
> > >   editInfo.add(...some component for edit...) ;
> > >  add(editInfo);
> > >
> > >   }
> > >
> > > }
> > >
> > >
> > >
> > >
> > >
> > > On 1/11/06, Ali Zaid <[EMAIL PROTECTED]> wrote:
> > > >
> > > > that's a different file
> > > >
> > > > What I want to do is to place the
> > > >
> > > > 
> > > > ...Markup
> > > > 
> > > >
> > > > inside the page that use it, ok I know that this will harm the
> > > > reusablitity, but sometimes you don't need reusability...
> > > >
> > > > I kinda want something like
> > > >
> > > >
> > > > 
> > > > 
> > > >
> > > > 
> > > >
> > > >
> > > > 
> > > > ...Markup
> > > > 
> > > >
> > > > 
> > > > ...Markup
> > > > 
> > > >
> > > > 
> > > > 
> > > >
> > > > So when wicket see panels difinisions inside the page it just don't
> > > > render them, but it uses them to render "info" component.
> > > >
> > > > To be honest, I'm kinda againest what I'm asking for :), but I think
> > > > it can have a use sometimes, specially in design time.
> > > >
> > > > Regards, Ali
> > > >
> > > >
> > > > On 1/11/06, karthik Guru < [EMAIL PROTECTED]> wrote:
> > > > &g

Re: [Wicket-user] Multible Panel Markup inside the page

2006-01-11 Thread Ali Zaid
ingram;

Thanks, I know that I can use WebMarkupContainer, but I can't reuse it
in the same page more than once, incase of Listview for example, when
I say I don't want to reuse it I should have clearified that I don't
want to reuse in anothe page.

I did mention I can use WebMarkupContainer in my first post, anyway, I
think my question is more into the lazy part than the practical part.

Thanks for the reply.

Regards, Ali


On 1/11/06, Ingram Chen <[EMAIL PROTECTED]> wrote:
> You don't need to use Panel if you don't want to reuse it.
>
> try WebMarkupContainer:
>
> 
> 
> 
> ...Markup
>  
> 
> ...Markup
> 
> 
> 
>
> and in Your page:
>
> public class InfoPage extends WebPage {
>
>   public InfoPage() {
>  WebMarkupContainer showInfo = new WebMarkupContainer("showInfo") {
>public boolean isVisible() {
> return ! isEdit();
>}
>  };
>  showInfo.add(...some component for show...) ;
>  add(showInfo);
>
>  WebMarkupContainer editInfo = new WebMarkupContainer("editInfo") {
> public boolean isVisible() {
>  return isEdit();
>     }
>   };
>   editInfo.add(...some component for edit...) ;
>  add(editInfo);
>
>   }
>
> }
>
>
>
>
>
> On 1/11/06, Ali Zaid <[EMAIL PROTECTED]> wrote:
> >
> > that's a different file
> >
> > What I want to do is to place the
> >
> > 
> > ...Markup
> > 
> >
> > inside the page that use it, ok I know that this will harm the
> > reusablitity, but sometimes you don't need reusability...
> >
> > I kinda want something like
> >
> >
> > 
> > 
> >
> > 
> >
> >
> > 
> > ...Markup
> > 
> >
> > 
> > ...Markup
> > 
> >
> > 
> > 
> >
> > So when wicket see panels difinisions inside the page it just don't
> > render them, but it uses them to render "info" component.
> >
> > To be honest, I'm kinda againest what I'm asking for :), but I think
> > it can have a use sometimes, specially in design time.
> >
> > Regards, Ali
> >
> >
> > On 1/11/06, karthik Guru < [EMAIL PROTECTED]> wrote:
> > > Am a newbie, so i might be wrong. But if i understand your problem
> > > correctly, you need to name the markup YourPage$YourPanel.html and place
> it
> > > in the same package.
> > >
> > > On 1/11/06, Ali Zaid <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi;
> > > >
> > > > I was wondering if I can define a panel inside a page, let me explain:
> > > >
> > > > Say I was develping a page that shows different panel depending on
> > > > whatever :), so if whatever is true it show panel01 if false panel02.
> > > > Now, the way to do it (or how I know to do it) is to have the page,
> > > > with a span that say where the panel go, and have 2 markup files that
> > > > define the 2 panels in seperate files. say I want to tell wiicket to
> > > > look for this markup inside the page, is there a way?
> > > >
> > > > I know this can also be solved by markup container, but what I really
> > > > want to use this for is a table that show some info and when the row
> > > > is clicked it show a  form to change this info.
> > > >
> > > > --
> > > > 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://ads.osdn.com/?ad_idv37&alloc_id865&opclick
> > > > ___
> > > > 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
> > fo

Re: [Wicket-user] Multible Panel Markup inside the page

2006-01-11 Thread Ali Zaid
that's a different file

What I want to do is to place the


...Markup


inside the page that use it, ok I know that this will harm the
reusablitity, but sometimes you don't need reusability...

I kinda want something like









...Markup



...Markup





So when wicket see panels difinisions inside the page it just don't
render them, but it uses them to render "info" component.

To be honest, I'm kinda againest what I'm asking for :), but I think
it can have a use sometimes, specially in design time.

Regards, Ali


On 1/11/06, karthik Guru <[EMAIL PROTECTED]> wrote:
> Am a newbie, so i might be wrong. But if i understand your problem
> correctly, you need to name the markup YourPage$YourPanel.html and place it
> in the same package.
>
> On 1/11/06, Ali Zaid <[EMAIL PROTECTED]> wrote:
> >
> > Hi;
> >
> > I was wondering if I can define a panel inside a page, let me explain:
> >
> > Say I was develping a page that shows different panel depending on
> > whatever :), so if whatever is true it show panel01 if false panel02.
> > Now, the way to do it (or how I know to do it) is to have the page,
> > with a span that say where the panel go, and have 2 markup files that
> > define the 2 panels in seperate files. say I want to tell wiicket to
> > look for this markup inside the page, is there a way?
> >
> > I know this can also be solved by markup container, but what I really
> > want to use this for is a table that show some info and when the row
> > is clicked it show a  form to change this info.
> >
> > --
> > 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://ads.osdn.com/?ad_idv37&alloc_id865&opclick
> > ___
> > 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://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Multible Panel Markup inside the page

2006-01-11 Thread Ali Zaid
Hi;

I was wondering if I can define a panel inside a page, let me explain:

Say I was develping a page that shows different panel depending on
whatever :), so if whatever is true it show panel01 if false panel02.
Now, the way to do it (or how I know to do it) is to have the page,
with a span that say where the panel go, and have 2 markup files that
define the 2 panels in seperate files. say I want to tell wiicket to
look for this markup inside the page, is there a way?

I know this can also be solved by markup container, but what I really
want to use this for is a table that show some info and when the row
is clicked it show a  form to change this info.

--
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://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket 1.2 reload HTML files

2006-01-11 Thread Ali Zaid
Hay Guys;

WOW! Just WOW! 1.2 is really cool, I just ported my current
application from 1.1 to 1.2, and solved allot of problems, simple
modifaction for settings and everytihg went smooth.

What I can't figure out is how to make the HTML reloads when my
application is on and I make change in HTML. I see this in the change
log, is it available for the current snapshot?

Thanks for the wondeful work, wicket is a life change for me!!!

--
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://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] get panel's Page ref.?

2006-01-05 Thread Ali Zaid
That was right!

Thanks allot, you saved my day!!!

Regards, Ali

On 1/5/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> You probably tried it in the contructor. The component must be added
> to the container. Once that happened (add(myComponent)), getPage()
> returns the page.
>
> Juergen
>
> On 1/5/06, Ali Zaid <[EMAIL PROTECTED]> wrote:
> > Hi;
> >
> > I guess this may be a silly question, but I really don't have time to
> > look around :( and I need the help with this ASAP (2 hours), How can I
> > get a reference to the page from within a panel?
> >
> > I tried getPage(), but it returns null, I really apreciate a help here.
> >
> > --
> > 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://ads.osdn.com/?ad_idv37&alloc_id865&opclick
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> ---
> 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://ads.osdn.com/?ad_idv37&alloc_id865&opclick
> ___
> 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://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] get panel's Page ref.?

2006-01-05 Thread Ali Zaid
Hi;

I guess this may be a silly question, but I really don't have time to
look around :( and I need the help with this ASAP (2 hours), How can I
get a reference to the page from within a panel?

I tried getPage(), but it returns null, I really apreciate a help here.

--
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://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] reduce page size by not render wicket :id attribute

2005-12-15 Thread Ali Zaid
Hi;

WebApplication.getSettings().setStripWicketTags(true);

will do the trick
On 12/15/05, blackboy zabaha <[EMAIL PROTECTED]> wrote:
Just an opinion of mine.  I think the last result of page could not render any wicket:id attribute (also wicket:head, wicket:body, etc..)  because it not necessary for browser, and this may also reduce page size upto 10% (test on some of my report pages)
  if my page is some kind of report that normally just render Label in a ListView.          
   
Postpaid Individual
(Special)   
   
   
1   
   
   
09/12/2005   
   
   
10:30   
   
   
12   
   
   
6   
   
   
6   
   
   
0   
         to this :              
   
Postpaid Individual (Special)   
   
   
1   
   
   
09/12/2005   
   
   
10:30   
   
   
12   
   
   
6   
   
   
6   
   
   
0   
         better?
or just provide option to choose not to render wicket:id on page,
even it better to have them on for developing time, but on
production, they are no need and the pages'
size are more important to concern about.   
	
		Yahoo! Shopping 
Find Great Deals on Holiday Gifts at 
Yahoo! Shopping 
-- Regards, Ali


Re: [Wicket-user] Submit a Form by a method call

2005-12-12 Thread Ali Zaid
Eelco, yes maybe I didn't explain it in the right way, and yes happy
user, this is what Java really missed a framework like this one for
application with web interface (web applications and dynamic websites).

Tell me, is there any sign of 1.2 in the horizon? I read that there
will be a Ajax panel reRender capabilities, is this true? I really wish
for that, among others ;)

RegardsOn 12/12/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
Good to hear from happy users :)I thought you wanted to have two forms that were submitted by oneclick. So my answer was not really to-the-point. Glad the otheranswers work for you.Eelco
On 12/11/05, Ali Zaid <[EMAIL PROTECTED]> wrote:> Andrew!>>  Man, Thanks, this works perfectly for me, I did think of this solution, but> I didn't have the well to try it till you suggested it :)
>>  Johan, Man I can't wait for 1.2, from what I read it has allot of what I> need :)>>  Thanks guys, if you are interested, I'm writting now 2 application using> wicket (that with a simple tracking system 4 months ago), and wicket is
> really helping me deliver fast, it just make me code the way I like :)>>  ThAnKs WiCkEt TeAm!!!>>> On 12/11/05, Johan Compagner <[EMAIL PROTECTED]
> wrote:> > If you use 1.2: See SubmitLink> >> >> >> >> > On 12/11/05, Andrew Berman < [EMAIL PROTECTED]> wrote:
> > > Don't use a submit button.  Do this instead> > >> > > 1.  Give each form an id using the HTML id attribute> > > 2.  Add the buttons like below> > >
> > > > document.getElementById("form1Id").submit();"/>> > > > >> > >> > > --Andrew> > >> > >> > >> > > On 12/10/05, Eelco Hillenius < 
[EMAIL PROTECTED]> wrote:> > > > I think the problem is not so much Wicket here, but the fact that you> > > > want to break out of the HTML boundaries. One strategy you can utilize
> > > > is to use _javascript_ to collect your form values and submit them as if> > > > they were part of one form. If you need such functionality often, you> > > > might even try to generalize this into a custom Wicket component.
> > > >> > > > Eelco> > > >> > > >> > > > On 12/10/05, Ali Zaid < [EMAIL PROTECTED]> wrote:> > > > > Hi;
> > > > >> > > > > I want to to submit a Form by a link or a button that don't belong> to that> > > > > Form, the idea is that I have 2 Forms in a page, one is a client
> details> > > > > Form and the other is a ListView with a Form to add Contact Info to> that> > > > > client. I want to add a button (link) in the bottom of the page that
> say> > > > > save that will save the whole client object and redirect to another> page,> > > > > what I want to do is to submit that form when this link is clicked.
> > > > >> > > > > > > > > > .> > > > > .> > > > > .> > > > > 
> > > > >> > > > > > > > > >  .> > > > >  .> > > > >  .> > > > >  
> > > > >> > > > > > > > > > wicket:id="lnk_save"/>> > > > >
> > > > > So the idea is to submit the form clientDetails with the  button> lnk_save.> > > > > hope it's doable ;)> > > > >> > > > > --
> > > > > 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://ads.osdn.com/?ad_idv37&alloc_id865&opclick> > > > ___> > > > 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 filesfor problems?  Stop!  Download the new AJAX search engine that makessearching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opclick___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user-- 
Regards, Ali


Re: [Wicket-user] Submit a Form by a method call

2005-12-11 Thread Ali Zaid
Andrew!

Man, Thanks, this works perfectly for me, I did think of this solution,
but I didn't have the well to try it till you suggested it :)

Johan, Man I can't wait for 1.2, from what I read it has allot of what I need :)

Thanks guys, if you are interested, I'm writting now 2 application
using wicket (that with a simple tracking system 4 months ago), and
wicket is really helping me deliver fast, it just make me code the way
I like :)

ThAnKs WiCkEt TeAm!!!
On 12/11/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
If you use 1.2: See SubmitLinkOn 12/11/05, Andrew Berman <
[EMAIL PROTECTED]> wrote:
Don't use a submit button.  Do this instead1.  Give each form an id using the HTML id attribute2.  Add the buttons like below
--Andrew
On 12/10/05, Eelco Hillenius <

[EMAIL PROTECTED]> wrote:
I think the problem is not so much Wicket here, but the fact that youwant to break out of the HTML boundaries. One strategy you can utilizeis to use _javascript_ to collect your form values and submit them as if


they were part of one form. If you need such functionality often, youmight even try to generalize this into a custom Wicket component.EelcoOn 12/10/05, Ali Zaid <


[EMAIL PROTECTED]> wrote:> Hi;>> I want to to submit a Form by a link or a button that don't belong to that> Form, the idea is that I have 2 Forms in a page, one is a client details

> Form and the other is a ListView with a Form to add Contact Info to that
> client. I want to add a button (link) in the bottom of the page that say> save that will save the whole client object and redirect to another page,> what I want to do is to submit that form when this link is clicked.
>> > .> .> .> >> >  .>  .>  .>  
>> > wicket:id="lnk_save"/>>> So the idea is to submit the form clientDetails with the  button lnk_save.
> hope it's doable ;)>> --> 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 makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!

http://ads.osdn.com/?ad_idv37&alloc_id865&opclick___
Wicket-user mailing listWicket-user@lists.sourceforge.net

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




-- Regards, Ali


[Wicket-user] Submit a Form by a method call

2005-12-10 Thread Ali Zaid
Hi;I want to to submit a Form by a link or a button that don't belong to that Form, the idea is that I have 2 Forms in a page, one is a client details Form and the other is a ListView with a Form to add Contact Info to that client. I want to add a button (link) in the bottom of the page that say save that will save the whole client object and redirect to another page, what I want to do is to submit that form when this link is clicked.
...
.
.
.
So the idea is to submit the form clientDetails with the  button  lnk_save. hope it's doable ;)
-- Regards, Ali


Re: [Wicket-user] iBatis

2005-11-21 Thread Ali Zaid
iBatis is cool, not sure what you are looking for since iBatis itself is so simple to implement with any other framwork.On 11/21/05, Miguel <
[EMAIL PROTECTED]> wrote:Hi, i have followed the thread about hibernate and spring support, is
anyone here working with ibatis?If so, where can i find some examples?thanks---This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Examfor All Training Attendees Through End of 2005. For more info visit:http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user-- Regards, Ali


Re: [Wicket-user] Problem with multiple submit buttons in form

2005-10-29 Thread Ali Zaid
Which release of wicket you are using?On 10/29/05, Dan Gould <[EMAIL PROTECTED]> wrote:
I'm trying to create a form with multiple submit buttons follow theexample onhttp://www.wicket-wiki.org.uk/wiki/index.php/Multiple_submit_buttons_in_form
The buttons' onSubmit isn't getting called.  [However, the Form's onSubitIS getting called.]My HTML looks like
     src="" alt="thumbs down" name="thumbdown" />     src="" alt="thumbs up" name="thumbup" />And my code looks like:private final class BackForm extends Form { public BackForm(final String componentname)
 { super(componentname); add(new Button("thumbup") { protected void onSumbit() { if(log.isDebugEnabled()) log.debug("THUMBS UP");
 } }); add(new Button("thumbdown") { protected void onSumbit() { if(log.isDebugEnabled()) log.debug("THUMBS DOWN");
 } }); }}Any ideas?  [I just realized: does the type="image" cause problems forwicket?  If so, is there a workaround?]Thanks,Dan
---This SF.Net email is sponsored by the JBoss Inc.Get Certified Today * Register for a JBoss Training CourseFree Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user-- 
Regards, Ali


Re: [Wicket-user] Download any type of file

2005-10-14 Thread Ali Zaid
Sorry if my comment has upset anyone, I'm in no mean tried or have
intensions to under-value the effor and favor of the people
contributing to wicket framework, on the opposite, I O them allot, and
I appreciate it allot, wicket is one of the best things in my life now,
and it really got me excited and back in track with Java.

Again I thank you all developers of the framework and people who are
kind and genouris to share their information & experience here.On 10/13/05, Martijn Dashorst <[EMAIL PROTECTED]
> wrote:As a general note: wicket is a community effort. The core developers
need to split their time between building the best framwork possible,
solving bugs, writing documentation, giving support on the
mailinglists, discussing future designs. And *ALL* this in their free
time.

It would help a lot when anyone who thinks documentation is lacking,
that they provide articles on the wiki, or patches to the javadoc.
Especially when their question is answered.

Martijn
On 10/13/05, Ali Zaid <[EMAIL PROTECTED]
> wrote:
A good framework would provide good documentation too :), still I love wicket!!!On 10/12/05, Timo Stamm
 <[EMAIL PROTECTED]
> wrote:Ali Zaid wrote:> Scott Man, Thanks allot, I will try it today, I wonder why a great framework
> like wicket don't have a simple thing like FileDownloadLink() or other> simple solution.A good framework doesn't provide you with implementations for allpossible use cases. It should rather make it trivial to implement to
implement all possible use cases.Timo---This SF.Net email is sponsored by:Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl___
Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- 
Regards, Ali



-- Regards, Ali


Re: [Wicket-user] Download any type of file

2005-10-13 Thread Ali Zaid
A good framework would provide good documentation too :), still I love wicket!!!On 10/12/05, Timo Stamm <[EMAIL PROTECTED]
> wrote:Ali Zaid wrote:> Scott Man, Thanks allot, I will try it today, I wonder why a great framework
> like wicket don't have a simple thing like FileDownloadLink() or other> simple solution.A good framework doesn't provide you with implementations for allpossible use cases. It should rather make it trivial to implement to
implement all possible use cases.Timo---This SF.Net email is sponsored by:Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user-- 
Regards, Ali


Re: [Wicket-user] Download any type of file

2005-10-12 Thread Ali Zaid
Thanks, It works!On 10/12/05, Ali Zaid <[EMAIL PROTECTED]> wrote:
Scott Man, Thanks allot, I will try it today, I wonder why a great
framework like wicket don't have a simple thing like FileDownloadLink()
or other simple solution.On 10/12/05, Scott Sauyet <
[EMAIL PROTECTED]> wrote:
Scott Sauyet wrote:> Resource resource = new DownloadableFileResource(filename);> add(ResourceLink("fileLink", resource));Correction, should be: add(new ResourceLink("fileLink", resource));
 ^^^   -- Scott---This SF.Net email is sponsored by:Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl___
Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- 
Regards, Ali

-- Regards, Ali


Re: [Wicket-user] Download any type of file

2005-10-12 Thread Ali Zaid
Scott Man, Thanks allot, I will try it today, I wonder why a great
framework like wicket don't have a simple thing like FileDownloadLink()
or other simple solution.On 10/12/05, Scott Sauyet <[EMAIL PROTECTED]> wrote:
Scott Sauyet wrote:> Resource resource = new DownloadableFileResource(filename);> add(ResourceLink("fileLink", resource));Correction, should be: add(new ResourceLink("fileLink", resource));
 ^^^   -- Scott---This SF.Net email is sponsored by:Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user-- 
Regards, Ali


[Wicket-user] Download any type of file

2005-10-12 Thread Ali Zaid
Hi;

I'm kinda lost here, and SourceForge search is not working, so I have to ask, and I'm sorry if this is a repeated question.

The thing is simple, I need a code snippet of how to use ResourceLink to inatiate a file download.
-- Regards, Ali


[Wicket-user] Re: Datepicker Madness again

2005-09-10 Thread Ali Zaid
Guys, You are my heros!!!

I have only one servlet for sure :). I made the change that my big hero
"Gwyn Evans" suggested, and all works now, instead of "/" I changed it
to "/application/*" with a redirect in index.html to "application", and
everything was working.

The bug was also true in my case, cause my Model was set to null, I
set a break point in the onSubmit, and the break point was never
reached, so I still think that the null model is just instead
of submitting the fields into the that page, a new page was create as if I was calling
a link not submitting a form.

Gwyn Evans, try this, and see if you get the same thing, is your onSubmit is been called?-- Regards, Ali


[Wicket-user] Datepicker Madness again

2005-09-09 Thread Ali Zaid
I must first begin with a spaecial thanks for the help that I got before, still I'm totally lost, and this is the case...

I have a page that has a form in it, and I wanted to add a datepicker
for a field, the probelm was that when I do that I don't get the
datepicker, and the link to the datepicker resources are showed like
this:

http://localhost:8080/zozik//resources/wicket.extensions.markup.html.datepicker.DatePickerSettings/calendar_icon_1.jpg


Now I was advice to change something and it did work, what I had in my web.xml

/

was changed to

/*

and the datepicker works, but not the forms anymore, onSubmit is not called at all.

It's not I'm frustrated, nor that I have to use datepicket extension
(cause I can just go back to use it as is - _javascript_), I'm afraid
that I'm doing something wrong that will come back to me later, I got
back to have /, and trying to
debug my code.

Please help.
-- Regards, Ali


[Wicket-user] Re: Datepicker driving me crazy

2005-09-05 Thread Ali Zaid
Thanks you Sir, You made my day :)-- Regards, Ali


[Wicket-user] Datepicker driving me crazy

2005-09-03 Thread Ali Zaid
Hi all;

DatePicker is really driving me to the edge, I'm doing as examples say and I can't make it work!

here is my code:

TextField datePropertyTextField = new TextField("dateProperty", Date.class);
add(datePropertyTextField);
add(new DatePicker("datePicker", datePropertyTextField));




What I get is a wrong url to resources