Hi!
I have bytes[] stored in the db LONGBLOB column.
How do I make a clickable link for downloading the contents?
**
Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Just to quickly weigh in on the verbosity argument:As someone who has coded Java (and Perl, C++, etc) in every environment from individual projects to multinational finance systems, I will say that verbosity of code runs a far, far, distant third (or twentieth) to:1. Readability/Understandability,
On Fri, May 23, 2008 at 05:11:58PM -0400, David Nedrow wrote:
>
> When I try to use this in a Wicket page, I'm getting a JavaScript
> error noting:
>
> "Value undefined (result of expression $(window).width) is not
> object."
>
> and the image doesn't resize with the window. I'm c
Hi,
I don't think current wicket output is that bad, just look at what
some JSF implementation produce :)
Seriously, we might consider different approach (the one like you
suggest) for 1.5. But I don't think current wicket approach is
something that desperately needs to be fixed, though there cert
make sure you strip wicket tags from the output
-igor
On Fri, May 23, 2008 at 2:11 PM, David Nedrow <[EMAIL PROTECTED]> wrote:
>
> On May 23, 2008, at 1:46 PM, John Krasnay wrote:
>
>> On Fri, May 23, 2008 at 11:57:48AM -0400, David Nedrow wrote:
>>>
>>> Might be your CSS. Is your image styled as
On May 23, 2008, at 1:46 PM, John Krasnay wrote:
On Fri, May 23, 2008 at 11:57:48AM -0400, David Nedrow wrote:
Might be your CSS. Is your image styled as position:absolute?
(Again, nothing to with Wicket...)
The odd thing is that I can get this going with zero problem using a
static HTM
Hi, this is my problem: I have a form and 2 date fields. When the form is
submitted for the first time, I do some validation on those fields and if
everything goes ok, then I store the model object. Eventually, I have to
disable the first of the 2 date fields to prevent modification, but the
secon
So these pallet controls are inside of a ListView that is ultimately
nested in a Form.
I *want* the button to do it's stuff of moving things from one list to
the other,
and unsetting the checkbox-- I don't want it to do any other kind of
form processing.
It was suggested maybe the checkbox value i
the result is whatever you gave the label as the model, if i look at
your code above it is the firstname property of whatever user you gave
to the compound model
-igor
On Fri, May 23, 2008 at 11:02 AM, greeklinux <[EMAIL PROTECTED]> wrote:
>
> Hello Igor,
>
> thank you for the help, but I tried i
Hello Igor,
thank you for the help, but I tried it and it does not work.
I print out getModelObjectAsString() but there was "nothing".
I am confused about what getModelObjectAsString() returns.
Is the result my User that is loaded in my ProfileModel?
igor.vaynberg wrote:
>
> class mylabel ex
Hello,
I'm trying to test a component that is added to another component
that is added to the page. For example, I'd like to test the
FeedbackPanel below that is added to the Form which is added to the
page. I'm unsure of how to do this. Any help would be appreciated.
Thanks!
Ryan
Assume the following...
v
@Entity
@Table(name = "user", catalog = "blah")
public class User implements java.io.Serializable {
private Long id;
private String name;
// getters/setters for both
}
public interface IUserDA
On Fri, May 23, 2008 at 11:57:48AM -0400, David Nedrow wrote:
>
> On May 23, 2008, at 11:20 AM, Igor Vaynberg wrote:
>
> >dont really see what this has to do with wicket...sounds like you are
> >after some javascript.
>
> I have the JavaScript, but I was having trouble with other Wicket
> elem
it just exists...it's in the code i posted
IModel mailList = new LoadableDetachableModel()
{
protected Object load() {
user.openPopServer();
try {
messages=folder.getMessages();
In Chapter 12 of the book "Wicket In Action" that is still being written,
there is some sample code on how to provide authentication pages for users.
I had trouble when using this code and this post is intended to help other
users that may encounter this problem.
I created the SignIn page class
On Fri, May 23, 2008 at 3:03 AM, Tomasz Prus <[EMAIL PROTECTED]> wrote:
> What strategy should i use to achive such url:
> http://isport.eu/en/premier-league/liverpool-fc/news-19-2008-0.html ?
Please take a look at QueryStringUrlCodingStrategy and
MixedParamUrlCodingStrategy. Wicket-examples has t
I'm not sure what you are saying here. But if it is what I'm thinking
then you have misunderstood the meaning of .setDefaultFormProcessing.
If your component is in a form, the 'defaultFormProcessing' will try to
write any changes in the form to the model, and then call the onSubmit
of the form
Maurice Marrink schrieb:
Yes that is exactly what wasp is for.
cool, at least one thing i got right ;)
You can either extend WaspAuthorizationStrategy or
ClassAuthorizationStrategy. The latter provides a basic implementation
to do component instantiation checks based on static fields availab
you should use a loadable detachable model for your listview, that way
it will work transparently.
-igor
On Fri, May 23, 2008 at 9:25 AM, Davidoff <[EMAIL PROTECTED]> wrote:
>
> this is code for the mail list (i implemented modal windows in order to show
> emails but JWebUnit tests returned error
see how indicatingajaxlink does it
-igor
On Fri, May 23, 2008 at 9:15 AM, nitinkc <[EMAIL PROTECTED]> wrote:
>
> I have added a AjaxFormComponentUpdatingBehavior to a DropDownChoice
> component to process the "onchange" request. I would like to show an ajax
> busy indicator while the request is p
this is code for the mail list (i implemented modal windows in order to show
emails but JWebUnit tests returned errors then i have to find some other way
to show mails...my priority now is to find the way to refresh the mail
listview:
public class MailAccount extends WebPage {
private Mo
I have added a AjaxFormComponentUpdatingBehavior to a DropDownChoice
component to process the "onchange" request. I would like to show an ajax
busy indicator while the request is processed. Any ideas?
AjaxFormComponentUpdatingBehavior updateBehavior = new
AjaxFormComponentUpdatingBehavior("onchan
Hi Uwe,
Yes that is exactly what wasp is for.
You can either extend WaspAuthorizationStrategy or
ClassAuthorizationStrategy. The latter provides a basic implementation
to do component instantiation checks based on static fields available
on the class. if you use java 1.5+ you could build your imp
On May 23, 2008, at 11:20 AM, Igor Vaynberg wrote:
dont really see what this has to do with wicket...sounds like you are
after some javascript.
I have the JavaScript, but I was having trouble with other Wicket
elements being shunted aside by the image. I'll poke around again.
-David
in the example checkgroup inherits a property of the
compoundpropertymodel as its model. i suggest you read the models wiki
page.
-igor
On Fri, May 23, 2008 at 8:36 AM, seanblaes <[EMAIL PROTECTED]> wrote:
>
> That's how the example at
> http://wicketstuff.org/wicket13/compref/?wicket:bookmarkabl
class mylabel extends label {
protected boolean isvisible() {
return !Strings.isEmpty(getModelObjectAsString());
}
}
-igor
On Fri, May 23, 2008 at 8:13 AM, greeklinux <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I want to display diffent values. For this purpose I am
> using the Label compon
That's how the example at
http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.compref.CheckGroupPage
shows it. I added an empty ArrayList as the model, and it works now.
Should I send a message to the bugs list to update the examples page above?
I did
dont really see what this has to do with wicket...sounds like you are
after some javascript.
-igor
On Fri, May 23, 2008 at 6:51 AM, David Nedrow <[EMAIL PROTECTED]> wrote:
> I'd like to use an SVG file for a background image on every page. I'd like
> the image to fill 100% of the browser window a
hi
i have my own authentication and authorization stuff ready and want to
hook it into wicket. that´s what wasp is for, right ?
ok, after reading a few pages and browsing trough the code, i THINK what
i want then, is using WASP without that SWARM thingy.
is there any tutorial/presentaation/co
According to
The PropertyModel javadoc refers to the PropertyResolver javadoc which says
"This can can then be a bean property with get and set method. Or if a
map is given as an object it will be lookup with the property as a key
when there is not get method for that property."
--
http://people.a
On Fri, May 23, 2008 at 2:20 AM, Davidoff <[EMAIL PROTECTED]> wrote:
>
> I'm creating a simple webmail application: i've created a listview where the
> items are rows containing the number of the message, the subject and so
> on... my target is to reproduce what Gmail does: clicking on the number o
Hello,
I want to display diffent values. For this purpose I am
using the Label component with a CompoundPropertyModel.
I want to show user details on a profile page.
But not all user values are set. So I want to display only
values that are not empty strings.
I was thinking about to extend the
I would think so, too.
I was looking more closely at your code, and this seems fishy:
new PropertyModel(mTargetModel.getManufacturersAsMap(), manufacturerName))
as I understand it, PropertyModel doesn't work with Maps, does it? It works
on Java Beans.
Thomas
On Fri, May 23, 2008 at 3:16 PM, Ki
and what is a good name? :)
On Fri, May 23, 2008 at 4:03 PM, Matej Knopp <[EMAIL PROTECTED]> wrote:
> Hi,
>
> beforeRender on behavior has different semantics than onBeforeRender
> on component. I agree that this is confusing and it i think it should
> be improved in 1.4.
>
> beforeRender and aft
Hi,
beforeRender on behavior has different semantics than onBeforeRender
on component. I agree that this is confusing and it i think it should
be improved in 1.4.
beforeRender and afterRender can be used to render markup before
component and after component output. Currently there is no method in
I'd like to use an SVG file for a background image on every page. I'd
like the image to fill 100% of the browser window and have it
automatically resize if/when the user changes the size of the client
window.
This clearly can't be done via CSS2 (maybe via CSS3?), so I'm looking
for anyone
I faced this exact problem (images in "src/main/resources/images"). This is
what I chose to do (interested in cleaner way though):
1) In MyPage.java:
URL noProgramImageURL =
getClass().getClassLoader().getResource("images/transparentPixel.png");
File noProgramImageFile = n
hey, can you help me ?!!!
2008/5/23 Tomasz Prus <[EMAIL PROTECTED]>:
> What strategy should i use to achive such url:
> http://isport.eu/en/premier-league/liverpool-fc/news-19-2008-0.html ?
>
> 2008/5/23 Jonas <[EMAIL PROTECTED]>:
>
> Have you looked in the wiki?
>> http://cwiki.apache.org/WICKET
the left/right moves ARE being done in the buttons onSubmit, I was
hoping calling .setDefaultFormProcessing(false); when adding the
button to the page would have prevented that?
On Fri, May 23, 2008 at 4:50 AM, Thomas Mäder <[EMAIL PROTECTED]> wrote:
> Do the move left/move right controls do a su
On Wed, May 21, 2008 at 4:55 PM, Martin Funk <[EMAIL PROTECTED]> wrote:
> Just to make shure,
> do you still see a bug?
>
> Or are things fine now?
>
> mf
We do not use current version of GMap2, but have older snapshot (we
cannot change API right now), but as I see in sources that bug is now
fixed.
What strategy should i use to achive such url:
http://isport.eu/en/premier-league/liverpool-fc/news-19-2008-0.html ?
2008/5/23 Jonas <[EMAIL PROTECTED]>:
> Have you looked in the wiki?
> http://cwiki.apache.org/WICKET/reference-library.html
> This might be what you're looking for:
> http://cwiki.
How long does the query take? How many copies of the DataProvider do you
construct (check with the debugger)?
Thomas
On Thu, May 22, 2008 at 3:51 PM, wfroud <[EMAIL PROTECTED]> wrote:
>
>
>
> WicketMessage: After 1 minute the Pagemap null is still locked by:
> Thread[http-8080-1,5,main], giving
I'm creating a simple webmail application: i've created a listview where the
items are rows containing the number of the message, the subject and so
on... my target is to reproduce what Gmail does: clicking on the number of a
mail i wanto to read its content, and clicking again i want to return to
Do the move left/move right controls do a submit? If so you might also be
resubmitting the (old) check box value.
Thomas
>
>
> We have a list view that iterates over manufacturers, and each
> manufacturer has a "pallet control" of devices
> (two list boxes w/ move selection to right list, move se
Have you looked in the wiki?
http://cwiki.apache.org/WICKET/reference-library.html
This might be what you're looking for:
http://cwiki.apache.org/WICKET/seo-search-engine-optimization.html
On Fri, May 23, 2008 at 9:46 AM, Tomasz Prus <[EMAIL PROTECTED]> wrote:
> My boss wants such urls
>
> 2008/5
My boss wants such urls
2008/5/23 Tomasz Prus <[EMAIL PROTECTED]>:
> Do You know SEO optimized urls like
> http://www.nabble.com/Page-reload-after-file-upload-td15869570.html ?
>
> 2008/5/23 Thomas Mäder <[EMAIL PROTECTED]>:
>
> What are you trying to achieve? Why do you need a text url instead o
Do You know SEO optimized urls like
http://www.nabble.com/Page-reload-after-file-upload-td15869570.html ?
2008/5/23 Thomas Mäder <[EMAIL PROTECTED]>:
> What are you trying to achieve? Why do you need a text url instead of a
> link
> to a page?
>
> Thomas
>
> On Fri, May 23, 2008 at 9:07 AM, Tomas
What are you trying to achieve? Why do you need a text url instead of a link
to a page?
Thomas
On Fri, May 23, 2008 at 9:07 AM, Tomasz Prus <[EMAIL PROTECTED]> wrote:
> How can i prepare url like this: ../London/9.html
>
> I need that city and advertNumber parameters be always at the end of url.
CheckGroup group = new CheckGroup("merchantCheckboxGroup", **model**);
you are never setting the model you are passing in.
-igor
On Fri, May 23, 2008 at 12:09 AM, seanblaes <[EMAIL PROTECTED]> wrote:
>
> Hello all, I'm beating my head on the wall and not really sure what I'm doing
> wrong... :(
Hello all, I'm beating my head on the wall and not really sure what I'm doing
wrong... :(
I am attempting to use a CheckGroup to contain several choices - maybe it's
even the wrong way to go about it. I followed the example on the Wicket
webpage, but it's not working for me.
Here's my HTML:
M
How can i prepare url like this: ../London/9.html
I need that city and advertNumber parameters be always at the end of url.
Can You help me?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
51 matches
Mail list logo