Hi,
I have a js date picker pop up when the calendar icon is clicked, exactly
like this one on the wicket example pages:
http://wicketstuff.org/wicket13/dates/
Mine is used in exactly the same way, I have [ ] on the html side and on the java side, a
datePicker is added to the dateTextField fie
> cheers,
> Gerolf
>
> On Jan 10, 2008 11:05 AM, mbelarbi <[EMAIL PROTECTED]> wrote:
>
>>
>> Hi, I want to call a javascript function ( myFunction() ) on a
>> component's
>> onclick event.
>>
>> I tried this:
>>
>> a wicket:
Hi, I want to call a javascript function ( myFunction() ) on a component's
onclick event.
I tried this:
but then i realized that my wicket's onClick() method is overwriting the
above html one.
--
AjaxLink agentLink = new AjaxLink("myLink") {
public void onClick(Aja
tPage", FirstPage.class));
>
> -igor
>
>
> On Jan 7, 2008 8:52 AM, mbelarbi <[EMAIL PROTECTED]> wrote:
>>
>> It's ok i solved the problem.
>>
>> It had nothing to do with the mount code. It was more specific to what
>> calls
>> this links
t Erik Van saidremove the "/" infront of
first page from the that line of code not from:
mount(new IndexedParamUrlCodingStrategy("/firstPage", FirstPage.class,
null));
thanks everyone.
mbelarbi wrote:
>
> Hi,
>
> If my app (MyTest) is the root
Tried itno luck:-(
Erik van Oosten wrote:
>
> Try this first:
>
> mount(new IndexedParamUrlCodingStrategy("firstPage", FirstPage.class,
> null));
> (no slash in front of firstPage)
>
> Regards,
> Erik.
>
>
> mbelarbi wrote:
>> Hi,
>
Yes MyTest is a context filter is mounted on /*.
igor.vaynberg wrote:
>
> when you say www.anotherapp.com/MyTest is mytest a context and your
> filter is mounted on /* or is mytest the filter mapping and you are
> running in the root context?
>
> -igor
>
>
> On Ja
Hi,
If my app (MyTest) is the root context everything runs smoothly. This is
because in my "MyTestApplication" class, in the constructor i have
mount(new IndexedParamUrlCodingStrategy("/firstPage", FirstPage.class,
null));
mount(new IndexedParamUrlCodingStrategy("/secondPage", SecondPage.class,
I have a simple TextArea in a simple Form that looks something like this:
public class MyForm extends Form {
TextArea message
TextField to;
TextField subject;
public EditorForm(String id) {
super(id);
message = new TextArea
resource.
So i was looking for maybe a ResourceLink.setResource() method to change the
resource.
mbelarbi wrote:
>
> I have a:
> ResourceLink attachment = new ResourceLink("attachmentLink", source);
> add(attachment);
>
> Where source is a Resource.
>
> How do i chan
I have a:
ResourceLink attachment = new ResourceLink("attachmentLink", source);
add(attachment);
Where source is a Resource.
How do i change this ResourceLink's resource to another resource?
--
View this message in context:
http://www.nabble.com/Changing-a-ResourceLink%27s-resource.-tf4902160.
I have generated a Jasper Report as an InputStream. I would like to provide
this as a download, ideally I don't want to store the report as a file, it
is as an InputStream. I have looked at the Wicket ResourceLink class, but
that takes in a Wicket Resource, and I have a java.io.InputStream.
How d
public IResourceStreamImpl(InputStream inputStream,
>> String contentType, long size) {
>> this.inputStream = inputStream;
>> this.size = size;
>> this.contentType = contentType;
>> }
>>
>> pu
est.pdf") would actually indicate a file named
> test.pdf, at the current working directory of the application server.
> Output the file's path with getCanoicalPath/getAbsolutePath (or
> something along that line) to verify that the path of the pdf is
> correct first.
>
opps, sorry what i meant to write was:
File pdfFile = new File("test.pdf");
But this doesn't really change much and the problem still remains that the
file is empty (whether txt or pdf).
mbelarbi wrote:
>
> Hi,
>
> I have some code that generates a pdf report
Hi,
I have some code that generates a pdf report file (using jasper reports).
This file is stored somewhere in the project.
What I need to do is be able to provide a link which makes that file
available for download when clicked (downloadLink?). How do i do this using
wicket? and are there any e
16 matches
Mail list logo