try onkeydown :) -igor
On Dec 3, 2007 6:41 PM, popnbrown <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> > >> 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 <[EMAIL PROTECTED]> > >> >> 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 <[EMAIL PROTECTED]> > >> >> >> 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 < > >> [EMAIL PROTECTED]> > >> >> >> >> 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. > >
