[Wicket-user] set an anchor to land on in onSubmit

2006-03-11 Thread kurt heston
I've got a page with multiple forms. Every time I press a submit button, the browser starts me at the top of the page again. I then have to scroll back to where I want to be. Is there a way to set an anchor name to land on (in the URL) in the onSubmit method so the browser auto-scrolls to wh

[Wicket-user] two forms on the same page

2006-03-13 Thread kurt heston
I've got a page with two forms on it. They both use a CompoundPropertyModel and work perfectly aside from one thing: they don't update when their model changes. I've passed a reference of the same POJO instance to each of them. public class MyPage extends WebPage { SomePojoClass pojo = new So

Re: [Wicket-user] set an anchor to land on in onSubmit

2006-03-13 Thread kurt heston
e.net/mailarchive/message.php?msg_id=13241596). That was done for 1.1 and it could be more elegant. But you can use it for a starter and develop it a bit further. Of course you should use anchors, if javascript-free solution is required. 2006/3/12, kurt heston <[EMAIL PROTECTED] <mailto:[EMAI

Re: [Wicket-user] set an anchor to land on in onSubmit

2006-03-13 Thread kurt heston
I figured it out. I was changing the model in a place that was being executed every time. False alarm. :) kurt heston wrote: Thanks, Arto. I'm using it, works fine. Arto Arffman wrote: Well, I have used different approach; with javascript you can scroll to where you were before hi

Re: [Wicket-user] two forms on the same page

2006-03-14 Thread kurt heston
Found another problem...was setting Labels with strings and expecting them to behave as if they'd been passed model objects. :( Funny, I was already at my silly mistake limit for the day... kurt heston wrote: I've got a page with two forms on it. They both use a CompoundPropert

Re: [Wicket-user] two forms on the same page

2006-03-14 Thread kurt heston
I figured it out. I was changing the model in a place that was being executed every time. False alarm. :) kurt heston wrote: Thanks, Arto. I'm using it, works fine. Arto Arffman wrote: Well, I have used different approach; with javascript you can scroll to where you were before hi

[Wicket-user] change an ImageButton's color

2006-03-19 Thread kurt heston
Is there a way to choose a new awt color for an ImageButton? --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime develop

Re: [Wicket-user] change an ImageButton's color

2006-03-19 Thread kurt heston
Figured it out: DefaultButtonImageResource r = new DefaultButtonImageResource("Hello"); r.setColor(Color.blue); add(new ImageButton("updateButton",r) { kurt heston wrote: Is there a way to choose a new awt colo

Re: [Wicket-user] Enterprise application using Wicket

2006-04-09 Thread kurt heston
Dave, Wicket has built-in hooks to facilitate its use in large, multi-server configurations where load balancing and other scalability considerations are required. You are on pretty solid ground. I cannot speak from experience about how Wicket handles more than 10 or 20 concurrent connectio

[Wicket-user] HTTP POST from Acrobat

2006-04-11 Thread kurt heston
I've got some legacy PDFs laying around that utilize the HTTP submit functionality available when using Acrobat fillable forms. The servlet I have answering these Acrobat requests saves off the field names and values submitted in a 3 column table (rec id, field name, value). We change the for

Re: [Wicket-user] HTTP POST from Acrobat

2006-04-11 Thread kurt heston
ement(); System.out.println(parm + " : " + arg0.getParameterValues(parm)[0]); } arg1.sendRedirect("/feeple/"); } kurt heston wrote: I've got some legacy PDFs laying around that utilize the HTTP submit functionality available when using Acrobat fillable forms.

Re: [Wicket-user] HTTP POST from Acrobat

2006-04-12 Thread kurt heston
p. Timo Stamm wrote: kurt heston schrieb: I've got some legacy PDFs laying around that utilize the HTTP submit functionality available when using Acrobat fillable forms. The servlet I have answering these Acrobat requests saves off the field names and values submitted in a 3 column table (r

Re: [Wicket-user] HTTP POST from Acrobat

2006-04-13 Thread kurt heston
>> >> >> >> >> >>> So if for example you post to a bookmarkable page then PageParameters >> should >>> be filled with everything. >>> >>> johan >>> >>> On 4/13/06, T

[Wicket-user] ImageButton hyperlink works in Firefox, not in IE

2006-04-16 Thread kurt heston
When I click on the images I'm producing with ImageButton, nothing happens in Internet Explorer. It works fine in FireFox. This produces my button image (I wanted a color other than Orange): protected static ImageButton getButton(String buttonName, String label) { DefaultButtonImageResour

Re: [Wicket-user] ImageButton hyperlink works in Firefox, not in IE

2006-04-16 Thread kurt heston
;printLink", new PrintPage()); printLink.add(new Image("print", getButton("Print"))); printLink.setPopupSettings(popupSettings); add(printLink); I think I can get rid of the blue box that shows up around my button with CSS, too. Working on that... kurt heston wr

Re: [Wicket-user] ImageButton hyperlink works in Firefox, not in IE - Resolved

2006-04-16 Thread kurt heston
Piece o' cake: .linkButton { border: none; } Something really slick would be a button whose text label I could define within my HTML. No time for that right this minute...perhaps later. kurt heston wrote: Ok, I've got something that works: protected stati

[Wicket-user] Dynamically generated buttons are showing up as broken links

2006-04-18 Thread kurt heston
The code was working fine on my development machine. However, when I moved it to production (a much faster box), the buttons I'm generating all showed up as broken links. Just shooting from the hip, I'm guessing something isn't flushing its buffer. Here's the HTML: Here's the Java: add(n

Re: [Wicket-user] Dynamically generated buttons are showing up as broken links

2006-04-18 Thread kurt heston
trace? you are not giving us much to go on. a common problem on prod servers and image buttons is that vm is started w/out awt support. try starting the vm like this: java - Djava.awt.headless=true ... -Igor On 4/18/06, *kurt heston* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> w

Re: [Wicket-user] Dynamically generated buttons are showing up as broken links

2006-04-19 Thread kurt heston
=78:toppanel:contractList:contractListImg&interface=IResourceListener" cannot be displayed, because it contains errors. Are you running the browser on the same box or on another machine? If your browser is on another box, then the reference to localhost is quite strange. Martijn On 4/19/06, *kurt heston* <

Re: [Wicket-user] Dynamically generated buttons are showing up as broken links

2006-04-19 Thread kurt heston
Is anyone using button shapes as hyperlinks like I am? I was coloring a bit outside the lines when I wrote the code you see below. Tell me if you are doing it differently. Maybe doing it another way will rid me of my broken link problem. kurt heston wrote: That particular text message came

Re: [Wicket-user] Dynamically generated buttons are showing up as broken links

2006-04-24 Thread kurt heston
When I'm stepping through the code, the problem goes away. Still looking... Johan Compagner wrote: do debug when you just ask for the link in the browser what you excactly are sending to the browser. isn't it by accident 0 bytes? johan On 4/19/06, * kurt heston* <[EMAIL PROTEC

Re: [Wicket-user] Dynamically generated buttons are showing up as broken links

2006-04-30 Thread kurt heston
I can see that Wicket is rendering my buttons and placing them into %CATALINA_HOME%\temp. If I rename them to .gif and open them in a viewer, there they are. Where should I look for the code that reads the tmp file from the disk and sends it to the browser? kurt heston wrote: When I&#

Re: [Wicket-user] Dynamically generated buttons are showing up as broken links

2006-04-30 Thread kurt heston
I have the asterisk. I'm in the process of setting up Maven so I can compile wicket. I don't presently use it, this is an excuse to play. :) Igor Vaynberg wrote: make sure your servlet mapping has a /* at the end, like /app/* not just /app -Igor On 4/30/06, *kurt heston

Re: [Wicket-user] Dynamically generated buttons are showing up as broken links

2006-05-01 Thread kurt heston
Looks like my problem is on line 134 of DynamicImageResource: writer.setOutput(ImageIO.createImageOutputStream(out)); writer.write(image); after these, "out" is empty. Not sure what the cause is yet...stay tuned. kurt heston wrote: I have the asterisk. I'm in the proces

Re: [Wicket-user] Dynamically generated buttons are showing up as broken links [RESOLVED]

2006-05-01 Thread kurt heston
, everything is fine. kurt heston wrote: Looks like my problem is on line 134 of DynamicImageResource: writer.setOutput(ImageIO.createImageOutputStream(out)); writer.write(image); after these, "out" is empty. Not sure what the cause is yet...stay tuned. k

[Wicket-user] DatePicker with SimpleDateFormat

2006-08-10 Thread kurt heston
I'm trying to create a field that allows filling in of a credit card expiration date using 1.2. What did I miss? Code: TextField exp = new RequiredTextField("expiration"); DatePicker picker = new DatePicker("expirationDatePicker", exp); DateConverter conv = new DateConverter()

Re: [Wicket-user] DatePicker with SimpleDateFormat

2006-08-13 Thread kurt heston
; dateformat is generated based on that > > That dateformatter should also be used by the textfield itself to > handle the formatting both ways. > So override the getConverter() of the exp textfield and return als > your converter (that has to work 2 ways then!) > > joha

[Wicket-user] getObjectAsString always null in 1.2.2

2006-10-01 Thread kurt heston
All I did was switch from wicket-1.2-rc3.jar to wicket-1.2.2.jar and my SignIn page, adapted from Juergen's code, stopped working. The fields are always an empty string. What did I miss in the release notes? - Take Survey

Re: [Wicket-user] getObjectAsString always null in 1.2.2

2006-10-02 Thread kurt heston
Am I being too vague here to get an answer? Do I need to post my code? kurt heston wrote: > All I did was switch from wicket-1.2-rc3.jar to wicket-1.2.2.jar and my > SignIn page, adapted from Juergen's code, stopped working. The fields > are always an empty string. > > Wh

Re: [Wicket-user] getObjectAsString always null in 1.2.2

2006-10-02 Thread kurt heston
@param password *The password * @return True if signin was successful */ public abstract boolean signIn(final String username, final String password); } //- Igor Vaynberg wrote: > yes you are too vague,

Re: [Wicket-user] getObjectAsString always null in 1.2.2

2006-10-22 Thread kurt heston
while. > > -Igor > > > On 10/2/06, * kurt heston* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Am I being too vague here to get an answer? Do I need to post my > code? > > kurt heston wrote: > > All I did

Re: [Wicket-user] getObjectAsString always null in 1.2.2

2006-10-22 Thread kurt heston
Is this normal behavior or a good place to start chasing down my issue: "java.lang.NoSuchFieldException: username" kurt heston wrote: > Something changed about how I'm supposed to override WebRequestCycle. > This is where my values are disappearing. Reading up on it now

Re: [Wicket-user] getObjectAsString always null in 1.2.2

2006-10-22 Thread kurt heston
The attached code works fine with 1.2RC3, does not work with 1.2.2. I'm pretty sure the problem lies in with MyApplication or RequestCycle just not sure where. package test.base; import java.awt.Color; import test.auth.UserSession; import wicket.Resource; import wicket.markup.html.WebPage; impor

[Wicket-user] Download link for v1.2.3 not working.

2006-10-30 Thread kurt heston
Has anyone been able to download v1.2.3? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Applicat

[Wicket-user] getObjectAsString always empty in 1.2.3

2006-10-30 Thread kurt heston
acktrace of that error? > > johan > > > On 10/23/06, *kurt heston* < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Is this normal behavior or a good place to start chasing down my > issue: > > "java.lang.NoSuchFieldExcepti

Re: [Wicket-user] getObjectAsString always empty in 1.2.3

2006-10-30 Thread kurt heston
Only from Australia at last check. Martijn Dashorst wrote: > Does this mean that downloading of 1.2.3 now works? > > Martijn > > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done qu

Re: [Wicket-user] Download link for v1.2.3 not working.

2006-10-30 Thread kurt heston
Server in Auastralia works. Martijn Dashorst wrote: > Probably the mirrors need to get the new files... It is strange, as > I've uploaded the distributions yesterday. > > Martijn > > On 10/30/06, kurt heston <[EMAIL PROTECTED]> wrote: > >> H

Re: [Wicket-user] getObjectAsString always empty in 1.2.3

2006-10-30 Thread kurt heston
I've attached a test case I wrote. It works fine until I upgrade the jars. kurt heston wrote: None of my Forms work after upgrading from 1.2.rc3. Can anyone give me a clue what's wrong? No error is thrown, it's just that NONE of my form field values are anything other than

Re: [Wicket-user] getObjectAsString always empty in 1.2.3

2007-01-06 Thread kurt heston
Simply can't figure this one out. Tried again today to use v1.2.3 and came up short. Opened JIRA issue *WICKET-198 <https://issues.apache.org/jira/browse/WICKET-198> * kurt heston wrote: > This war replicates the problem. Use it with RC3 jars, it will work > fine. Howev

[Wicket-user] TextFilteredPropertyColumn and a date value

2007-01-14 Thread kurt heston
I'm trying to create a filter that allows the user to enter a date on which to filter. It works fine when a valid date string is input. However, invalid dates generate a conversion exception. Do I need to create a brand new class that overrides FilteredPropertyColumn to get this to work? ---

Re: [Wicket-user] getObjectAsString always empty in 1.2.3

2007-01-28 Thread kurt heston
doing it another way. Suggestions? Johan Compagner wrote: > if not make a jira issue: > > http://issues.apache.org/jira/browse/WICKET > > and point us to the jira number. > > johan > > > On 10/31/06, *kurt heston* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>&g

Re: [Wicket-user] [jira] Commented: (WICKET-198) getObjectAsString always empty in 1.2.3

2007-01-28 Thread kurt heston
t;> Issue Type: Bug >> Components: wicket >>Affects Versions: 1.2.3 >> Environment: Java 1.4.2, Tomcat 5.0 >>Reporter: Kurt Heston >> Attachments: rc3Test.war >> >> >> None of my Forms work after upgrading