You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Martijn Dashorst <ma...@gmail.com> on 2007/12/02 16:53:58 UTC

New task for ghop: generate commandline for quickstart archetype in webpage

The current quickstart page shows a commandline that is not very friendly to
edit by hand: you have to unwrap the lines and figure out which parts need
to be changed. This task will add to the example two textboxes and a bit of
Javascript to generate the maven command ready to copy/paste to a dos box
(or unix commandline).
It should ask for the groupId and the artifactId and generate the resulting
commandline. It should also be able to be run inside a confluence wiki page.
The student can test using the Wicket confluence wiki. We will move the page
when ready to the official space.

References:
 - Official Quickstart page: http://wicket.apache.org/quickstart.html
 - The GHOP Quickstart page open for editing by the student: GHOP -
quickstart<http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart>

Martijn

-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-rc1 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/

Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by popnbrown <sr...@gmail.com>.
I was actually wondering about the version, cause when I first read on how to
generate a project people were using 1.3.0-SNAPSHOT but the task was for
groupIf and artifactId. 
Don't worry about, it looks really great.


Gerolf Seitz wrote:
> 
> On Dec 4, 2007 12:28 PM, popnbrown <sr...@gmail.com> wrote:
> 
>>
>> Thank you.
>>
>> Darn, now I have nothing to do. Guess I'll do some screencasts.
>>
> 
> that's a great idea.
> 
> i'm sorry, but i did some more gold plating to the cmdline generation ;)
> 
> Martijn, could you update WICKETxSITE again, or give me karma to do so?
> 
>   Gerolf
> 
> 
>>
>> Great working with everyone on this task,
>> Sravan Suryadevara
>>
>>
>> Gerolf Seitz wrote:
>> >
>> > hi,
>> >
>> > i think it's good now. i completed the task.
>> > thanks for your contribution.
>> >
>> > Cheers,
>> >   Gerolf
>> >
>> > On Dec 4, 2007 4:00 AM, popnbrown <sr...@gmail.com> wrote:
>> >
>> >>
>> >> tried that to doesnt work.
>> >> What does work is onkeyup.
>> >> My guess is that the javascript method reads the textfield after the
>> key
>> >> is
>> >> released which is when you need to call, because when you are pressing
>> >> down
>> >> the input has not "technically" been entered into the textfield?
>> >>
>> >> Also further update: I have gotten the "Command Line: " to stay and
>> >> before
>> >> as soon as the page loads the textfields are automatically given a
>> value
>> >> correpsonding to the example (groupId = com.mycompany and artifactId =
>> >> myproject) and the command line for the given groupId and artifactId
>> is
>> >> also
>> >> shown underneath a command line.
>> >>
>> >> Again a link:
>> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>> >>
>> >> Anything else anyone wants to add on?
>> >>
>> >> Thanks,
>> >> Sravan Suryadevara
>> >>
>> >>
>> >>
>> >> igor.vaynberg wrote:
>> >> >
>> >> > try onkeydown :)
>> >> >
>> >> > -igor
>> >> >
>> >> >
>> >> > On Dec 3, 2007 6:41 PM, popnbrown <sr...@gmail.com>
>> wrote:
>> >> >>
>> >> >> Tried onkeypress only works if the textfield is in a form and also
>> >> >> there's a
>> >> >> delay for example:
>> >> >>
>> >> >> you type in 'u' nothing will happen then you press 'o' the command
>> >> line
>> >> >> will
>> >> >> show up with the 'u' in the groupId part
>> >> >>
>> >> >>
>> >> >>
>> >> >> Gerolf Seitz wrote:
>> >> >> >
>> >> >> > On Dec 4, 2007 1:33 AM, popnbrown <sr...@gmail.com>
>> >> wrote:
>> >> >> >
>> >> >> >>
>> >> >> >> There we go, I believe it works now.
>> >> >> >
>> >> >> >
>> >> >> > excellent. works like a charm ;)
>> >> >> >
>> >> >> > it would be nice if the user wouldn't have to click a button, but
>> >> the
>> >> >> > command line is
>> >> >> > automatically updated (either onblur or onkeypress, ...)
>> >> >> >
>> >> >> > btw, the form is not necessary, because there is no form submit
>> >> >> involved
>> >> >> > (it
>> >> >> > would need
>> >> >> > a close tag anyway ;) )
>> >> >> >
>> >> >> > great work so far, now comes the polishing.
>> >> >> >
>> >> >> >   Gerolf
>> >> >> >
>> >> >> >
>> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>> >> >> >>
>> >> >> >> Want me to make an official statement on the ghop site?
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >> Thanks,
>> >> >> >> Sravan Suryadevara
>> >> >> >>
>> >> >> >> Gerolf Seitz wrote:
>> >> >> >> >
>> >> >> >> > hi,
>> >> >> >> > you can include any html and javascript the following way:
>> >> >> >> >
>> >> >> >> > {html:output=html}
>> >> >> >> > <script>document.write("test");</script>
>> >> >> >> > <input type="text" id="groupId"/>
>> >> >> >> > {html}
>> >> >> >> >
>> >> >> >> > hth,
>> >> >> >> >   Gerolf
>> >> >> >> >
>> >> >> >> > On Dec 4, 2007 12:31 AM, popnbrown <
>> sravan.suryadevara@gmail.com>
>> >> >> >> wrote:
>> >> >> >> >
>> >> >> >> >>
>> >> >> >> >> Ok so latest latest update. I was browsing the Confluence
>> forums
>> >> >> and
>> >> >> >> >> apparently there have been attempts to use javascript code on
>> >> >> >> Confluence
>> >> >> >> >> pages and I e-mailed one of the guys about it, and I'm hoping
>> >> for
>> >> a
>> >> >> >> reply
>> >> >> >> >> tonight if not, tommorrow.
>> >> >> >> >> Besides that do you know what people mean when they say "the
>> >> html
>> >> >> >> plugin"
>> >> >> >> >> for Confluence?
>> >> >> >> >>
>> >> >> >> >> Thanks,
>> >> >> >> >> Sravan Suryadevara
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> Gerolf Seitz wrote:
>> >> >> >> >> >
>> >> >> >> >> > On Dec 4, 2007 12:03 AM, popnbrown <
>> >> sravan.suryadevara@gmail.com>
>> >> >> >> >> wrote:
>> >> >> >> >> >
>> >> >> >> >> >>
>> >> >> >> >> >> Well, the thing was I forgot how to create textboxes and
>> what
>> >> >> not
>> >> >> >> and
>> >> >> >> >> I
>> >> >> >> >>
>> >> >> >> >> >> haven't touched JavaScript for a bit. Since I'm taking a
>> >> course
>> >> >> in
>> >> >> >> >> Java
>> >> >> >> >> I
>> >> >> >> >> >> decided to do an Applet. However, you are right that its a
>> >> lot
>> >> >> more
>> >> >> >> >> >> inefficient, so therefore I (thanks to google) found out
>> how
>> >> to
>> >> >> >> create
>> >> >> >> >> >> textboxes and relate everything together to get it right.
>> So
>> >> now
>> >> >> I
>> >> >> >> >> have
>> >> >> >> >> >> it
>> >> >> >> >> >> I'll try to post it again on the ghop site and I'll also
>> >> e-mail
>> >> >> you
>> >> >> >> a
>> >> >> >> >> >> copy.
>> >> >> >> >> >>
>> >> >> >> >> >
>> >> >> >> >> > great.
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >>
>> >> >> >> >> >> If you are going to use flash, I have no knowledge of how
>> to
>> >> >> code
>> >> >> >> in
>> >> >> >> >> >> flash,
>> >> >> >> >> >> in which case I can't take the task. I'll try and see if I
>> >> can
>> >> >> >> upload
>> >> >> >> >> it
>> >> >> >> >> >> on
>> >> >> >> >> >> Confluence also.
>> >> >> >> >> >>
>> >> >> >> >> >
>> >> >> >> >> > no worries, it was merely a suggestion for an alternative
>> >> route.
>> >> >> >> imho,
>> >> >> >> >> > javascript
>> >> >> >> >> > is clearly the best way to handle this.
>> >> >> >> >> >
>> >> >> >> >> >   Gerolf
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >> Thanks,
>> >> >> >> >> >> Sravan Suryadevara
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >> >> Gerolf Seitz wrote:
>> >> >> >> >> >> >
>> >> >> >> >> >> > hm, i can only download a .dat file. when i open it,
>> after
>> >> i
>> >> >> had
>> >> >> >> >> >> renamed
>> >> >> >> >> >> > it
>> >> >> >> >> >> > to .html, it crashed my firefox :(
>> >> >> >> >> >> >
>> >> >> >> >> >> > another question: in the task description it is stated
>> that
>> >> >> this
>> >> >> >> can
>> >> >> >> >> >> (and
>> >> >> >> >> >> > probably should) be solved with javascript.
>> >> >> >> >> >> > is there a specific reason why you went the java applet
>> >> route?
>> >> >> >> that
>> >> >> >> >> >> seems
>> >> >> >> >> >> > a
>> >> >> >> >> >> > little bit of an overkill for that task.
>> >> >> >> >> >> > javascript also gets loaded way faster than applets.
>> >> >> >> >> >> >
>> >> >> >> >> >> > if there is no way for us to include javascript in
>> >> confluence,
>> >> >> >> flash
>> >> >> >> >> >> might
>> >> >> >> >> >> > be another solution?
>> >> >> >> >> >> >
>> >> >> >> >> >> > any comments?
>> >> >> >> >> >> >
>> >> >> >> >> >> >   Gerolf
>> >> >> >> >> >> >
>> >> >> >> >> >> >
>> >> >> >> >> >> > On Dec 3, 2007 10:46 PM, popnbrown
>> >> >> <sr...@gmail.com>
>> >> >> >> >> >> wrote:
>> >> >> >> >> >> >
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> I can't get the file uploader to work here, so here's a
>> >> link
>> >> >> to
>> >> >> >> the
>> >> >> >> >> >> issue
>> >> >> >> >> >> >> at
>> >> >> >> >> >> >> GHOP with the attatchment[0]
>> >> >> >> >> >> >> It's attatched to comment #6.
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> Thanks,
>> >> >> >> >> >> >> Sravan Suryadevara
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> [0]
>> >> >> >> >> >> >>
>> >> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6
>> >> >> >> >>
>> >> >> >> >> >> >>
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> popnbrown wrote:
>> >> >> >> >> >> >> >
>> >> >> >> >> >> >> > No I did'nt. I was actually trying to see if what I
>> >> write
>> >> >> >> works
>> >> >> >> >> in
>> >> >> >> >> >> like
>> >> >> >> >> >> >> a
>> >> >> >> >> >> >> > day or two and then put the code into the quickstart
>> >> page.
>> >> >> >> >> >> >> >
>> >> >> >> >> >> >> > By the way, I have no idea how to edit that page to
>> >> write
>> >> >> >> >> >> >> Javascript/HTML
>> >> >> >> >> >> >> > code without taking the source code of the page and
>> >> saving
>> >> >> it
>> >> >> >> on
>> >> >> >> >> my
>> >> >> >> >> >> >> > computer, which should work for you guys, so I can
>> >> e-mail
>> >> >> the
>> >> >> >> >> >> >> > quickstart.html to you guys. It's just easier for me
>> to
>> >> >> work
>> >> >> >> on
>> >> >> >> >> >> since
>> >> >> >> >> >> I
>> >> >> >> >> >> >> > can take it everywhere with me.
>> >> >> >> >> >> >> >
>> >> >> >> >> >> >> > And the problem is a lot bigger cause the command
>> line
>> >> >> >> replaces
>> >> >> >> >> >> >> everything
>> >> >> >> >> >> >> > on the page. I am going to upload the
>> >> quickstart.htmlwith
>> >> >> the
>> >> >> >> >> added
>> >> >> >> >> >> in
>> >> >> >> >> >> >> > components.
>> >> >> >> >> >> >> >
>> >> >> >> >> >> >> >
>> >> >> >> >> >> >> > Martijn Dashorst wrote:
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >> I don't see it here:
>> >> >> >> >> >> >> >>
>> >> >> >> >>
>> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>> >> >> >> >> >> >> >> Are you editing the page in the link above? It was
>> >> meant
>> >> >> for
>> >> >> >> >> that
>> >> >> >> >> >> ;)
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >> Martijn
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >> On Dec 3, 2007 9:05 PM, popnbrown <
>> >> >> >> sravan.suryadevara@gmail.com>
>> >> >> >> >> >> >> wrote:
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> Status Report:
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> So far I have the text box fields for GroupId and
>> >> >> ArtifactId
>> >> >> >> >> and
>> >> >> >> >> a
>> >> >> >> >> >> >> >>> button
>> >> >> >> >> >> >> >>> to
>> >> >> >> >> >> >> >>> click that will generate the command line. However,
>> >> when
>> >> >> the
>> >> >> >> >> >> button
>> >> >> >> >> >> >> is
>> >> >> >> >> >> >> >>> clicked the applet and button get replaced by the
>> >> command
>> >> >> >> line.
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> That might be a little frustrating for the user
>> >> because
>> >> >> >> he/she
>> >> >> >> >> >> would
>> >> >> >> >> >> >> >>> have
>> >> >> >> >> >> >> >>> to
>> >> >> >> >> >> >> >>> refresh to re-create a new line, so right now I am
>> >> trying
>> >> >> to
>> >> >> >> >> write
>> >> >> >> >> >> >> the
>> >> >> >> >> >> >> >>> line
>> >> >> >> >> >> >> >>> below the button.
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> Tips would help!!!
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> Martijn Dashorst wrote:
>> >> >> >> >> >> >> >>> >
>> >> >> >> >> >> >> >>> > The current quickstart page shows a commandline
>> that
>> >> is
>> >> >> >> not
>> >> >> >> >> very
>> >> >> >> >> >> >> >>> friendly
>> >> >> >> >> >> >> >>> > to
>> >> >> >> >> >> >> >>> > edit by hand: you have to unwrap the lines and
>> >> figure
>> >> >> out
>> >> >> >> >> which
>> >> >> >> >> >> >> parts
>> >> >> >> >> >> >> >>> need
>> >> >> >> >> >> >> >>> > to be changed. This task will add to the example
>> two
>> >> >> >> >> textboxes
>> >> >> >> >> >> and
>> >> >> >> >> >> >> a
>> >> >> >> >> >> >> >>> bit
>> >> >> >> >> >> >> >>> > of
>> >> >> >> >> >> >> >>> > Javascript to generate the maven command ready to
>> >> >> >> copy/paste
>> >> >> >> >> to
>> >> >> >> >> >> a
>> >> >> >> >> >> >> dos
>> >> >> >> >> >> >> >>> box
>> >> >> >> >> >> >> >>> > (or unix commandline).
>> >> >> >> >> >> >> >>> > It should ask for the groupId and the artifactId
>> and
>> >> >> >> generate
>> >> >> >> >> >> the
>> >> >> >> >> >> >> >>> > resulting
>> >> >> >> >> >> >> >>> > commandline. It should also be able to be run
>> inside
>> >> a
>> >> >> >> >> >> confluence
>> >> >> >> >> >> >> wiki
>> >> >> >> >> >> >> >>> > page.
>> >> >> >> >> >> >> >>> > The student can test using the Wicket confluence
>> >> wiki.
>> >> >> We
>> >> >> >> >> will
>> >> >> >> >>
>> >> >> >> >> >> move
>> >> >> >> >> >> >> >>> the
>> >> >> >> >> >> >> >>> > page
>> >> >> >> >> >> >> >>> > when ready to the official space.
>> >> >> >> >> >> >> >>> >
>> >> >> >> >> >> >> >>> > References:
>> >> >> >> >> >> >> >>> >  - Official Quickstart page:
>> >> >> >> >> >> >> http://wicket.apache.org/quickstart.html
>> >> >> >> >> >> >> >>> >  - The GHOP Quickstart page open for editing by
>> the
>> >> >> >> student:
>> >> >> >> >> >> GHOP
>> >> >> >> >> >> -
>> >> >> >> >> >> >> >>> > quickstart<
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >>
>> >> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>> >> >> >> >> >> >
>> >> >> >> >> >> >> >>> >
>> >> >> >> >> >> >> >>> > Martijn
>> >> >> >> >> >> >> >>> >
>> >> >> >> >> >> >> >>> > --
>> >> >> >> >> >> >> >>> > Buy Wicket in Action: http://manning.com/dashorst
>> >> >> >> >> >> >> >>> > Apache Wicket 1.3.0-rc1 is released
>> >> >> >> >> >> >> >>> > Get it now:
>> >> >> >> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>> >> >> >> >> >> >> >>> >
>> >> >> >> >> >> >> >>> >
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> --
>> >> >> >> >> >> >> >>> View this message in context:
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
>> >> >> >> >>
>> >> >> >> >> >> >> >>> Sent from the Wicket - Dev mailing list archive at
>> >> >> >> Nabble.com
>> >> >> >> .
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >> --
>> >> >> >> >> >> >> >> Buy Wicket in Action: http://manning.com/dashorst
>> >> >> >> >> >> >> >> Apache Wicket 1.3.0-rc1 is released
>> >> >> >> >> >> >> >> Get it now:
>> >> >> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>> >> >> >> >>
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >  http://www.nabble.com/file/p14139504/quickstart.html
>> >> >> >> >> >> quickstart.html
>> >> >> >> >> >> >> >
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> --
>> >> >> >> >> >> >> View this message in context:
>> >> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
>> >> >> >> >> >> >> Sent from the Wicket - Dev mailing list archive at
>> >> >> Nabble.com.
>> >> >> >> >> >> >>
>> >> >> >> >> >> >>
>> >> >> >> >> >> >
>> >> >> >> >> >> >
>> >> >> >> >> >>
>> >> >> >> >> >> --
>> >> >> >> >> >> View this message in context:
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14140386
>> >> >> >> >> >> Sent from the Wicket - Dev mailing list archive at
>> >> Nabble.com.
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >>
>> >> >> >> >> --
>> >> >> >> >> View this message in context:
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14141363
>> >> >> >> >> Sent from the Wicket - Dev mailing list archive at
>> Nabble.com.
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >> --
>> >> >> >> View this message in context:
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14142196
>> >> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143550
>> >> >>
>> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143731
>> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14149004
>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14149096
Sent from the Wicket - Dev mailing list archive at Nabble.com.


Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by Gerolf Seitz <ge...@gmail.com>.
On Dec 4, 2007 12:28 PM, popnbrown <sr...@gmail.com> wrote:

>
> Thank you.
>
> Darn, now I have nothing to do. Guess I'll do some screencasts.
>

that's a great idea.

i'm sorry, but i did some more gold plating to the cmdline generation ;)

Martijn, could you update WICKETxSITE again, or give me karma to do so?

  Gerolf


>
> Great working with everyone on this task,
> Sravan Suryadevara
>
>
> Gerolf Seitz wrote:
> >
> > hi,
> >
> > i think it's good now. i completed the task.
> > thanks for your contribution.
> >
> > Cheers,
> >   Gerolf
> >
> > On Dec 4, 2007 4:00 AM, popnbrown <sr...@gmail.com> wrote:
> >
> >>
> >> tried that to doesnt work.
> >> What does work is onkeyup.
> >> My guess is that the javascript method reads the textfield after the
> key
> >> is
> >> released which is when you need to call, because when you are pressing
> >> down
> >> the input has not "technically" been entered into the textfield?
> >>
> >> Also further update: I have gotten the "Command Line: " to stay and
> >> before
> >> as soon as the page loads the textfields are automatically given a
> value
> >> correpsonding to the example (groupId = com.mycompany and artifactId =
> >> myproject) and the command line for the given groupId and artifactId is
> >> also
> >> shown underneath a command line.
> >>
> >> Again a link:
> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> >>
> >> Anything else anyone wants to add on?
> >>
> >> Thanks,
> >> Sravan Suryadevara
> >>
> >>
> >>
> >> igor.vaynberg wrote:
> >> >
> >> > try onkeydown :)
> >> >
> >> > -igor
> >> >
> >> >
> >> > On Dec 3, 2007 6:41 PM, popnbrown <sr...@gmail.com>
> wrote:
> >> >>
> >> >> Tried onkeypress only works if the textfield is in a form and also
> >> >> there's a
> >> >> delay for example:
> >> >>
> >> >> you type in 'u' nothing will happen then you press 'o' the command
> >> line
> >> >> will
> >> >> show up with the 'u' in the groupId part
> >> >>
> >> >>
> >> >>
> >> >> Gerolf Seitz wrote:
> >> >> >
> >> >> > On Dec 4, 2007 1:33 AM, popnbrown <sr...@gmail.com>
> >> wrote:
> >> >> >
> >> >> >>
> >> >> >> There we go, I believe it works now.
> >> >> >
> >> >> >
> >> >> > excellent. works like a charm ;)
> >> >> >
> >> >> > it would be nice if the user wouldn't have to click a button, but
> >> the
> >> >> > command line is
> >> >> > automatically updated (either onblur or onkeypress, ...)
> >> >> >
> >> >> > btw, the form is not necessary, because there is no form submit
> >> >> involved
> >> >> > (it
> >> >> > would need
> >> >> > a close tag anyway ;) )
> >> >> >
> >> >> > great work so far, now comes the polishing.
> >> >> >
> >> >> >   Gerolf
> >> >> >
> >> >> >
> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> >> >> >>
> >> >> >> Want me to make an official statement on the ghop site?
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >> Thanks,
> >> >> >> Sravan Suryadevara
> >> >> >>
> >> >> >> Gerolf Seitz wrote:
> >> >> >> >
> >> >> >> > hi,
> >> >> >> > you can include any html and javascript the following way:
> >> >> >> >
> >> >> >> > {html:output=html}
> >> >> >> > <script>document.write("test");</script>
> >> >> >> > <input type="text" id="groupId"/>
> >> >> >> > {html}
> >> >> >> >
> >> >> >> > hth,
> >> >> >> >   Gerolf
> >> >> >> >
> >> >> >> > On Dec 4, 2007 12:31 AM, popnbrown <
> sravan.suryadevara@gmail.com>
> >> >> >> wrote:
> >> >> >> >
> >> >> >> >>
> >> >> >> >> Ok so latest latest update. I was browsing the Confluence
> forums
> >> >> and
> >> >> >> >> apparently there have been attempts to use javascript code on
> >> >> >> Confluence
> >> >> >> >> pages and I e-mailed one of the guys about it, and I'm hoping
> >> for
> >> a
> >> >> >> reply
> >> >> >> >> tonight if not, tommorrow.
> >> >> >> >> Besides that do you know what people mean when they say "the
> >> html
> >> >> >> plugin"
> >> >> >> >> for Confluence?
> >> >> >> >>
> >> >> >> >> Thanks,
> >> >> >> >> Sravan Suryadevara
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> Gerolf Seitz wrote:
> >> >> >> >> >
> >> >> >> >> > On Dec 4, 2007 12:03 AM, popnbrown <
> >> sravan.suryadevara@gmail.com>
> >> >> >> >> wrote:
> >> >> >> >> >
> >> >> >> >> >>
> >> >> >> >> >> Well, the thing was I forgot how to create textboxes and
> what
> >> >> not
> >> >> >> and
> >> >> >> >> I
> >> >> >> >>
> >> >> >> >> >> haven't touched JavaScript for a bit. Since I'm taking a
> >> course
> >> >> in
> >> >> >> >> Java
> >> >> >> >> I
> >> >> >> >> >> decided to do an Applet. However, you are right that its a
> >> lot
> >> >> more
> >> >> >> >> >> inefficient, so therefore I (thanks to google) found out
> how
> >> to
> >> >> >> create
> >> >> >> >> >> textboxes and relate everything together to get it right.
> So
> >> now
> >> >> I
> >> >> >> >> have
> >> >> >> >> >> it
> >> >> >> >> >> I'll try to post it again on the ghop site and I'll also
> >> e-mail
> >> >> you
> >> >> >> a
> >> >> >> >> >> copy.
> >> >> >> >> >>
> >> >> >> >> >
> >> >> >> >> > great.
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >>
> >> >> >> >> >> If you are going to use flash, I have no knowledge of how
> to
> >> >> code
> >> >> >> in
> >> >> >> >> >> flash,
> >> >> >> >> >> in which case I can't take the task. I'll try and see if I
> >> can
> >> >> >> upload
> >> >> >> >> it
> >> >> >> >> >> on
> >> >> >> >> >> Confluence also.
> >> >> >> >> >>
> >> >> >> >> >
> >> >> >> >> > no worries, it was merely a suggestion for an alternative
> >> route.
> >> >> >> imho,
> >> >> >> >> > javascript
> >> >> >> >> > is clearly the best way to handle this.
> >> >> >> >> >
> >> >> >> >> >   Gerolf
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >> Thanks,
> >> >> >> >> >> Sravan Suryadevara
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >> Gerolf Seitz wrote:
> >> >> >> >> >> >
> >> >> >> >> >> > hm, i can only download a .dat file. when i open it,
> after
> >> i
> >> >> had
> >> >> >> >> >> renamed
> >> >> >> >> >> > it
> >> >> >> >> >> > to .html, it crashed my firefox :(
> >> >> >> >> >> >
> >> >> >> >> >> > another question: in the task description it is stated
> that
> >> >> this
> >> >> >> can
> >> >> >> >> >> (and
> >> >> >> >> >> > probably should) be solved with javascript.
> >> >> >> >> >> > is there a specific reason why you went the java applet
> >> route?
> >> >> >> that
> >> >> >> >> >> seems
> >> >> >> >> >> > a
> >> >> >> >> >> > little bit of an overkill for that task.
> >> >> >> >> >> > javascript also gets loaded way faster than applets.
> >> >> >> >> >> >
> >> >> >> >> >> > if there is no way for us to include javascript in
> >> confluence,
> >> >> >> flash
> >> >> >> >> >> might
> >> >> >> >> >> > be another solution?
> >> >> >> >> >> >
> >> >> >> >> >> > any comments?
> >> >> >> >> >> >
> >> >> >> >> >> >   Gerolf
> >> >> >> >> >> >
> >> >> >> >> >> >
> >> >> >> >> >> > On Dec 3, 2007 10:46 PM, popnbrown
> >> >> <sr...@gmail.com>
> >> >> >> >> >> wrote:
> >> >> >> >> >> >
> >> >> >> >> >> >>
> >> >> >> >> >> >> I can't get the file uploader to work here, so here's a
> >> link
> >> >> to
> >> >> >> the
> >> >> >> >> >> issue
> >> >> >> >> >> >> at
> >> >> >> >> >> >> GHOP with the attatchment[0]
> >> >> >> >> >> >> It's attatched to comment #6.
> >> >> >> >> >> >>
> >> >> >> >> >> >> Thanks,
> >> >> >> >> >> >> Sravan Suryadevara
> >> >> >> >> >> >>
> >> >> >> >> >> >> [0]
> >> >> >> >> >> >>
> >> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6
> >> >> >> >>
> >> >> >> >> >> >>
> >> >> >> >> >> >>
> >> >> >> >> >> >> popnbrown wrote:
> >> >> >> >> >> >> >
> >> >> >> >> >> >> > No I did'nt. I was actually trying to see if what I
> >> write
> >> >> >> works
> >> >> >> >> in
> >> >> >> >> >> like
> >> >> >> >> >> >> a
> >> >> >> >> >> >> > day or two and then put the code into the quickstart
> >> page.
> >> >> >> >> >> >> >
> >> >> >> >> >> >> > By the way, I have no idea how to edit that page to
> >> write
> >> >> >> >> >> >> Javascript/HTML
> >> >> >> >> >> >> > code without taking the source code of the page and
> >> saving
> >> >> it
> >> >> >> on
> >> >> >> >> my
> >> >> >> >> >> >> > computer, which should work for you guys, so I can
> >> e-mail
> >> >> the
> >> >> >> >> >> >> > quickstart.html to you guys. It's just easier for me
> to
> >> >> work
> >> >> >> on
> >> >> >> >> >> since
> >> >> >> >> >> I
> >> >> >> >> >> >> > can take it everywhere with me.
> >> >> >> >> >> >> >
> >> >> >> >> >> >> > And the problem is a lot bigger cause the command line
> >> >> >> replaces
> >> >> >> >> >> >> everything
> >> >> >> >> >> >> > on the page. I am going to upload the
> >> quickstart.htmlwith
> >> >> the
> >> >> >> >> added
> >> >> >> >> >> in
> >> >> >> >> >> >> > components.
> >> >> >> >> >> >> >
> >> >> >> >> >> >> >
> >> >> >> >> >> >> > Martijn Dashorst wrote:
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >> I don't see it here:
> >> >> >> >> >> >> >>
> >> >> >> >>
> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> >> >> >> >> >> >> >> Are you editing the page in the link above? It was
> >> meant
> >> >> for
> >> >> >> >> that
> >> >> >> >> >> ;)
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >> Martijn
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >> On Dec 3, 2007 9:05 PM, popnbrown <
> >> >> >> sravan.suryadevara@gmail.com>
> >> >> >> >> >> >> wrote:
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> Status Report:
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> So far I have the text box fields for GroupId and
> >> >> ArtifactId
> >> >> >> >> and
> >> >> >> >> a
> >> >> >> >> >> >> >>> button
> >> >> >> >> >> >> >>> to
> >> >> >> >> >> >> >>> click that will generate the command line. However,
> >> when
> >> >> the
> >> >> >> >> >> button
> >> >> >> >> >> >> is
> >> >> >> >> >> >> >>> clicked the applet and button get replaced by the
> >> command
> >> >> >> line.
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> That might be a little frustrating for the user
> >> because
> >> >> >> he/she
> >> >> >> >> >> would
> >> >> >> >> >> >> >>> have
> >> >> >> >> >> >> >>> to
> >> >> >> >> >> >> >>> refresh to re-create a new line, so right now I am
> >> trying
> >> >> to
> >> >> >> >> write
> >> >> >> >> >> >> the
> >> >> >> >> >> >> >>> line
> >> >> >> >> >> >> >>> below the button.
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> Tips would help!!!
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> Martijn Dashorst wrote:
> >> >> >> >> >> >> >>> >
> >> >> >> >> >> >> >>> > The current quickstart page shows a commandline
> that
> >> is
> >> >> >> not
> >> >> >> >> very
> >> >> >> >> >> >> >>> friendly
> >> >> >> >> >> >> >>> > to
> >> >> >> >> >> >> >>> > edit by hand: you have to unwrap the lines and
> >> figure
> >> >> out
> >> >> >> >> which
> >> >> >> >> >> >> parts
> >> >> >> >> >> >> >>> need
> >> >> >> >> >> >> >>> > to be changed. This task will add to the example
> two
> >> >> >> >> textboxes
> >> >> >> >> >> and
> >> >> >> >> >> >> a
> >> >> >> >> >> >> >>> bit
> >> >> >> >> >> >> >>> > of
> >> >> >> >> >> >> >>> > Javascript to generate the maven command ready to
> >> >> >> copy/paste
> >> >> >> >> to
> >> >> >> >> >> a
> >> >> >> >> >> >> dos
> >> >> >> >> >> >> >>> box
> >> >> >> >> >> >> >>> > (or unix commandline).
> >> >> >> >> >> >> >>> > It should ask for the groupId and the artifactId
> and
> >> >> >> generate
> >> >> >> >> >> the
> >> >> >> >> >> >> >>> > resulting
> >> >> >> >> >> >> >>> > commandline. It should also be able to be run
> inside
> >> a
> >> >> >> >> >> confluence
> >> >> >> >> >> >> wiki
> >> >> >> >> >> >> >>> > page.
> >> >> >> >> >> >> >>> > The student can test using the Wicket confluence
> >> wiki.
> >> >> We
> >> >> >> >> will
> >> >> >> >>
> >> >> >> >> >> move
> >> >> >> >> >> >> >>> the
> >> >> >> >> >> >> >>> > page
> >> >> >> >> >> >> >>> > when ready to the official space.
> >> >> >> >> >> >> >>> >
> >> >> >> >> >> >> >>> > References:
> >> >> >> >> >> >> >>> >  - Official Quickstart page:
> >> >> >> >> >> >> http://wicket.apache.org/quickstart.html
> >> >> >> >> >> >> >>> >  - The GHOP Quickstart page open for editing by
> the
> >> >> >> student:
> >> >> >> >> >> GHOP
> >> >> >> >> >> -
> >> >> >> >> >> >> >>> > quickstart<
> >> >> >> >> >> >> >>>
> >> >> >> >> >>
> >> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> >> >> >> >> >> >
> >> >> >> >> >> >> >>> >
> >> >> >> >> >> >> >>> > Martijn
> >> >> >> >> >> >> >>> >
> >> >> >> >> >> >> >>> > --
> >> >> >> >> >> >> >>> > Buy Wicket in Action: http://manning.com/dashorst
> >> >> >> >> >> >> >>> > Apache Wicket 1.3.0-rc1 is released
> >> >> >> >> >> >> >>> > Get it now:
> >> >> >> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> >> >> >> >> >> >> >>> >
> >> >> >> >> >> >> >>> >
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> --
> >> >> >> >> >> >> >>> View this message in context:
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
> >> >> >> >>
> >> >> >> >> >> >> >>> Sent from the Wicket - Dev mailing list archive at
> >> >> >> Nabble.com
> >> >> >> .
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >> --
> >> >> >> >> >> >> >> Buy Wicket in Action: http://manning.com/dashorst
> >> >> >> >> >> >> >> Apache Wicket 1.3.0-rc1 is released
> >> >> >> >> >> >> >> Get it now:
> >> >> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> >> >> >> >>
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >  http://www.nabble.com/file/p14139504/quickstart.html
> >> >> >> >> >> quickstart.html
> >> >> >> >> >> >> >
> >> >> >> >> >> >>
> >> >> >> >> >> >> --
> >> >> >> >> >> >> View this message in context:
> >> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
> >> >> >> >> >> >> Sent from the Wicket - Dev mailing list archive at
> >> >> Nabble.com.
> >> >> >> >> >> >>
> >> >> >> >> >> >>
> >> >> >> >> >> >
> >> >> >> >> >> >
> >> >> >> >> >>
> >> >> >> >> >> --
> >> >> >> >> >> View this message in context:
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14140386
> >> >> >> >> >> Sent from the Wicket - Dev mailing list archive at
> >> Nabble.com.
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >>
> >> >> >> >> --
> >> >> >> >> View this message in context:
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14141363
> >> >> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >> >> >> >>
> >> >> >> >>
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14142196
> >> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143550
> >> >>
> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143731
> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14149004
> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>
>

Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by popnbrown <sr...@gmail.com>.
Thank you.

Darn, now I have nothing to do. Guess I'll do some screencasts.

Great working with everyone on this task,
Sravan Suryadevara


Gerolf Seitz wrote:
> 
> hi,
> 
> i think it's good now. i completed the task.
> thanks for your contribution.
> 
> Cheers,
>   Gerolf
> 
> On Dec 4, 2007 4:00 AM, popnbrown <sr...@gmail.com> wrote:
> 
>>
>> tried that to doesnt work.
>> What does work is onkeyup.
>> My guess is that the javascript method reads the textfield after the key
>> is
>> released which is when you need to call, because when you are pressing
>> down
>> the input has not "technically" been entered into the textfield?
>>
>> Also further update: I have gotten the "Command Line: " to stay and
>> before
>> as soon as the page loads the textfields are automatically given a value
>> correpsonding to the example (groupId = com.mycompany and artifactId =
>> myproject) and the command line for the given groupId and artifactId is
>> also
>> shown underneath a command line.
>>
>> Again a link:
>> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>>
>> Anything else anyone wants to add on?
>>
>> Thanks,
>> Sravan Suryadevara
>>
>>
>>
>> igor.vaynberg wrote:
>> >
>> > try onkeydown :)
>> >
>> > -igor
>> >
>> >
>> > On Dec 3, 2007 6:41 PM, popnbrown <sr...@gmail.com> wrote:
>> >>
>> >> Tried onkeypress only works if the textfield is in a form and also
>> >> there's a
>> >> delay for example:
>> >>
>> >> you type in 'u' nothing will happen then you press 'o' the command
>> line
>> >> will
>> >> show up with the 'u' in the groupId part
>> >>
>> >>
>> >>
>> >> Gerolf Seitz wrote:
>> >> >
>> >> > On Dec 4, 2007 1:33 AM, popnbrown <sr...@gmail.com>
>> wrote:
>> >> >
>> >> >>
>> >> >> There we go, I believe it works now.
>> >> >
>> >> >
>> >> > excellent. works like a charm ;)
>> >> >
>> >> > it would be nice if the user wouldn't have to click a button, but
>> the
>> >> > command line is
>> >> > automatically updated (either onblur or onkeypress, ...)
>> >> >
>> >> > btw, the form is not necessary, because there is no form submit
>> >> involved
>> >> > (it
>> >> > would need
>> >> > a close tag anyway ;) )
>> >> >
>> >> > great work so far, now comes the polishing.
>> >> >
>> >> >   Gerolf
>> >> >
>> >> > http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>> >> >>
>> >> >> Want me to make an official statement on the ghop site?
>> >> >>
>> >> >>
>> >> >>
>> >> >
>> >> >> Thanks,
>> >> >> Sravan Suryadevara
>> >> >>
>> >> >> Gerolf Seitz wrote:
>> >> >> >
>> >> >> > hi,
>> >> >> > you can include any html and javascript the following way:
>> >> >> >
>> >> >> > {html:output=html}
>> >> >> > <script>document.write("test");</script>
>> >> >> > <input type="text" id="groupId"/>
>> >> >> > {html}
>> >> >> >
>> >> >> > hth,
>> >> >> >   Gerolf
>> >> >> >
>> >> >> > On Dec 4, 2007 12:31 AM, popnbrown <sr...@gmail.com>
>> >> >> wrote:
>> >> >> >
>> >> >> >>
>> >> >> >> Ok so latest latest update. I was browsing the Confluence forums
>> >> and
>> >> >> >> apparently there have been attempts to use javascript code on
>> >> >> Confluence
>> >> >> >> pages and I e-mailed one of the guys about it, and I'm hoping
>> for
>> a
>> >> >> reply
>> >> >> >> tonight if not, tommorrow.
>> >> >> >> Besides that do you know what people mean when they say "the
>> html
>> >> >> plugin"
>> >> >> >> for Confluence?
>> >> >> >>
>> >> >> >> Thanks,
>> >> >> >> Sravan Suryadevara
>> >> >> >>
>> >> >> >>
>> >> >> >> Gerolf Seitz wrote:
>> >> >> >> >
>> >> >> >> > On Dec 4, 2007 12:03 AM, popnbrown <
>> sravan.suryadevara@gmail.com>
>> >> >> >> wrote:
>> >> >> >> >
>> >> >> >> >>
>> >> >> >> >> Well, the thing was I forgot how to create textboxes and what
>> >> not
>> >> >> and
>> >> >> >> I
>> >> >> >>
>> >> >> >> >> haven't touched JavaScript for a bit. Since I'm taking a
>> course
>> >> in
>> >> >> >> Java
>> >> >> >> I
>> >> >> >> >> decided to do an Applet. However, you are right that its a
>> lot
>> >> more
>> >> >> >> >> inefficient, so therefore I (thanks to google) found out how
>> to
>> >> >> create
>> >> >> >> >> textboxes and relate everything together to get it right. So
>> now
>> >> I
>> >> >> >> have
>> >> >> >> >> it
>> >> >> >> >> I'll try to post it again on the ghop site and I'll also
>> e-mail
>> >> you
>> >> >> a
>> >> >> >> >> copy.
>> >> >> >> >>
>> >> >> >> >
>> >> >> >> > great.
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >>
>> >> >> >> >> If you are going to use flash, I have no knowledge of how to
>> >> code
>> >> >> in
>> >> >> >> >> flash,
>> >> >> >> >> in which case I can't take the task. I'll try and see if I
>> can
>> >> >> upload
>> >> >> >> it
>> >> >> >> >> on
>> >> >> >> >> Confluence also.
>> >> >> >> >>
>> >> >> >> >
>> >> >> >> > no worries, it was merely a suggestion for an alternative
>> route.
>> >> >> imho,
>> >> >> >> > javascript
>> >> >> >> > is clearly the best way to handle this.
>> >> >> >> >
>> >> >> >> >   Gerolf
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >> Thanks,
>> >> >> >> >> Sravan Suryadevara
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> Gerolf Seitz wrote:
>> >> >> >> >> >
>> >> >> >> >> > hm, i can only download a .dat file. when i open it, after
>> i
>> >> had
>> >> >> >> >> renamed
>> >> >> >> >> > it
>> >> >> >> >> > to .html, it crashed my firefox :(
>> >> >> >> >> >
>> >> >> >> >> > another question: in the task description it is stated that
>> >> this
>> >> >> can
>> >> >> >> >> (and
>> >> >> >> >> > probably should) be solved with javascript.
>> >> >> >> >> > is there a specific reason why you went the java applet
>> route?
>> >> >> that
>> >> >> >> >> seems
>> >> >> >> >> > a
>> >> >> >> >> > little bit of an overkill for that task.
>> >> >> >> >> > javascript also gets loaded way faster than applets.
>> >> >> >> >> >
>> >> >> >> >> > if there is no way for us to include javascript in
>> confluence,
>> >> >> flash
>> >> >> >> >> might
>> >> >> >> >> > be another solution?
>> >> >> >> >> >
>> >> >> >> >> > any comments?
>> >> >> >> >> >
>> >> >> >> >> >   Gerolf
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > On Dec 3, 2007 10:46 PM, popnbrown
>> >> <sr...@gmail.com>
>> >> >> >> >> wrote:
>> >> >> >> >> >
>> >> >> >> >> >>
>> >> >> >> >> >> I can't get the file uploader to work here, so here's a
>> link
>> >> to
>> >> >> the
>> >> >> >> >> issue
>> >> >> >> >> >> at
>> >> >> >> >> >> GHOP with the attatchment[0]
>> >> >> >> >> >> It's attatched to comment #6.
>> >> >> >> >> >>
>> >> >> >> >> >> Thanks,
>> >> >> >> >> >> Sravan Suryadevara
>> >> >> >> >> >>
>> >> >> >> >> >> [0]
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6
>> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >> >> popnbrown wrote:
>> >> >> >> >> >> >
>> >> >> >> >> >> > No I did'nt. I was actually trying to see if what I
>> write
>> >> >> works
>> >> >> >> in
>> >> >> >> >> like
>> >> >> >> >> >> a
>> >> >> >> >> >> > day or two and then put the code into the quickstart
>> page.
>> >> >> >> >> >> >
>> >> >> >> >> >> > By the way, I have no idea how to edit that page to
>> write
>> >> >> >> >> >> Javascript/HTML
>> >> >> >> >> >> > code without taking the source code of the page and
>> saving
>> >> it
>> >> >> on
>> >> >> >> my
>> >> >> >> >> >> > computer, which should work for you guys, so I can
>> e-mail
>> >> the
>> >> >> >> >> >> > quickstart.html to you guys. It's just easier for me to
>> >> work
>> >> >> on
>> >> >> >> >> since
>> >> >> >> >> I
>> >> >> >> >> >> > can take it everywhere with me.
>> >> >> >> >> >> >
>> >> >> >> >> >> > And the problem is a lot bigger cause the command line
>> >> >> replaces
>> >> >> >> >> >> everything
>> >> >> >> >> >> > on the page. I am going to upload the
>> quickstart.htmlwith
>> >> the
>> >> >> >> added
>> >> >> >> >> in
>> >> >> >> >> >> > components.
>> >> >> >> >> >> >
>> >> >> >> >> >> >
>> >> >> >> >> >> > Martijn Dashorst wrote:
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> I don't see it here:
>> >> >> >> >> >> >>
>> >> >> >>
>> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>> >> >> >> >> >> >> Are you editing the page in the link above? It was
>> meant
>> >> for
>> >> >> >> that
>> >> >> >> >> ;)
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> Martijn
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> On Dec 3, 2007 9:05 PM, popnbrown <
>> >> >> sravan.suryadevara@gmail.com>
>> >> >> >> >> >> wrote:
>> >> >> >> >> >> >>
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> Status Report:
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> So far I have the text box fields for GroupId and
>> >> ArtifactId
>> >> >> >> and
>> >> >> >> a
>> >> >> >> >> >> >>> button
>> >> >> >> >> >> >>> to
>> >> >> >> >> >> >>> click that will generate the command line. However,
>> when
>> >> the
>> >> >> >> >> button
>> >> >> >> >> >> is
>> >> >> >> >> >> >>> clicked the applet and button get replaced by the
>> command
>> >> >> line.
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> That might be a little frustrating for the user
>> because
>> >> >> he/she
>> >> >> >> >> would
>> >> >> >> >> >> >>> have
>> >> >> >> >> >> >>> to
>> >> >> >> >> >> >>> refresh to re-create a new line, so right now I am
>> trying
>> >> to
>> >> >> >> write
>> >> >> >> >> >> the
>> >> >> >> >> >> >>> line
>> >> >> >> >> >> >>> below the button.
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> Tips would help!!!
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> Martijn Dashorst wrote:
>> >> >> >> >> >> >>> >
>> >> >> >> >> >> >>> > The current quickstart page shows a commandline that
>> is
>> >> >> not
>> >> >> >> very
>> >> >> >> >> >> >>> friendly
>> >> >> >> >> >> >>> > to
>> >> >> >> >> >> >>> > edit by hand: you have to unwrap the lines and
>> figure
>> >> out
>> >> >> >> which
>> >> >> >> >> >> parts
>> >> >> >> >> >> >>> need
>> >> >> >> >> >> >>> > to be changed. This task will add to the example two
>> >> >> >> textboxes
>> >> >> >> >> and
>> >> >> >> >> >> a
>> >> >> >> >> >> >>> bit
>> >> >> >> >> >> >>> > of
>> >> >> >> >> >> >>> > Javascript to generate the maven command ready to
>> >> >> copy/paste
>> >> >> >> to
>> >> >> >> >> a
>> >> >> >> >> >> dos
>> >> >> >> >> >> >>> box
>> >> >> >> >> >> >>> > (or unix commandline).
>> >> >> >> >> >> >>> > It should ask for the groupId and the artifactId and
>> >> >> generate
>> >> >> >> >> the
>> >> >> >> >> >> >>> > resulting
>> >> >> >> >> >> >>> > commandline. It should also be able to be run inside
>> a
>> >> >> >> >> confluence
>> >> >> >> >> >> wiki
>> >> >> >> >> >> >>> > page.
>> >> >> >> >> >> >>> > The student can test using the Wicket confluence
>> wiki.
>> >> We
>> >> >> >> will
>> >> >> >>
>> >> >> >> >> move
>> >> >> >> >> >> >>> the
>> >> >> >> >> >> >>> > page
>> >> >> >> >> >> >>> > when ready to the official space.
>> >> >> >> >> >> >>> >
>> >> >> >> >> >> >>> > References:
>> >> >> >> >> >> >>> >  - Official Quickstart page:
>> >> >> >> >> >> http://wicket.apache.org/quickstart.html
>> >> >> >> >> >> >>> >  - The GHOP Quickstart page open for editing by the
>> >> >> student:
>> >> >> >> >> GHOP
>> >> >> >> >> -
>> >> >> >> >> >> >>> > quickstart<
>> >> >> >> >> >> >>>
>> >> >> >> >>
>> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>> >> >> >> >> >
>> >> >> >> >> >> >>> >
>> >> >> >> >> >> >>> > Martijn
>> >> >> >> >> >> >>> >
>> >> >> >> >> >> >>> > --
>> >> >> >> >> >> >>> > Buy Wicket in Action: http://manning.com/dashorst
>> >> >> >> >> >> >>> > Apache Wicket 1.3.0-rc1 is released
>> >> >> >> >> >> >>> > Get it now:
>> >> >> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>> >> >> >> >> >> >>> >
>> >> >> >> >> >> >>> >
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> --
>> >> >> >> >> >> >>> View this message in context:
>> >> >> >> >> >> >>>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
>> >> >> >>
>> >> >> >> >> >> >>> Sent from the Wicket - Dev mailing list archive at
>> >> >> Nabble.com
>> >> >> .
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> --
>> >> >> >> >> >> >> Buy Wicket in Action: http://manning.com/dashorst
>> >> >> >> >> >> >> Apache Wicket 1.3.0-rc1 is released
>> >> >> >> >> >> >> Get it now:
>> >> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>> >> >> >>
>> >> >> >> >> >> >>
>> >> >> >> >> >> >>
>> >> >> >> >> >> >  http://www.nabble.com/file/p14139504/quickstart.html
>> >> >> >> >> quickstart.html
>> >> >> >> >> >> >
>> >> >> >> >> >>
>> >> >> >> >> >> --
>> >> >> >> >> >> View this message in context:
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
>> >> >> >> >> >> Sent from the Wicket - Dev mailing list archive at
>> >> Nabble.com.
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >>
>> >> >> >> >> --
>> >> >> >> >> View this message in context:
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14140386
>> >> >> >> >> Sent from the Wicket - Dev mailing list archive at
>> Nabble.com.
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >> --
>> >> >> >> View this message in context:
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14141363
>> >> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14142196
>> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143550
>> >>
>> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143731
>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14149004
Sent from the Wicket - Dev mailing list archive at Nabble.com.


Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by Gerolf Seitz <ge...@gmail.com>.
the WICKET page, last time i checked, i didn't have the karma to edit
WICKETxSITE...

  Gerolf

On Dec 4, 2007 11:18 AM, Martijn Dashorst <ma...@gmail.com>
wrote:

> Did you modify the WICKETxSITE quickstart page or the WICKET page?
> Martijn
>
> On Dec 4, 2007 11:12 AM, Gerolf Seitz <ge...@gmail.com> wrote:
>
> > On Dec 4, 2007 9:37 AM, Martijn Dashorst <ma...@gmail.com>
> > wrote:
> >
> > > I've moved the code to the official site, let's see what it gives us
> in
> > a
> > > couple of hours :)
> >
> >
> > it doesn't work for firefox/XP. i adapted the source a little. could you
> > publish it
> > to the WICKETxSITE again please?
> >
> > it should work now for IE, FF, Opera in winXP.
> >
> > cheers,
> >  Gerolf
> >
> >
> > >
> > > Martijn
> > >
> > > On Dec 4, 2007 8:45 AM, Gerolf Seitz <ge...@gmail.com> wrote:
> > >
> > > > hi,
> > > >
> > > > i think it's good now. i completed the task.
> > > > thanks for your contribution.
> > > >
> > > > Cheers,
> > > >  Gerolf
> > > >
> > > > On Dec 4, 2007 4:00 AM, popnbrown <sr...@gmail.com>
> > wrote:
> > > >
> > > > >
> > > > > tried that to doesnt work.
> > > > > What does work is onkeyup.
> > > > > My guess is that the javascript method reads the textfield after
> the
> > > key
> > > > > is
> > > > > released which is when you need to call, because when you are
> > pressing
> > > > > down
> > > > > the input has not "technically" been entered into the textfield?
> > > > >
> > > > > Also further update: I have gotten the "Command Line: " to stay
> and
> > > > before
> > > > > as soon as the page loads the textfields are automatically given a
> > > value
> > > > > correpsonding to the example (groupId = com.mycompany and
> artifactId
> > =
> > > > > myproject) and the command line for the given groupId and
> artifactId
> > > is
> > > > > also
> > > > > shown underneath a command line.
> > > > >
> > > > > Again a link:
> > > > >
> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> > > > >
> > > > > Anything else anyone wants to add on?
> > > > >
> > > > > Thanks,
> > > > > Sravan Suryadevara
> > > > >
> > > > >
> > > > >
> > > > > igor.vaynberg wrote:
> > > > > >
> > > > > > try onkeydown :)
> > > > > >
> > > > > > -igor
> > > > > >
> > > > > >
> > > > > > On Dec 3, 2007 6:41 PM, popnbrown <sr...@gmail.com>
> > > > wrote:
> > > > > >>
> > > > > >> Tried onkeypress only works if the textfield is in a form and
> > also
> > > > > >> there's a
> > > > > >> delay for example:
> > > > > >>
> > > > > >> you type in 'u' nothing will happen then you press 'o' the
> > command
> > > > line
> > > > > >> will
> > > > > >> show up with the 'u' in the groupId part
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >> Gerolf Seitz wrote:
> > > > > >> >
> > > > > >> > On Dec 4, 2007 1:33 AM, popnbrown <
> sravan.suryadevara@gmail.com
> > >
> > > > > wrote:
> > > > > >> >
> > > > > >> >>
> > > > > >> >> There we go, I believe it works now.
> > > > > >> >
> > > > > >> >
> > > > > >> > excellent. works like a charm ;)
> > > > > >> >
> > > > > >> > it would be nice if the user wouldn't have to click a button,
> > but
> > > > the
> > > > > >> > command line is
> > > > > >> > automatically updated (either onblur or onkeypress, ...)
> > > > > >> >
> > > > > >> > btw, the form is not necessary, because there is no form
> submit
> > > > > >> involved
> > > > > >> > (it
> > > > > >> > would need
> > > > > >> > a close tag anyway ;) )
> > > > > >> >
> > > > > >> > great work so far, now comes the polishing.
> > > > > >> >
> > > > > >> >   Gerolf
> > > > > >> >
> > > > > >> >
> > > http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> > > > > >> >>
> > > > > >> >> Want me to make an official statement on the ghop site?
> > > > > >> >>
> > > > > >> >>
> > > > > >> >>
> > > > > >> >
> > > > > >> >> Thanks,
> > > > > >> >> Sravan Suryadevara
> > > > > >> >>
> > > > > >> >> Gerolf Seitz wrote:
> > > > > >> >> >
> > > > > >> >> > hi,
> > > > > >> >> > you can include any html and javascript the following way:
> > > > > >> >> >
> > > > > >> >> > {html:output=html}
> > > > > >> >> > <script>document.write("test");</script>
> > > > > >> >> > <input type="text" id="groupId"/>
> > > > > >> >> > {html}
> > > > > >> >> >
> > > > > >> >> > hth,
> > > > > >> >> >   Gerolf
> > > > > >> >> >
> > > > > >> >> > On Dec 4, 2007 12:31 AM, popnbrown <
> > > sravan.suryadevara@gmail.com
> > > > >
> > > > > >> >> wrote:
> > > > > >> >> >
> > > > > >> >> >>
> > > > > >> >> >> Ok so latest latest update. I was browsing the Confluence
> > > > forums
> > > > > >> and
> > > > > >> >> >> apparently there have been attempts to use javascript
> code
> > on
> > > > > >> >> Confluence
> > > > > >> >> >> pages and I e-mailed one of the guys about it, and I'm
> > hoping
> > > > for
> > > > > a
> > > > > >> >> reply
> > > > > >> >> >> tonight if not, tommorrow.
> > > > > >> >> >> Besides that do you know what people mean when they say
> > "the
> > > > html
> > > > > >> >> plugin"
> > > > > >> >> >> for Confluence?
> > > > > >> >> >>
> > > > > >> >> >> Thanks,
> > > > > >> >> >> Sravan Suryadevara
> > > > > >> >> >>
> > > > > >> >> >>
> > > > > >> >> >> Gerolf Seitz wrote:
> > > > > >> >> >> >
> > > > > >> >> >> > On Dec 4, 2007 12:03 AM, popnbrown <
> > > > > sravan.suryadevara@gmail.com>
> > > > > >> >> >> wrote:
> > > > > >> >> >> >
> > > > > >> >> >> >>
> > > > > >> >> >> >> Well, the thing was I forgot how to create textboxes
> and
> > > > what
> > > > > >> not
> > > > > >> >> and
> > > > > >> >> >> I
> > > > > >> >> >>
> > > > > >> >> >> >> haven't touched JavaScript for a bit. Since I'm taking
> a
> > > > > course
> > > > > >> in
> > > > > >> >> >> Java
> > > > > >> >> >> I
> > > > > >> >> >> >> decided to do an Applet. However, you are right that
> its
> > a
> > > > lot
> > > > > >> more
> > > > > >> >> >> >> inefficient, so therefore I (thanks to google) found
> out
> > > how
> > > > > to
> > > > > >> >> create
> > > > > >> >> >> >> textboxes and relate everything together to get it
> > right.
> > > So
> > > > > now
> > > > > >> I
> > > > > >> >> >> have
> > > > > >> >> >> >> it
> > > > > >> >> >> >> I'll try to post it again on the ghop site and I'll
> also
> > > > > e-mail
> > > > > >> you
> > > > > >> >> a
> > > > > >> >> >> >> copy.
> > > > > >> >> >> >>
> > > > > >> >> >> >
> > > > > >> >> >> > great.
> > > > > >> >> >> >
> > > > > >> >> >> >
> > > > > >> >> >> >>
> > > > > >> >> >> >> If you are going to use flash, I have no knowledge of
> > how
> > > to
> > > > > >> code
> > > > > >> >> in
> > > > > >> >> >> >> flash,
> > > > > >> >> >> >> in which case I can't take the task. I'll try and see
> if
> > I
> > > > can
> > > > > >> >> upload
> > > > > >> >> >> it
> > > > > >> >> >> >> on
> > > > > >> >> >> >> Confluence also.
> > > > > >> >> >> >>
> > > > > >> >> >> >
> > > > > >> >> >> > no worries, it was merely a suggestion for an
> alternative
> > > > > route.
> > > > > >> >> imho,
> > > > > >> >> >> > javascript
> > > > > >> >> >> > is clearly the best way to handle this.
> > > > > >> >> >> >
> > > > > >> >> >> >   Gerolf
> > > > > >> >> >> >
> > > > > >> >> >> >
> > > > > >> >> >> >> Thanks,
> > > > > >> >> >> >> Sravan Suryadevara
> > > > > >> >> >> >>
> > > > > >> >> >> >>
> > > > > >> >> >> >> Gerolf Seitz wrote:
> > > > > >> >> >> >> >
> > > > > >> >> >> >> > hm, i can only download a .dat file. when i open it,
> > > after
> > > > i
> > > > > >> had
> > > > > >> >> >> >> renamed
> > > > > >> >> >> >> > it
> > > > > >> >> >> >> > to .html, it crashed my firefox :(
> > > > > >> >> >> >> >
> > > > > >> >> >> >> > another question: in the task description it is
> stated
> > > > that
> > > > > >> this
> > > > > >> >> can
> > > > > >> >> >> >> (and
> > > > > >> >> >> >> > probably should) be solved with javascript.
> > > > > >> >> >> >> > is there a specific reason why you went the java
> > applet
> > > > > route?
> > > > > >> >> that
> > > > > >> >> >> >> seems
> > > > > >> >> >> >> > a
> > > > > >> >> >> >> > little bit of an overkill for that task.
> > > > > >> >> >> >> > javascript also gets loaded way faster than applets.
> > > > > >> >> >> >> >
> > > > > >> >> >> >> > if there is no way for us to include javascript in
> > > > > confluence,
> > > > > >> >> flash
> > > > > >> >> >> >> might
> > > > > >> >> >> >> > be another solution?
> > > > > >> >> >> >> >
> > > > > >> >> >> >> > any comments?
> > > > > >> >> >> >> >
> > > > > >> >> >> >> >   Gerolf
> > > > > >> >> >> >> >
> > > > > >> >> >> >> >
> > > > > >> >> >> >> > On Dec 3, 2007 10:46 PM, popnbrown
> > > > > >> <sr...@gmail.com>
> > > > > >> >> >> >> wrote:
> > > > > >> >> >> >> >
> > > > > >> >> >> >> >>
> > > > > >> >> >> >> >> I can't get the file uploader to work here, so
> here's
> > a
> > > > > link
> > > > > >> to
> > > > > >> >> the
> > > > > >> >> >> >> issue
> > > > > >> >> >> >> >> at
> > > > > >> >> >> >> >> GHOP with the attatchment[0]
> > > > > >> >> >> >> >> It's attatched to comment #6.
> > > > > >> >> >> >> >>
> > > > > >> >> >> >> >> Thanks,
> > > > > >> >> >> >> >> Sravan Suryadevara
> > > > > >> >> >> >> >>
> > > > > >> >> >> >> >> [0]
> > > > > >> >> >> >> >>
> > > > > >> >> >> >> >>
> > > > > >> >> >> >>
> > > > > >> >> >>
> > > > > >> >>
> > > > > >>
> > > > >
> > > >
> > >
> >
> http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6
> > > > > >> >> >>
> > > > > >> >> >> >> >>
> > > > > >> >> >> >> >>
> > > > > >> >> >> >> >> popnbrown wrote:
> > > > > >> >> >> >> >> >
> > > > > >> >> >> >> >> > No I did'nt. I was actually trying to see if what
> I
> > > > write
> > > > > >> >> works
> > > > > >> >> >> in
> > > > > >> >> >> >> like
> > > > > >> >> >> >> >> a
> > > > > >> >> >> >> >> > day or two and then put the code into the
> > quickstart
> > > > > page.
> > > > > >> >> >> >> >> >
> > > > > >> >> >> >> >> > By the way, I have no idea how to edit that page
> to
> > > > write
> > > > > >> >> >> >> >> Javascript/HTML
> > > > > >> >> >> >> >> > code without taking the source code of the page
> and
> > > > > saving
> > > > > >> it
> > > > > >> >> on
> > > > > >> >> >> my
> > > > > >> >> >> >> >> > computer, which should work for you guys, so I
> can
> > > > e-mail
> > > > > >> the
> > > > > >> >> >> >> >> > quickstart.html to you guys. It's just easier for
> > me
> > > to
> > > > > >> work
> > > > > >> >> on
> > > > > >> >> >> >> since
> > > > > >> >> >> >> I
> > > > > >> >> >> >> >> > can take it everywhere with me.
> > > > > >> >> >> >> >> >
> > > > > >> >> >> >> >> > And the problem is a lot bigger cause the command
> > > line
> > > > > >> >> replaces
> > > > > >> >> >> >> >> everything
> > > > > >> >> >> >> >> > on the page. I am going to upload the
> > > > quickstart.htmlwith
> > > > > >> the
> > > > > >> >> >> added
> > > > > >> >> >> >> in
> > > > > >> >> >> >> >> > components.
> > > > > >> >> >> >> >> >
> > > > > >> >> >> >> >> >
> > > > > >> >> >> >> >> > Martijn Dashorst wrote:
> > > > > >> >> >> >> >> >>
> > > > > >> >> >> >> >> >> I don't see it here:
> > > > > >> >> >> >> >> >>
> > > > > >> >> >>
> > > > >
> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> > > > > >> >> >> >> >> >> Are you editing the page in the link above? It
> was
> > > > meant
> > > > > >> for
> > > > > >> >> >> that
> > > > > >> >> >> >> ;)
> > > > > >> >> >> >> >> >>
> > > > > >> >> >> >> >> >> Martijn
> > > > > >> >> >> >> >> >>
> > > > > >> >> >> >> >> >> On Dec 3, 2007 9:05 PM, popnbrown <
> > > > > >> >> sravan.suryadevara@gmail.com>
> > > > > >> >> >> >> >> wrote:
> > > > > >> >> >> >> >> >>
> > > > > >> >> >> >> >> >>>
> > > > > >> >> >> >> >> >>> Status Report:
> > > > > >> >> >> >> >> >>>
> > > > > >> >> >> >> >> >>> So far I have the text box fields for GroupId
> and
> > > > > >> ArtifactId
> > > > > >> >> >> and
> > > > > >> >> >> a
> > > > > >> >> >> >> >> >>> button
> > > > > >> >> >> >> >> >>> to
> > > > > >> >> >> >> >> >>> click that will generate the command line.
> > However,
> > > > > when
> > > > > >> the
> > > > > >> >> >> >> button
> > > > > >> >> >> >> >> is
> > > > > >> >> >> >> >> >>> clicked the applet and button get replaced by
> the
> > > > > command
> > > > > >> >> line.
> > > > > >> >> >> >> >> >>>
> > > > > >> >> >> >> >> >>> That might be a little frustrating for the user
> > > > because
> > > > > >> >> he/she
> > > > > >> >> >> >> would
> > > > > >> >> >> >> >> >>> have
> > > > > >> >> >> >> >> >>> to
> > > > > >> >> >> >> >> >>> refresh to re-create a new line, so right now I
> > am
> > > > > trying
> > > > > >> to
> > > > > >> >> >> write
> > > > > >> >> >> >> >> the
> > > > > >> >> >> >> >> >>> line
> > > > > >> >> >> >> >> >>> below the button.
> > > > > >> >> >> >> >> >>>
> > > > > >> >> >> >> >> >>> Tips would help!!!
> > > > > >> >> >> >> >> >>>
> > > > > >> >> >> >> >> >>>
> > > > > >> >> >> >> >> >>> Martijn Dashorst wrote:
> > > > > >> >> >> >> >> >>> >
> > > > > >> >> >> >> >> >>> > The current quickstart page shows a
> commandline
> > > > that
> > > > > is
> > > > > >> >> not
> > > > > >> >> >> very
> > > > > >> >> >> >> >> >>> friendly
> > > > > >> >> >> >> >> >>> > to
> > > > > >> >> >> >> >> >>> > edit by hand: you have to unwrap the lines
> and
> > > > figure
> > > > > >> out
> > > > > >> >> >> which
> > > > > >> >> >> >> >> parts
> > > > > >> >> >> >> >> >>> need
> > > > > >> >> >> >> >> >>> > to be changed. This task will add to the
> > example
> > > > two
> > > > > >> >> >> textboxes
> > > > > >> >> >> >> and
> > > > > >> >> >> >> >> a
> > > > > >> >> >> >> >> >>> bit
> > > > > >> >> >> >> >> >>> > of
> > > > > >> >> >> >> >> >>> > Javascript to generate the maven command
> ready
> > to
> > > > > >> >> copy/paste
> > > > > >> >> >> to
> > > > > >> >> >> >> a
> > > > > >> >> >> >> >> dos
> > > > > >> >> >> >> >> >>> box
> > > > > >> >> >> >> >> >>> > (or unix commandline).
> > > > > >> >> >> >> >> >>> > It should ask for the groupId and the
> > artifactId
> > > > and
> > > > > >> >> generate
> > > > > >> >> >> >> the
> > > > > >> >> >> >> >> >>> > resulting
> > > > > >> >> >> >> >> >>> > commandline. It should also be able to be run
> > > > inside
> > > > > a
> > > > > >> >> >> >> confluence
> > > > > >> >> >> >> >> wiki
> > > > > >> >> >> >> >> >>> > page.
> > > > > >> >> >> >> >> >>> > The student can test using the Wicket
> > confluence
> > > > > wiki.
> > > > > >> We
> > > > > >> >> >> will
> > > > > >> >> >>
> > > > > >> >> >> >> move
> > > > > >> >> >> >> >> >>> the
> > > > > >> >> >> >> >> >>> > page
> > > > > >> >> >> >> >> >>> > when ready to the official space.
> > > > > >> >> >> >> >> >>> >
> > > > > >> >> >> >> >> >>> > References:
> > > > > >> >> >> >> >> >>> >  - Official Quickstart page:
> > > > > >> >> >> >> >> http://wicket.apache.org/quickstart.html
> > > > > >> >> >> >> >> >>> >  - The GHOP Quickstart page open for editing
> by
> > > the
> > > > > >> >> student:
> > > > > >> >> >> >> GHOP
> > > > > >> >> >> >> -
> > > > > >> >> >> >> >> >>> > quickstart<
> > > > > >> >> >> >> >> >>>
> > > > > >> >> >> >>
> > > > > >>
> > http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> > > > > >> >> >> >> >
> > > > > >> >> >> >> >> >>> >
> > > > > >> >> >> >> >> >>> > Martijn
> > > > > >> >> >> >> >> >>> >
> > > > > >> >> >> >> >> >>> > --
> > > > > >> >> >> >> >> >>> > Buy Wicket in Action:
> > http://manning.com/dashorst
> > > > > >> >> >> >> >> >>> > Apache Wicket 1.3.0-rc1 is released
> > > > > >> >> >> >> >> >>> > Get it now:
> > > > > >> >> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> > > > > >> >> >> >> >> >>> >
> > > > > >> >> >> >> >> >>> >
> > > > > >> >> >> >> >> >>>
> > > > > >> >> >> >> >> >>> --
> > > > > >> >> >> >> >> >>> View this message in context:
> > > > > >> >> >> >> >> >>>
> > > > > >> >> >> >> >>
> > > > > >> >> >> >>
> > > > > >> >> >>
> > > > > >> >>
> > > > > >>
> > > > >
> > > >
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
> > > > > >> >> >>
> > > > > >> >> >> >> >> >>> Sent from the Wicket - Dev mailing list archive
> > at
> > > > > >> >> Nabble.com
> > > > > >> >> .
> > > > > >> >> >> >> >> >>>
> > > > > >> >> >> >> >> >>>
> > > > > >> >> >> >> >> >>
> > > > > >> >> >> >> >> >>
> > > > > >> >> >> >> >> >> --
> > > > > >> >> >> >> >> >> Buy Wicket in Action:
> http://manning.com/dashorst
> > > > > >> >> >> >> >> >> Apache Wicket 1.3.0-rc1 is released
> > > > > >> >> >> >> >> >> Get it now:
> > > > > >> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> > > > > >> >> >>
> > > > > >> >> >> >> >> >>
> > > > > >> >> >> >> >> >>
> > > > > >> >> >> >> >> >
> > http://www.nabble.com/file/p14139504/quickstart.html
> > > > > >> >> >> >> quickstart.html
> > > > > >> >> >> >> >> >
> > > > > >> >> >> >> >>
> > > > > >> >> >> >> >> --
> > > > > >> >> >> >> >> View this message in context:
> > > > > >> >> >> >> >>
> > > > > >> >> >> >>
> > > > > >> >> >>
> > > > > >> >>
> > > > > >>
> > > > >
> > > >
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
> > > > > >> >> >> >> >> Sent from the Wicket - Dev mailing list archive at
> > > > > >> Nabble.com.
> > > > > >> >> >> >> >>
> > > > > >> >> >> >> >>
> > > > > >> >> >> >> >
> > > > > >> >> >> >> >
> > > > > >> >> >> >>
> > > > > >> >> >> >> --
> > > > > >> >> >> >> View this message in context:
> > > > > >> >> >> >>
> > > > > >> >> >>
> > > > > >> >>
> > > > > >>
> > > > >
> > > >
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14140386
> > > > > >> >> >> >> Sent from the Wicket - Dev mailing list archive at
> > > > Nabble.com.
> > > > > >> >> >> >>
> > > > > >> >> >> >>
> > > > > >> >> >> >
> > > > > >> >> >> >
> > > > > >> >> >>
> > > > > >> >> >> --
> > > > > >> >> >> View this message in context:
> > > > > >> >> >>
> > > > > >> >>
> > > > > >>
> > > > >
> > > >
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14141363
> > > > > >> >> >> Sent from the Wicket - Dev mailing list archive at
> > Nabble.com
> > > .
> > > > > >> >> >>
> > > > > >> >> >>
> > > > > >> >> >
> > > > > >> >> >
> > > > > >> >>
> > > > > >> >> --
> > > > > >> >> View this message in context:
> > > > > >> >>
> > > > > >>
> > > > >
> > > >
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14142196
> > > > > >> >> Sent from the Wicket - Dev mailing list archive at
> Nabble.com.
> > > > > >> >>
> > > > > >> >>
> > > > > >> >
> > > > > >> >
> > > > > >>
> > > > > >> --
> > > > > >> View this message in context:
> > > > > >>
> > > > >
> > > >
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143550
> > > > > >>
> > > > > >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> > > > > >>
> > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > View this message in context:
> > > > >
> > > >
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143731
> > > > > Sent from the Wicket - Dev mailing list archive at Nabble.com.
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Buy Wicket in Action: http://manning.com/dashorst
> > > Apache Wicket 1.3.0-rc1 is released
> > > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> > >
> >
>
>
>
> --
> Buy Wicket in Action: http://manning.com/dashorst
> Apache Wicket 1.3.0-rc1 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>

Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by Martijn Dashorst <ma...@gmail.com>.
Did you modify the WICKETxSITE quickstart page or the WICKET page?
Martijn

On Dec 4, 2007 11:12 AM, Gerolf Seitz <ge...@gmail.com> wrote:

> On Dec 4, 2007 9:37 AM, Martijn Dashorst <ma...@gmail.com>
> wrote:
>
> > I've moved the code to the official site, let's see what it gives us in
> a
> > couple of hours :)
>
>
> it doesn't work for firefox/XP. i adapted the source a little. could you
> publish it
> to the WICKETxSITE again please?
>
> it should work now for IE, FF, Opera in winXP.
>
> cheers,
>  Gerolf
>
>
> >
> > Martijn
> >
> > On Dec 4, 2007 8:45 AM, Gerolf Seitz <ge...@gmail.com> wrote:
> >
> > > hi,
> > >
> > > i think it's good now. i completed the task.
> > > thanks for your contribution.
> > >
> > > Cheers,
> > >  Gerolf
> > >
> > > On Dec 4, 2007 4:00 AM, popnbrown <sr...@gmail.com>
> wrote:
> > >
> > > >
> > > > tried that to doesnt work.
> > > > What does work is onkeyup.
> > > > My guess is that the javascript method reads the textfield after the
> > key
> > > > is
> > > > released which is when you need to call, because when you are
> pressing
> > > > down
> > > > the input has not "technically" been entered into the textfield?
> > > >
> > > > Also further update: I have gotten the "Command Line: " to stay and
> > > before
> > > > as soon as the page loads the textfields are automatically given a
> > value
> > > > correpsonding to the example (groupId = com.mycompany and artifactId
> =
> > > > myproject) and the command line for the given groupId and artifactId
> > is
> > > > also
> > > > shown underneath a command line.
> > > >
> > > > Again a link:
> > > > http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> > > >
> > > > Anything else anyone wants to add on?
> > > >
> > > > Thanks,
> > > > Sravan Suryadevara
> > > >
> > > >
> > > >
> > > > igor.vaynberg wrote:
> > > > >
> > > > > try onkeydown :)
> > > > >
> > > > > -igor
> > > > >
> > > > >
> > > > > On Dec 3, 2007 6:41 PM, popnbrown <sr...@gmail.com>
> > > wrote:
> > > > >>
> > > > >> Tried onkeypress only works if the textfield is in a form and
> also
> > > > >> there's a
> > > > >> delay for example:
> > > > >>
> > > > >> you type in 'u' nothing will happen then you press 'o' the
> command
> > > line
> > > > >> will
> > > > >> show up with the 'u' in the groupId part
> > > > >>
> > > > >>
> > > > >>
> > > > >> Gerolf Seitz wrote:
> > > > >> >
> > > > >> > On Dec 4, 2007 1:33 AM, popnbrown <sravan.suryadevara@gmail.com
> >
> > > > wrote:
> > > > >> >
> > > > >> >>
> > > > >> >> There we go, I believe it works now.
> > > > >> >
> > > > >> >
> > > > >> > excellent. works like a charm ;)
> > > > >> >
> > > > >> > it would be nice if the user wouldn't have to click a button,
> but
> > > the
> > > > >> > command line is
> > > > >> > automatically updated (either onblur or onkeypress, ...)
> > > > >> >
> > > > >> > btw, the form is not necessary, because there is no form submit
> > > > >> involved
> > > > >> > (it
> > > > >> > would need
> > > > >> > a close tag anyway ;) )
> > > > >> >
> > > > >> > great work so far, now comes the polishing.
> > > > >> >
> > > > >> >   Gerolf
> > > > >> >
> > > > >> >
> > http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> > > > >> >>
> > > > >> >> Want me to make an official statement on the ghop site?
> > > > >> >>
> > > > >> >>
> > > > >> >>
> > > > >> >
> > > > >> >> Thanks,
> > > > >> >> Sravan Suryadevara
> > > > >> >>
> > > > >> >> Gerolf Seitz wrote:
> > > > >> >> >
> > > > >> >> > hi,
> > > > >> >> > you can include any html and javascript the following way:
> > > > >> >> >
> > > > >> >> > {html:output=html}
> > > > >> >> > <script>document.write("test");</script>
> > > > >> >> > <input type="text" id="groupId"/>
> > > > >> >> > {html}
> > > > >> >> >
> > > > >> >> > hth,
> > > > >> >> >   Gerolf
> > > > >> >> >
> > > > >> >> > On Dec 4, 2007 12:31 AM, popnbrown <
> > sravan.suryadevara@gmail.com
> > > >
> > > > >> >> wrote:
> > > > >> >> >
> > > > >> >> >>
> > > > >> >> >> Ok so latest latest update. I was browsing the Confluence
> > > forums
> > > > >> and
> > > > >> >> >> apparently there have been attempts to use javascript code
> on
> > > > >> >> Confluence
> > > > >> >> >> pages and I e-mailed one of the guys about it, and I'm
> hoping
> > > for
> > > > a
> > > > >> >> reply
> > > > >> >> >> tonight if not, tommorrow.
> > > > >> >> >> Besides that do you know what people mean when they say
> "the
> > > html
> > > > >> >> plugin"
> > > > >> >> >> for Confluence?
> > > > >> >> >>
> > > > >> >> >> Thanks,
> > > > >> >> >> Sravan Suryadevara
> > > > >> >> >>
> > > > >> >> >>
> > > > >> >> >> Gerolf Seitz wrote:
> > > > >> >> >> >
> > > > >> >> >> > On Dec 4, 2007 12:03 AM, popnbrown <
> > > > sravan.suryadevara@gmail.com>
> > > > >> >> >> wrote:
> > > > >> >> >> >
> > > > >> >> >> >>
> > > > >> >> >> >> Well, the thing was I forgot how to create textboxes and
> > > what
> > > > >> not
> > > > >> >> and
> > > > >> >> >> I
> > > > >> >> >>
> > > > >> >> >> >> haven't touched JavaScript for a bit. Since I'm taking a
> > > > course
> > > > >> in
> > > > >> >> >> Java
> > > > >> >> >> I
> > > > >> >> >> >> decided to do an Applet. However, you are right that its
> a
> > > lot
> > > > >> more
> > > > >> >> >> >> inefficient, so therefore I (thanks to google) found out
> > how
> > > > to
> > > > >> >> create
> > > > >> >> >> >> textboxes and relate everything together to get it
> right.
> > So
> > > > now
> > > > >> I
> > > > >> >> >> have
> > > > >> >> >> >> it
> > > > >> >> >> >> I'll try to post it again on the ghop site and I'll also
> > > > e-mail
> > > > >> you
> > > > >> >> a
> > > > >> >> >> >> copy.
> > > > >> >> >> >>
> > > > >> >> >> >
> > > > >> >> >> > great.
> > > > >> >> >> >
> > > > >> >> >> >
> > > > >> >> >> >>
> > > > >> >> >> >> If you are going to use flash, I have no knowledge of
> how
> > to
> > > > >> code
> > > > >> >> in
> > > > >> >> >> >> flash,
> > > > >> >> >> >> in which case I can't take the task. I'll try and see if
> I
> > > can
> > > > >> >> upload
> > > > >> >> >> it
> > > > >> >> >> >> on
> > > > >> >> >> >> Confluence also.
> > > > >> >> >> >>
> > > > >> >> >> >
> > > > >> >> >> > no worries, it was merely a suggestion for an alternative
> > > > route.
> > > > >> >> imho,
> > > > >> >> >> > javascript
> > > > >> >> >> > is clearly the best way to handle this.
> > > > >> >> >> >
> > > > >> >> >> >   Gerolf
> > > > >> >> >> >
> > > > >> >> >> >
> > > > >> >> >> >> Thanks,
> > > > >> >> >> >> Sravan Suryadevara
> > > > >> >> >> >>
> > > > >> >> >> >>
> > > > >> >> >> >> Gerolf Seitz wrote:
> > > > >> >> >> >> >
> > > > >> >> >> >> > hm, i can only download a .dat file. when i open it,
> > after
> > > i
> > > > >> had
> > > > >> >> >> >> renamed
> > > > >> >> >> >> > it
> > > > >> >> >> >> > to .html, it crashed my firefox :(
> > > > >> >> >> >> >
> > > > >> >> >> >> > another question: in the task description it is stated
> > > that
> > > > >> this
> > > > >> >> can
> > > > >> >> >> >> (and
> > > > >> >> >> >> > probably should) be solved with javascript.
> > > > >> >> >> >> > is there a specific reason why you went the java
> applet
> > > > route?
> > > > >> >> that
> > > > >> >> >> >> seems
> > > > >> >> >> >> > a
> > > > >> >> >> >> > little bit of an overkill for that task.
> > > > >> >> >> >> > javascript also gets loaded way faster than applets.
> > > > >> >> >> >> >
> > > > >> >> >> >> > if there is no way for us to include javascript in
> > > > confluence,
> > > > >> >> flash
> > > > >> >> >> >> might
> > > > >> >> >> >> > be another solution?
> > > > >> >> >> >> >
> > > > >> >> >> >> > any comments?
> > > > >> >> >> >> >
> > > > >> >> >> >> >   Gerolf
> > > > >> >> >> >> >
> > > > >> >> >> >> >
> > > > >> >> >> >> > On Dec 3, 2007 10:46 PM, popnbrown
> > > > >> <sr...@gmail.com>
> > > > >> >> >> >> wrote:
> > > > >> >> >> >> >
> > > > >> >> >> >> >>
> > > > >> >> >> >> >> I can't get the file uploader to work here, so here's
> a
> > > > link
> > > > >> to
> > > > >> >> the
> > > > >> >> >> >> issue
> > > > >> >> >> >> >> at
> > > > >> >> >> >> >> GHOP with the attatchment[0]
> > > > >> >> >> >> >> It's attatched to comment #6.
> > > > >> >> >> >> >>
> > > > >> >> >> >> >> Thanks,
> > > > >> >> >> >> >> Sravan Suryadevara
> > > > >> >> >> >> >>
> > > > >> >> >> >> >> [0]
> > > > >> >> >> >> >>
> > > > >> >> >> >> >>
> > > > >> >> >> >>
> > > > >> >> >>
> > > > >> >>
> > > > >>
> > > >
> > >
> >
> http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6
> > > > >> >> >>
> > > > >> >> >> >> >>
> > > > >> >> >> >> >>
> > > > >> >> >> >> >> popnbrown wrote:
> > > > >> >> >> >> >> >
> > > > >> >> >> >> >> > No I did'nt. I was actually trying to see if what I
> > > write
> > > > >> >> works
> > > > >> >> >> in
> > > > >> >> >> >> like
> > > > >> >> >> >> >> a
> > > > >> >> >> >> >> > day or two and then put the code into the
> quickstart
> > > > page.
> > > > >> >> >> >> >> >
> > > > >> >> >> >> >> > By the way, I have no idea how to edit that page to
> > > write
> > > > >> >> >> >> >> Javascript/HTML
> > > > >> >> >> >> >> > code without taking the source code of the page and
> > > > saving
> > > > >> it
> > > > >> >> on
> > > > >> >> >> my
> > > > >> >> >> >> >> > computer, which should work for you guys, so I can
> > > e-mail
> > > > >> the
> > > > >> >> >> >> >> > quickstart.html to you guys. It's just easier for
> me
> > to
> > > > >> work
> > > > >> >> on
> > > > >> >> >> >> since
> > > > >> >> >> >> I
> > > > >> >> >> >> >> > can take it everywhere with me.
> > > > >> >> >> >> >> >
> > > > >> >> >> >> >> > And the problem is a lot bigger cause the command
> > line
> > > > >> >> replaces
> > > > >> >> >> >> >> everything
> > > > >> >> >> >> >> > on the page. I am going to upload the
> > > quickstart.htmlwith
> > > > >> the
> > > > >> >> >> added
> > > > >> >> >> >> in
> > > > >> >> >> >> >> > components.
> > > > >> >> >> >> >> >
> > > > >> >> >> >> >> >
> > > > >> >> >> >> >> > Martijn Dashorst wrote:
> > > > >> >> >> >> >> >>
> > > > >> >> >> >> >> >> I don't see it here:
> > > > >> >> >> >> >> >>
> > > > >> >> >>
> > > > http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> > > > >> >> >> >> >> >> Are you editing the page in the link above? It was
> > > meant
> > > > >> for
> > > > >> >> >> that
> > > > >> >> >> >> ;)
> > > > >> >> >> >> >> >>
> > > > >> >> >> >> >> >> Martijn
> > > > >> >> >> >> >> >>
> > > > >> >> >> >> >> >> On Dec 3, 2007 9:05 PM, popnbrown <
> > > > >> >> sravan.suryadevara@gmail.com>
> > > > >> >> >> >> >> wrote:
> > > > >> >> >> >> >> >>
> > > > >> >> >> >> >> >>>
> > > > >> >> >> >> >> >>> Status Report:
> > > > >> >> >> >> >> >>>
> > > > >> >> >> >> >> >>> So far I have the text box fields for GroupId and
> > > > >> ArtifactId
> > > > >> >> >> and
> > > > >> >> >> a
> > > > >> >> >> >> >> >>> button
> > > > >> >> >> >> >> >>> to
> > > > >> >> >> >> >> >>> click that will generate the command line.
> However,
> > > > when
> > > > >> the
> > > > >> >> >> >> button
> > > > >> >> >> >> >> is
> > > > >> >> >> >> >> >>> clicked the applet and button get replaced by the
> > > > command
> > > > >> >> line.
> > > > >> >> >> >> >> >>>
> > > > >> >> >> >> >> >>> That might be a little frustrating for the user
> > > because
> > > > >> >> he/she
> > > > >> >> >> >> would
> > > > >> >> >> >> >> >>> have
> > > > >> >> >> >> >> >>> to
> > > > >> >> >> >> >> >>> refresh to re-create a new line, so right now I
> am
> > > > trying
> > > > >> to
> > > > >> >> >> write
> > > > >> >> >> >> >> the
> > > > >> >> >> >> >> >>> line
> > > > >> >> >> >> >> >>> below the button.
> > > > >> >> >> >> >> >>>
> > > > >> >> >> >> >> >>> Tips would help!!!
> > > > >> >> >> >> >> >>>
> > > > >> >> >> >> >> >>>
> > > > >> >> >> >> >> >>> Martijn Dashorst wrote:
> > > > >> >> >> >> >> >>> >
> > > > >> >> >> >> >> >>> > The current quickstart page shows a commandline
> > > that
> > > > is
> > > > >> >> not
> > > > >> >> >> very
> > > > >> >> >> >> >> >>> friendly
> > > > >> >> >> >> >> >>> > to
> > > > >> >> >> >> >> >>> > edit by hand: you have to unwrap the lines and
> > > figure
> > > > >> out
> > > > >> >> >> which
> > > > >> >> >> >> >> parts
> > > > >> >> >> >> >> >>> need
> > > > >> >> >> >> >> >>> > to be changed. This task will add to the
> example
> > > two
> > > > >> >> >> textboxes
> > > > >> >> >> >> and
> > > > >> >> >> >> >> a
> > > > >> >> >> >> >> >>> bit
> > > > >> >> >> >> >> >>> > of
> > > > >> >> >> >> >> >>> > Javascript to generate the maven command ready
> to
> > > > >> >> copy/paste
> > > > >> >> >> to
> > > > >> >> >> >> a
> > > > >> >> >> >> >> dos
> > > > >> >> >> >> >> >>> box
> > > > >> >> >> >> >> >>> > (or unix commandline).
> > > > >> >> >> >> >> >>> > It should ask for the groupId and the
> artifactId
> > > and
> > > > >> >> generate
> > > > >> >> >> >> the
> > > > >> >> >> >> >> >>> > resulting
> > > > >> >> >> >> >> >>> > commandline. It should also be able to be run
> > > inside
> > > > a
> > > > >> >> >> >> confluence
> > > > >> >> >> >> >> wiki
> > > > >> >> >> >> >> >>> > page.
> > > > >> >> >> >> >> >>> > The student can test using the Wicket
> confluence
> > > > wiki.
> > > > >> We
> > > > >> >> >> will
> > > > >> >> >>
> > > > >> >> >> >> move
> > > > >> >> >> >> >> >>> the
> > > > >> >> >> >> >> >>> > page
> > > > >> >> >> >> >> >>> > when ready to the official space.
> > > > >> >> >> >> >> >>> >
> > > > >> >> >> >> >> >>> > References:
> > > > >> >> >> >> >> >>> >  - Official Quickstart page:
> > > > >> >> >> >> >> http://wicket.apache.org/quickstart.html
> > > > >> >> >> >> >> >>> >  - The GHOP Quickstart page open for editing by
> > the
> > > > >> >> student:
> > > > >> >> >> >> GHOP
> > > > >> >> >> >> -
> > > > >> >> >> >> >> >>> > quickstart<
> > > > >> >> >> >> >> >>>
> > > > >> >> >> >>
> > > > >>
> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> > > > >> >> >> >> >
> > > > >> >> >> >> >> >>> >
> > > > >> >> >> >> >> >>> > Martijn
> > > > >> >> >> >> >> >>> >
> > > > >> >> >> >> >> >>> > --
> > > > >> >> >> >> >> >>> > Buy Wicket in Action:
> http://manning.com/dashorst
> > > > >> >> >> >> >> >>> > Apache Wicket 1.3.0-rc1 is released
> > > > >> >> >> >> >> >>> > Get it now:
> > > > >> >> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> > > > >> >> >> >> >> >>> >
> > > > >> >> >> >> >> >>> >
> > > > >> >> >> >> >> >>>
> > > > >> >> >> >> >> >>> --
> > > > >> >> >> >> >> >>> View this message in context:
> > > > >> >> >> >> >> >>>
> > > > >> >> >> >> >>
> > > > >> >> >> >>
> > > > >> >> >>
> > > > >> >>
> > > > >>
> > > >
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
> > > > >> >> >>
> > > > >> >> >> >> >> >>> Sent from the Wicket - Dev mailing list archive
> at
> > > > >> >> Nabble.com
> > > > >> >> .
> > > > >> >> >> >> >> >>>
> > > > >> >> >> >> >> >>>
> > > > >> >> >> >> >> >>
> > > > >> >> >> >> >> >>
> > > > >> >> >> >> >> >> --
> > > > >> >> >> >> >> >> Buy Wicket in Action: http://manning.com/dashorst
> > > > >> >> >> >> >> >> Apache Wicket 1.3.0-rc1 is released
> > > > >> >> >> >> >> >> Get it now:
> > > > >> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> > > > >> >> >>
> > > > >> >> >> >> >> >>
> > > > >> >> >> >> >> >>
> > > > >> >> >> >> >> >
> http://www.nabble.com/file/p14139504/quickstart.html
> > > > >> >> >> >> quickstart.html
> > > > >> >> >> >> >> >
> > > > >> >> >> >> >>
> > > > >> >> >> >> >> --
> > > > >> >> >> >> >> View this message in context:
> > > > >> >> >> >> >>
> > > > >> >> >> >>
> > > > >> >> >>
> > > > >> >>
> > > > >>
> > > >
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
> > > > >> >> >> >> >> Sent from the Wicket - Dev mailing list archive at
> > > > >> Nabble.com.
> > > > >> >> >> >> >>
> > > > >> >> >> >> >>
> > > > >> >> >> >> >
> > > > >> >> >> >> >
> > > > >> >> >> >>
> > > > >> >> >> >> --
> > > > >> >> >> >> View this message in context:
> > > > >> >> >> >>
> > > > >> >> >>
> > > > >> >>
> > > > >>
> > > >
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14140386
> > > > >> >> >> >> Sent from the Wicket - Dev mailing list archive at
> > > Nabble.com.
> > > > >> >> >> >>
> > > > >> >> >> >>
> > > > >> >> >> >
> > > > >> >> >> >
> > > > >> >> >>
> > > > >> >> >> --
> > > > >> >> >> View this message in context:
> > > > >> >> >>
> > > > >> >>
> > > > >>
> > > >
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14141363
> > > > >> >> >> Sent from the Wicket - Dev mailing list archive at
> Nabble.com
> > .
> > > > >> >> >>
> > > > >> >> >>
> > > > >> >> >
> > > > >> >> >
> > > > >> >>
> > > > >> >> --
> > > > >> >> View this message in context:
> > > > >> >>
> > > > >>
> > > >
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14142196
> > > > >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> > > > >> >>
> > > > >> >>
> > > > >> >
> > > > >> >
> > > > >>
> > > > >> --
> > > > >> View this message in context:
> > > > >>
> > > >
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143550
> > > > >>
> > > > >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > >
> > > > --
> > > > View this message in context:
> > > >
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143731
> > > > Sent from the Wicket - Dev mailing list archive at Nabble.com.
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > Buy Wicket in Action: http://manning.com/dashorst
> > Apache Wicket 1.3.0-rc1 is released
> > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> >
>



-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-rc1 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/

Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by Gerolf Seitz <ge...@gmail.com>.
On Dec 4, 2007 9:37 AM, Martijn Dashorst <ma...@gmail.com> wrote:

> I've moved the code to the official site, let's see what it gives us in a
> couple of hours :)


it doesn't work for firefox/XP. i adapted the source a little. could you
publish it
to the WICKETxSITE again please?

it should work now for IE, FF, Opera in winXP.

cheers,
  Gerolf


>
> Martijn
>
> On Dec 4, 2007 8:45 AM, Gerolf Seitz <ge...@gmail.com> wrote:
>
> > hi,
> >
> > i think it's good now. i completed the task.
> > thanks for your contribution.
> >
> > Cheers,
> >  Gerolf
> >
> > On Dec 4, 2007 4:00 AM, popnbrown <sr...@gmail.com> wrote:
> >
> > >
> > > tried that to doesnt work.
> > > What does work is onkeyup.
> > > My guess is that the javascript method reads the textfield after the
> key
> > > is
> > > released which is when you need to call, because when you are pressing
> > > down
> > > the input has not "technically" been entered into the textfield?
> > >
> > > Also further update: I have gotten the "Command Line: " to stay and
> > before
> > > as soon as the page loads the textfields are automatically given a
> value
> > > correpsonding to the example (groupId = com.mycompany and artifactId =
> > > myproject) and the command line for the given groupId and artifactId
> is
> > > also
> > > shown underneath a command line.
> > >
> > > Again a link:
> > > http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> > >
> > > Anything else anyone wants to add on?
> > >
> > > Thanks,
> > > Sravan Suryadevara
> > >
> > >
> > >
> > > igor.vaynberg wrote:
> > > >
> > > > try onkeydown :)
> > > >
> > > > -igor
> > > >
> > > >
> > > > On Dec 3, 2007 6:41 PM, popnbrown <sr...@gmail.com>
> > wrote:
> > > >>
> > > >> Tried onkeypress only works if the textfield is in a form and also
> > > >> there's a
> > > >> delay for example:
> > > >>
> > > >> you type in 'u' nothing will happen then you press 'o' the command
> > line
> > > >> will
> > > >> show up with the 'u' in the groupId part
> > > >>
> > > >>
> > > >>
> > > >> Gerolf Seitz wrote:
> > > >> >
> > > >> > On Dec 4, 2007 1:33 AM, popnbrown <sr...@gmail.com>
> > > wrote:
> > > >> >
> > > >> >>
> > > >> >> There we go, I believe it works now.
> > > >> >
> > > >> >
> > > >> > excellent. works like a charm ;)
> > > >> >
> > > >> > it would be nice if the user wouldn't have to click a button, but
> > the
> > > >> > command line is
> > > >> > automatically updated (either onblur or onkeypress, ...)
> > > >> >
> > > >> > btw, the form is not necessary, because there is no form submit
> > > >> involved
> > > >> > (it
> > > >> > would need
> > > >> > a close tag anyway ;) )
> > > >> >
> > > >> > great work so far, now comes the polishing.
> > > >> >
> > > >> >   Gerolf
> > > >> >
> > > >> >
> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> > > >> >>
> > > >> >> Want me to make an official statement on the ghop site?
> > > >> >>
> > > >> >>
> > > >> >>
> > > >> >
> > > >> >> Thanks,
> > > >> >> Sravan Suryadevara
> > > >> >>
> > > >> >> Gerolf Seitz wrote:
> > > >> >> >
> > > >> >> > hi,
> > > >> >> > you can include any html and javascript the following way:
> > > >> >> >
> > > >> >> > {html:output=html}
> > > >> >> > <script>document.write("test");</script>
> > > >> >> > <input type="text" id="groupId"/>
> > > >> >> > {html}
> > > >> >> >
> > > >> >> > hth,
> > > >> >> >   Gerolf
> > > >> >> >
> > > >> >> > On Dec 4, 2007 12:31 AM, popnbrown <
> sravan.suryadevara@gmail.com
> > >
> > > >> >> wrote:
> > > >> >> >
> > > >> >> >>
> > > >> >> >> Ok so latest latest update. I was browsing the Confluence
> > forums
> > > >> and
> > > >> >> >> apparently there have been attempts to use javascript code on
> > > >> >> Confluence
> > > >> >> >> pages and I e-mailed one of the guys about it, and I'm hoping
> > for
> > > a
> > > >> >> reply
> > > >> >> >> tonight if not, tommorrow.
> > > >> >> >> Besides that do you know what people mean when they say "the
> > html
> > > >> >> plugin"
> > > >> >> >> for Confluence?
> > > >> >> >>
> > > >> >> >> Thanks,
> > > >> >> >> Sravan Suryadevara
> > > >> >> >>
> > > >> >> >>
> > > >> >> >> Gerolf Seitz wrote:
> > > >> >> >> >
> > > >> >> >> > On Dec 4, 2007 12:03 AM, popnbrown <
> > > sravan.suryadevara@gmail.com>
> > > >> >> >> wrote:
> > > >> >> >> >
> > > >> >> >> >>
> > > >> >> >> >> Well, the thing was I forgot how to create textboxes and
> > what
> > > >> not
> > > >> >> and
> > > >> >> >> I
> > > >> >> >>
> > > >> >> >> >> haven't touched JavaScript for a bit. Since I'm taking a
> > > course
> > > >> in
> > > >> >> >> Java
> > > >> >> >> I
> > > >> >> >> >> decided to do an Applet. However, you are right that its a
> > lot
> > > >> more
> > > >> >> >> >> inefficient, so therefore I (thanks to google) found out
> how
> > > to
> > > >> >> create
> > > >> >> >> >> textboxes and relate everything together to get it right.
> So
> > > now
> > > >> I
> > > >> >> >> have
> > > >> >> >> >> it
> > > >> >> >> >> I'll try to post it again on the ghop site and I'll also
> > > e-mail
> > > >> you
> > > >> >> a
> > > >> >> >> >> copy.
> > > >> >> >> >>
> > > >> >> >> >
> > > >> >> >> > great.
> > > >> >> >> >
> > > >> >> >> >
> > > >> >> >> >>
> > > >> >> >> >> If you are going to use flash, I have no knowledge of how
> to
> > > >> code
> > > >> >> in
> > > >> >> >> >> flash,
> > > >> >> >> >> in which case I can't take the task. I'll try and see if I
> > can
> > > >> >> upload
> > > >> >> >> it
> > > >> >> >> >> on
> > > >> >> >> >> Confluence also.
> > > >> >> >> >>
> > > >> >> >> >
> > > >> >> >> > no worries, it was merely a suggestion for an alternative
> > > route.
> > > >> >> imho,
> > > >> >> >> > javascript
> > > >> >> >> > is clearly the best way to handle this.
> > > >> >> >> >
> > > >> >> >> >   Gerolf
> > > >> >> >> >
> > > >> >> >> >
> > > >> >> >> >> Thanks,
> > > >> >> >> >> Sravan Suryadevara
> > > >> >> >> >>
> > > >> >> >> >>
> > > >> >> >> >> Gerolf Seitz wrote:
> > > >> >> >> >> >
> > > >> >> >> >> > hm, i can only download a .dat file. when i open it,
> after
> > i
> > > >> had
> > > >> >> >> >> renamed
> > > >> >> >> >> > it
> > > >> >> >> >> > to .html, it crashed my firefox :(
> > > >> >> >> >> >
> > > >> >> >> >> > another question: in the task description it is stated
> > that
> > > >> this
> > > >> >> can
> > > >> >> >> >> (and
> > > >> >> >> >> > probably should) be solved with javascript.
> > > >> >> >> >> > is there a specific reason why you went the java applet
> > > route?
> > > >> >> that
> > > >> >> >> >> seems
> > > >> >> >> >> > a
> > > >> >> >> >> > little bit of an overkill for that task.
> > > >> >> >> >> > javascript also gets loaded way faster than applets.
> > > >> >> >> >> >
> > > >> >> >> >> > if there is no way for us to include javascript in
> > > confluence,
> > > >> >> flash
> > > >> >> >> >> might
> > > >> >> >> >> > be another solution?
> > > >> >> >> >> >
> > > >> >> >> >> > any comments?
> > > >> >> >> >> >
> > > >> >> >> >> >   Gerolf
> > > >> >> >> >> >
> > > >> >> >> >> >
> > > >> >> >> >> > On Dec 3, 2007 10:46 PM, popnbrown
> > > >> <sr...@gmail.com>
> > > >> >> >> >> wrote:
> > > >> >> >> >> >
> > > >> >> >> >> >>
> > > >> >> >> >> >> I can't get the file uploader to work here, so here's a
> > > link
> > > >> to
> > > >> >> the
> > > >> >> >> >> issue
> > > >> >> >> >> >> at
> > > >> >> >> >> >> GHOP with the attatchment[0]
> > > >> >> >> >> >> It's attatched to comment #6.
> > > >> >> >> >> >>
> > > >> >> >> >> >> Thanks,
> > > >> >> >> >> >> Sravan Suryadevara
> > > >> >> >> >> >>
> > > >> >> >> >> >> [0]
> > > >> >> >> >> >>
> > > >> >> >> >> >>
> > > >> >> >> >>
> > > >> >> >>
> > > >> >>
> > > >>
> > >
> >
> http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6
> > > >> >> >>
> > > >> >> >> >> >>
> > > >> >> >> >> >>
> > > >> >> >> >> >> popnbrown wrote:
> > > >> >> >> >> >> >
> > > >> >> >> >> >> > No I did'nt. I was actually trying to see if what I
> > write
> > > >> >> works
> > > >> >> >> in
> > > >> >> >> >> like
> > > >> >> >> >> >> a
> > > >> >> >> >> >> > day or two and then put the code into the quickstart
> > > page.
> > > >> >> >> >> >> >
> > > >> >> >> >> >> > By the way, I have no idea how to edit that page to
> > write
> > > >> >> >> >> >> Javascript/HTML
> > > >> >> >> >> >> > code without taking the source code of the page and
> > > saving
> > > >> it
> > > >> >> on
> > > >> >> >> my
> > > >> >> >> >> >> > computer, which should work for you guys, so I can
> > e-mail
> > > >> the
> > > >> >> >> >> >> > quickstart.html to you guys. It's just easier for me
> to
> > > >> work
> > > >> >> on
> > > >> >> >> >> since
> > > >> >> >> >> I
> > > >> >> >> >> >> > can take it everywhere with me.
> > > >> >> >> >> >> >
> > > >> >> >> >> >> > And the problem is a lot bigger cause the command
> line
> > > >> >> replaces
> > > >> >> >> >> >> everything
> > > >> >> >> >> >> > on the page. I am going to upload the
> > quickstart.htmlwith
> > > >> the
> > > >> >> >> added
> > > >> >> >> >> in
> > > >> >> >> >> >> > components.
> > > >> >> >> >> >> >
> > > >> >> >> >> >> >
> > > >> >> >> >> >> > Martijn Dashorst wrote:
> > > >> >> >> >> >> >>
> > > >> >> >> >> >> >> I don't see it here:
> > > >> >> >> >> >> >>
> > > >> >> >>
> > > http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> > > >> >> >> >> >> >> Are you editing the page in the link above? It was
> > meant
> > > >> for
> > > >> >> >> that
> > > >> >> >> >> ;)
> > > >> >> >> >> >> >>
> > > >> >> >> >> >> >> Martijn
> > > >> >> >> >> >> >>
> > > >> >> >> >> >> >> On Dec 3, 2007 9:05 PM, popnbrown <
> > > >> >> sravan.suryadevara@gmail.com>
> > > >> >> >> >> >> wrote:
> > > >> >> >> >> >> >>
> > > >> >> >> >> >> >>>
> > > >> >> >> >> >> >>> Status Report:
> > > >> >> >> >> >> >>>
> > > >> >> >> >> >> >>> So far I have the text box fields for GroupId and
> > > >> ArtifactId
> > > >> >> >> and
> > > >> >> >> a
> > > >> >> >> >> >> >>> button
> > > >> >> >> >> >> >>> to
> > > >> >> >> >> >> >>> click that will generate the command line. However,
> > > when
> > > >> the
> > > >> >> >> >> button
> > > >> >> >> >> >> is
> > > >> >> >> >> >> >>> clicked the applet and button get replaced by the
> > > command
> > > >> >> line.
> > > >> >> >> >> >> >>>
> > > >> >> >> >> >> >>> That might be a little frustrating for the user
> > because
> > > >> >> he/she
> > > >> >> >> >> would
> > > >> >> >> >> >> >>> have
> > > >> >> >> >> >> >>> to
> > > >> >> >> >> >> >>> refresh to re-create a new line, so right now I am
> > > trying
> > > >> to
> > > >> >> >> write
> > > >> >> >> >> >> the
> > > >> >> >> >> >> >>> line
> > > >> >> >> >> >> >>> below the button.
> > > >> >> >> >> >> >>>
> > > >> >> >> >> >> >>> Tips would help!!!
> > > >> >> >> >> >> >>>
> > > >> >> >> >> >> >>>
> > > >> >> >> >> >> >>> Martijn Dashorst wrote:
> > > >> >> >> >> >> >>> >
> > > >> >> >> >> >> >>> > The current quickstart page shows a commandline
> > that
> > > is
> > > >> >> not
> > > >> >> >> very
> > > >> >> >> >> >> >>> friendly
> > > >> >> >> >> >> >>> > to
> > > >> >> >> >> >> >>> > edit by hand: you have to unwrap the lines and
> > figure
> > > >> out
> > > >> >> >> which
> > > >> >> >> >> >> parts
> > > >> >> >> >> >> >>> need
> > > >> >> >> >> >> >>> > to be changed. This task will add to the example
> > two
> > > >> >> >> textboxes
> > > >> >> >> >> and
> > > >> >> >> >> >> a
> > > >> >> >> >> >> >>> bit
> > > >> >> >> >> >> >>> > of
> > > >> >> >> >> >> >>> > Javascript to generate the maven command ready to
> > > >> >> copy/paste
> > > >> >> >> to
> > > >> >> >> >> a
> > > >> >> >> >> >> dos
> > > >> >> >> >> >> >>> box
> > > >> >> >> >> >> >>> > (or unix commandline).
> > > >> >> >> >> >> >>> > It should ask for the groupId and the artifactId
> > and
> > > >> >> generate
> > > >> >> >> >> the
> > > >> >> >> >> >> >>> > resulting
> > > >> >> >> >> >> >>> > commandline. It should also be able to be run
> > inside
> > > a
> > > >> >> >> >> confluence
> > > >> >> >> >> >> wiki
> > > >> >> >> >> >> >>> > page.
> > > >> >> >> >> >> >>> > The student can test using the Wicket confluence
> > > wiki.
> > > >> We
> > > >> >> >> will
> > > >> >> >>
> > > >> >> >> >> move
> > > >> >> >> >> >> >>> the
> > > >> >> >> >> >> >>> > page
> > > >> >> >> >> >> >>> > when ready to the official space.
> > > >> >> >> >> >> >>> >
> > > >> >> >> >> >> >>> > References:
> > > >> >> >> >> >> >>> >  - Official Quickstart page:
> > > >> >> >> >> >> http://wicket.apache.org/quickstart.html
> > > >> >> >> >> >> >>> >  - The GHOP Quickstart page open for editing by
> the
> > > >> >> student:
> > > >> >> >> >> GHOP
> > > >> >> >> >> -
> > > >> >> >> >> >> >>> > quickstart<
> > > >> >> >> >> >> >>>
> > > >> >> >> >>
> > > >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> > > >> >> >> >> >
> > > >> >> >> >> >> >>> >
> > > >> >> >> >> >> >>> > Martijn
> > > >> >> >> >> >> >>> >
> > > >> >> >> >> >> >>> > --
> > > >> >> >> >> >> >>> > Buy Wicket in Action: http://manning.com/dashorst
> > > >> >> >> >> >> >>> > Apache Wicket 1.3.0-rc1 is released
> > > >> >> >> >> >> >>> > Get it now:
> > > >> >> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> > > >> >> >> >> >> >>> >
> > > >> >> >> >> >> >>> >
> > > >> >> >> >> >> >>>
> > > >> >> >> >> >> >>> --
> > > >> >> >> >> >> >>> View this message in context:
> > > >> >> >> >> >> >>>
> > > >> >> >> >> >>
> > > >> >> >> >>
> > > >> >> >>
> > > >> >>
> > > >>
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
> > > >> >> >>
> > > >> >> >> >> >> >>> Sent from the Wicket - Dev mailing list archive at
> > > >> >> Nabble.com
> > > >> >> .
> > > >> >> >> >> >> >>>
> > > >> >> >> >> >> >>>
> > > >> >> >> >> >> >>
> > > >> >> >> >> >> >>
> > > >> >> >> >> >> >> --
> > > >> >> >> >> >> >> Buy Wicket in Action: http://manning.com/dashorst
> > > >> >> >> >> >> >> Apache Wicket 1.3.0-rc1 is released
> > > >> >> >> >> >> >> Get it now:
> > > >> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> > > >> >> >>
> > > >> >> >> >> >> >>
> > > >> >> >> >> >> >>
> > > >> >> >> >> >> >  http://www.nabble.com/file/p14139504/quickstart.html
> > > >> >> >> >> quickstart.html
> > > >> >> >> >> >> >
> > > >> >> >> >> >>
> > > >> >> >> >> >> --
> > > >> >> >> >> >> View this message in context:
> > > >> >> >> >> >>
> > > >> >> >> >>
> > > >> >> >>
> > > >> >>
> > > >>
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
> > > >> >> >> >> >> Sent from the Wicket - Dev mailing list archive at
> > > >> Nabble.com.
> > > >> >> >> >> >>
> > > >> >> >> >> >>
> > > >> >> >> >> >
> > > >> >> >> >> >
> > > >> >> >> >>
> > > >> >> >> >> --
> > > >> >> >> >> View this message in context:
> > > >> >> >> >>
> > > >> >> >>
> > > >> >>
> > > >>
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14140386
> > > >> >> >> >> Sent from the Wicket - Dev mailing list archive at
> > Nabble.com.
> > > >> >> >> >>
> > > >> >> >> >>
> > > >> >> >> >
> > > >> >> >> >
> > > >> >> >>
> > > >> >> >> --
> > > >> >> >> View this message in context:
> > > >> >> >>
> > > >> >>
> > > >>
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14141363
> > > >> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com
> .
> > > >> >> >>
> > > >> >> >>
> > > >> >> >
> > > >> >> >
> > > >> >>
> > > >> >> --
> > > >> >> View this message in context:
> > > >> >>
> > > >>
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14142196
> > > >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> > > >> >>
> > > >> >>
> > > >> >
> > > >> >
> > > >>
> > > >> --
> > > >> View this message in context:
> > > >>
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143550
> > > >>
> > > >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> > > >>
> > > >>
> > > >
> > > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143731
> > > Sent from the Wicket - Dev mailing list archive at Nabble.com.
> > >
> > >
> >
>
>
>
> --
> Buy Wicket in Action: http://manning.com/dashorst
> Apache Wicket 1.3.0-rc1 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>

Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by Martijn Dashorst <ma...@gmail.com>.
I've moved the code to the official site, let's see what it gives us in a
couple of hours :)
Martijn

On Dec 4, 2007 8:45 AM, Gerolf Seitz <ge...@gmail.com> wrote:

> hi,
>
> i think it's good now. i completed the task.
> thanks for your contribution.
>
> Cheers,
>  Gerolf
>
> On Dec 4, 2007 4:00 AM, popnbrown <sr...@gmail.com> wrote:
>
> >
> > tried that to doesnt work.
> > What does work is onkeyup.
> > My guess is that the javascript method reads the textfield after the key
> > is
> > released which is when you need to call, because when you are pressing
> > down
> > the input has not "technically" been entered into the textfield?
> >
> > Also further update: I have gotten the "Command Line: " to stay and
> before
> > as soon as the page loads the textfields are automatically given a value
> > correpsonding to the example (groupId = com.mycompany and artifactId =
> > myproject) and the command line for the given groupId and artifactId is
> > also
> > shown underneath a command line.
> >
> > Again a link:
> > http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> >
> > Anything else anyone wants to add on?
> >
> > Thanks,
> > Sravan Suryadevara
> >
> >
> >
> > igor.vaynberg wrote:
> > >
> > > try onkeydown :)
> > >
> > > -igor
> > >
> > >
> > > On Dec 3, 2007 6:41 PM, popnbrown <sr...@gmail.com>
> wrote:
> > >>
> > >> Tried onkeypress only works if the textfield is in a form and also
> > >> there's a
> > >> delay for example:
> > >>
> > >> you type in 'u' nothing will happen then you press 'o' the command
> line
> > >> will
> > >> show up with the 'u' in the groupId part
> > >>
> > >>
> > >>
> > >> Gerolf Seitz wrote:
> > >> >
> > >> > On Dec 4, 2007 1:33 AM, popnbrown <sr...@gmail.com>
> > wrote:
> > >> >
> > >> >>
> > >> >> There we go, I believe it works now.
> > >> >
> > >> >
> > >> > excellent. works like a charm ;)
> > >> >
> > >> > it would be nice if the user wouldn't have to click a button, but
> the
> > >> > command line is
> > >> > automatically updated (either onblur or onkeypress, ...)
> > >> >
> > >> > btw, the form is not necessary, because there is no form submit
> > >> involved
> > >> > (it
> > >> > would need
> > >> > a close tag anyway ;) )
> > >> >
> > >> > great work so far, now comes the polishing.
> > >> >
> > >> >   Gerolf
> > >> >
> > >> > http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> > >> >>
> > >> >> Want me to make an official statement on the ghop site?
> > >> >>
> > >> >>
> > >> >>
> > >> >
> > >> >> Thanks,
> > >> >> Sravan Suryadevara
> > >> >>
> > >> >> Gerolf Seitz wrote:
> > >> >> >
> > >> >> > hi,
> > >> >> > you can include any html and javascript the following way:
> > >> >> >
> > >> >> > {html:output=html}
> > >> >> > <script>document.write("test");</script>
> > >> >> > <input type="text" id="groupId"/>
> > >> >> > {html}
> > >> >> >
> > >> >> > hth,
> > >> >> >   Gerolf
> > >> >> >
> > >> >> > On Dec 4, 2007 12:31 AM, popnbrown <sravan.suryadevara@gmail.com
> >
> > >> >> wrote:
> > >> >> >
> > >> >> >>
> > >> >> >> Ok so latest latest update. I was browsing the Confluence
> forums
> > >> and
> > >> >> >> apparently there have been attempts to use javascript code on
> > >> >> Confluence
> > >> >> >> pages and I e-mailed one of the guys about it, and I'm hoping
> for
> > a
> > >> >> reply
> > >> >> >> tonight if not, tommorrow.
> > >> >> >> Besides that do you know what people mean when they say "the
> html
> > >> >> plugin"
> > >> >> >> for Confluence?
> > >> >> >>
> > >> >> >> Thanks,
> > >> >> >> Sravan Suryadevara
> > >> >> >>
> > >> >> >>
> > >> >> >> Gerolf Seitz wrote:
> > >> >> >> >
> > >> >> >> > On Dec 4, 2007 12:03 AM, popnbrown <
> > sravan.suryadevara@gmail.com>
> > >> >> >> wrote:
> > >> >> >> >
> > >> >> >> >>
> > >> >> >> >> Well, the thing was I forgot how to create textboxes and
> what
> > >> not
> > >> >> and
> > >> >> >> I
> > >> >> >>
> > >> >> >> >> haven't touched JavaScript for a bit. Since I'm taking a
> > course
> > >> in
> > >> >> >> Java
> > >> >> >> I
> > >> >> >> >> decided to do an Applet. However, you are right that its a
> lot
> > >> more
> > >> >> >> >> inefficient, so therefore I (thanks to google) found out how
> > to
> > >> >> create
> > >> >> >> >> textboxes and relate everything together to get it right. So
> > now
> > >> I
> > >> >> >> have
> > >> >> >> >> it
> > >> >> >> >> I'll try to post it again on the ghop site and I'll also
> > e-mail
> > >> you
> > >> >> a
> > >> >> >> >> copy.
> > >> >> >> >>
> > >> >> >> >
> > >> >> >> > great.
> > >> >> >> >
> > >> >> >> >
> > >> >> >> >>
> > >> >> >> >> If you are going to use flash, I have no knowledge of how to
> > >> code
> > >> >> in
> > >> >> >> >> flash,
> > >> >> >> >> in which case I can't take the task. I'll try and see if I
> can
> > >> >> upload
> > >> >> >> it
> > >> >> >> >> on
> > >> >> >> >> Confluence also.
> > >> >> >> >>
> > >> >> >> >
> > >> >> >> > no worries, it was merely a suggestion for an alternative
> > route.
> > >> >> imho,
> > >> >> >> > javascript
> > >> >> >> > is clearly the best way to handle this.
> > >> >> >> >
> > >> >> >> >   Gerolf
> > >> >> >> >
> > >> >> >> >
> > >> >> >> >> Thanks,
> > >> >> >> >> Sravan Suryadevara
> > >> >> >> >>
> > >> >> >> >>
> > >> >> >> >> Gerolf Seitz wrote:
> > >> >> >> >> >
> > >> >> >> >> > hm, i can only download a .dat file. when i open it, after
> i
> > >> had
> > >> >> >> >> renamed
> > >> >> >> >> > it
> > >> >> >> >> > to .html, it crashed my firefox :(
> > >> >> >> >> >
> > >> >> >> >> > another question: in the task description it is stated
> that
> > >> this
> > >> >> can
> > >> >> >> >> (and
> > >> >> >> >> > probably should) be solved with javascript.
> > >> >> >> >> > is there a specific reason why you went the java applet
> > route?
> > >> >> that
> > >> >> >> >> seems
> > >> >> >> >> > a
> > >> >> >> >> > little bit of an overkill for that task.
> > >> >> >> >> > javascript also gets loaded way faster than applets.
> > >> >> >> >> >
> > >> >> >> >> > if there is no way for us to include javascript in
> > confluence,
> > >> >> flash
> > >> >> >> >> might
> > >> >> >> >> > be another solution?
> > >> >> >> >> >
> > >> >> >> >> > any comments?
> > >> >> >> >> >
> > >> >> >> >> >   Gerolf
> > >> >> >> >> >
> > >> >> >> >> >
> > >> >> >> >> > On Dec 3, 2007 10:46 PM, popnbrown
> > >> <sr...@gmail.com>
> > >> >> >> >> wrote:
> > >> >> >> >> >
> > >> >> >> >> >>
> > >> >> >> >> >> I can't get the file uploader to work here, so here's a
> > link
> > >> to
> > >> >> the
> > >> >> >> >> issue
> > >> >> >> >> >> at
> > >> >> >> >> >> GHOP with the attatchment[0]
> > >> >> >> >> >> It's attatched to comment #6.
> > >> >> >> >> >>
> > >> >> >> >> >> Thanks,
> > >> >> >> >> >> Sravan Suryadevara
> > >> >> >> >> >>
> > >> >> >> >> >> [0]
> > >> >> >> >> >>
> > >> >> >> >> >>
> > >> >> >> >>
> > >> >> >>
> > >> >>
> > >>
> >
> http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6
> > >> >> >>
> > >> >> >> >> >>
> > >> >> >> >> >>
> > >> >> >> >> >> popnbrown wrote:
> > >> >> >> >> >> >
> > >> >> >> >> >> > No I did'nt. I was actually trying to see if what I
> write
> > >> >> works
> > >> >> >> in
> > >> >> >> >> like
> > >> >> >> >> >> a
> > >> >> >> >> >> > day or two and then put the code into the quickstart
> > page.
> > >> >> >> >> >> >
> > >> >> >> >> >> > By the way, I have no idea how to edit that page to
> write
> > >> >> >> >> >> Javascript/HTML
> > >> >> >> >> >> > code without taking the source code of the page and
> > saving
> > >> it
> > >> >> on
> > >> >> >> my
> > >> >> >> >> >> > computer, which should work for you guys, so I can
> e-mail
> > >> the
> > >> >> >> >> >> > quickstart.html to you guys. It's just easier for me to
> > >> work
> > >> >> on
> > >> >> >> >> since
> > >> >> >> >> I
> > >> >> >> >> >> > can take it everywhere with me.
> > >> >> >> >> >> >
> > >> >> >> >> >> > And the problem is a lot bigger cause the command line
> > >> >> replaces
> > >> >> >> >> >> everything
> > >> >> >> >> >> > on the page. I am going to upload the
> quickstart.htmlwith
> > >> the
> > >> >> >> added
> > >> >> >> >> in
> > >> >> >> >> >> > components.
> > >> >> >> >> >> >
> > >> >> >> >> >> >
> > >> >> >> >> >> > Martijn Dashorst wrote:
> > >> >> >> >> >> >>
> > >> >> >> >> >> >> I don't see it here:
> > >> >> >> >> >> >>
> > >> >> >>
> > http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> > >> >> >> >> >> >> Are you editing the page in the link above? It was
> meant
> > >> for
> > >> >> >> that
> > >> >> >> >> ;)
> > >> >> >> >> >> >>
> > >> >> >> >> >> >> Martijn
> > >> >> >> >> >> >>
> > >> >> >> >> >> >> On Dec 3, 2007 9:05 PM, popnbrown <
> > >> >> sravan.suryadevara@gmail.com>
> > >> >> >> >> >> wrote:
> > >> >> >> >> >> >>
> > >> >> >> >> >> >>>
> > >> >> >> >> >> >>> Status Report:
> > >> >> >> >> >> >>>
> > >> >> >> >> >> >>> So far I have the text box fields for GroupId and
> > >> ArtifactId
> > >> >> >> and
> > >> >> >> a
> > >> >> >> >> >> >>> button
> > >> >> >> >> >> >>> to
> > >> >> >> >> >> >>> click that will generate the command line. However,
> > when
> > >> the
> > >> >> >> >> button
> > >> >> >> >> >> is
> > >> >> >> >> >> >>> clicked the applet and button get replaced by the
> > command
> > >> >> line.
> > >> >> >> >> >> >>>
> > >> >> >> >> >> >>> That might be a little frustrating for the user
> because
> > >> >> he/she
> > >> >> >> >> would
> > >> >> >> >> >> >>> have
> > >> >> >> >> >> >>> to
> > >> >> >> >> >> >>> refresh to re-create a new line, so right now I am
> > trying
> > >> to
> > >> >> >> write
> > >> >> >> >> >> the
> > >> >> >> >> >> >>> line
> > >> >> >> >> >> >>> below the button.
> > >> >> >> >> >> >>>
> > >> >> >> >> >> >>> Tips would help!!!
> > >> >> >> >> >> >>>
> > >> >> >> >> >> >>>
> > >> >> >> >> >> >>> Martijn Dashorst wrote:
> > >> >> >> >> >> >>> >
> > >> >> >> >> >> >>> > The current quickstart page shows a commandline
> that
> > is
> > >> >> not
> > >> >> >> very
> > >> >> >> >> >> >>> friendly
> > >> >> >> >> >> >>> > to
> > >> >> >> >> >> >>> > edit by hand: you have to unwrap the lines and
> figure
> > >> out
> > >> >> >> which
> > >> >> >> >> >> parts
> > >> >> >> >> >> >>> need
> > >> >> >> >> >> >>> > to be changed. This task will add to the example
> two
> > >> >> >> textboxes
> > >> >> >> >> and
> > >> >> >> >> >> a
> > >> >> >> >> >> >>> bit
> > >> >> >> >> >> >>> > of
> > >> >> >> >> >> >>> > Javascript to generate the maven command ready to
> > >> >> copy/paste
> > >> >> >> to
> > >> >> >> >> a
> > >> >> >> >> >> dos
> > >> >> >> >> >> >>> box
> > >> >> >> >> >> >>> > (or unix commandline).
> > >> >> >> >> >> >>> > It should ask for the groupId and the artifactId
> and
> > >> >> generate
> > >> >> >> >> the
> > >> >> >> >> >> >>> > resulting
> > >> >> >> >> >> >>> > commandline. It should also be able to be run
> inside
> > a
> > >> >> >> >> confluence
> > >> >> >> >> >> wiki
> > >> >> >> >> >> >>> > page.
> > >> >> >> >> >> >>> > The student can test using the Wicket confluence
> > wiki.
> > >> We
> > >> >> >> will
> > >> >> >>
> > >> >> >> >> move
> > >> >> >> >> >> >>> the
> > >> >> >> >> >> >>> > page
> > >> >> >> >> >> >>> > when ready to the official space.
> > >> >> >> >> >> >>> >
> > >> >> >> >> >> >>> > References:
> > >> >> >> >> >> >>> >  - Official Quickstart page:
> > >> >> >> >> >> http://wicket.apache.org/quickstart.html
> > >> >> >> >> >> >>> >  - The GHOP Quickstart page open for editing by the
> > >> >> student:
> > >> >> >> >> GHOP
> > >> >> >> >> -
> > >> >> >> >> >> >>> > quickstart<
> > >> >> >> >> >> >>>
> > >> >> >> >>
> > >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> > >> >> >> >> >
> > >> >> >> >> >> >>> >
> > >> >> >> >> >> >>> > Martijn
> > >> >> >> >> >> >>> >
> > >> >> >> >> >> >>> > --
> > >> >> >> >> >> >>> > Buy Wicket in Action: http://manning.com/dashorst
> > >> >> >> >> >> >>> > Apache Wicket 1.3.0-rc1 is released
> > >> >> >> >> >> >>> > Get it now:
> > >> >> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> > >> >> >> >> >> >>> >
> > >> >> >> >> >> >>> >
> > >> >> >> >> >> >>>
> > >> >> >> >> >> >>> --
> > >> >> >> >> >> >>> View this message in context:
> > >> >> >> >> >> >>>
> > >> >> >> >> >>
> > >> >> >> >>
> > >> >> >>
> > >> >>
> > >>
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
> > >> >> >>
> > >> >> >> >> >> >>> Sent from the Wicket - Dev mailing list archive at
> > >> >> Nabble.com
> > >> >> .
> > >> >> >> >> >> >>>
> > >> >> >> >> >> >>>
> > >> >> >> >> >> >>
> > >> >> >> >> >> >>
> > >> >> >> >> >> >> --
> > >> >> >> >> >> >> Buy Wicket in Action: http://manning.com/dashorst
> > >> >> >> >> >> >> Apache Wicket 1.3.0-rc1 is released
> > >> >> >> >> >> >> Get it now:
> > >> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> > >> >> >>
> > >> >> >> >> >> >>
> > >> >> >> >> >> >>
> > >> >> >> >> >> >  http://www.nabble.com/file/p14139504/quickstart.html
> > >> >> >> >> quickstart.html
> > >> >> >> >> >> >
> > >> >> >> >> >>
> > >> >> >> >> >> --
> > >> >> >> >> >> View this message in context:
> > >> >> >> >> >>
> > >> >> >> >>
> > >> >> >>
> > >> >>
> > >>
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
> > >> >> >> >> >> Sent from the Wicket - Dev mailing list archive at
> > >> Nabble.com.
> > >> >> >> >> >>
> > >> >> >> >> >>
> > >> >> >> >> >
> > >> >> >> >> >
> > >> >> >> >>
> > >> >> >> >> --
> > >> >> >> >> View this message in context:
> > >> >> >> >>
> > >> >> >>
> > >> >>
> > >>
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14140386
> > >> >> >> >> Sent from the Wicket - Dev mailing list archive at
> Nabble.com.
> > >> >> >> >>
> > >> >> >> >>
> > >> >> >> >
> > >> >> >> >
> > >> >> >>
> > >> >> >> --
> > >> >> >> View this message in context:
> > >> >> >>
> > >> >>
> > >>
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14141363
> > >> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> > >> >> >>
> > >> >> >>
> > >> >> >
> > >> >> >
> > >> >>
> > >> >> --
> > >> >> View this message in context:
> > >> >>
> > >>
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14142196
> > >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> > >> >>
> > >> >>
> > >> >
> > >> >
> > >>
> > >> --
> > >> View this message in context:
> > >>
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143550
> > >>
> > >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> > >>
> > >>
> > >
> > >
> >
> > --
> > View this message in context:
> >
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143731
> > Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >
> >
>



-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-rc1 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/

Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by Gerolf Seitz <ge...@gmail.com>.
hi,

i think it's good now. i completed the task.
thanks for your contribution.

Cheers,
  Gerolf

On Dec 4, 2007 4:00 AM, popnbrown <sr...@gmail.com> wrote:

>
> tried that to doesnt work.
> What does work is onkeyup.
> My guess is that the javascript method reads the textfield after the key
> is
> released which is when you need to call, because when you are pressing
> down
> the input has not "technically" been entered into the textfield?
>
> Also further update: I have gotten the "Command Line: " to stay and before
> as soon as the page loads the textfields are automatically given a value
> correpsonding to the example (groupId = com.mycompany and artifactId =
> myproject) and the command line for the given groupId and artifactId is
> also
> shown underneath a command line.
>
> Again a link:
> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>
> Anything else anyone wants to add on?
>
> Thanks,
> Sravan Suryadevara
>
>
>
> igor.vaynberg wrote:
> >
> > try onkeydown :)
> >
> > -igor
> >
> >
> > On Dec 3, 2007 6:41 PM, popnbrown <sr...@gmail.com> wrote:
> >>
> >> Tried onkeypress only works if the textfield is in a form and also
> >> there's a
> >> delay for example:
> >>
> >> you type in 'u' nothing will happen then you press 'o' the command line
> >> will
> >> show up with the 'u' in the groupId part
> >>
> >>
> >>
> >> Gerolf Seitz wrote:
> >> >
> >> > On Dec 4, 2007 1:33 AM, popnbrown <sr...@gmail.com>
> wrote:
> >> >
> >> >>
> >> >> There we go, I believe it works now.
> >> >
> >> >
> >> > excellent. works like a charm ;)
> >> >
> >> > it would be nice if the user wouldn't have to click a button, but the
> >> > command line is
> >> > automatically updated (either onblur or onkeypress, ...)
> >> >
> >> > btw, the form is not necessary, because there is no form submit
> >> involved
> >> > (it
> >> > would need
> >> > a close tag anyway ;) )
> >> >
> >> > great work so far, now comes the polishing.
> >> >
> >> >   Gerolf
> >> >
> >> > http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> >> >>
> >> >> Want me to make an official statement on the ghop site?
> >> >>
> >> >>
> >> >>
> >> >
> >> >> Thanks,
> >> >> Sravan Suryadevara
> >> >>
> >> >> Gerolf Seitz wrote:
> >> >> >
> >> >> > hi,
> >> >> > you can include any html and javascript the following way:
> >> >> >
> >> >> > {html:output=html}
> >> >> > <script>document.write("test");</script>
> >> >> > <input type="text" id="groupId"/>
> >> >> > {html}
> >> >> >
> >> >> > hth,
> >> >> >   Gerolf
> >> >> >
> >> >> > On Dec 4, 2007 12:31 AM, popnbrown <sr...@gmail.com>
> >> >> wrote:
> >> >> >
> >> >> >>
> >> >> >> Ok so latest latest update. I was browsing the Confluence forums
> >> and
> >> >> >> apparently there have been attempts to use javascript code on
> >> >> Confluence
> >> >> >> pages and I e-mailed one of the guys about it, and I'm hoping for
> a
> >> >> reply
> >> >> >> tonight if not, tommorrow.
> >> >> >> Besides that do you know what people mean when they say "the html
> >> >> plugin"
> >> >> >> for Confluence?
> >> >> >>
> >> >> >> Thanks,
> >> >> >> Sravan Suryadevara
> >> >> >>
> >> >> >>
> >> >> >> Gerolf Seitz wrote:
> >> >> >> >
> >> >> >> > On Dec 4, 2007 12:03 AM, popnbrown <
> sravan.suryadevara@gmail.com>
> >> >> >> wrote:
> >> >> >> >
> >> >> >> >>
> >> >> >> >> Well, the thing was I forgot how to create textboxes and what
> >> not
> >> >> and
> >> >> >> I
> >> >> >>
> >> >> >> >> haven't touched JavaScript for a bit. Since I'm taking a
> course
> >> in
> >> >> >> Java
> >> >> >> I
> >> >> >> >> decided to do an Applet. However, you are right that its a lot
> >> more
> >> >> >> >> inefficient, so therefore I (thanks to google) found out how
> to
> >> >> create
> >> >> >> >> textboxes and relate everything together to get it right. So
> now
> >> I
> >> >> >> have
> >> >> >> >> it
> >> >> >> >> I'll try to post it again on the ghop site and I'll also
> e-mail
> >> you
> >> >> a
> >> >> >> >> copy.
> >> >> >> >>
> >> >> >> >
> >> >> >> > great.
> >> >> >> >
> >> >> >> >
> >> >> >> >>
> >> >> >> >> If you are going to use flash, I have no knowledge of how to
> >> code
> >> >> in
> >> >> >> >> flash,
> >> >> >> >> in which case I can't take the task. I'll try and see if I can
> >> >> upload
> >> >> >> it
> >> >> >> >> on
> >> >> >> >> Confluence also.
> >> >> >> >>
> >> >> >> >
> >> >> >> > no worries, it was merely a suggestion for an alternative
> route.
> >> >> imho,
> >> >> >> > javascript
> >> >> >> > is clearly the best way to handle this.
> >> >> >> >
> >> >> >> >   Gerolf
> >> >> >> >
> >> >> >> >
> >> >> >> >> Thanks,
> >> >> >> >> Sravan Suryadevara
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> Gerolf Seitz wrote:
> >> >> >> >> >
> >> >> >> >> > hm, i can only download a .dat file. when i open it, after i
> >> had
> >> >> >> >> renamed
> >> >> >> >> > it
> >> >> >> >> > to .html, it crashed my firefox :(
> >> >> >> >> >
> >> >> >> >> > another question: in the task description it is stated that
> >> this
> >> >> can
> >> >> >> >> (and
> >> >> >> >> > probably should) be solved with javascript.
> >> >> >> >> > is there a specific reason why you went the java applet
> route?
> >> >> that
> >> >> >> >> seems
> >> >> >> >> > a
> >> >> >> >> > little bit of an overkill for that task.
> >> >> >> >> > javascript also gets loaded way faster than applets.
> >> >> >> >> >
> >> >> >> >> > if there is no way for us to include javascript in
> confluence,
> >> >> flash
> >> >> >> >> might
> >> >> >> >> > be another solution?
> >> >> >> >> >
> >> >> >> >> > any comments?
> >> >> >> >> >
> >> >> >> >> >   Gerolf
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> > On Dec 3, 2007 10:46 PM, popnbrown
> >> <sr...@gmail.com>
> >> >> >> >> wrote:
> >> >> >> >> >
> >> >> >> >> >>
> >> >> >> >> >> I can't get the file uploader to work here, so here's a
> link
> >> to
> >> >> the
> >> >> >> >> issue
> >> >> >> >> >> at
> >> >> >> >> >> GHOP with the attatchment[0]
> >> >> >> >> >> It's attatched to comment #6.
> >> >> >> >> >>
> >> >> >> >> >> Thanks,
> >> >> >> >> >> Sravan Suryadevara
> >> >> >> >> >>
> >> >> >> >> >> [0]
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6
> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >> popnbrown wrote:
> >> >> >> >> >> >
> >> >> >> >> >> > No I did'nt. I was actually trying to see if what I write
> >> >> works
> >> >> >> in
> >> >> >> >> like
> >> >> >> >> >> a
> >> >> >> >> >> > day or two and then put the code into the quickstart
> page.
> >> >> >> >> >> >
> >> >> >> >> >> > By the way, I have no idea how to edit that page to write
> >> >> >> >> >> Javascript/HTML
> >> >> >> >> >> > code without taking the source code of the page and
> saving
> >> it
> >> >> on
> >> >> >> my
> >> >> >> >> >> > computer, which should work for you guys, so I can e-mail
> >> the
> >> >> >> >> >> > quickstart.html to you guys. It's just easier for me to
> >> work
> >> >> on
> >> >> >> >> since
> >> >> >> >> I
> >> >> >> >> >> > can take it everywhere with me.
> >> >> >> >> >> >
> >> >> >> >> >> > And the problem is a lot bigger cause the command line
> >> >> replaces
> >> >> >> >> >> everything
> >> >> >> >> >> > on the page. I am going to upload the quickstart.htmlwith
> >> the
> >> >> >> added
> >> >> >> >> in
> >> >> >> >> >> > components.
> >> >> >> >> >> >
> >> >> >> >> >> >
> >> >> >> >> >> > Martijn Dashorst wrote:
> >> >> >> >> >> >>
> >> >> >> >> >> >> I don't see it here:
> >> >> >> >> >> >>
> >> >> >>
> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> >> >> >> >> >> >> Are you editing the page in the link above? It was meant
> >> for
> >> >> >> that
> >> >> >> >> ;)
> >> >> >> >> >> >>
> >> >> >> >> >> >> Martijn
> >> >> >> >> >> >>
> >> >> >> >> >> >> On Dec 3, 2007 9:05 PM, popnbrown <
> >> >> sravan.suryadevara@gmail.com>
> >> >> >> >> >> wrote:
> >> >> >> >> >> >>
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> Status Report:
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> So far I have the text box fields for GroupId and
> >> ArtifactId
> >> >> >> and
> >> >> >> a
> >> >> >> >> >> >>> button
> >> >> >> >> >> >>> to
> >> >> >> >> >> >>> click that will generate the command line. However,
> when
> >> the
> >> >> >> >> button
> >> >> >> >> >> is
> >> >> >> >> >> >>> clicked the applet and button get replaced by the
> command
> >> >> line.
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> That might be a little frustrating for the user because
> >> >> he/she
> >> >> >> >> would
> >> >> >> >> >> >>> have
> >> >> >> >> >> >>> to
> >> >> >> >> >> >>> refresh to re-create a new line, so right now I am
> trying
> >> to
> >> >> >> write
> >> >> >> >> >> the
> >> >> >> >> >> >>> line
> >> >> >> >> >> >>> below the button.
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> Tips would help!!!
> >> >> >> >> >> >>>
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> Martijn Dashorst wrote:
> >> >> >> >> >> >>> >
> >> >> >> >> >> >>> > The current quickstart page shows a commandline that
> is
> >> >> not
> >> >> >> very
> >> >> >> >> >> >>> friendly
> >> >> >> >> >> >>> > to
> >> >> >> >> >> >>> > edit by hand: you have to unwrap the lines and figure
> >> out
> >> >> >> which
> >> >> >> >> >> parts
> >> >> >> >> >> >>> need
> >> >> >> >> >> >>> > to be changed. This task will add to the example two
> >> >> >> textboxes
> >> >> >> >> and
> >> >> >> >> >> a
> >> >> >> >> >> >>> bit
> >> >> >> >> >> >>> > of
> >> >> >> >> >> >>> > Javascript to generate the maven command ready to
> >> >> copy/paste
> >> >> >> to
> >> >> >> >> a
> >> >> >> >> >> dos
> >> >> >> >> >> >>> box
> >> >> >> >> >> >>> > (or unix commandline).
> >> >> >> >> >> >>> > It should ask for the groupId and the artifactId and
> >> >> generate
> >> >> >> >> the
> >> >> >> >> >> >>> > resulting
> >> >> >> >> >> >>> > commandline. It should also be able to be run inside
> a
> >> >> >> >> confluence
> >> >> >> >> >> wiki
> >> >> >> >> >> >>> > page.
> >> >> >> >> >> >>> > The student can test using the Wicket confluence
> wiki.
> >> We
> >> >> >> will
> >> >> >>
> >> >> >> >> move
> >> >> >> >> >> >>> the
> >> >> >> >> >> >>> > page
> >> >> >> >> >> >>> > when ready to the official space.
> >> >> >> >> >> >>> >
> >> >> >> >> >> >>> > References:
> >> >> >> >> >> >>> >  - Official Quickstart page:
> >> >> >> >> >> http://wicket.apache.org/quickstart.html
> >> >> >> >> >> >>> >  - The GHOP Quickstart page open for editing by the
> >> >> student:
> >> >> >> >> GHOP
> >> >> >> >> -
> >> >> >> >> >> >>> > quickstart<
> >> >> >> >> >> >>>
> >> >> >> >>
> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> >> >> >> >> >
> >> >> >> >> >> >>> >
> >> >> >> >> >> >>> > Martijn
> >> >> >> >> >> >>> >
> >> >> >> >> >> >>> > --
> >> >> >> >> >> >>> > Buy Wicket in Action: http://manning.com/dashorst
> >> >> >> >> >> >>> > Apache Wicket 1.3.0-rc1 is released
> >> >> >> >> >> >>> > Get it now:
> >> >> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> >> >> >> >> >> >>> >
> >> >> >> >> >> >>> >
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> --
> >> >> >> >> >> >>> View this message in context:
> >> >> >> >> >> >>>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
> >> >> >>
> >> >> >> >> >> >>> Sent from the Wicket - Dev mailing list archive at
> >> >> Nabble.com
> >> >> .
> >> >> >> >> >> >>>
> >> >> >> >> >> >>>
> >> >> >> >> >> >>
> >> >> >> >> >> >>
> >> >> >> >> >> >> --
> >> >> >> >> >> >> Buy Wicket in Action: http://manning.com/dashorst
> >> >> >> >> >> >> Apache Wicket 1.3.0-rc1 is released
> >> >> >> >> >> >> Get it now:
> >> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> >> >> >>
> >> >> >> >> >> >>
> >> >> >> >> >> >>
> >> >> >> >> >> >  http://www.nabble.com/file/p14139504/quickstart.html
> >> >> >> >> quickstart.html
> >> >> >> >> >> >
> >> >> >> >> >>
> >> >> >> >> >> --
> >> >> >> >> >> View this message in context:
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
> >> >> >> >> >> Sent from the Wicket - Dev mailing list archive at
> >> Nabble.com.
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >>
> >> >> >> >> --
> >> >> >> >> View this message in context:
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14140386
> >> >> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >> >> >> >>
> >> >> >> >>
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14141363
> >> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14142196
> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143550
> >>
> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143731
> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>
>

Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by popnbrown <sr...@gmail.com>.
tried that to doesnt work.
What does work is onkeyup. 
My guess is that the javascript method reads the textfield after the key is
released which is when you need to call, because when you are pressing down
the input has not "technically" been entered into the textfield? 

Also further update: I have gotten the "Command Line: " to stay and before
as soon as the page loads the textfields are automatically given a value
correpsonding to the example (groupId = com.mycompany and artifactId =
myproject) and the command line for the given groupId and artifactId is also
shown underneath a command line. 

Again a link:
http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart

Anything else anyone wants to add on?

Thanks,
Sravan Suryadevara



igor.vaynberg wrote:
> 
> try onkeydown :)
> 
> -igor
> 
> 
> On Dec 3, 2007 6:41 PM, popnbrown <sr...@gmail.com> wrote:
>>
>> Tried onkeypress only works if the textfield is in a form and also
>> there's a
>> delay for example:
>>
>> you type in 'u' nothing will happen then you press 'o' the command line
>> will
>> show up with the 'u' in the groupId part
>>
>>
>>
>> Gerolf Seitz wrote:
>> >
>> > On Dec 4, 2007 1:33 AM, popnbrown <sr...@gmail.com> wrote:
>> >
>> >>
>> >> There we go, I believe it works now.
>> >
>> >
>> > excellent. works like a charm ;)
>> >
>> > it would be nice if the user wouldn't have to click a button, but the
>> > command line is
>> > automatically updated (either onblur or onkeypress, ...)
>> >
>> > btw, the form is not necessary, because there is no form submit
>> involved
>> > (it
>> > would need
>> > a close tag anyway ;) )
>> >
>> > great work so far, now comes the polishing.
>> >
>> >   Gerolf
>> >
>> > http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>> >>
>> >> Want me to make an official statement on the ghop site?
>> >>
>> >>
>> >>
>> >
>> >> Thanks,
>> >> Sravan Suryadevara
>> >>
>> >> Gerolf Seitz wrote:
>> >> >
>> >> > hi,
>> >> > you can include any html and javascript the following way:
>> >> >
>> >> > {html:output=html}
>> >> > <script>document.write("test");</script>
>> >> > <input type="text" id="groupId"/>
>> >> > {html}
>> >> >
>> >> > hth,
>> >> >   Gerolf
>> >> >
>> >> > On Dec 4, 2007 12:31 AM, popnbrown <sr...@gmail.com>
>> >> wrote:
>> >> >
>> >> >>
>> >> >> Ok so latest latest update. I was browsing the Confluence forums
>> and
>> >> >> apparently there have been attempts to use javascript code on
>> >> Confluence
>> >> >> pages and I e-mailed one of the guys about it, and I'm hoping for a
>> >> reply
>> >> >> tonight if not, tommorrow.
>> >> >> Besides that do you know what people mean when they say "the html
>> >> plugin"
>> >> >> for Confluence?
>> >> >>
>> >> >> Thanks,
>> >> >> Sravan Suryadevara
>> >> >>
>> >> >>
>> >> >> Gerolf Seitz wrote:
>> >> >> >
>> >> >> > On Dec 4, 2007 12:03 AM, popnbrown <sr...@gmail.com>
>> >> >> wrote:
>> >> >> >
>> >> >> >>
>> >> >> >> Well, the thing was I forgot how to create textboxes and what
>> not
>> >> and
>> >> >> I
>> >> >>
>> >> >> >> haven't touched JavaScript for a bit. Since I'm taking a course
>> in
>> >> >> Java
>> >> >> I
>> >> >> >> decided to do an Applet. However, you are right that its a lot
>> more
>> >> >> >> inefficient, so therefore I (thanks to google) found out how to
>> >> create
>> >> >> >> textboxes and relate everything together to get it right. So now
>> I
>> >> >> have
>> >> >> >> it
>> >> >> >> I'll try to post it again on the ghop site and I'll also e-mail
>> you
>> >> a
>> >> >> >> copy.
>> >> >> >>
>> >> >> >
>> >> >> > great.
>> >> >> >
>> >> >> >
>> >> >> >>
>> >> >> >> If you are going to use flash, I have no knowledge of how to
>> code
>> >> in
>> >> >> >> flash,
>> >> >> >> in which case I can't take the task. I'll try and see if I can
>> >> upload
>> >> >> it
>> >> >> >> on
>> >> >> >> Confluence also.
>> >> >> >>
>> >> >> >
>> >> >> > no worries, it was merely a suggestion for an alternative route.
>> >> imho,
>> >> >> > javascript
>> >> >> > is clearly the best way to handle this.
>> >> >> >
>> >> >> >   Gerolf
>> >> >> >
>> >> >> >
>> >> >> >> Thanks,
>> >> >> >> Sravan Suryadevara
>> >> >> >>
>> >> >> >>
>> >> >> >> Gerolf Seitz wrote:
>> >> >> >> >
>> >> >> >> > hm, i can only download a .dat file. when i open it, after i
>> had
>> >> >> >> renamed
>> >> >> >> > it
>> >> >> >> > to .html, it crashed my firefox :(
>> >> >> >> >
>> >> >> >> > another question: in the task description it is stated that
>> this
>> >> can
>> >> >> >> (and
>> >> >> >> > probably should) be solved with javascript.
>> >> >> >> > is there a specific reason why you went the java applet route?
>> >> that
>> >> >> >> seems
>> >> >> >> > a
>> >> >> >> > little bit of an overkill for that task.
>> >> >> >> > javascript also gets loaded way faster than applets.
>> >> >> >> >
>> >> >> >> > if there is no way for us to include javascript in confluence,
>> >> flash
>> >> >> >> might
>> >> >> >> > be another solution?
>> >> >> >> >
>> >> >> >> > any comments?
>> >> >> >> >
>> >> >> >> >   Gerolf
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > On Dec 3, 2007 10:46 PM, popnbrown
>> <sr...@gmail.com>
>> >> >> >> wrote:
>> >> >> >> >
>> >> >> >> >>
>> >> >> >> >> I can't get the file uploader to work here, so here's a link
>> to
>> >> the
>> >> >> >> issue
>> >> >> >> >> at
>> >> >> >> >> GHOP with the attatchment[0]
>> >> >> >> >> It's attatched to comment #6.
>> >> >> >> >>
>> >> >> >> >> Thanks,
>> >> >> >> >> Sravan Suryadevara
>> >> >> >> >>
>> >> >> >> >> [0]
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6
>> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> popnbrown wrote:
>> >> >> >> >> >
>> >> >> >> >> > No I did'nt. I was actually trying to see if what I write
>> >> works
>> >> >> in
>> >> >> >> like
>> >> >> >> >> a
>> >> >> >> >> > day or two and then put the code into the quickstart page.
>> >> >> >> >> >
>> >> >> >> >> > By the way, I have no idea how to edit that page to write
>> >> >> >> >> Javascript/HTML
>> >> >> >> >> > code without taking the source code of the page and saving
>> it
>> >> on
>> >> >> my
>> >> >> >> >> > computer, which should work for you guys, so I can e-mail
>> the
>> >> >> >> >> > quickstart.html to you guys. It's just easier for me to
>> work
>> >> on
>> >> >> >> since
>> >> >> >> I
>> >> >> >> >> > can take it everywhere with me.
>> >> >> >> >> >
>> >> >> >> >> > And the problem is a lot bigger cause the command line
>> >> replaces
>> >> >> >> >> everything
>> >> >> >> >> > on the page. I am going to upload the quickstart.html with
>> the
>> >> >> added
>> >> >> >> in
>> >> >> >> >> > components.
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > Martijn Dashorst wrote:
>> >> >> >> >> >>
>> >> >> >> >> >> I don't see it here:
>> >> >> >> >> >>
>> >> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>> >> >> >> >> >> Are you editing the page in the link above? It was meant
>> for
>> >> >> that
>> >> >> >> ;)
>> >> >> >> >> >>
>> >> >> >> >> >> Martijn
>> >> >> >> >> >>
>> >> >> >> >> >> On Dec 3, 2007 9:05 PM, popnbrown <
>> >> sravan.suryadevara@gmail.com>
>> >> >> >> >> wrote:
>> >> >> >> >> >>
>> >> >> >> >> >>>
>> >> >> >> >> >>> Status Report:
>> >> >> >> >> >>>
>> >> >> >> >> >>> So far I have the text box fields for GroupId and
>> ArtifactId
>> >> >> and
>> >> >> a
>> >> >> >> >> >>> button
>> >> >> >> >> >>> to
>> >> >> >> >> >>> click that will generate the command line. However, when
>> the
>> >> >> >> button
>> >> >> >> >> is
>> >> >> >> >> >>> clicked the applet and button get replaced by the command
>> >> line.
>> >> >> >> >> >>>
>> >> >> >> >> >>> That might be a little frustrating for the user because
>> >> he/she
>> >> >> >> would
>> >> >> >> >> >>> have
>> >> >> >> >> >>> to
>> >> >> >> >> >>> refresh to re-create a new line, so right now I am trying
>> to
>> >> >> write
>> >> >> >> >> the
>> >> >> >> >> >>> line
>> >> >> >> >> >>> below the button.
>> >> >> >> >> >>>
>> >> >> >> >> >>> Tips would help!!!
>> >> >> >> >> >>>
>> >> >> >> >> >>>
>> >> >> >> >> >>> Martijn Dashorst wrote:
>> >> >> >> >> >>> >
>> >> >> >> >> >>> > The current quickstart page shows a commandline that is
>> >> not
>> >> >> very
>> >> >> >> >> >>> friendly
>> >> >> >> >> >>> > to
>> >> >> >> >> >>> > edit by hand: you have to unwrap the lines and figure
>> out
>> >> >> which
>> >> >> >> >> parts
>> >> >> >> >> >>> need
>> >> >> >> >> >>> > to be changed. This task will add to the example two
>> >> >> textboxes
>> >> >> >> and
>> >> >> >> >> a
>> >> >> >> >> >>> bit
>> >> >> >> >> >>> > of
>> >> >> >> >> >>> > Javascript to generate the maven command ready to
>> >> copy/paste
>> >> >> to
>> >> >> >> a
>> >> >> >> >> dos
>> >> >> >> >> >>> box
>> >> >> >> >> >>> > (or unix commandline).
>> >> >> >> >> >>> > It should ask for the groupId and the artifactId and
>> >> generate
>> >> >> >> the
>> >> >> >> >> >>> > resulting
>> >> >> >> >> >>> > commandline. It should also be able to be run inside a
>> >> >> >> confluence
>> >> >> >> >> wiki
>> >> >> >> >> >>> > page.
>> >> >> >> >> >>> > The student can test using the Wicket confluence wiki.
>> We
>> >> >> will
>> >> >>
>> >> >> >> move
>> >> >> >> >> >>> the
>> >> >> >> >> >>> > page
>> >> >> >> >> >>> > when ready to the official space.
>> >> >> >> >> >>> >
>> >> >> >> >> >>> > References:
>> >> >> >> >> >>> >  - Official Quickstart page:
>> >> >> >> >> http://wicket.apache.org/quickstart.html
>> >> >> >> >> >>> >  - The GHOP Quickstart page open for editing by the
>> >> student:
>> >> >> >> GHOP
>> >> >> >> -
>> >> >> >> >> >>> > quickstart<
>> >> >> >> >> >>>
>> >> >> >>
>> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>> >> >> >> >
>> >> >> >> >> >>> >
>> >> >> >> >> >>> > Martijn
>> >> >> >> >> >>> >
>> >> >> >> >> >>> > --
>> >> >> >> >> >>> > Buy Wicket in Action: http://manning.com/dashorst
>> >> >> >> >> >>> > Apache Wicket 1.3.0-rc1 is released
>> >> >> >> >> >>> > Get it now:
>> >> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>> >> >> >> >> >>> >
>> >> >> >> >> >>> >
>> >> >> >> >> >>>
>> >> >> >> >> >>> --
>> >> >> >> >> >>> View this message in context:
>> >> >> >> >> >>>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
>> >> >>
>> >> >> >> >> >>> Sent from the Wicket - Dev mailing list archive at
>> >> Nabble.com
>> >> .
>> >> >> >> >> >>>
>> >> >> >> >> >>>
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >> >> --
>> >> >> >> >> >> Buy Wicket in Action: http://manning.com/dashorst
>> >> >> >> >> >> Apache Wicket 1.3.0-rc1 is released
>> >> >> >> >> >> Get it now:
>> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>> >> >>
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >> >  http://www.nabble.com/file/p14139504/quickstart.html
>> >> >> >> quickstart.html
>> >> >> >> >> >
>> >> >> >> >>
>> >> >> >> >> --
>> >> >> >> >> View this message in context:
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
>> >> >> >> >> Sent from the Wicket - Dev mailing list archive at
>> Nabble.com.
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >> --
>> >> >> >> View this message in context:
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14140386
>> >> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14141363
>> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14142196
>> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143550
>>
>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143731
Sent from the Wicket - Dev mailing list archive at Nabble.com.


Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by Igor Vaynberg <ig...@gmail.com>.
try onkeydown :)

-igor


On Dec 3, 2007 6:41 PM, popnbrown <sr...@gmail.com> wrote:
>
> Tried onkeypress only works if the textfield is in a form and also there's a
> delay for example:
>
> you type in 'u' nothing will happen then you press 'o' the command line will
> show up with the 'u' in the groupId part
>
>
>
> Gerolf Seitz wrote:
> >
> > On Dec 4, 2007 1:33 AM, popnbrown <sr...@gmail.com> wrote:
> >
> >>
> >> There we go, I believe it works now.
> >
> >
> > excellent. works like a charm ;)
> >
> > it would be nice if the user wouldn't have to click a button, but the
> > command line is
> > automatically updated (either onblur or onkeypress, ...)
> >
> > btw, the form is not necessary, because there is no form submit involved
> > (it
> > would need
> > a close tag anyway ;) )
> >
> > great work so far, now comes the polishing.
> >
> >   Gerolf
> >
> > http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> >>
> >> Want me to make an official statement on the ghop site?
> >>
> >>
> >>
> >
> >> Thanks,
> >> Sravan Suryadevara
> >>
> >> Gerolf Seitz wrote:
> >> >
> >> > hi,
> >> > you can include any html and javascript the following way:
> >> >
> >> > {html:output=html}
> >> > <script>document.write("test");</script>
> >> > <input type="text" id="groupId"/>
> >> > {html}
> >> >
> >> > hth,
> >> >   Gerolf
> >> >
> >> > On Dec 4, 2007 12:31 AM, popnbrown <sr...@gmail.com>
> >> wrote:
> >> >
> >> >>
> >> >> Ok so latest latest update. I was browsing the Confluence forums and
> >> >> apparently there have been attempts to use javascript code on
> >> Confluence
> >> >> pages and I e-mailed one of the guys about it, and I'm hoping for a
> >> reply
> >> >> tonight if not, tommorrow.
> >> >> Besides that do you know what people mean when they say "the html
> >> plugin"
> >> >> for Confluence?
> >> >>
> >> >> Thanks,
> >> >> Sravan Suryadevara
> >> >>
> >> >>
> >> >> Gerolf Seitz wrote:
> >> >> >
> >> >> > On Dec 4, 2007 12:03 AM, popnbrown <sr...@gmail.com>
> >> >> wrote:
> >> >> >
> >> >> >>
> >> >> >> Well, the thing was I forgot how to create textboxes and what not
> >> and
> >> >> I
> >> >>
> >> >> >> haven't touched JavaScript for a bit. Since I'm taking a course in
> >> >> Java
> >> >> I
> >> >> >> decided to do an Applet. However, you are right that its a lot more
> >> >> >> inefficient, so therefore I (thanks to google) found out how to
> >> create
> >> >> >> textboxes and relate everything together to get it right. So now I
> >> >> have
> >> >> >> it
> >> >> >> I'll try to post it again on the ghop site and I'll also e-mail you
> >> a
> >> >> >> copy.
> >> >> >>
> >> >> >
> >> >> > great.
> >> >> >
> >> >> >
> >> >> >>
> >> >> >> If you are going to use flash, I have no knowledge of how to code
> >> in
> >> >> >> flash,
> >> >> >> in which case I can't take the task. I'll try and see if I can
> >> upload
> >> >> it
> >> >> >> on
> >> >> >> Confluence also.
> >> >> >>
> >> >> >
> >> >> > no worries, it was merely a suggestion for an alternative route.
> >> imho,
> >> >> > javascript
> >> >> > is clearly the best way to handle this.
> >> >> >
> >> >> >   Gerolf
> >> >> >
> >> >> >
> >> >> >> Thanks,
> >> >> >> Sravan Suryadevara
> >> >> >>
> >> >> >>
> >> >> >> Gerolf Seitz wrote:
> >> >> >> >
> >> >> >> > hm, i can only download a .dat file. when i open it, after i had
> >> >> >> renamed
> >> >> >> > it
> >> >> >> > to .html, it crashed my firefox :(
> >> >> >> >
> >> >> >> > another question: in the task description it is stated that this
> >> can
> >> >> >> (and
> >> >> >> > probably should) be solved with javascript.
> >> >> >> > is there a specific reason why you went the java applet route?
> >> that
> >> >> >> seems
> >> >> >> > a
> >> >> >> > little bit of an overkill for that task.
> >> >> >> > javascript also gets loaded way faster than applets.
> >> >> >> >
> >> >> >> > if there is no way for us to include javascript in confluence,
> >> flash
> >> >> >> might
> >> >> >> > be another solution?
> >> >> >> >
> >> >> >> > any comments?
> >> >> >> >
> >> >> >> >   Gerolf
> >> >> >> >
> >> >> >> >
> >> >> >> > On Dec 3, 2007 10:46 PM, popnbrown <sr...@gmail.com>
> >> >> >> wrote:
> >> >> >> >
> >> >> >> >>
> >> >> >> >> I can't get the file uploader to work here, so here's a link to
> >> the
> >> >> >> issue
> >> >> >> >> at
> >> >> >> >> GHOP with the attatchment[0]
> >> >> >> >> It's attatched to comment #6.
> >> >> >> >>
> >> >> >> >> Thanks,
> >> >> >> >> Sravan Suryadevara
> >> >> >> >>
> >> >> >> >> [0]
> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >> http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6
> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> popnbrown wrote:
> >> >> >> >> >
> >> >> >> >> > No I did'nt. I was actually trying to see if what I write
> >> works
> >> >> in
> >> >> >> like
> >> >> >> >> a
> >> >> >> >> > day or two and then put the code into the quickstart page.
> >> >> >> >> >
> >> >> >> >> > By the way, I have no idea how to edit that page to write
> >> >> >> >> Javascript/HTML
> >> >> >> >> > code without taking the source code of the page and saving it
> >> on
> >> >> my
> >> >> >> >> > computer, which should work for you guys, so I can e-mail the
> >> >> >> >> > quickstart.html to you guys. It's just easier for me to work
> >> on
> >> >> >> since
> >> >> >> I
> >> >> >> >> > can take it everywhere with me.
> >> >> >> >> >
> >> >> >> >> > And the problem is a lot bigger cause the command line
> >> replaces
> >> >> >> >> everything
> >> >> >> >> > on the page. I am going to upload the quickstart.html with the
> >> >> added
> >> >> >> in
> >> >> >> >> > components.
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> > Martijn Dashorst wrote:
> >> >> >> >> >>
> >> >> >> >> >> I don't see it here:
> >> >> >> >> >>
> >> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> >> >> >> >> >> Are you editing the page in the link above? It was meant for
> >> >> that
> >> >> >> ;)
> >> >> >> >> >>
> >> >> >> >> >> Martijn
> >> >> >> >> >>
> >> >> >> >> >> On Dec 3, 2007 9:05 PM, popnbrown <
> >> sravan.suryadevara@gmail.com>
> >> >> >> >> wrote:
> >> >> >> >> >>
> >> >> >> >> >>>
> >> >> >> >> >>> Status Report:
> >> >> >> >> >>>
> >> >> >> >> >>> So far I have the text box fields for GroupId and ArtifactId
> >> >> and
> >> >> a
> >> >> >> >> >>> button
> >> >> >> >> >>> to
> >> >> >> >> >>> click that will generate the command line. However, when the
> >> >> >> button
> >> >> >> >> is
> >> >> >> >> >>> clicked the applet and button get replaced by the command
> >> line.
> >> >> >> >> >>>
> >> >> >> >> >>> That might be a little frustrating for the user because
> >> he/she
> >> >> >> would
> >> >> >> >> >>> have
> >> >> >> >> >>> to
> >> >> >> >> >>> refresh to re-create a new line, so right now I am trying to
> >> >> write
> >> >> >> >> the
> >> >> >> >> >>> line
> >> >> >> >> >>> below the button.
> >> >> >> >> >>>
> >> >> >> >> >>> Tips would help!!!
> >> >> >> >> >>>
> >> >> >> >> >>>
> >> >> >> >> >>> Martijn Dashorst wrote:
> >> >> >> >> >>> >
> >> >> >> >> >>> > The current quickstart page shows a commandline that is
> >> not
> >> >> very
> >> >> >> >> >>> friendly
> >> >> >> >> >>> > to
> >> >> >> >> >>> > edit by hand: you have to unwrap the lines and figure out
> >> >> which
> >> >> >> >> parts
> >> >> >> >> >>> need
> >> >> >> >> >>> > to be changed. This task will add to the example two
> >> >> textboxes
> >> >> >> and
> >> >> >> >> a
> >> >> >> >> >>> bit
> >> >> >> >> >>> > of
> >> >> >> >> >>> > Javascript to generate the maven command ready to
> >> copy/paste
> >> >> to
> >> >> >> a
> >> >> >> >> dos
> >> >> >> >> >>> box
> >> >> >> >> >>> > (or unix commandline).
> >> >> >> >> >>> > It should ask for the groupId and the artifactId and
> >> generate
> >> >> >> the
> >> >> >> >> >>> > resulting
> >> >> >> >> >>> > commandline. It should also be able to be run inside a
> >> >> >> confluence
> >> >> >> >> wiki
> >> >> >> >> >>> > page.
> >> >> >> >> >>> > The student can test using the Wicket confluence wiki. We
> >> >> will
> >> >>
> >> >> >> move
> >> >> >> >> >>> the
> >> >> >> >> >>> > page
> >> >> >> >> >>> > when ready to the official space.
> >> >> >> >> >>> >
> >> >> >> >> >>> > References:
> >> >> >> >> >>> >  - Official Quickstart page:
> >> >> >> >> http://wicket.apache.org/quickstart.html
> >> >> >> >> >>> >  - The GHOP Quickstart page open for editing by the
> >> student:
> >> >> >> GHOP
> >> >> >> -
> >> >> >> >> >>> > quickstart<
> >> >> >> >> >>>
> >> >> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> >> >> >> >
> >> >> >> >> >>> >
> >> >> >> >> >>> > Martijn
> >> >> >> >> >>> >
> >> >> >> >> >>> > --
> >> >> >> >> >>> > Buy Wicket in Action: http://manning.com/dashorst
> >> >> >> >> >>> > Apache Wicket 1.3.0-rc1 is released
> >> >> >> >> >>> > Get it now:
> >> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> >> >> >> >> >>> >
> >> >> >> >> >>> >
> >> >> >> >> >>>
> >> >> >> >> >>> --
> >> >> >> >> >>> View this message in context:
> >> >> >> >> >>>
> >> >> >> >>
> >> >> >>
> >> >>
> >> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
> >> >>
> >> >> >> >> >>> Sent from the Wicket - Dev mailing list archive at
> >> Nabble.com
> >> .
> >> >> >> >> >>>
> >> >> >> >> >>>
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >> --
> >> >> >> >> >> Buy Wicket in Action: http://manning.com/dashorst
> >> >> >> >> >> Apache Wicket 1.3.0-rc1 is released
> >> >> >> >> >> Get it now:
> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> >> >>
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >  http://www.nabble.com/file/p14139504/quickstart.html
> >> >> >> quickstart.html
> >> >> >> >> >
> >> >> >> >>
> >> >> >> >> --
> >> >> >> >> View this message in context:
> >> >> >> >>
> >> >> >>
> >> >>
> >> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
> >> >> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >> >> >> >>
> >> >> >> >>
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14140386
> >> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14141363
> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14142196
> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context: http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143550
>
> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>
>

Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by popnbrown <sr...@gmail.com>.
Tried onkeypress only works if the textfield is in a form and also there's a
delay for example:

you type in 'u' nothing will happen then you press 'o' the command line will
show up with the 'u' in the groupId part


Gerolf Seitz wrote:
> 
> On Dec 4, 2007 1:33 AM, popnbrown <sr...@gmail.com> wrote:
> 
>>
>> There we go, I believe it works now.
> 
> 
> excellent. works like a charm ;)
> 
> it would be nice if the user wouldn't have to click a button, but the
> command line is
> automatically updated (either onblur or onkeypress, ...)
> 
> btw, the form is not necessary, because there is no form submit involved
> (it
> would need
> a close tag anyway ;) )
> 
> great work so far, now comes the polishing.
> 
>   Gerolf
> 
> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>>
>> Want me to make an official statement on the ghop site?
>>
>>
>>
> 
>> Thanks,
>> Sravan Suryadevara
>>
>> Gerolf Seitz wrote:
>> >
>> > hi,
>> > you can include any html and javascript the following way:
>> >
>> > {html:output=html}
>> > <script>document.write("test");</script>
>> > <input type="text" id="groupId"/>
>> > {html}
>> >
>> > hth,
>> >   Gerolf
>> >
>> > On Dec 4, 2007 12:31 AM, popnbrown <sr...@gmail.com>
>> wrote:
>> >
>> >>
>> >> Ok so latest latest update. I was browsing the Confluence forums and
>> >> apparently there have been attempts to use javascript code on
>> Confluence
>> >> pages and I e-mailed one of the guys about it, and I'm hoping for a
>> reply
>> >> tonight if not, tommorrow.
>> >> Besides that do you know what people mean when they say "the html
>> plugin"
>> >> for Confluence?
>> >>
>> >> Thanks,
>> >> Sravan Suryadevara
>> >>
>> >>
>> >> Gerolf Seitz wrote:
>> >> >
>> >> > On Dec 4, 2007 12:03 AM, popnbrown <sr...@gmail.com>
>> >> wrote:
>> >> >
>> >> >>
>> >> >> Well, the thing was I forgot how to create textboxes and what not
>> and
>> >> I
>> >>
>> >> >> haven't touched JavaScript for a bit. Since I'm taking a course in
>> >> Java
>> >> I
>> >> >> decided to do an Applet. However, you are right that its a lot more
>> >> >> inefficient, so therefore I (thanks to google) found out how to
>> create
>> >> >> textboxes and relate everything together to get it right. So now I
>> >> have
>> >> >> it
>> >> >> I'll try to post it again on the ghop site and I'll also e-mail you
>> a
>> >> >> copy.
>> >> >>
>> >> >
>> >> > great.
>> >> >
>> >> >
>> >> >>
>> >> >> If you are going to use flash, I have no knowledge of how to code
>> in
>> >> >> flash,
>> >> >> in which case I can't take the task. I'll try and see if I can
>> upload
>> >> it
>> >> >> on
>> >> >> Confluence also.
>> >> >>
>> >> >
>> >> > no worries, it was merely a suggestion for an alternative route.
>> imho,
>> >> > javascript
>> >> > is clearly the best way to handle this.
>> >> >
>> >> >   Gerolf
>> >> >
>> >> >
>> >> >> Thanks,
>> >> >> Sravan Suryadevara
>> >> >>
>> >> >>
>> >> >> Gerolf Seitz wrote:
>> >> >> >
>> >> >> > hm, i can only download a .dat file. when i open it, after i had
>> >> >> renamed
>> >> >> > it
>> >> >> > to .html, it crashed my firefox :(
>> >> >> >
>> >> >> > another question: in the task description it is stated that this
>> can
>> >> >> (and
>> >> >> > probably should) be solved with javascript.
>> >> >> > is there a specific reason why you went the java applet route?
>> that
>> >> >> seems
>> >> >> > a
>> >> >> > little bit of an overkill for that task.
>> >> >> > javascript also gets loaded way faster than applets.
>> >> >> >
>> >> >> > if there is no way for us to include javascript in confluence,
>> flash
>> >> >> might
>> >> >> > be another solution?
>> >> >> >
>> >> >> > any comments?
>> >> >> >
>> >> >> >   Gerolf
>> >> >> >
>> >> >> >
>> >> >> > On Dec 3, 2007 10:46 PM, popnbrown <sr...@gmail.com>
>> >> >> wrote:
>> >> >> >
>> >> >> >>
>> >> >> >> I can't get the file uploader to work here, so here's a link to
>> the
>> >> >> issue
>> >> >> >> at
>> >> >> >> GHOP with the attatchment[0]
>> >> >> >> It's attatched to comment #6.
>> >> >> >>
>> >> >> >> Thanks,
>> >> >> >> Sravan Suryadevara
>> >> >> >>
>> >> >> >> [0]
>> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6
>> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> popnbrown wrote:
>> >> >> >> >
>> >> >> >> > No I did'nt. I was actually trying to see if what I write
>> works
>> >> in
>> >> >> like
>> >> >> >> a
>> >> >> >> > day or two and then put the code into the quickstart page.
>> >> >> >> >
>> >> >> >> > By the way, I have no idea how to edit that page to write
>> >> >> >> Javascript/HTML
>> >> >> >> > code without taking the source code of the page and saving it
>> on
>> >> my
>> >> >> >> > computer, which should work for you guys, so I can e-mail the
>> >> >> >> > quickstart.html to you guys. It's just easier for me to work
>> on
>> >> >> since
>> >> >> I
>> >> >> >> > can take it everywhere with me.
>> >> >> >> >
>> >> >> >> > And the problem is a lot bigger cause the command line
>> replaces
>> >> >> >> everything
>> >> >> >> > on the page. I am going to upload the quickstart.html with the
>> >> added
>> >> >> in
>> >> >> >> > components.
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Martijn Dashorst wrote:
>> >> >> >> >>
>> >> >> >> >> I don't see it here:
>> >> >> >> >>
>> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>> >> >> >> >> Are you editing the page in the link above? It was meant for
>> >> that
>> >> >> ;)
>> >> >> >> >>
>> >> >> >> >> Martijn
>> >> >> >> >>
>> >> >> >> >> On Dec 3, 2007 9:05 PM, popnbrown <
>> sravan.suryadevara@gmail.com>
>> >> >> >> wrote:
>> >> >> >> >>
>> >> >> >> >>>
>> >> >> >> >>> Status Report:
>> >> >> >> >>>
>> >> >> >> >>> So far I have the text box fields for GroupId and ArtifactId
>> >> and
>> >> a
>> >> >> >> >>> button
>> >> >> >> >>> to
>> >> >> >> >>> click that will generate the command line. However, when the
>> >> >> button
>> >> >> >> is
>> >> >> >> >>> clicked the applet and button get replaced by the command
>> line.
>> >> >> >> >>>
>> >> >> >> >>> That might be a little frustrating for the user because
>> he/she
>> >> >> would
>> >> >> >> >>> have
>> >> >> >> >>> to
>> >> >> >> >>> refresh to re-create a new line, so right now I am trying to
>> >> write
>> >> >> >> the
>> >> >> >> >>> line
>> >> >> >> >>> below the button.
>> >> >> >> >>>
>> >> >> >> >>> Tips would help!!!
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >> >> >>> Martijn Dashorst wrote:
>> >> >> >> >>> >
>> >> >> >> >>> > The current quickstart page shows a commandline that is
>> not
>> >> very
>> >> >> >> >>> friendly
>> >> >> >> >>> > to
>> >> >> >> >>> > edit by hand: you have to unwrap the lines and figure out
>> >> which
>> >> >> >> parts
>> >> >> >> >>> need
>> >> >> >> >>> > to be changed. This task will add to the example two
>> >> textboxes
>> >> >> and
>> >> >> >> a
>> >> >> >> >>> bit
>> >> >> >> >>> > of
>> >> >> >> >>> > Javascript to generate the maven command ready to
>> copy/paste
>> >> to
>> >> >> a
>> >> >> >> dos
>> >> >> >> >>> box
>> >> >> >> >>> > (or unix commandline).
>> >> >> >> >>> > It should ask for the groupId and the artifactId and
>> generate
>> >> >> the
>> >> >> >> >>> > resulting
>> >> >> >> >>> > commandline. It should also be able to be run inside a
>> >> >> confluence
>> >> >> >> wiki
>> >> >> >> >>> > page.
>> >> >> >> >>> > The student can test using the Wicket confluence wiki. We
>> >> will
>> >>
>> >> >> move
>> >> >> >> >>> the
>> >> >> >> >>> > page
>> >> >> >> >>> > when ready to the official space.
>> >> >> >> >>> >
>> >> >> >> >>> > References:
>> >> >> >> >>> >  - Official Quickstart page:
>> >> >> >> http://wicket.apache.org/quickstart.html
>> >> >> >> >>> >  - The GHOP Quickstart page open for editing by the
>> student:
>> >> >> GHOP
>> >> >> -
>> >> >> >> >>> > quickstart<
>> >> >> >> >>>
>> >> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>> >> >> >
>> >> >> >> >>> >
>> >> >> >> >>> > Martijn
>> >> >> >> >>> >
>> >> >> >> >>> > --
>> >> >> >> >>> > Buy Wicket in Action: http://manning.com/dashorst
>> >> >> >> >>> > Apache Wicket 1.3.0-rc1 is released
>> >> >> >> >>> > Get it now:
>> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>> >> >> >> >>> >
>> >> >> >> >>> >
>> >> >> >> >>>
>> >> >> >> >>> --
>> >> >> >> >>> View this message in context:
>> >> >> >> >>>
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
>> >>
>> >> >> >> >>> Sent from the Wicket - Dev mailing list archive at
>> Nabble.com
>> .
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> --
>> >> >> >> >> Buy Wicket in Action: http://manning.com/dashorst
>> >> >> >> >> Apache Wicket 1.3.0-rc1 is released
>> >> >> >> >> Get it now:
>> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >  http://www.nabble.com/file/p14139504/quickstart.html
>> >> >> quickstart.html
>> >> >> >> >
>> >> >> >>
>> >> >> >> --
>> >> >> >> View this message in context:
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
>> >> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14140386
>> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14141363
>> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14142196
>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14143550
Sent from the Wicket - Dev mailing list archive at Nabble.com.


Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by Gerolf Seitz <ge...@gmail.com>.
On Dec 4, 2007 1:33 AM, popnbrown <sr...@gmail.com> wrote:

>
> There we go, I believe it works now.


excellent. works like a charm ;)

it would be nice if the user wouldn't have to click a button, but the
command line is
automatically updated (either onblur or onkeypress, ...)

btw, the form is not necessary, because there is no form submit involved (it
would need
a close tag anyway ;) )

great work so far, now comes the polishing.

  Gerolf

http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>
> Want me to make an official statement on the ghop site?
>
>
>

> Thanks,
> Sravan Suryadevara
>
> Gerolf Seitz wrote:
> >
> > hi,
> > you can include any html and javascript the following way:
> >
> > {html:output=html}
> > <script>document.write("test");</script>
> > <input type="text" id="groupId"/>
> > {html}
> >
> > hth,
> >   Gerolf
> >
> > On Dec 4, 2007 12:31 AM, popnbrown <sr...@gmail.com> wrote:
> >
> >>
> >> Ok so latest latest update. I was browsing the Confluence forums and
> >> apparently there have been attempts to use javascript code on
> Confluence
> >> pages and I e-mailed one of the guys about it, and I'm hoping for a
> reply
> >> tonight if not, tommorrow.
> >> Besides that do you know what people mean when they say "the html
> plugin"
> >> for Confluence?
> >>
> >> Thanks,
> >> Sravan Suryadevara
> >>
> >>
> >> Gerolf Seitz wrote:
> >> >
> >> > On Dec 4, 2007 12:03 AM, popnbrown <sr...@gmail.com>
> >> wrote:
> >> >
> >> >>
> >> >> Well, the thing was I forgot how to create textboxes and what not
> and
> >> I
> >>
> >> >> haven't touched JavaScript for a bit. Since I'm taking a course in
> >> Java
> >> I
> >> >> decided to do an Applet. However, you are right that its a lot more
> >> >> inefficient, so therefore I (thanks to google) found out how to
> create
> >> >> textboxes and relate everything together to get it right. So now I
> >> have
> >> >> it
> >> >> I'll try to post it again on the ghop site and I'll also e-mail you
> a
> >> >> copy.
> >> >>
> >> >
> >> > great.
> >> >
> >> >
> >> >>
> >> >> If you are going to use flash, I have no knowledge of how to code in
> >> >> flash,
> >> >> in which case I can't take the task. I'll try and see if I can
> upload
> >> it
> >> >> on
> >> >> Confluence also.
> >> >>
> >> >
> >> > no worries, it was merely a suggestion for an alternative route.
> imho,
> >> > javascript
> >> > is clearly the best way to handle this.
> >> >
> >> >   Gerolf
> >> >
> >> >
> >> >> Thanks,
> >> >> Sravan Suryadevara
> >> >>
> >> >>
> >> >> Gerolf Seitz wrote:
> >> >> >
> >> >> > hm, i can only download a .dat file. when i open it, after i had
> >> >> renamed
> >> >> > it
> >> >> > to .html, it crashed my firefox :(
> >> >> >
> >> >> > another question: in the task description it is stated that this
> can
> >> >> (and
> >> >> > probably should) be solved with javascript.
> >> >> > is there a specific reason why you went the java applet route?
> that
> >> >> seems
> >> >> > a
> >> >> > little bit of an overkill for that task.
> >> >> > javascript also gets loaded way faster than applets.
> >> >> >
> >> >> > if there is no way for us to include javascript in confluence,
> flash
> >> >> might
> >> >> > be another solution?
> >> >> >
> >> >> > any comments?
> >> >> >
> >> >> >   Gerolf
> >> >> >
> >> >> >
> >> >> > On Dec 3, 2007 10:46 PM, popnbrown <sr...@gmail.com>
> >> >> wrote:
> >> >> >
> >> >> >>
> >> >> >> I can't get the file uploader to work here, so here's a link to
> the
> >> >> issue
> >> >> >> at
> >> >> >> GHOP with the attatchment[0]
> >> >> >> It's attatched to comment #6.
> >> >> >>
> >> >> >> Thanks,
> >> >> >> Sravan Suryadevara
> >> >> >>
> >> >> >> [0]
> >> >> >>
> >> >> >>
> >> >>
> >>
> http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6
> >>
> >> >> >>
> >> >> >>
> >> >> >> popnbrown wrote:
> >> >> >> >
> >> >> >> > No I did'nt. I was actually trying to see if what I write works
> >> in
> >> >> like
> >> >> >> a
> >> >> >> > day or two and then put the code into the quickstart page.
> >> >> >> >
> >> >> >> > By the way, I have no idea how to edit that page to write
> >> >> >> Javascript/HTML
> >> >> >> > code without taking the source code of the page and saving it
> on
> >> my
> >> >> >> > computer, which should work for you guys, so I can e-mail the
> >> >> >> > quickstart.html to you guys. It's just easier for me to work on
> >> >> since
> >> >> I
> >> >> >> > can take it everywhere with me.
> >> >> >> >
> >> >> >> > And the problem is a lot bigger cause the command line replaces
> >> >> >> everything
> >> >> >> > on the page. I am going to upload the quickstart.html with the
> >> added
> >> >> in
> >> >> >> > components.
> >> >> >> >
> >> >> >> >
> >> >> >> > Martijn Dashorst wrote:
> >> >> >> >>
> >> >> >> >> I don't see it here:
> >> >> >> >>
> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> >> >> >> >> Are you editing the page in the link above? It was meant for
> >> that
> >> >> ;)
> >> >> >> >>
> >> >> >> >> Martijn
> >> >> >> >>
> >> >> >> >> On Dec 3, 2007 9:05 PM, popnbrown <
> sravan.suryadevara@gmail.com>
> >> >> >> wrote:
> >> >> >> >>
> >> >> >> >>>
> >> >> >> >>> Status Report:
> >> >> >> >>>
> >> >> >> >>> So far I have the text box fields for GroupId and ArtifactId
> >> and
> >> a
> >> >> >> >>> button
> >> >> >> >>> to
> >> >> >> >>> click that will generate the command line. However, when the
> >> >> button
> >> >> >> is
> >> >> >> >>> clicked the applet and button get replaced by the command
> line.
> >> >> >> >>>
> >> >> >> >>> That might be a little frustrating for the user because
> he/she
> >> >> would
> >> >> >> >>> have
> >> >> >> >>> to
> >> >> >> >>> refresh to re-create a new line, so right now I am trying to
> >> write
> >> >> >> the
> >> >> >> >>> line
> >> >> >> >>> below the button.
> >> >> >> >>>
> >> >> >> >>> Tips would help!!!
> >> >> >> >>>
> >> >> >> >>>
> >> >> >> >>> Martijn Dashorst wrote:
> >> >> >> >>> >
> >> >> >> >>> > The current quickstart page shows a commandline that is not
> >> very
> >> >> >> >>> friendly
> >> >> >> >>> > to
> >> >> >> >>> > edit by hand: you have to unwrap the lines and figure out
> >> which
> >> >> >> parts
> >> >> >> >>> need
> >> >> >> >>> > to be changed. This task will add to the example two
> >> textboxes
> >> >> and
> >> >> >> a
> >> >> >> >>> bit
> >> >> >> >>> > of
> >> >> >> >>> > Javascript to generate the maven command ready to
> copy/paste
> >> to
> >> >> a
> >> >> >> dos
> >> >> >> >>> box
> >> >> >> >>> > (or unix commandline).
> >> >> >> >>> > It should ask for the groupId and the artifactId and
> generate
> >> >> the
> >> >> >> >>> > resulting
> >> >> >> >>> > commandline. It should also be able to be run inside a
> >> >> confluence
> >> >> >> wiki
> >> >> >> >>> > page.
> >> >> >> >>> > The student can test using the Wicket confluence wiki. We
> >> will
> >>
> >> >> move
> >> >> >> >>> the
> >> >> >> >>> > page
> >> >> >> >>> > when ready to the official space.
> >> >> >> >>> >
> >> >> >> >>> > References:
> >> >> >> >>> >  - Official Quickstart page:
> >> >> >> http://wicket.apache.org/quickstart.html
> >> >> >> >>> >  - The GHOP Quickstart page open for editing by the
> student:
> >> >> GHOP
> >> >> -
> >> >> >> >>> > quickstart<
> >> >> >> >>>
> >> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> >> >> >
> >> >> >> >>> >
> >> >> >> >>> > Martijn
> >> >> >> >>> >
> >> >> >> >>> > --
> >> >> >> >>> > Buy Wicket in Action: http://manning.com/dashorst
> >> >> >> >>> > Apache Wicket 1.3.0-rc1 is released
> >> >> >> >>> > Get it now:
> >> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> >> >> >> >>> >
> >> >> >> >>> >
> >> >> >> >>>
> >> >> >> >>> --
> >> >> >> >>> View this message in context:
> >> >> >> >>>
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
> >>
> >> >> >> >>> Sent from the Wicket - Dev mailing list archive at Nabble.com
> .
> >> >> >> >>>
> >> >> >> >>>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> --
> >> >> >> >> Buy Wicket in Action: http://manning.com/dashorst
> >> >> >> >> Apache Wicket 1.3.0-rc1 is released
> >> >> >> >> Get it now:
> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >  http://www.nabble.com/file/p14139504/quickstart.html
> >> >> quickstart.html
> >> >> >> >
> >> >> >>
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
> >> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14140386
> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14141363
> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14142196
> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>
>

Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by popnbrown <sr...@gmail.com>.
There we go, I believe it works now.

http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart

Want me to make an official statement on the ghop site?

Thanks,
Sravan Suryadevara

Gerolf Seitz wrote:
> 
> hi,
> you can include any html and javascript the following way:
> 
> {html:output=html}
> <script>document.write("test");</script>
> <input type="text" id="groupId"/>
> {html}
> 
> hth,
>   Gerolf
> 
> On Dec 4, 2007 12:31 AM, popnbrown <sr...@gmail.com> wrote:
> 
>>
>> Ok so latest latest update. I was browsing the Confluence forums and
>> apparently there have been attempts to use javascript code on Confluence
>> pages and I e-mailed one of the guys about it, and I'm hoping for a reply
>> tonight if not, tommorrow.
>> Besides that do you know what people mean when they say "the html plugin"
>> for Confluence?
>>
>> Thanks,
>> Sravan Suryadevara
>>
>>
>> Gerolf Seitz wrote:
>> >
>> > On Dec 4, 2007 12:03 AM, popnbrown <sr...@gmail.com>
>> wrote:
>> >
>> >>
>> >> Well, the thing was I forgot how to create textboxes and what not and
>> I
>>
>> >> haven't touched JavaScript for a bit. Since I'm taking a course in
>> Java
>> I
>> >> decided to do an Applet. However, you are right that its a lot more
>> >> inefficient, so therefore I (thanks to google) found out how to create
>> >> textboxes and relate everything together to get it right. So now I
>> have
>> >> it
>> >> I'll try to post it again on the ghop site and I'll also e-mail you a
>> >> copy.
>> >>
>> >
>> > great.
>> >
>> >
>> >>
>> >> If you are going to use flash, I have no knowledge of how to code in
>> >> flash,
>> >> in which case I can't take the task. I'll try and see if I can upload
>> it
>> >> on
>> >> Confluence also.
>> >>
>> >
>> > no worries, it was merely a suggestion for an alternative route. imho,
>> > javascript
>> > is clearly the best way to handle this.
>> >
>> >   Gerolf
>> >
>> >
>> >> Thanks,
>> >> Sravan Suryadevara
>> >>
>> >>
>> >> Gerolf Seitz wrote:
>> >> >
>> >> > hm, i can only download a .dat file. when i open it, after i had
>> >> renamed
>> >> > it
>> >> > to .html, it crashed my firefox :(
>> >> >
>> >> > another question: in the task description it is stated that this can
>> >> (and
>> >> > probably should) be solved with javascript.
>> >> > is there a specific reason why you went the java applet route? that
>> >> seems
>> >> > a
>> >> > little bit of an overkill for that task.
>> >> > javascript also gets loaded way faster than applets.
>> >> >
>> >> > if there is no way for us to include javascript in confluence, flash
>> >> might
>> >> > be another solution?
>> >> >
>> >> > any comments?
>> >> >
>> >> >   Gerolf
>> >> >
>> >> >
>> >> > On Dec 3, 2007 10:46 PM, popnbrown <sr...@gmail.com>
>> >> wrote:
>> >> >
>> >> >>
>> >> >> I can't get the file uploader to work here, so here's a link to the
>> >> issue
>> >> >> at
>> >> >> GHOP with the attatchment[0]
>> >> >> It's attatched to comment #6.
>> >> >>
>> >> >> Thanks,
>> >> >> Sravan Suryadevara
>> >> >>
>> >> >> [0]
>> >> >>
>> >> >>
>> >>
>> http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6
>>
>> >> >>
>> >> >>
>> >> >> popnbrown wrote:
>> >> >> >
>> >> >> > No I did'nt. I was actually trying to see if what I write works
>> in
>> >> like
>> >> >> a
>> >> >> > day or two and then put the code into the quickstart page.
>> >> >> >
>> >> >> > By the way, I have no idea how to edit that page to write
>> >> >> Javascript/HTML
>> >> >> > code without taking the source code of the page and saving it on
>> my
>> >> >> > computer, which should work for you guys, so I can e-mail the
>> >> >> > quickstart.html to you guys. It's just easier for me to work on
>> >> since
>> >> I
>> >> >> > can take it everywhere with me.
>> >> >> >
>> >> >> > And the problem is a lot bigger cause the command line replaces
>> >> >> everything
>> >> >> > on the page. I am going to upload the quickstart.html with the
>> added
>> >> in
>> >> >> > components.
>> >> >> >
>> >> >> >
>> >> >> > Martijn Dashorst wrote:
>> >> >> >>
>> >> >> >> I don't see it here:
>> >> >> >>
>> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>> >> >> >> Are you editing the page in the link above? It was meant for
>> that
>> >> ;)
>> >> >> >>
>> >> >> >> Martijn
>> >> >> >>
>> >> >> >> On Dec 3, 2007 9:05 PM, popnbrown <sr...@gmail.com>
>> >> >> wrote:
>> >> >> >>
>> >> >> >>>
>> >> >> >>> Status Report:
>> >> >> >>>
>> >> >> >>> So far I have the text box fields for GroupId and ArtifactId
>> and
>> a
>> >> >> >>> button
>> >> >> >>> to
>> >> >> >>> click that will generate the command line. However, when the
>> >> button
>> >> >> is
>> >> >> >>> clicked the applet and button get replaced by the command line.
>> >> >> >>>
>> >> >> >>> That might be a little frustrating for the user because he/she
>> >> would
>> >> >> >>> have
>> >> >> >>> to
>> >> >> >>> refresh to re-create a new line, so right now I am trying to
>> write
>> >> >> the
>> >> >> >>> line
>> >> >> >>> below the button.
>> >> >> >>>
>> >> >> >>> Tips would help!!!
>> >> >> >>>
>> >> >> >>>
>> >> >> >>> Martijn Dashorst wrote:
>> >> >> >>> >
>> >> >> >>> > The current quickstart page shows a commandline that is not
>> very
>> >> >> >>> friendly
>> >> >> >>> > to
>> >> >> >>> > edit by hand: you have to unwrap the lines and figure out
>> which
>> >> >> parts
>> >> >> >>> need
>> >> >> >>> > to be changed. This task will add to the example two
>> textboxes
>> >> and
>> >> >> a
>> >> >> >>> bit
>> >> >> >>> > of
>> >> >> >>> > Javascript to generate the maven command ready to copy/paste
>> to
>> >> a
>> >> >> dos
>> >> >> >>> box
>> >> >> >>> > (or unix commandline).
>> >> >> >>> > It should ask for the groupId and the artifactId and generate
>> >> the
>> >> >> >>> > resulting
>> >> >> >>> > commandline. It should also be able to be run inside a
>> >> confluence
>> >> >> wiki
>> >> >> >>> > page.
>> >> >> >>> > The student can test using the Wicket confluence wiki. We
>> will
>>
>> >> move
>> >> >> >>> the
>> >> >> >>> > page
>> >> >> >>> > when ready to the official space.
>> >> >> >>> >
>> >> >> >>> > References:
>> >> >> >>> >  - Official Quickstart page:
>> >> >> http://wicket.apache.org/quickstart.html
>> >> >> >>> >  - The GHOP Quickstart page open for editing by the student:
>> >> GHOP
>> >> -
>> >> >> >>> > quickstart<
>> >> >> >>>
>> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>> >> >
>> >> >> >>> >
>> >> >> >>> > Martijn
>> >> >> >>> >
>> >> >> >>> > --
>> >> >> >>> > Buy Wicket in Action: http://manning.com/dashorst
>> >> >> >>> > Apache Wicket 1.3.0-rc1 is released
>> >> >> >>> > Get it now:
>> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>> >> >> >>> >
>> >> >> >>> >
>> >> >> >>>
>> >> >> >>> --
>> >> >> >>> View this message in context:
>> >> >> >>>
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
>>
>> >> >> >>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >> >> >>>
>> >> >> >>>
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >> Buy Wicket in Action: http://manning.com/dashorst
>> >> >> >> Apache Wicket 1.3.0-rc1 is released
>> >> >> >> Get it now:
>> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>>
>> >> >> >>
>> >> >> >>
>> >> >> >  http://www.nabble.com/file/p14139504/quickstart.html
>> >> quickstart.html
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
>> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14140386
>> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14141363
>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14142196
Sent from the Wicket - Dev mailing list archive at Nabble.com.


Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by Gerolf Seitz <ge...@gmail.com>.
hi,
you can include any html and javascript the following way:

{html:output=html}
<script>document.write("test");</script>
<input type="text" id="groupId"/>
{html}

hth,
  Gerolf

On Dec 4, 2007 12:31 AM, popnbrown <sr...@gmail.com> wrote:

>
> Ok so latest latest update. I was browsing the Confluence forums and
> apparently there have been attempts to use javascript code on Confluence
> pages and I e-mailed one of the guys about it, and I'm hoping for a reply
> tonight if not, tommorrow.
> Besides that do you know what people mean when they say "the html plugin"
> for Confluence?
>
> Thanks,
> Sravan Suryadevara
>
>
> Gerolf Seitz wrote:
> >
> > On Dec 4, 2007 12:03 AM, popnbrown <sr...@gmail.com> wrote:
> >
> >>
> >> Well, the thing was I forgot how to create textboxes and what not and I
>
> >> haven't touched JavaScript for a bit. Since I'm taking a course in Java
> I
> >> decided to do an Applet. However, you are right that its a lot more
> >> inefficient, so therefore I (thanks to google) found out how to create
> >> textboxes and relate everything together to get it right. So now I have
> >> it
> >> I'll try to post it again on the ghop site and I'll also e-mail you a
> >> copy.
> >>
> >
> > great.
> >
> >
> >>
> >> If you are going to use flash, I have no knowledge of how to code in
> >> flash,
> >> in which case I can't take the task. I'll try and see if I can upload
> it
> >> on
> >> Confluence also.
> >>
> >
> > no worries, it was merely a suggestion for an alternative route. imho,
> > javascript
> > is clearly the best way to handle this.
> >
> >   Gerolf
> >
> >
> >> Thanks,
> >> Sravan Suryadevara
> >>
> >>
> >> Gerolf Seitz wrote:
> >> >
> >> > hm, i can only download a .dat file. when i open it, after i had
> >> renamed
> >> > it
> >> > to .html, it crashed my firefox :(
> >> >
> >> > another question: in the task description it is stated that this can
> >> (and
> >> > probably should) be solved with javascript.
> >> > is there a specific reason why you went the java applet route? that
> >> seems
> >> > a
> >> > little bit of an overkill for that task.
> >> > javascript also gets loaded way faster than applets.
> >> >
> >> > if there is no way for us to include javascript in confluence, flash
> >> might
> >> > be another solution?
> >> >
> >> > any comments?
> >> >
> >> >   Gerolf
> >> >
> >> >
> >> > On Dec 3, 2007 10:46 PM, popnbrown <sr...@gmail.com>
> >> wrote:
> >> >
> >> >>
> >> >> I can't get the file uploader to work here, so here's a link to the
> >> issue
> >> >> at
> >> >> GHOP with the attatchment[0]
> >> >> It's attatched to comment #6.
> >> >>
> >> >> Thanks,
> >> >> Sravan Suryadevara
> >> >>
> >> >> [0]
> >> >>
> >> >>
> >> http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6
>
> >> >>
> >> >>
> >> >> popnbrown wrote:
> >> >> >
> >> >> > No I did'nt. I was actually trying to see if what I write works in
> >> like
> >> >> a
> >> >> > day or two and then put the code into the quickstart page.
> >> >> >
> >> >> > By the way, I have no idea how to edit that page to write
> >> >> Javascript/HTML
> >> >> > code without taking the source code of the page and saving it on
> my
> >> >> > computer, which should work for you guys, so I can e-mail the
> >> >> > quickstart.html to you guys. It's just easier for me to work on
> >> since
> >> I
> >> >> > can take it everywhere with me.
> >> >> >
> >> >> > And the problem is a lot bigger cause the command line replaces
> >> >> everything
> >> >> > on the page. I am going to upload the quickstart.html with the
> added
> >> in
> >> >> > components.
> >> >> >
> >> >> >
> >> >> > Martijn Dashorst wrote:
> >> >> >>
> >> >> >> I don't see it here:
> >> >> >>
> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> >> >> >> Are you editing the page in the link above? It was meant for that
> >> ;)
> >> >> >>
> >> >> >> Martijn
> >> >> >>
> >> >> >> On Dec 3, 2007 9:05 PM, popnbrown <sr...@gmail.com>
> >> >> wrote:
> >> >> >>
> >> >> >>>
> >> >> >>> Status Report:
> >> >> >>>
> >> >> >>> So far I have the text box fields for GroupId and ArtifactId and
> a
> >> >> >>> button
> >> >> >>> to
> >> >> >>> click that will generate the command line. However, when the
> >> button
> >> >> is
> >> >> >>> clicked the applet and button get replaced by the command line.
> >> >> >>>
> >> >> >>> That might be a little frustrating for the user because he/she
> >> would
> >> >> >>> have
> >> >> >>> to
> >> >> >>> refresh to re-create a new line, so right now I am trying to
> write
> >> >> the
> >> >> >>> line
> >> >> >>> below the button.
> >> >> >>>
> >> >> >>> Tips would help!!!
> >> >> >>>
> >> >> >>>
> >> >> >>> Martijn Dashorst wrote:
> >> >> >>> >
> >> >> >>> > The current quickstart page shows a commandline that is not
> very
> >> >> >>> friendly
> >> >> >>> > to
> >> >> >>> > edit by hand: you have to unwrap the lines and figure out
> which
> >> >> parts
> >> >> >>> need
> >> >> >>> > to be changed. This task will add to the example two textboxes
> >> and
> >> >> a
> >> >> >>> bit
> >> >> >>> > of
> >> >> >>> > Javascript to generate the maven command ready to copy/paste
> to
> >> a
> >> >> dos
> >> >> >>> box
> >> >> >>> > (or unix commandline).
> >> >> >>> > It should ask for the groupId and the artifactId and generate
> >> the
> >> >> >>> > resulting
> >> >> >>> > commandline. It should also be able to be run inside a
> >> confluence
> >> >> wiki
> >> >> >>> > page.
> >> >> >>> > The student can test using the Wicket confluence wiki. We will
>
> >> move
> >> >> >>> the
> >> >> >>> > page
> >> >> >>> > when ready to the official space.
> >> >> >>> >
> >> >> >>> > References:
> >> >> >>> >  - Official Quickstart page:
> >> >> http://wicket.apache.org/quickstart.html
> >> >> >>> >  - The GHOP Quickstart page open for editing by the student:
> >> GHOP
> >> -
> >> >> >>> > quickstart<
> >> >> >>>
> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> >> >
> >> >> >>> >
> >> >> >>> > Martijn
> >> >> >>> >
> >> >> >>> > --
> >> >> >>> > Buy Wicket in Action: http://manning.com/dashorst
> >> >> >>> > Apache Wicket 1.3.0-rc1 is released
> >> >> >>> > Get it now:
> >> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> >> >> >>> >
> >> >> >>> >
> >> >> >>>
> >> >> >>> --
> >> >> >>> View this message in context:
> >> >> >>>
> >> >>
> >> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
>
> >> >> >>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >> >> >>>
> >> >> >>>
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> Buy Wicket in Action: http://manning.com/dashorst
> >> >> >> Apache Wicket 1.3.0-rc1 is released
> >> >> >> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>
> >> >> >>
> >> >> >>
> >> >> >  http://www.nabble.com/file/p14139504/quickstart.html
> >> quickstart.html
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
> >> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14140386
> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14141363
> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>
>

Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by popnbrown <sr...@gmail.com>.
Ok so latest latest update. I was browsing the Confluence forums and
apparently there have been attempts to use javascript code on Confluence
pages and I e-mailed one of the guys about it, and I'm hoping for a reply
tonight if not, tommorrow. 
Besides that do you know what people mean when they say "the html plugin"
for Confluence?

Thanks,
Sravan Suryadevara


Gerolf Seitz wrote:
> 
> On Dec 4, 2007 12:03 AM, popnbrown <sr...@gmail.com> wrote:
> 
>>
>> Well, the thing was I forgot how to create textboxes and what not and I
>> haven't touched JavaScript for a bit. Since I'm taking a course in Java I
>> decided to do an Applet. However, you are right that its a lot more
>> inefficient, so therefore I (thanks to google) found out how to create
>> textboxes and relate everything together to get it right. So now I have
>> it
>> I'll try to post it again on the ghop site and I'll also e-mail you a
>> copy.
>>
> 
> great.
> 
> 
>>
>> If you are going to use flash, I have no knowledge of how to code in
>> flash,
>> in which case I can't take the task. I'll try and see if I can upload it
>> on
>> Confluence also.
>>
> 
> no worries, it was merely a suggestion for an alternative route. imho,
> javascript
> is clearly the best way to handle this.
> 
>   Gerolf
> 
> 
>> Thanks,
>> Sravan Suryadevara
>>
>>
>> Gerolf Seitz wrote:
>> >
>> > hm, i can only download a .dat file. when i open it, after i had
>> renamed
>> > it
>> > to .html, it crashed my firefox :(
>> >
>> > another question: in the task description it is stated that this can
>> (and
>> > probably should) be solved with javascript.
>> > is there a specific reason why you went the java applet route? that
>> seems
>> > a
>> > little bit of an overkill for that task.
>> > javascript also gets loaded way faster than applets.
>> >
>> > if there is no way for us to include javascript in confluence, flash
>> might
>> > be another solution?
>> >
>> > any comments?
>> >
>> >   Gerolf
>> >
>> >
>> > On Dec 3, 2007 10:46 PM, popnbrown <sr...@gmail.com>
>> wrote:
>> >
>> >>
>> >> I can't get the file uploader to work here, so here's a link to the
>> issue
>> >> at
>> >> GHOP with the attatchment[0]
>> >> It's attatched to comment #6.
>> >>
>> >> Thanks,
>> >> Sravan Suryadevara
>> >>
>> >> [0]
>> >>
>> >>
>> http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6
>> >>
>> >>
>> >> popnbrown wrote:
>> >> >
>> >> > No I did'nt. I was actually trying to see if what I write works in
>> like
>> >> a
>> >> > day or two and then put the code into the quickstart page.
>> >> >
>> >> > By the way, I have no idea how to edit that page to write
>> >> Javascript/HTML
>> >> > code without taking the source code of the page and saving it on my
>> >> > computer, which should work for you guys, so I can e-mail the
>> >> > quickstart.html to you guys. It's just easier for me to work on
>> since
>> I
>> >> > can take it everywhere with me.
>> >> >
>> >> > And the problem is a lot bigger cause the command line replaces
>> >> everything
>> >> > on the page. I am going to upload the quickstart.html with the added
>> in
>> >> > components.
>> >> >
>> >> >
>> >> > Martijn Dashorst wrote:
>> >> >>
>> >> >> I don't see it here:
>> >> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>> >> >> Are you editing the page in the link above? It was meant for that
>> ;)
>> >> >>
>> >> >> Martijn
>> >> >>
>> >> >> On Dec 3, 2007 9:05 PM, popnbrown <sr...@gmail.com>
>> >> wrote:
>> >> >>
>> >> >>>
>> >> >>> Status Report:
>> >> >>>
>> >> >>> So far I have the text box fields for GroupId and ArtifactId and a
>> >> >>> button
>> >> >>> to
>> >> >>> click that will generate the command line. However, when the
>> button
>> >> is
>> >> >>> clicked the applet and button get replaced by the command line.
>> >> >>>
>> >> >>> That might be a little frustrating for the user because he/she
>> would
>> >> >>> have
>> >> >>> to
>> >> >>> refresh to re-create a new line, so right now I am trying to write
>> >> the
>> >> >>> line
>> >> >>> below the button.
>> >> >>>
>> >> >>> Tips would help!!!
>> >> >>>
>> >> >>>
>> >> >>> Martijn Dashorst wrote:
>> >> >>> >
>> >> >>> > The current quickstart page shows a commandline that is not very
>> >> >>> friendly
>> >> >>> > to
>> >> >>> > edit by hand: you have to unwrap the lines and figure out which
>> >> parts
>> >> >>> need
>> >> >>> > to be changed. This task will add to the example two textboxes
>> and
>> >> a
>> >> >>> bit
>> >> >>> > of
>> >> >>> > Javascript to generate the maven command ready to copy/paste to
>> a
>> >> dos
>> >> >>> box
>> >> >>> > (or unix commandline).
>> >> >>> > It should ask for the groupId and the artifactId and generate
>> the
>> >> >>> > resulting
>> >> >>> > commandline. It should also be able to be run inside a
>> confluence
>> >> wiki
>> >> >>> > page.
>> >> >>> > The student can test using the Wicket confluence wiki. We will
>> move
>> >> >>> the
>> >> >>> > page
>> >> >>> > when ready to the official space.
>> >> >>> >
>> >> >>> > References:
>> >> >>> >  - Official Quickstart page:
>> >> http://wicket.apache.org/quickstart.html
>> >> >>> >  - The GHOP Quickstart page open for editing by the student:
>> GHOP
>> -
>> >> >>> > quickstart<
>> >> >>>
>> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>> >
>> >> >>> >
>> >> >>> > Martijn
>> >> >>> >
>> >> >>> > --
>> >> >>> > Buy Wicket in Action: http://manning.com/dashorst
>> >> >>> > Apache Wicket 1.3.0-rc1 is released
>> >> >>> > Get it now:
>> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>> >> >>> >
>> >> >>> >
>> >> >>>
>> >> >>> --
>> >> >>> View this message in context:
>> >> >>>
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
>> >> >>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >> >>>
>> >> >>>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Buy Wicket in Action: http://manning.com/dashorst
>> >> >> Apache Wicket 1.3.0-rc1 is released
>> >> >> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>> >> >>
>> >> >>
>> >> >  http://www.nabble.com/file/p14139504/quickstart.html
>> quickstart.html
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
>> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14140386
>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14141363
Sent from the Wicket - Dev mailing list archive at Nabble.com.


Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by Gerolf Seitz <ge...@gmail.com>.
On Dec 4, 2007 12:03 AM, popnbrown <sr...@gmail.com> wrote:

>
> Well, the thing was I forgot how to create textboxes and what not and I
> haven't touched JavaScript for a bit. Since I'm taking a course in Java I
> decided to do an Applet. However, you are right that its a lot more
> inefficient, so therefore I (thanks to google) found out how to create
> textboxes and relate everything together to get it right. So now I have it
> I'll try to post it again on the ghop site and I'll also e-mail you a
> copy.
>

great.


>
> If you are going to use flash, I have no knowledge of how to code in
> flash,
> in which case I can't take the task. I'll try and see if I can upload it
> on
> Confluence also.
>

no worries, it was merely a suggestion for an alternative route. imho,
javascript
is clearly the best way to handle this.

  Gerolf


> Thanks,
> Sravan Suryadevara
>
>
> Gerolf Seitz wrote:
> >
> > hm, i can only download a .dat file. when i open it, after i had renamed
> > it
> > to .html, it crashed my firefox :(
> >
> > another question: in the task description it is stated that this can
> (and
> > probably should) be solved with javascript.
> > is there a specific reason why you went the java applet route? that
> seems
> > a
> > little bit of an overkill for that task.
> > javascript also gets loaded way faster than applets.
> >
> > if there is no way for us to include javascript in confluence, flash
> might
> > be another solution?
> >
> > any comments?
> >
> >   Gerolf
> >
> >
> > On Dec 3, 2007 10:46 PM, popnbrown <sr...@gmail.com> wrote:
> >
> >>
> >> I can't get the file uploader to work here, so here's a link to the
> issue
> >> at
> >> GHOP with the attatchment[0]
> >> It's attatched to comment #6.
> >>
> >> Thanks,
> >> Sravan Suryadevara
> >>
> >> [0]
> >>
> >>
> http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6
> >>
> >>
> >> popnbrown wrote:
> >> >
> >> > No I did'nt. I was actually trying to see if what I write works in
> like
> >> a
> >> > day or two and then put the code into the quickstart page.
> >> >
> >> > By the way, I have no idea how to edit that page to write
> >> Javascript/HTML
> >> > code without taking the source code of the page and saving it on my
> >> > computer, which should work for you guys, so I can e-mail the
> >> > quickstart.html to you guys. It's just easier for me to work on since
> I
> >> > can take it everywhere with me.
> >> >
> >> > And the problem is a lot bigger cause the command line replaces
> >> everything
> >> > on the page. I am going to upload the quickstart.html with the added
> in
> >> > components.
> >> >
> >> >
> >> > Martijn Dashorst wrote:
> >> >>
> >> >> I don't see it here:
> >> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> >> >> Are you editing the page in the link above? It was meant for that ;)
> >> >>
> >> >> Martijn
> >> >>
> >> >> On Dec 3, 2007 9:05 PM, popnbrown <sr...@gmail.com>
> >> wrote:
> >> >>
> >> >>>
> >> >>> Status Report:
> >> >>>
> >> >>> So far I have the text box fields for GroupId and ArtifactId and a
> >> >>> button
> >> >>> to
> >> >>> click that will generate the command line. However, when the button
> >> is
> >> >>> clicked the applet and button get replaced by the command line.
> >> >>>
> >> >>> That might be a little frustrating for the user because he/she
> would
> >> >>> have
> >> >>> to
> >> >>> refresh to re-create a new line, so right now I am trying to write
> >> the
> >> >>> line
> >> >>> below the button.
> >> >>>
> >> >>> Tips would help!!!
> >> >>>
> >> >>>
> >> >>> Martijn Dashorst wrote:
> >> >>> >
> >> >>> > The current quickstart page shows a commandline that is not very
> >> >>> friendly
> >> >>> > to
> >> >>> > edit by hand: you have to unwrap the lines and figure out which
> >> parts
> >> >>> need
> >> >>> > to be changed. This task will add to the example two textboxes
> and
> >> a
> >> >>> bit
> >> >>> > of
> >> >>> > Javascript to generate the maven command ready to copy/paste to a
> >> dos
> >> >>> box
> >> >>> > (or unix commandline).
> >> >>> > It should ask for the groupId and the artifactId and generate the
> >> >>> > resulting
> >> >>> > commandline. It should also be able to be run inside a confluence
> >> wiki
> >> >>> > page.
> >> >>> > The student can test using the Wicket confluence wiki. We will
> move
> >> >>> the
> >> >>> > page
> >> >>> > when ready to the official space.
> >> >>> >
> >> >>> > References:
> >> >>> >  - Official Quickstart page:
> >> http://wicket.apache.org/quickstart.html
> >> >>> >  - The GHOP Quickstart page open for editing by the student: GHOP
> -
> >> >>> > quickstart<
> >> >>> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> >
> >> >>> >
> >> >>> > Martijn
> >> >>> >
> >> >>> > --
> >> >>> > Buy Wicket in Action: http://manning.com/dashorst
> >> >>> > Apache Wicket 1.3.0-rc1 is released
> >> >>> > Get it now:
> http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> >> >>> >
> >> >>> >
> >> >>>
> >> >>> --
> >> >>> View this message in context:
> >> >>>
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
> >> >>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >> --
> >> >> Buy Wicket in Action: http://manning.com/dashorst
> >> >> Apache Wicket 1.3.0-rc1 is released
> >> >> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> >> >>
> >> >>
> >> >  http://www.nabble.com/file/p14139504/quickstart.html quickstart.html
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14140386
> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>
>

Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by popnbrown <sr...@gmail.com>.
Well, the thing was I forgot how to create textboxes and what not and I
haven't touched JavaScript for a bit. Since I'm taking a course in Java I
decided to do an Applet. However, you are right that its a lot more
inefficient, so therefore I (thanks to google) found out how to create
textboxes and relate everything together to get it right. So now I have it
I'll try to post it again on the ghop site and I'll also e-mail you a copy.

If you are going to use flash, I have no knowledge of how to code in flash,
in which case I can't take the task. I'll try and see if I can upload it on
Confluence also.

Thanks,
Sravan Suryadevara


Gerolf Seitz wrote:
> 
> hm, i can only download a .dat file. when i open it, after i had renamed
> it
> to .html, it crashed my firefox :(
> 
> another question: in the task description it is stated that this can (and
> probably should) be solved with javascript.
> is there a specific reason why you went the java applet route? that seems
> a
> little bit of an overkill for that task.
> javascript also gets loaded way faster than applets.
> 
> if there is no way for us to include javascript in confluence, flash might
> be another solution?
> 
> any comments?
> 
>   Gerolf
> 
> 
> On Dec 3, 2007 10:46 PM, popnbrown <sr...@gmail.com> wrote:
> 
>>
>> I can't get the file uploader to work here, so here's a link to the issue
>> at
>> GHOP with the attatchment[0]
>> It's attatched to comment #6.
>>
>> Thanks,
>> Sravan Suryadevara
>>
>> [0]
>>
>> http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6
>>
>>
>> popnbrown wrote:
>> >
>> > No I did'nt. I was actually trying to see if what I write works in like
>> a
>> > day or two and then put the code into the quickstart page.
>> >
>> > By the way, I have no idea how to edit that page to write
>> Javascript/HTML
>> > code without taking the source code of the page and saving it on my
>> > computer, which should work for you guys, so I can e-mail the
>> > quickstart.html to you guys. It's just easier for me to work on since I
>> > can take it everywhere with me.
>> >
>> > And the problem is a lot bigger cause the command line replaces
>> everything
>> > on the page. I am going to upload the quickstart.html with the added in
>> > components.
>> >
>> >
>> > Martijn Dashorst wrote:
>> >>
>> >> I don't see it here:
>> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>> >> Are you editing the page in the link above? It was meant for that ;)
>> >>
>> >> Martijn
>> >>
>> >> On Dec 3, 2007 9:05 PM, popnbrown <sr...@gmail.com>
>> wrote:
>> >>
>> >>>
>> >>> Status Report:
>> >>>
>> >>> So far I have the text box fields for GroupId and ArtifactId and a
>> >>> button
>> >>> to
>> >>> click that will generate the command line. However, when the button
>> is
>> >>> clicked the applet and button get replaced by the command line.
>> >>>
>> >>> That might be a little frustrating for the user because he/she would
>> >>> have
>> >>> to
>> >>> refresh to re-create a new line, so right now I am trying to write
>> the
>> >>> line
>> >>> below the button.
>> >>>
>> >>> Tips would help!!!
>> >>>
>> >>>
>> >>> Martijn Dashorst wrote:
>> >>> >
>> >>> > The current quickstart page shows a commandline that is not very
>> >>> friendly
>> >>> > to
>> >>> > edit by hand: you have to unwrap the lines and figure out which
>> parts
>> >>> need
>> >>> > to be changed. This task will add to the example two textboxes and
>> a
>> >>> bit
>> >>> > of
>> >>> > Javascript to generate the maven command ready to copy/paste to a
>> dos
>> >>> box
>> >>> > (or unix commandline).
>> >>> > It should ask for the groupId and the artifactId and generate the
>> >>> > resulting
>> >>> > commandline. It should also be able to be run inside a confluence
>> wiki
>> >>> > page.
>> >>> > The student can test using the Wicket confluence wiki. We will move
>> >>> the
>> >>> > page
>> >>> > when ready to the official space.
>> >>> >
>> >>> > References:
>> >>> >  - Official Quickstart page:
>> http://wicket.apache.org/quickstart.html
>> >>> >  - The GHOP Quickstart page open for editing by the student: GHOP -
>> >>> > quickstart<
>> >>> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart>
>> >>> >
>> >>> > Martijn
>> >>> >
>> >>> > --
>> >>> > Buy Wicket in Action: http://manning.com/dashorst
>> >>> > Apache Wicket 1.3.0-rc1 is released
>> >>> > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>> >>> >
>> >>> >
>> >>>
>> >>> --
>> >>> View this message in context:
>> >>>
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
>> >>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >>>
>> >>>
>> >>
>> >>
>> >> --
>> >> Buy Wicket in Action: http://manning.com/dashorst
>> >> Apache Wicket 1.3.0-rc1 is released
>> >> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>> >>
>> >>
>> >  http://www.nabble.com/file/p14139504/quickstart.html quickstart.html
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14140386
Sent from the Wicket - Dev mailing list archive at Nabble.com.


Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by Gerolf Seitz <ge...@gmail.com>.
hm, i can only download a .dat file. when i open it, after i had renamed it
to .html, it crashed my firefox :(

another question: in the task description it is stated that this can (and
probably should) be solved with javascript.
is there a specific reason why you went the java applet route? that seems a
little bit of an overkill for that task.
javascript also gets loaded way faster than applets.

if there is no way for us to include javascript in confluence, flash might
be another solution?

any comments?

  Gerolf


On Dec 3, 2007 10:46 PM, popnbrown <sr...@gmail.com> wrote:

>
> I can't get the file uploader to work here, so here's a link to the issue
> at
> GHOP with the attatchment[0]
> It's attatched to comment #6.
>
> Thanks,
> Sravan Suryadevara
>
> [0]
>
> http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6
>
>
> popnbrown wrote:
> >
> > No I did'nt. I was actually trying to see if what I write works in like
> a
> > day or two and then put the code into the quickstart page.
> >
> > By the way, I have no idea how to edit that page to write
> Javascript/HTML
> > code without taking the source code of the page and saving it on my
> > computer, which should work for you guys, so I can e-mail the
> > quickstart.html to you guys. It's just easier for me to work on since I
> > can take it everywhere with me.
> >
> > And the problem is a lot bigger cause the command line replaces
> everything
> > on the page. I am going to upload the quickstart.html with the added in
> > components.
> >
> >
> > Martijn Dashorst wrote:
> >>
> >> I don't see it here:
> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> >> Are you editing the page in the link above? It was meant for that ;)
> >>
> >> Martijn
> >>
> >> On Dec 3, 2007 9:05 PM, popnbrown <sr...@gmail.com> wrote:
> >>
> >>>
> >>> Status Report:
> >>>
> >>> So far I have the text box fields for GroupId and ArtifactId and a
> >>> button
> >>> to
> >>> click that will generate the command line. However, when the button is
> >>> clicked the applet and button get replaced by the command line.
> >>>
> >>> That might be a little frustrating for the user because he/she would
> >>> have
> >>> to
> >>> refresh to re-create a new line, so right now I am trying to write the
> >>> line
> >>> below the button.
> >>>
> >>> Tips would help!!!
> >>>
> >>>
> >>> Martijn Dashorst wrote:
> >>> >
> >>> > The current quickstart page shows a commandline that is not very
> >>> friendly
> >>> > to
> >>> > edit by hand: you have to unwrap the lines and figure out which
> parts
> >>> need
> >>> > to be changed. This task will add to the example two textboxes and a
> >>> bit
> >>> > of
> >>> > Javascript to generate the maven command ready to copy/paste to a
> dos
> >>> box
> >>> > (or unix commandline).
> >>> > It should ask for the groupId and the artifactId and generate the
> >>> > resulting
> >>> > commandline. It should also be able to be run inside a confluence
> wiki
> >>> > page.
> >>> > The student can test using the Wicket confluence wiki. We will move
> >>> the
> >>> > page
> >>> > when ready to the official space.
> >>> >
> >>> > References:
> >>> >  - Official Quickstart page:
> http://wicket.apache.org/quickstart.html
> >>> >  - The GHOP Quickstart page open for editing by the student: GHOP -
> >>> > quickstart<
> >>> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart>
> >>> >
> >>> > Martijn
> >>> >
> >>> > --
> >>> > Buy Wicket in Action: http://manning.com/dashorst
> >>> > Apache Wicket 1.3.0-rc1 is released
> >>> > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> >>> >
> >>> >
> >>>
> >>> --
> >>> View this message in context:
> >>>
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
> >>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> >>>
> >>>
> >>
> >>
> >> --
> >> Buy Wicket in Action: http://manning.com/dashorst
> >> Apache Wicket 1.3.0-rc1 is released
> >> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> >>
> >>
> >  http://www.nabble.com/file/p14139504/quickstart.html quickstart.html
> >
>
> --
> View this message in context:
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>
>

Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by popnbrown <sr...@gmail.com>.
I can't get the file uploader to work here, so here's a link to the issue at
GHOP with the attatchment[0]
It's attatched to comment #6.

Thanks,
Sravan Suryadevara

[0]
http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6


popnbrown wrote:
> 
> No I did'nt. I was actually trying to see if what I write works in like a
> day or two and then put the code into the quickstart page. 
> 
> By the way, I have no idea how to edit that page to write Javascript/HTML
> code without taking the source code of the page and saving it on my
> computer, which should work for you guys, so I can e-mail the
> quickstart.html to you guys. It's just easier for me to work on since I
> can take it everywhere with me.
> 
> And the problem is a lot bigger cause the command line replaces everything
> on the page. I am going to upload the quickstart.html with the added in
> components.
> 
> 
> Martijn Dashorst wrote:
>> 
>> I don't see it here:
>> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>> Are you editing the page in the link above? It was meant for that ;)
>> 
>> Martijn
>> 
>> On Dec 3, 2007 9:05 PM, popnbrown <sr...@gmail.com> wrote:
>> 
>>>
>>> Status Report:
>>>
>>> So far I have the text box fields for GroupId and ArtifactId and a
>>> button
>>> to
>>> click that will generate the command line. However, when the button is
>>> clicked the applet and button get replaced by the command line.
>>>
>>> That might be a little frustrating for the user because he/she would
>>> have
>>> to
>>> refresh to re-create a new line, so right now I am trying to write the
>>> line
>>> below the button.
>>>
>>> Tips would help!!!
>>>
>>>
>>> Martijn Dashorst wrote:
>>> >
>>> > The current quickstart page shows a commandline that is not very
>>> friendly
>>> > to
>>> > edit by hand: you have to unwrap the lines and figure out which parts
>>> need
>>> > to be changed. This task will add to the example two textboxes and a
>>> bit
>>> > of
>>> > Javascript to generate the maven command ready to copy/paste to a dos
>>> box
>>> > (or unix commandline).
>>> > It should ask for the groupId and the artifactId and generate the
>>> > resulting
>>> > commandline. It should also be able to be run inside a confluence wiki
>>> > page.
>>> > The student can test using the Wicket confluence wiki. We will move
>>> the
>>> > page
>>> > when ready to the official space.
>>> >
>>> > References:
>>> >  - Official Quickstart page: http://wicket.apache.org/quickstart.html
>>> >  - The GHOP Quickstart page open for editing by the student: GHOP -
>>> > quickstart<
>>> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart>
>>> >
>>> > Martijn
>>> >
>>> > --
>>> > Buy Wicket in Action: http://manning.com/dashorst
>>> > Apache Wicket 1.3.0-rc1 is released
>>> > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
>>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
>> -- 
>> Buy Wicket in Action: http://manning.com/dashorst
>> Apache Wicket 1.3.0-rc1 is released
>> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>> 
>> 
>  http://www.nabble.com/file/p14139504/quickstart.html quickstart.html 
> 

-- 
View this message in context: http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
Sent from the Wicket - Dev mailing list archive at Nabble.com.


Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by popnbrown <sr...@gmail.com>.
I can't get the file uploader to work here, so here's a link to the issue at
GHOP with the attatchment[0]

Thanks,
Sravan Suryadevara

[0]
http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=50&colspec=ID%20Status%20Owner%20ClaimedBy%20Summary#c6


popnbrown wrote:
> 
> No I did'nt. I was actually trying to see if what I write works in like a
> day or two and then put the code into the quickstart page. 
> 
> By the way, I have no idea how to edit that page to write Javascript/HTML
> code without taking the source code of the page and saving it on my
> computer, which should work for you guys, so I can e-mail the
> quickstart.html to you guys. It's just easier for me to work on since I
> can take it everywhere with me.
> 
> And the problem is a lot bigger cause the command line replaces everything
> on the page. I am going to upload the quickstart.html with the added in
> components.
> 
> 
> Martijn Dashorst wrote:
>> 
>> I don't see it here:
>> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
>> Are you editing the page in the link above? It was meant for that ;)
>> 
>> Martijn
>> 
>> On Dec 3, 2007 9:05 PM, popnbrown <sr...@gmail.com> wrote:
>> 
>>>
>>> Status Report:
>>>
>>> So far I have the text box fields for GroupId and ArtifactId and a
>>> button
>>> to
>>> click that will generate the command line. However, when the button is
>>> clicked the applet and button get replaced by the command line.
>>>
>>> That might be a little frustrating for the user because he/she would
>>> have
>>> to
>>> refresh to re-create a new line, so right now I am trying to write the
>>> line
>>> below the button.
>>>
>>> Tips would help!!!
>>>
>>>
>>> Martijn Dashorst wrote:
>>> >
>>> > The current quickstart page shows a commandline that is not very
>>> friendly
>>> > to
>>> > edit by hand: you have to unwrap the lines and figure out which parts
>>> need
>>> > to be changed. This task will add to the example two textboxes and a
>>> bit
>>> > of
>>> > Javascript to generate the maven command ready to copy/paste to a dos
>>> box
>>> > (or unix commandline).
>>> > It should ask for the groupId and the artifactId and generate the
>>> > resulting
>>> > commandline. It should also be able to be run inside a confluence wiki
>>> > page.
>>> > The student can test using the Wicket confluence wiki. We will move
>>> the
>>> > page
>>> > when ready to the official space.
>>> >
>>> > References:
>>> >  - Official Quickstart page: http://wicket.apache.org/quickstart.html
>>> >  - The GHOP Quickstart page open for editing by the student: GHOP -
>>> > quickstart<
>>> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart>
>>> >
>>> > Martijn
>>> >
>>> > --
>>> > Buy Wicket in Action: http://manning.com/dashorst
>>> > Apache Wicket 1.3.0-rc1 is released
>>> > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
>>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
>> -- 
>> Buy Wicket in Action: http://manning.com/dashorst
>> Apache Wicket 1.3.0-rc1 is released
>> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>> 
>> 
>  http://www.nabble.com/file/p14139504/quickstart.html quickstart.html 
> 

-- 
View this message in context: http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139633
Sent from the Wicket - Dev mailing list archive at Nabble.com.


Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by popnbrown <sr...@gmail.com>.
No I did'nt. I was actually trying to see if what I write works in like a day
or two and then put the code into the quickstart page. 

By the way, I have no idea how to edit that page to write Javascript/HTML
code without taking the source code of the page and saving it on my
computer, which should work for you guys, so I can e-mail the
quickstart.html to you guys. It's just easier for me to work on since I can
take it everywhere with me.

And the problem is a lot bigger cause the command line replaces everything
on the page. I am going to upload the quickstart.html with the added in
components.


Martijn Dashorst wrote:
> 
> I don't see it here:
> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
> Are you editing the page in the link above? It was meant for that ;)
> 
> Martijn
> 
> On Dec 3, 2007 9:05 PM, popnbrown <sr...@gmail.com> wrote:
> 
>>
>> Status Report:
>>
>> So far I have the text box fields for GroupId and ArtifactId and a button
>> to
>> click that will generate the command line. However, when the button is
>> clicked the applet and button get replaced by the command line.
>>
>> That might be a little frustrating for the user because he/she would have
>> to
>> refresh to re-create a new line, so right now I am trying to write the
>> line
>> below the button.
>>
>> Tips would help!!!
>>
>>
>> Martijn Dashorst wrote:
>> >
>> > The current quickstart page shows a commandline that is not very
>> friendly
>> > to
>> > edit by hand: you have to unwrap the lines and figure out which parts
>> need
>> > to be changed. This task will add to the example two textboxes and a
>> bit
>> > of
>> > Javascript to generate the maven command ready to copy/paste to a dos
>> box
>> > (or unix commandline).
>> > It should ask for the groupId and the artifactId and generate the
>> > resulting
>> > commandline. It should also be able to be run inside a confluence wiki
>> > page.
>> > The student can test using the Wicket confluence wiki. We will move the
>> > page
>> > when ready to the official space.
>> >
>> > References:
>> >  - Official Quickstart page: http://wicket.apache.org/quickstart.html
>> >  - The GHOP Quickstart page open for editing by the student: GHOP -
>> > quickstart<
>> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart>
>> >
>> > Martijn
>> >
>> > --
>> > Buy Wicket in Action: http://manning.com/dashorst
>> > Apache Wicket 1.3.0-rc1 is released
>> > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Buy Wicket in Action: http://manning.com/dashorst
> Apache Wicket 1.3.0-rc1 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> 
> 
http://www.nabble.com/file/p14139504/quickstart.html quickstart.html 
-- 
View this message in context: http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14139504
Sent from the Wicket - Dev mailing list archive at Nabble.com.


Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by Martijn Dashorst <ma...@gmail.com>.
I don't see it here:
http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart
Are you editing the page in the link above? It was meant for that ;)

Martijn

On Dec 3, 2007 9:05 PM, popnbrown <sr...@gmail.com> wrote:

>
> Status Report:
>
> So far I have the text box fields for GroupId and ArtifactId and a button
> to
> click that will generate the command line. However, when the button is
> clicked the applet and button get replaced by the command line.
>
> That might be a little frustrating for the user because he/she would have
> to
> refresh to re-create a new line, so right now I am trying to write the
> line
> below the button.
>
> Tips would help!!!
>
>
> Martijn Dashorst wrote:
> >
> > The current quickstart page shows a commandline that is not very
> friendly
> > to
> > edit by hand: you have to unwrap the lines and figure out which parts
> need
> > to be changed. This task will add to the example two textboxes and a bit
> > of
> > Javascript to generate the maven command ready to copy/paste to a dos
> box
> > (or unix commandline).
> > It should ask for the groupId and the artifactId and generate the
> > resulting
> > commandline. It should also be able to be run inside a confluence wiki
> > page.
> > The student can test using the Wicket confluence wiki. We will move the
> > page
> > when ready to the official space.
> >
> > References:
> >  - Official Quickstart page: http://wicket.apache.org/quickstart.html
> >  - The GHOP Quickstart page open for editing by the student: GHOP -
> > quickstart<
> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart>
> >
> > Martijn
> >
> > --
> > Buy Wicket in Action: http://manning.com/dashorst
> > Apache Wicket 1.3.0-rc1 is released
> > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>
>


-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-rc1 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/

Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by popnbrown <sr...@gmail.com>.
Status Report:

So far I have the text box fields for GroupId and ArtifactId and a button to
click that will generate the command line. However, when the button is
clicked the applet and button get replaced by the command line.

That might be a little frustrating for the user because he/she would have to
refresh to re-create a new line, so right now I am trying to write the line
below the button.

Tips would help!!!


Martijn Dashorst wrote:
> 
> The current quickstart page shows a commandline that is not very friendly
> to
> edit by hand: you have to unwrap the lines and figure out which parts need
> to be changed. This task will add to the example two textboxes and a bit
> of
> Javascript to generate the maven command ready to copy/paste to a dos box
> (or unix commandline).
> It should ask for the groupId and the artifactId and generate the
> resulting
> commandline. It should also be able to be run inside a confluence wiki
> page.
> The student can test using the Wicket confluence wiki. We will move the
> page
> when ready to the official space.
> 
> References:
>  - Official Quickstart page: http://wicket.apache.org/quickstart.html
>  - The GHOP Quickstart page open for editing by the student: GHOP -
> quickstart<http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart>
> 
> Martijn
> 
> -- 
> Buy Wicket in Action: http://manning.com/dashorst
> Apache Wicket 1.3.0-rc1 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> 
> 

-- 
View this message in context: http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14137604
Sent from the Wicket - Dev mailing list archive at Nabble.com.


Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by popnbrown <sr...@gmail.com>.
Ok So is it alright to seperate the line into two parts so it won't be really
long?
Going of what David said just make two different text fields one with the
stuff that's permanent 
and the other with the part that will change.

Also would you like me to create a seperate section because the Results
section uses the "myproject" example? 


David Bernard-2 wrote:
> 
> The first thing that can be done is to provide a sample that could work by
> copy/paste in a shell, and only need to edit the last line :
> mvn archetype:create -DarchetypeGroupId=org.apache.wicket /
> -DarchetypeArtifactId=wicket-archetype-quickstart /
> -DarchetypeVersion=1.3.0-rc1 /
> -DgroupId=com.mycompany -DartifactId=myproject
> 
> Regards
> 
> Gerolf Seitz wrote:
>> that's a great idea.
>> i will add the task immeditaly.
>> 
>>   Gerolf
>> 
>> On Dec 2, 2007 4:53 PM, Martijn Dashorst <ma...@gmail.com>
>> wrote:
>> 
>>> The current quickstart page shows a commandline that is not very
>>> friendly
>>> to
>>> edit by hand: you have to unwrap the lines and figure out which parts
>>> need
>>> to be changed. This task will add to the example two textboxes and a bit
>>> of
>>> Javascript to generate the maven command ready to copy/paste to a dos
>>> box
>>> (or unix commandline).
>>> It should ask for the groupId and the artifactId and generate the
>>> resulting
>>> commandline. It should also be able to be run inside a confluence wiki
>>> page.
>>> The student can test using the Wicket confluence wiki. We will move the
>>> page
>>> when ready to the official space.
>>>
>>> References:
>>>  - Official Quickstart page: http://wicket.apache.org/quickstart.html
>>>  - The GHOP Quickstart page open for editing by the student: GHOP -
>>> quickstart<
>>> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart>
>>>
>>> Martijn
>>>
>>> --
>>> Buy Wicket in Action: http://manning.com/dashorst
>>> Apache Wicket 1.3.0-rc1 is released
>>> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>>>
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/New-task-for-ghop%3A-generate-commandline-for-quickstart-archetype-in-webpage-tf4932123.html#a14120633
Sent from the Wicket - Dev mailing list archive at Nabble.com.


Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by David Bernard <dw...@free.fr>.

Stuart McCulloch wrote:
> On 03/12/2007, David Bernard <dw...@free.fr> wrote:
>> I agree with the generator, I only to suggest to change the current page
>> to add / at the end of line and put -DgroupId=... and -DartifactId into the
>> same line so if the user copy (without the last new
>> line he could change with arrow the content of the last line.
> 
> 
> hmm - shouldn't that be \ for a line continuation?

right (typo in the message)


Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by Stuart McCulloch <st...@jayway.net>.
On 03/12/2007, David Bernard <dw...@free.fr> wrote:
>
> I agree with the generator, I only to suggest to change the current page
> to add / at the end of line and put -DgroupId=... and -DartifactId into the
> same line so if the user copy (without the last new
> line he could change with arrow the content of the last line.


hmm - shouldn't that be \ for a line continuation?

my 2 sen: don't bother with line continuations, as it can be a pain on some
OS's
just put the customizable parts at the end and look into wrapping the
example
text without using newlines - then the user can use left-arrow or delete to
edit...

Martijn Dashorst wrote:
> > This doesn't work well: pasting from a browser with newlines in it is
> hell.
> > Why would you want to edit the commandline again? We are building a page
> > that generates the correct commandline for you!
> > I just want a text area or text field that generates the line to paste
> > without any newlines in it.
> >
> > Something like:
> >
> > Enter your project data:
> > groupId       [textfield]
> > artifactId     [textfield]
> >                   [generate]
> >
> > Copy and paste the contents of this field into your command line (dos
> box or
> > unix shell):
> > [generated string s.th. like mvn -...........]
> >
> > If you want to go sexy, add a button to copy the contents to the
> clipboard.
> >
> > Martijn
> >
> > On Dec 2, 2007 5:41 PM, David Bernard <dw...@free.fr> wrote:
> >
> >> The first thing that can be done is to provide a sample that could work
> by
> >> copy/paste in a shell, and only need to edit the last line :
> >> mvn archetype:create -DarchetypeGroupId=org.apache.wicket /
> >> -DarchetypeArtifactId=wicket-archetype-quickstart /
> >> -DarchetypeVersion=1.3.0-rc1 /
> >> -DgroupId=com.mycompany -DartifactId=myproject
> >>
> >> Regards
> >>
> >> Gerolf Seitz wrote:
> >>> that's a great idea.
> >>> i will add the task immeditaly.
> >>>
> >>>   Gerolf
> >>>
> >>> On Dec 2, 2007 4:53 PM, Martijn Dashorst <ma...@gmail.com>
> >> wrote:
> >>>> The current quickstart page shows a commandline that is not very
> >> friendly
> >>>> to
> >>>> edit by hand: you have to unwrap the lines and figure out which parts
> >> need
> >>>> to be changed. This task will add to the example two textboxes and a
> >> bit
> >>>> of
> >>>> Javascript to generate the maven command ready to copy/paste to a dos
> >> box
> >>>> (or unix commandline).
> >>>> It should ask for the groupId and the artifactId and generate the
> >>>> resulting
> >>>> commandline. It should also be able to be run inside a confluence
> wiki
> >>>> page.
> >>>> The student can test using the Wicket confluence wiki. We will move
> the
> >>>> page
> >>>> when ready to the official space.
> >>>>
> >>>> References:
> >>>>  - Official Quickstart page: http://wicket.apache.org/quickstart.html
> >>>>  - The GHOP Quickstart page open for editing by the student: GHOP -
> >>>> quickstart<
> >>>> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart>
> >>>>
> >>>> Martijn
> >>>>
> >>>> --
> >>>> Buy Wicket in Action: http://manning.com/dashorst
> >>>> Apache Wicket 1.3.0-rc1 is released
> >>>> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> >>>>
> >
> >
> >
>



-- 
Cheers, Stuart

Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by David Bernard <dw...@free.fr>.
I agree with the generator, I only to suggest to change the current page to add / at the end of line and put -DgroupId=... and -DartifactId into the same line so if the user copy (without the last new 
line he could change with arrow the content of the last line.

Martijn Dashorst wrote:
> This doesn't work well: pasting from a browser with newlines in it is hell.
> Why would you want to edit the commandline again? We are building a page
> that generates the correct commandline for you!
> I just want a text area or text field that generates the line to paste
> without any newlines in it.
> 
> Something like:
> 
> Enter your project data:
> groupId       [textfield]
> artifactId     [textfield]
>                   [generate]
> 
> Copy and paste the contents of this field into your command line (dos box or
> unix shell):
> [generated string s.th. like mvn -...........]
> 
> If you want to go sexy, add a button to copy the contents to the clipboard.
> 
> Martijn
> 
> On Dec 2, 2007 5:41 PM, David Bernard <dw...@free.fr> wrote:
> 
>> The first thing that can be done is to provide a sample that could work by
>> copy/paste in a shell, and only need to edit the last line :
>> mvn archetype:create -DarchetypeGroupId=org.apache.wicket /
>> -DarchetypeArtifactId=wicket-archetype-quickstart /
>> -DarchetypeVersion=1.3.0-rc1 /
>> -DgroupId=com.mycompany -DartifactId=myproject
>>
>> Regards
>>
>> Gerolf Seitz wrote:
>>> that's a great idea.
>>> i will add the task immeditaly.
>>>
>>>   Gerolf
>>>
>>> On Dec 2, 2007 4:53 PM, Martijn Dashorst <ma...@gmail.com>
>> wrote:
>>>> The current quickstart page shows a commandline that is not very
>> friendly
>>>> to
>>>> edit by hand: you have to unwrap the lines and figure out which parts
>> need
>>>> to be changed. This task will add to the example two textboxes and a
>> bit
>>>> of
>>>> Javascript to generate the maven command ready to copy/paste to a dos
>> box
>>>> (or unix commandline).
>>>> It should ask for the groupId and the artifactId and generate the
>>>> resulting
>>>> commandline. It should also be able to be run inside a confluence wiki
>>>> page.
>>>> The student can test using the Wicket confluence wiki. We will move the
>>>> page
>>>> when ready to the official space.
>>>>
>>>> References:
>>>>  - Official Quickstart page: http://wicket.apache.org/quickstart.html
>>>>  - The GHOP Quickstart page open for editing by the student: GHOP -
>>>> quickstart<
>>>> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart>
>>>>
>>>> Martijn
>>>>
>>>> --
>>>> Buy Wicket in Action: http://manning.com/dashorst
>>>> Apache Wicket 1.3.0-rc1 is released
>>>> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>>>>
> 
> 
> 

Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by Martijn Dashorst <ma...@gmail.com>.
This doesn't work well: pasting from a browser with newlines in it is hell.
Why would you want to edit the commandline again? We are building a page
that generates the correct commandline for you!
I just want a text area or text field that generates the line to paste
without any newlines in it.

Something like:

Enter your project data:
groupId       [textfield]
artifactId     [textfield]
                  [generate]

Copy and paste the contents of this field into your command line (dos box or
unix shell):
[generated string s.th. like mvn -...........]

If you want to go sexy, add a button to copy the contents to the clipboard.

Martijn

On Dec 2, 2007 5:41 PM, David Bernard <dw...@free.fr> wrote:

> The first thing that can be done is to provide a sample that could work by
> copy/paste in a shell, and only need to edit the last line :
> mvn archetype:create -DarchetypeGroupId=org.apache.wicket /
> -DarchetypeArtifactId=wicket-archetype-quickstart /
> -DarchetypeVersion=1.3.0-rc1 /
> -DgroupId=com.mycompany -DartifactId=myproject
>
> Regards
>
> Gerolf Seitz wrote:
> > that's a great idea.
> > i will add the task immeditaly.
> >
> >   Gerolf
> >
> > On Dec 2, 2007 4:53 PM, Martijn Dashorst <ma...@gmail.com>
> wrote:
> >
> >> The current quickstart page shows a commandline that is not very
> friendly
> >> to
> >> edit by hand: you have to unwrap the lines and figure out which parts
> need
> >> to be changed. This task will add to the example two textboxes and a
> bit
> >> of
> >> Javascript to generate the maven command ready to copy/paste to a dos
> box
> >> (or unix commandline).
> >> It should ask for the groupId and the artifactId and generate the
> >> resulting
> >> commandline. It should also be able to be run inside a confluence wiki
> >> page.
> >> The student can test using the Wicket confluence wiki. We will move the
> >> page
> >> when ready to the official space.
> >>
> >> References:
> >>  - Official Quickstart page: http://wicket.apache.org/quickstart.html
> >>  - The GHOP Quickstart page open for editing by the student: GHOP -
> >> quickstart<
> >> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart>
> >>
> >> Martijn
> >>
> >> --
> >> Buy Wicket in Action: http://manning.com/dashorst
> >> Apache Wicket 1.3.0-rc1 is released
> >> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
> >>
> >
>



-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-rc1 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/

Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by David Bernard <dw...@free.fr>.
The first thing that can be done is to provide a sample that could work by copy/paste in a shell, and only need to edit the last line :
mvn archetype:create -DarchetypeGroupId=org.apache.wicket /
-DarchetypeArtifactId=wicket-archetype-quickstart /
-DarchetypeVersion=1.3.0-rc1 /
-DgroupId=com.mycompany -DartifactId=myproject

Regards

Gerolf Seitz wrote:
> that's a great idea.
> i will add the task immeditaly.
> 
>   Gerolf
> 
> On Dec 2, 2007 4:53 PM, Martijn Dashorst <ma...@gmail.com> wrote:
> 
>> The current quickstart page shows a commandline that is not very friendly
>> to
>> edit by hand: you have to unwrap the lines and figure out which parts need
>> to be changed. This task will add to the example two textboxes and a bit
>> of
>> Javascript to generate the maven command ready to copy/paste to a dos box
>> (or unix commandline).
>> It should ask for the groupId and the artifactId and generate the
>> resulting
>> commandline. It should also be able to be run inside a confluence wiki
>> page.
>> The student can test using the Wicket confluence wiki. We will move the
>> page
>> when ready to the official space.
>>
>> References:
>>  - Official Quickstart page: http://wicket.apache.org/quickstart.html
>>  - The GHOP Quickstart page open for editing by the student: GHOP -
>> quickstart<
>> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart>
>>
>> Martijn
>>
>> --
>> Buy Wicket in Action: http://manning.com/dashorst
>> Apache Wicket 1.3.0-rc1 is released
>> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>>
> 

Re: New task for ghop: generate commandline for quickstart archetype in webpage

Posted by Gerolf Seitz <ge...@gmail.com>.
that's a great idea.
i will add the task immeditaly.

  Gerolf

On Dec 2, 2007 4:53 PM, Martijn Dashorst <ma...@gmail.com> wrote:

> The current quickstart page shows a commandline that is not very friendly
> to
> edit by hand: you have to unwrap the lines and figure out which parts need
> to be changed. This task will add to the example two textboxes and a bit
> of
> Javascript to generate the maven command ready to copy/paste to a dos box
> (or unix commandline).
> It should ask for the groupId and the artifactId and generate the
> resulting
> commandline. It should also be able to be run inside a confluence wiki
> page.
> The student can test using the Wicket confluence wiki. We will move the
> page
> when ready to the official space.
>
> References:
>  - Official Quickstart page: http://wicket.apache.org/quickstart.html
>  - The GHOP Quickstart page open for editing by the student: GHOP -
> quickstart<
> http://cwiki.apache.org/confluence/display/WICKET/GHOP+-+quickstart>
>
> Martijn
>
> --
> Buy Wicket in Action: http://manning.com/dashorst
> Apache Wicket 1.3.0-rc1 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
>