Re: Accessing Connets from TextFeild from Other Form.

2017-06-20 Thread rajan
thanks a lot , proposed solution worked.

 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Accessing-Connets-from-TextFeild-from-Other-Form-tp4678090p4678117.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread James Selvakumar
Hi Martin/Ernesto,

Thanks for all the help. I'll try them out.

On Tue, Jun 20, 2017 at 5:44 PM Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:

> This might also help
>
>
> https://cwiki.apache.org/confluence/display/WICKET/Displaying+content++%28e.g.+PDF%2C+Excel%2C+Word%29+in+an+IFRAME
>
> On Tue, Jun 20, 2017 at 11:32 AM, Martin Grigorov 
> wrote:
>
> > On Tue, Jun 20, 2017 at 11:31 AM, James Selvakumar 
> > wrote:
> >
> > > Hi Martin,
> > >
> > > Should I mount just the base dir where all my reports shall be
> generated
> > > and refer it elsewhere?
> > >
> >
> > Yes, this should work!
> >
> >
> > >
> > > On Tue, Jun 20, 2017 at 5:28 PM James Selvakumar 
> > > wrote:
> > >
> > > > Hi Martin,
> > > >
> > > > But the reports are generated dynamically. Is it possible to mount a
> > > > resource from within a panel?
> > > >
> > > > On Tue, Jun 20, 2017 at 5:24 PM James Selvakumar <
> ja...@mcruncher.com>
> > > > wrote:
> > > >
> > > >> Hi Martin,
> > > >>
> > > >> Thanks. I'll give that a try.
> > > >>
> > > >> On Tue, Jun 20, 2017 at 5:23 PM Martin Grigorov <
> mgrigo...@apache.org
> > >
> > > >> wrote:
> > > >>
> > > >>> On Tue, Jun 20, 2017 at 11:18 AM, James Selvakumar <
> > > ja...@mcruncher.com>
> > > >>> wrote:
> > > >>>
> > > >>> > Hi,
> > > >>> >
> > > >>> > I'm trying something weird like this and it's not working.
> > > >>> >
> > > >>> > HTML:
> > > >>> > 
> > > >>> >
> > > >>> > Java:
> > > >>> > WebMarkupContainer container = new WebMarkupContainer("myFrame");
> > > >>> > container.add(new AttributeAppender("src",
> > > >>> > Model.of(reportFile.getPath(;
> > > >>> >
> > > >>>
> > > >>> getPath() returns file system url.
> > > >>> You need to mount a IResource that serves files from this file
> system
> > > >>> path,
> > > >>> e.g. http://localhost:8080/jasper/report/aaa.ext will try to load
> > > >>> file:///some/path/aaa.ext.
> > > >>>
> > > >>>
> > > >>> >
> > > >>> > What's the correct way to do this?
> > > >>> >
> > > >>> > On Tue, Jun 20, 2017 at 4:40 PM James Selvakumar <
> > > ja...@mcruncher.com>
> > > >>> > wrote:
> > > >>> >
> > > >>> > > Hi Ernesto,
> > > >>> > >
> > > >>> > > Thanks. I'll give the iframe option a try.
> > > >>> > >
> > > >>> > > On Tue, Jun 20, 2017 at 4:22 PM Ernesto Reinaldo Barreiro <
> > > >>> > > reier...@gmail.com> wrote:
> > > >>> > >
> > > >>> > >> Then I would
> > > >>> > >>
> > > >>> > >> 1- mount a resource pointing the folder and serving all files
> on
> > > >>> that
> > > >>> > >> folder. E.g mounted on "/reports"
> > > >>> > >> 2- Use an iframe to display "/reports/foo.html".
> > > >>> > >>
> > > >>> > >> On Tue, Jun 20, 2017 at 10:15 AM, James Selvakumar <
> > > >>> ja...@mcruncher.com
> > > >>> > >
> > > >>> > >> wrote:
> > > >>> > >>
> > > >>> > >> > Thanks Martin and Ernesto for taking look at this.
> > > >>> > >> > I'm using JasperReports library to generate HTML reports
> > > >>> dynamically
> > > >>> > and
> > > >>> > >> > store them in the filesystem.
> > > >>> > >> > Please take a look at the sample report attached here.
> > > >>> > >> >
> > > >>> > >> > On Tue, Jun 20, 2017 at 4:09 PM Ernesto Reinaldo Barreiro <
> > > >>> > >> > reier...@gmail.com> wrote:
> > > >>> > >> >
> > > >>> > >> >> Hi,
> > > >>> > >> >>
> > > >>> > >> >> At least BIRT allowed to pass some factory interface for
> > images
> > > >>> so
> > > >>> > that
> > > >>> > >> >> you
> > > >>> > >> >> could store generated images "somewhere" and TUNE the URL
> > > >>> generated
> > > >>> > for
> > > >>> > >> >> images. So, you could e.g.
> > > >>> > >> >>
> > > >>> > >> >> 1- Store images on a table (datbase)
> > > >>> > >> >> 2- Mount a resource pointing to those images.
> > > >>> > >> >> 3- Produce URLs inside the report pointing to mounted
> > resource.
> > > >>> > >> >>
> > > >>> > >> >> I do no think Jasper should be that different...
> > > >>> > >> >>
> > > >>> > >> >>
> > > >>> > >> >> On Tue, Jun 20, 2017 at 8:32 AM, James Selvakumar <
> > > >>> > ja...@mcruncher.com
> > > >>> > >> >
> > > >>> > >> >> wrote:
> > > >>> > >> >>
> > > >>> > >> >> > Hi all,
> > > >>> > >> >> >
> > > >>> > >> >> > I'm trying to embed the HTML report from the filesystem
> > > >>> generated
> > > >>> > by
> > > >>> > >> >> > JasperReports in a Panel.
> > > >>> > >> >> >
> > > >>> > >> >> > I tried using a WebComponent and write the content of the
> > > HTML
> > > >>> file
> > > >>> > >> to
> > > >>> > >> >> the
> > > >>> > >> >> > Response. The markup gets added as expected but
> > unfortunately
> > > >>> > >> >> JasperReports
> > > >>> > >> >> > produces separate image files and I'm not sure how to
> > display
> > > >>> them.
> > > >>> > >> >> >
> > > >>> > >> >> > Is it possible to display HTML from filesystem along with
> > > it's
> > > >>> > >> dependant
> > > >>> > >> >> > resources inside a Wicket component?  Or is there a
> better
> > > way?
> > > >>> > >> >> >
> > > >>> > >> >>
> > > >>> > >> >>
> > > >>> > 

Re: The day Wicket became Apache Wicket 10 years ago!

2017-06-20 Thread Tobias Gierke
Thank you all for the great work you're doing and the quick replies to 
user questions :-)


To the next 10 years !


Today marks the date 10 years ago that the Wicket project graduated from
the Incubator to a fully fledged Apache project.

The time flies when you're having fun!

I would like to thank all our community members for their continued support
and usage of Apache Wicket and pour one out for you!

Here's a big Thank You for everyone reading this message, asking and
answering questions, using Wicket in their projects and a special :beer:
for all contributors to Wicket, past and present! Here's to another 10
years!

Martijn Dashorst




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: The day Wicket became Apache Wicket 10 years ago!

2017-06-20 Thread Claudia Hirt
You're really doing a great job! Thanks for the great support i was totally 
suprised of getting so much help here!

> Am 20.06.2017 um 08:24 schrieb James Selvakumar :
> 
> It's heartening to see Wicket still going strong.
> And I take this opportunity to thank all of you for this amazing framework
> and many thanks for the support offered.
> The support offered by the Wicket community is superior compared to even
> commercial products.
> Keep going!
> 
> On Tue, Jun 20, 2017 at 1:58 PM Zala Pierre GOUPIL 
> wrote:
> 
>> Congratulations! Keep up the good work!
>> 
>> On Tue, Jun 20, 2017 at 7:44 AM, Tobias Soloschenko <
>> tobiassolosche...@googlemail.com> wrote:
>> 
>>> Hope that many years are going to be added. :-)
>>> 
>>> kind regards
>>> 
>>> Tobias
>>> 
 Am 19.06.2017 um 21:18 schrieb Martijn Dashorst <
>>> martijn.dasho...@gmail.com>:
 
 Today marks the date 10 years ago that the Wicket project graduated
>> from
 the Incubator to a fully fledged Apache project.
 
 The time flies when you're having fun!
 
 I would like to thank all our community members for their continued
>>> support
 and usage of Apache Wicket and pour one out for you!
 
 Here's a big Thank You for everyone reading this message, asking and
 answering questions, using Wicket in their projects and a special
>> :beer:
 for all contributors to Wicket, past and present! Here's to another 10
 years!
 
 Martijn Dashorst
>>> 
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>> 
>>> 
>> 
>> 
>> --
>> Je n'aime pas seulement ma vie, mais aussi celle des autres.
>> 
>> (Blade Runner)
>> 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: javax websockets in Spring Boot project: 404 error

2017-06-20 Thread ansc
and

 
org.springframework.boot
spring-boot-starter-websocket


has to be added to pom

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/javax-websockets-in-Spring-Boot-project-404-error-tp4678080p4678113.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: javax websockets in Spring Boot project: 404 error

2017-06-20 Thread ansc
I found the reason of my problem. By using Spring Boot it is necessary to set
the WicketFilter 

 @Bean
public FilterRegistrationBean wicketFilter() {
final FilterRegistrationBean wicketFilter = new
FilterRegistrationBean();
wicketFilter.setDispatcherTypes(DispatcherType.REQUEST,
DispatcherType.ERROR, DispatcherType.FORWARD, DispatcherType.ASYNC);
wicketFilter.setAsyncSupported(true);
wicketFilter.setFilter(new JavaxWebSocketFilter());
wicketFilter.addInitParameter(WicketFilter.APP_FACT_PARAM,
SpringWebApplicationFactory.class.getName());
wicketFilter.addInitParameter(WicketFilter.FILTER_MAPPING_PARAM,
"/*");
wicketFilter.addInitParameter("applicationBean",
"wicketWebApplication");
wicketFilter.addInitParameter("configuration", "development");
wicketFilter.addUrlPatterns("/*");
return wicketFilter;
}

*and additionally following code:*

@Bean
public ServerEndpointExporter serverEndpointExporter() {
return new ServerEndpointExporter();
}

@Bean
public WicketServerEndpointConfig wicketServerEndpointConfig() {
return new WicketServerEndpointConfig();
}

It would be great to find this in the wicket user guide. Then websocket
works correctly in a Spring boot project.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/javax-websockets-in-Spring-Boot-project-404-error-tp4678080p4678112.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: javax websockets in Spring Boot project: 404 error

2017-06-20 Thread Martin Grigorov
Please create a small demo app and share it!

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, Jun 20, 2017 at 12:27 PM, ansc  wrote:

> I tried with packaging as war instead fat jar, but I get the same 404
> error.
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/javax-websockets-in-Spring-Boot-project-404-error-
> tp4678080p4678110.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: javax websockets in Spring Boot project: 404 error

2017-06-20 Thread ansc
I tried with packaging as war instead fat jar, but I get the same 404 error.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/javax-websockets-in-Spring-Boot-project-404-error-tp4678080p4678110.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread Ernesto Reinaldo Barreiro
This might also help

https://cwiki.apache.org/confluence/display/WICKET/Displaying+content++%28e.g.+PDF%2C+Excel%2C+Word%29+in+an+IFRAME

On Tue, Jun 20, 2017 at 11:32 AM, Martin Grigorov 
wrote:

> On Tue, Jun 20, 2017 at 11:31 AM, James Selvakumar 
> wrote:
>
> > Hi Martin,
> >
> > Should I mount just the base dir where all my reports shall be generated
> > and refer it elsewhere?
> >
>
> Yes, this should work!
>
>
> >
> > On Tue, Jun 20, 2017 at 5:28 PM James Selvakumar 
> > wrote:
> >
> > > Hi Martin,
> > >
> > > But the reports are generated dynamically. Is it possible to mount a
> > > resource from within a panel?
> > >
> > > On Tue, Jun 20, 2017 at 5:24 PM James Selvakumar 
> > > wrote:
> > >
> > >> Hi Martin,
> > >>
> > >> Thanks. I'll give that a try.
> > >>
> > >> On Tue, Jun 20, 2017 at 5:23 PM Martin Grigorov  >
> > >> wrote:
> > >>
> > >>> On Tue, Jun 20, 2017 at 11:18 AM, James Selvakumar <
> > ja...@mcruncher.com>
> > >>> wrote:
> > >>>
> > >>> > Hi,
> > >>> >
> > >>> > I'm trying something weird like this and it's not working.
> > >>> >
> > >>> > HTML:
> > >>> > 
> > >>> >
> > >>> > Java:
> > >>> > WebMarkupContainer container = new WebMarkupContainer("myFrame");
> > >>> > container.add(new AttributeAppender("src",
> > >>> > Model.of(reportFile.getPath(;
> > >>> >
> > >>>
> > >>> getPath() returns file system url.
> > >>> You need to mount a IResource that serves files from this file system
> > >>> path,
> > >>> e.g. http://localhost:8080/jasper/report/aaa.ext will try to load
> > >>> file:///some/path/aaa.ext.
> > >>>
> > >>>
> > >>> >
> > >>> > What's the correct way to do this?
> > >>> >
> > >>> > On Tue, Jun 20, 2017 at 4:40 PM James Selvakumar <
> > ja...@mcruncher.com>
> > >>> > wrote:
> > >>> >
> > >>> > > Hi Ernesto,
> > >>> > >
> > >>> > > Thanks. I'll give the iframe option a try.
> > >>> > >
> > >>> > > On Tue, Jun 20, 2017 at 4:22 PM Ernesto Reinaldo Barreiro <
> > >>> > > reier...@gmail.com> wrote:
> > >>> > >
> > >>> > >> Then I would
> > >>> > >>
> > >>> > >> 1- mount a resource pointing the folder and serving all files on
> > >>> that
> > >>> > >> folder. E.g mounted on "/reports"
> > >>> > >> 2- Use an iframe to display "/reports/foo.html".
> > >>> > >>
> > >>> > >> On Tue, Jun 20, 2017 at 10:15 AM, James Selvakumar <
> > >>> ja...@mcruncher.com
> > >>> > >
> > >>> > >> wrote:
> > >>> > >>
> > >>> > >> > Thanks Martin and Ernesto for taking look at this.
> > >>> > >> > I'm using JasperReports library to generate HTML reports
> > >>> dynamically
> > >>> > and
> > >>> > >> > store them in the filesystem.
> > >>> > >> > Please take a look at the sample report attached here.
> > >>> > >> >
> > >>> > >> > On Tue, Jun 20, 2017 at 4:09 PM Ernesto Reinaldo Barreiro <
> > >>> > >> > reier...@gmail.com> wrote:
> > >>> > >> >
> > >>> > >> >> Hi,
> > >>> > >> >>
> > >>> > >> >> At least BIRT allowed to pass some factory interface for
> images
> > >>> so
> > >>> > that
> > >>> > >> >> you
> > >>> > >> >> could store generated images "somewhere" and TUNE the URL
> > >>> generated
> > >>> > for
> > >>> > >> >> images. So, you could e.g.
> > >>> > >> >>
> > >>> > >> >> 1- Store images on a table (datbase)
> > >>> > >> >> 2- Mount a resource pointing to those images.
> > >>> > >> >> 3- Produce URLs inside the report pointing to mounted
> resource.
> > >>> > >> >>
> > >>> > >> >> I do no think Jasper should be that different...
> > >>> > >> >>
> > >>> > >> >>
> > >>> > >> >> On Tue, Jun 20, 2017 at 8:32 AM, James Selvakumar <
> > >>> > ja...@mcruncher.com
> > >>> > >> >
> > >>> > >> >> wrote:
> > >>> > >> >>
> > >>> > >> >> > Hi all,
> > >>> > >> >> >
> > >>> > >> >> > I'm trying to embed the HTML report from the filesystem
> > >>> generated
> > >>> > by
> > >>> > >> >> > JasperReports in a Panel.
> > >>> > >> >> >
> > >>> > >> >> > I tried using a WebComponent and write the content of the
> > HTML
> > >>> file
> > >>> > >> to
> > >>> > >> >> the
> > >>> > >> >> > Response. The markup gets added as expected but
> unfortunately
> > >>> > >> >> JasperReports
> > >>> > >> >> > produces separate image files and I'm not sure how to
> display
> > >>> them.
> > >>> > >> >> >
> > >>> > >> >> > Is it possible to display HTML from filesystem along with
> > it's
> > >>> > >> dependant
> > >>> > >> >> > resources inside a Wicket component?  Or is there a better
> > way?
> > >>> > >> >> >
> > >>> > >> >>
> > >>> > >> >>
> > >>> > >> >>
> > >>> > >> >> --
> > >>> > >> >> Regards - Ernesto Reinaldo Barreiro
> > >>> > >> >>
> > >>> > >> >
> > >>> > >> >
> > >>> > >> >
> > >>> 
> -
> > >>> > >> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > >>> > >> > For additional commands, e-mail: users-h...@wicket.apache.org
> > >>> > >> >
> > >>> > >>
> > >>> > >>
> > >>> > >>
> > >>> > >> --
> > >>> > >> Regards - Ernesto 

Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread Martin Grigorov
On Tue, Jun 20, 2017 at 11:31 AM, James Selvakumar 
wrote:

> Hi Martin,
>
> Should I mount just the base dir where all my reports shall be generated
> and refer it elsewhere?
>

Yes, this should work!


>
> On Tue, Jun 20, 2017 at 5:28 PM James Selvakumar 
> wrote:
>
> > Hi Martin,
> >
> > But the reports are generated dynamically. Is it possible to mount a
> > resource from within a panel?
> >
> > On Tue, Jun 20, 2017 at 5:24 PM James Selvakumar 
> > wrote:
> >
> >> Hi Martin,
> >>
> >> Thanks. I'll give that a try.
> >>
> >> On Tue, Jun 20, 2017 at 5:23 PM Martin Grigorov 
> >> wrote:
> >>
> >>> On Tue, Jun 20, 2017 at 11:18 AM, James Selvakumar <
> ja...@mcruncher.com>
> >>> wrote:
> >>>
> >>> > Hi,
> >>> >
> >>> > I'm trying something weird like this and it's not working.
> >>> >
> >>> > HTML:
> >>> > 
> >>> >
> >>> > Java:
> >>> > WebMarkupContainer container = new WebMarkupContainer("myFrame");
> >>> > container.add(new AttributeAppender("src",
> >>> > Model.of(reportFile.getPath(;
> >>> >
> >>>
> >>> getPath() returns file system url.
> >>> You need to mount a IResource that serves files from this file system
> >>> path,
> >>> e.g. http://localhost:8080/jasper/report/aaa.ext will try to load
> >>> file:///some/path/aaa.ext.
> >>>
> >>>
> >>> >
> >>> > What's the correct way to do this?
> >>> >
> >>> > On Tue, Jun 20, 2017 at 4:40 PM James Selvakumar <
> ja...@mcruncher.com>
> >>> > wrote:
> >>> >
> >>> > > Hi Ernesto,
> >>> > >
> >>> > > Thanks. I'll give the iframe option a try.
> >>> > >
> >>> > > On Tue, Jun 20, 2017 at 4:22 PM Ernesto Reinaldo Barreiro <
> >>> > > reier...@gmail.com> wrote:
> >>> > >
> >>> > >> Then I would
> >>> > >>
> >>> > >> 1- mount a resource pointing the folder and serving all files on
> >>> that
> >>> > >> folder. E.g mounted on "/reports"
> >>> > >> 2- Use an iframe to display "/reports/foo.html".
> >>> > >>
> >>> > >> On Tue, Jun 20, 2017 at 10:15 AM, James Selvakumar <
> >>> ja...@mcruncher.com
> >>> > >
> >>> > >> wrote:
> >>> > >>
> >>> > >> > Thanks Martin and Ernesto for taking look at this.
> >>> > >> > I'm using JasperReports library to generate HTML reports
> >>> dynamically
> >>> > and
> >>> > >> > store them in the filesystem.
> >>> > >> > Please take a look at the sample report attached here.
> >>> > >> >
> >>> > >> > On Tue, Jun 20, 2017 at 4:09 PM Ernesto Reinaldo Barreiro <
> >>> > >> > reier...@gmail.com> wrote:
> >>> > >> >
> >>> > >> >> Hi,
> >>> > >> >>
> >>> > >> >> At least BIRT allowed to pass some factory interface for images
> >>> so
> >>> > that
> >>> > >> >> you
> >>> > >> >> could store generated images "somewhere" and TUNE the URL
> >>> generated
> >>> > for
> >>> > >> >> images. So, you could e.g.
> >>> > >> >>
> >>> > >> >> 1- Store images on a table (datbase)
> >>> > >> >> 2- Mount a resource pointing to those images.
> >>> > >> >> 3- Produce URLs inside the report pointing to mounted resource.
> >>> > >> >>
> >>> > >> >> I do no think Jasper should be that different...
> >>> > >> >>
> >>> > >> >>
> >>> > >> >> On Tue, Jun 20, 2017 at 8:32 AM, James Selvakumar <
> >>> > ja...@mcruncher.com
> >>> > >> >
> >>> > >> >> wrote:
> >>> > >> >>
> >>> > >> >> > Hi all,
> >>> > >> >> >
> >>> > >> >> > I'm trying to embed the HTML report from the filesystem
> >>> generated
> >>> > by
> >>> > >> >> > JasperReports in a Panel.
> >>> > >> >> >
> >>> > >> >> > I tried using a WebComponent and write the content of the
> HTML
> >>> file
> >>> > >> to
> >>> > >> >> the
> >>> > >> >> > Response. The markup gets added as expected but unfortunately
> >>> > >> >> JasperReports
> >>> > >> >> > produces separate image files and I'm not sure how to display
> >>> them.
> >>> > >> >> >
> >>> > >> >> > Is it possible to display HTML from filesystem along with
> it's
> >>> > >> dependant
> >>> > >> >> > resources inside a Wicket component?  Or is there a better
> way?
> >>> > >> >> >
> >>> > >> >>
> >>> > >> >>
> >>> > >> >>
> >>> > >> >> --
> >>> > >> >> Regards - Ernesto Reinaldo Barreiro
> >>> > >> >>
> >>> > >> >
> >>> > >> >
> >>> > >> >
> >>> -
> >>> > >> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >>> > >> > For additional commands, e-mail: users-h...@wicket.apache.org
> >>> > >> >
> >>> > >>
> >>> > >>
> >>> > >>
> >>> > >> --
> >>> > >> Regards - Ernesto Reinaldo Barreiro
> >>> > >>
> >>> > >
> >>> >
> >>>
> >>
>


Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread James Selvakumar
Hi Martin,

Should I mount just the base dir where all my reports shall be generated
and refer it elsewhere?

On Tue, Jun 20, 2017 at 5:28 PM James Selvakumar 
wrote:

> Hi Martin,
>
> But the reports are generated dynamically. Is it possible to mount a
> resource from within a panel?
>
> On Tue, Jun 20, 2017 at 5:24 PM James Selvakumar 
> wrote:
>
>> Hi Martin,
>>
>> Thanks. I'll give that a try.
>>
>> On Tue, Jun 20, 2017 at 5:23 PM Martin Grigorov 
>> wrote:
>>
>>> On Tue, Jun 20, 2017 at 11:18 AM, James Selvakumar 
>>> wrote:
>>>
>>> > Hi,
>>> >
>>> > I'm trying something weird like this and it's not working.
>>> >
>>> > HTML:
>>> > 
>>> >
>>> > Java:
>>> > WebMarkupContainer container = new WebMarkupContainer("myFrame");
>>> > container.add(new AttributeAppender("src",
>>> > Model.of(reportFile.getPath(;
>>> >
>>>
>>> getPath() returns file system url.
>>> You need to mount a IResource that serves files from this file system
>>> path,
>>> e.g. http://localhost:8080/jasper/report/aaa.ext will try to load
>>> file:///some/path/aaa.ext.
>>>
>>>
>>> >
>>> > What's the correct way to do this?
>>> >
>>> > On Tue, Jun 20, 2017 at 4:40 PM James Selvakumar 
>>> > wrote:
>>> >
>>> > > Hi Ernesto,
>>> > >
>>> > > Thanks. I'll give the iframe option a try.
>>> > >
>>> > > On Tue, Jun 20, 2017 at 4:22 PM Ernesto Reinaldo Barreiro <
>>> > > reier...@gmail.com> wrote:
>>> > >
>>> > >> Then I would
>>> > >>
>>> > >> 1- mount a resource pointing the folder and serving all files on
>>> that
>>> > >> folder. E.g mounted on "/reports"
>>> > >> 2- Use an iframe to display "/reports/foo.html".
>>> > >>
>>> > >> On Tue, Jun 20, 2017 at 10:15 AM, James Selvakumar <
>>> ja...@mcruncher.com
>>> > >
>>> > >> wrote:
>>> > >>
>>> > >> > Thanks Martin and Ernesto for taking look at this.
>>> > >> > I'm using JasperReports library to generate HTML reports
>>> dynamically
>>> > and
>>> > >> > store them in the filesystem.
>>> > >> > Please take a look at the sample report attached here.
>>> > >> >
>>> > >> > On Tue, Jun 20, 2017 at 4:09 PM Ernesto Reinaldo Barreiro <
>>> > >> > reier...@gmail.com> wrote:
>>> > >> >
>>> > >> >> Hi,
>>> > >> >>
>>> > >> >> At least BIRT allowed to pass some factory interface for images
>>> so
>>> > that
>>> > >> >> you
>>> > >> >> could store generated images "somewhere" and TUNE the URL
>>> generated
>>> > for
>>> > >> >> images. So, you could e.g.
>>> > >> >>
>>> > >> >> 1- Store images on a table (datbase)
>>> > >> >> 2- Mount a resource pointing to those images.
>>> > >> >> 3- Produce URLs inside the report pointing to mounted resource.
>>> > >> >>
>>> > >> >> I do no think Jasper should be that different...
>>> > >> >>
>>> > >> >>
>>> > >> >> On Tue, Jun 20, 2017 at 8:32 AM, James Selvakumar <
>>> > ja...@mcruncher.com
>>> > >> >
>>> > >> >> wrote:
>>> > >> >>
>>> > >> >> > Hi all,
>>> > >> >> >
>>> > >> >> > I'm trying to embed the HTML report from the filesystem
>>> generated
>>> > by
>>> > >> >> > JasperReports in a Panel.
>>> > >> >> >
>>> > >> >> > I tried using a WebComponent and write the content of the HTML
>>> file
>>> > >> to
>>> > >> >> the
>>> > >> >> > Response. The markup gets added as expected but unfortunately
>>> > >> >> JasperReports
>>> > >> >> > produces separate image files and I'm not sure how to display
>>> them.
>>> > >> >> >
>>> > >> >> > Is it possible to display HTML from filesystem along with it's
>>> > >> dependant
>>> > >> >> > resources inside a Wicket component?  Or is there a better way?
>>> > >> >> >
>>> > >> >>
>>> > >> >>
>>> > >> >>
>>> > >> >> --
>>> > >> >> Regards - Ernesto Reinaldo Barreiro
>>> > >> >>
>>> > >> >
>>> > >> >
>>> > >> >
>>> -
>>> > >> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> > >> > For additional commands, e-mail: users-h...@wicket.apache.org
>>> > >> >
>>> > >>
>>> > >>
>>> > >>
>>> > >> --
>>> > >> Regards - Ernesto Reinaldo Barreiro
>>> > >>
>>> > >
>>> >
>>>
>>


Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread James Selvakumar
Hi Martin,

But the reports are generated dynamically. Is it possible to mount a
resource from within a panel?

On Tue, Jun 20, 2017 at 5:24 PM James Selvakumar 
wrote:

> Hi Martin,
>
> Thanks. I'll give that a try.
>
> On Tue, Jun 20, 2017 at 5:23 PM Martin Grigorov 
> wrote:
>
>> On Tue, Jun 20, 2017 at 11:18 AM, James Selvakumar 
>> wrote:
>>
>> > Hi,
>> >
>> > I'm trying something weird like this and it's not working.
>> >
>> > HTML:
>> > 
>> >
>> > Java:
>> > WebMarkupContainer container = new WebMarkupContainer("myFrame");
>> > container.add(new AttributeAppender("src",
>> > Model.of(reportFile.getPath(;
>> >
>>
>> getPath() returns file system url.
>> You need to mount a IResource that serves files from this file system
>> path,
>> e.g. http://localhost:8080/jasper/report/aaa.ext will try to load
>> file:///some/path/aaa.ext.
>>
>>
>> >
>> > What's the correct way to do this?
>> >
>> > On Tue, Jun 20, 2017 at 4:40 PM James Selvakumar 
>> > wrote:
>> >
>> > > Hi Ernesto,
>> > >
>> > > Thanks. I'll give the iframe option a try.
>> > >
>> > > On Tue, Jun 20, 2017 at 4:22 PM Ernesto Reinaldo Barreiro <
>> > > reier...@gmail.com> wrote:
>> > >
>> > >> Then I would
>> > >>
>> > >> 1- mount a resource pointing the folder and serving all files on that
>> > >> folder. E.g mounted on "/reports"
>> > >> 2- Use an iframe to display "/reports/foo.html".
>> > >>
>> > >> On Tue, Jun 20, 2017 at 10:15 AM, James Selvakumar <
>> ja...@mcruncher.com
>> > >
>> > >> wrote:
>> > >>
>> > >> > Thanks Martin and Ernesto for taking look at this.
>> > >> > I'm using JasperReports library to generate HTML reports
>> dynamically
>> > and
>> > >> > store them in the filesystem.
>> > >> > Please take a look at the sample report attached here.
>> > >> >
>> > >> > On Tue, Jun 20, 2017 at 4:09 PM Ernesto Reinaldo Barreiro <
>> > >> > reier...@gmail.com> wrote:
>> > >> >
>> > >> >> Hi,
>> > >> >>
>> > >> >> At least BIRT allowed to pass some factory interface for images so
>> > that
>> > >> >> you
>> > >> >> could store generated images "somewhere" and TUNE the URL
>> generated
>> > for
>> > >> >> images. So, you could e.g.
>> > >> >>
>> > >> >> 1- Store images on a table (datbase)
>> > >> >> 2- Mount a resource pointing to those images.
>> > >> >> 3- Produce URLs inside the report pointing to mounted resource.
>> > >> >>
>> > >> >> I do no think Jasper should be that different...
>> > >> >>
>> > >> >>
>> > >> >> On Tue, Jun 20, 2017 at 8:32 AM, James Selvakumar <
>> > ja...@mcruncher.com
>> > >> >
>> > >> >> wrote:
>> > >> >>
>> > >> >> > Hi all,
>> > >> >> >
>> > >> >> > I'm trying to embed the HTML report from the filesystem
>> generated
>> > by
>> > >> >> > JasperReports in a Panel.
>> > >> >> >
>> > >> >> > I tried using a WebComponent and write the content of the HTML
>> file
>> > >> to
>> > >> >> the
>> > >> >> > Response. The markup gets added as expected but unfortunately
>> > >> >> JasperReports
>> > >> >> > produces separate image files and I'm not sure how to display
>> them.
>> > >> >> >
>> > >> >> > Is it possible to display HTML from filesystem along with it's
>> > >> dependant
>> > >> >> > resources inside a Wicket component?  Or is there a better way?
>> > >> >> >
>> > >> >>
>> > >> >>
>> > >> >>
>> > >> >> --
>> > >> >> Regards - Ernesto Reinaldo Barreiro
>> > >> >>
>> > >> >
>> > >> >
>> > >> >
>> -
>> > >> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> > >> > For additional commands, e-mail: users-h...@wicket.apache.org
>> > >> >
>> > >>
>> > >>
>> > >>
>> > >> --
>> > >> Regards - Ernesto Reinaldo Barreiro
>> > >>
>> > >
>> >
>>
>


Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread James Selvakumar
Hi Martin,

Thanks. I'll give that a try.

On Tue, Jun 20, 2017 at 5:23 PM Martin Grigorov 
wrote:

> On Tue, Jun 20, 2017 at 11:18 AM, James Selvakumar 
> wrote:
>
> > Hi,
> >
> > I'm trying something weird like this and it's not working.
> >
> > HTML:
> > 
> >
> > Java:
> > WebMarkupContainer container = new WebMarkupContainer("myFrame");
> > container.add(new AttributeAppender("src",
> > Model.of(reportFile.getPath(;
> >
>
> getPath() returns file system url.
> You need to mount a IResource that serves files from this file system path,
> e.g. http://localhost:8080/jasper/report/aaa.ext will try to load
> file:///some/path/aaa.ext.
>
>
> >
> > What's the correct way to do this?
> >
> > On Tue, Jun 20, 2017 at 4:40 PM James Selvakumar 
> > wrote:
> >
> > > Hi Ernesto,
> > >
> > > Thanks. I'll give the iframe option a try.
> > >
> > > On Tue, Jun 20, 2017 at 4:22 PM Ernesto Reinaldo Barreiro <
> > > reier...@gmail.com> wrote:
> > >
> > >> Then I would
> > >>
> > >> 1- mount a resource pointing the folder and serving all files on that
> > >> folder. E.g mounted on "/reports"
> > >> 2- Use an iframe to display "/reports/foo.html".
> > >>
> > >> On Tue, Jun 20, 2017 at 10:15 AM, James Selvakumar <
> ja...@mcruncher.com
> > >
> > >> wrote:
> > >>
> > >> > Thanks Martin and Ernesto for taking look at this.
> > >> > I'm using JasperReports library to generate HTML reports dynamically
> > and
> > >> > store them in the filesystem.
> > >> > Please take a look at the sample report attached here.
> > >> >
> > >> > On Tue, Jun 20, 2017 at 4:09 PM Ernesto Reinaldo Barreiro <
> > >> > reier...@gmail.com> wrote:
> > >> >
> > >> >> Hi,
> > >> >>
> > >> >> At least BIRT allowed to pass some factory interface for images so
> > that
> > >> >> you
> > >> >> could store generated images "somewhere" and TUNE the URL generated
> > for
> > >> >> images. So, you could e.g.
> > >> >>
> > >> >> 1- Store images on a table (datbase)
> > >> >> 2- Mount a resource pointing to those images.
> > >> >> 3- Produce URLs inside the report pointing to mounted resource.
> > >> >>
> > >> >> I do no think Jasper should be that different...
> > >> >>
> > >> >>
> > >> >> On Tue, Jun 20, 2017 at 8:32 AM, James Selvakumar <
> > ja...@mcruncher.com
> > >> >
> > >> >> wrote:
> > >> >>
> > >> >> > Hi all,
> > >> >> >
> > >> >> > I'm trying to embed the HTML report from the filesystem generated
> > by
> > >> >> > JasperReports in a Panel.
> > >> >> >
> > >> >> > I tried using a WebComponent and write the content of the HTML
> file
> > >> to
> > >> >> the
> > >> >> > Response. The markup gets added as expected but unfortunately
> > >> >> JasperReports
> > >> >> > produces separate image files and I'm not sure how to display
> them.
> > >> >> >
> > >> >> > Is it possible to display HTML from filesystem along with it's
> > >> dependant
> > >> >> > resources inside a Wicket component?  Or is there a better way?
> > >> >> >
> > >> >>
> > >> >>
> > >> >>
> > >> >> --
> > >> >> Regards - Ernesto Reinaldo Barreiro
> > >> >>
> > >> >
> > >> >
> > >> >
> -
> > >> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > >> > For additional commands, e-mail: users-h...@wicket.apache.org
> > >> >
> > >>
> > >>
> > >>
> > >> --
> > >> Regards - Ernesto Reinaldo Barreiro
> > >>
> > >
> >
>


Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread Martin Grigorov
On Tue, Jun 20, 2017 at 11:18 AM, James Selvakumar 
wrote:

> Hi,
>
> I'm trying something weird like this and it's not working.
>
> HTML:
> 
>
> Java:
> WebMarkupContainer container = new WebMarkupContainer("myFrame");
> container.add(new AttributeAppender("src",
> Model.of(reportFile.getPath(;
>

getPath() returns file system url.
You need to mount a IResource that serves files from this file system path,
e.g. http://localhost:8080/jasper/report/aaa.ext will try to load
file:///some/path/aaa.ext.


>
> What's the correct way to do this?
>
> On Tue, Jun 20, 2017 at 4:40 PM James Selvakumar 
> wrote:
>
> > Hi Ernesto,
> >
> > Thanks. I'll give the iframe option a try.
> >
> > On Tue, Jun 20, 2017 at 4:22 PM Ernesto Reinaldo Barreiro <
> > reier...@gmail.com> wrote:
> >
> >> Then I would
> >>
> >> 1- mount a resource pointing the folder and serving all files on that
> >> folder. E.g mounted on "/reports"
> >> 2- Use an iframe to display "/reports/foo.html".
> >>
> >> On Tue, Jun 20, 2017 at 10:15 AM, James Selvakumar  >
> >> wrote:
> >>
> >> > Thanks Martin and Ernesto for taking look at this.
> >> > I'm using JasperReports library to generate HTML reports dynamically
> and
> >> > store them in the filesystem.
> >> > Please take a look at the sample report attached here.
> >> >
> >> > On Tue, Jun 20, 2017 at 4:09 PM Ernesto Reinaldo Barreiro <
> >> > reier...@gmail.com> wrote:
> >> >
> >> >> Hi,
> >> >>
> >> >> At least BIRT allowed to pass some factory interface for images so
> that
> >> >> you
> >> >> could store generated images "somewhere" and TUNE the URL generated
> for
> >> >> images. So, you could e.g.
> >> >>
> >> >> 1- Store images on a table (datbase)
> >> >> 2- Mount a resource pointing to those images.
> >> >> 3- Produce URLs inside the report pointing to mounted resource.
> >> >>
> >> >> I do no think Jasper should be that different...
> >> >>
> >> >>
> >> >> On Tue, Jun 20, 2017 at 8:32 AM, James Selvakumar <
> ja...@mcruncher.com
> >> >
> >> >> wrote:
> >> >>
> >> >> > Hi all,
> >> >> >
> >> >> > I'm trying to embed the HTML report from the filesystem generated
> by
> >> >> > JasperReports in a Panel.
> >> >> >
> >> >> > I tried using a WebComponent and write the content of the HTML file
> >> to
> >> >> the
> >> >> > Response. The markup gets added as expected but unfortunately
> >> >> JasperReports
> >> >> > produces separate image files and I'm not sure how to display them.
> >> >> >
> >> >> > Is it possible to display HTML from filesystem along with it's
> >> dependant
> >> >> > resources inside a Wicket component?  Or is there a better way?
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Regards - Ernesto Reinaldo Barreiro
> >> >>
> >> >
> >> >
> >> > -
> >> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> > For additional commands, e-mail: users-h...@wicket.apache.org
> >> >
> >>
> >>
> >>
> >> --
> >> Regards - Ernesto Reinaldo Barreiro
> >>
> >
>


Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread James Selvakumar
Hi,

I'm trying something weird like this and it's not working.

HTML:


Java:
WebMarkupContainer container = new WebMarkupContainer("myFrame");
container.add(new AttributeAppender("src",
Model.of(reportFile.getPath(;

What's the correct way to do this?

On Tue, Jun 20, 2017 at 4:40 PM James Selvakumar 
wrote:

> Hi Ernesto,
>
> Thanks. I'll give the iframe option a try.
>
> On Tue, Jun 20, 2017 at 4:22 PM Ernesto Reinaldo Barreiro <
> reier...@gmail.com> wrote:
>
>> Then I would
>>
>> 1- mount a resource pointing the folder and serving all files on that
>> folder. E.g mounted on "/reports"
>> 2- Use an iframe to display "/reports/foo.html".
>>
>> On Tue, Jun 20, 2017 at 10:15 AM, James Selvakumar 
>> wrote:
>>
>> > Thanks Martin and Ernesto for taking look at this.
>> > I'm using JasperReports library to generate HTML reports dynamically and
>> > store them in the filesystem.
>> > Please take a look at the sample report attached here.
>> >
>> > On Tue, Jun 20, 2017 at 4:09 PM Ernesto Reinaldo Barreiro <
>> > reier...@gmail.com> wrote:
>> >
>> >> Hi,
>> >>
>> >> At least BIRT allowed to pass some factory interface for images so that
>> >> you
>> >> could store generated images "somewhere" and TUNE the URL generated for
>> >> images. So, you could e.g.
>> >>
>> >> 1- Store images on a table (datbase)
>> >> 2- Mount a resource pointing to those images.
>> >> 3- Produce URLs inside the report pointing to mounted resource.
>> >>
>> >> I do no think Jasper should be that different...
>> >>
>> >>
>> >> On Tue, Jun 20, 2017 at 8:32 AM, James Selvakumar > >
>> >> wrote:
>> >>
>> >> > Hi all,
>> >> >
>> >> > I'm trying to embed the HTML report from the filesystem generated by
>> >> > JasperReports in a Panel.
>> >> >
>> >> > I tried using a WebComponent and write the content of the HTML file
>> to
>> >> the
>> >> > Response. The markup gets added as expected but unfortunately
>> >> JasperReports
>> >> > produces separate image files and I'm not sure how to display them.
>> >> >
>> >> > Is it possible to display HTML from filesystem along with it's
>> dependant
>> >> > resources inside a Wicket component?  Or is there a better way?
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Regards - Ernesto Reinaldo Barreiro
>> >>
>> >
>> >
>> > -
>> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> > For additional commands, e-mail: users-h...@wicket.apache.org
>> >
>>
>>
>>
>> --
>> Regards - Ernesto Reinaldo Barreiro
>>
>


Re: javax websockets in Spring Boot project: 404 error

2017-06-20 Thread Martin Grigorov
Try without fat jar, e.g. mvn spring-boot:run or in the IDE.
There are many bug reports in Spring Boot that fat jars do not behave like
normal .war.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, Jun 20, 2017 at 10:31 AM, ansc  wrote:

> Yes tomcat-embed-websocket-8.5.15.jar is in the spring boot fat jar
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/javax-websockets-in-Spring-Boot-project-404-error-
> tp4678080p4678101.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: javax websockets in Spring Boot project: 404 error

2017-06-20 Thread ansc
Yes tomcat-embed-websocket-8.5.15.jar is in the spring boot fat jar

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/javax-websockets-in-Spring-Boot-project-404-error-tp4678080p4678101.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread James Selvakumar
Hi Ernesto,

Thanks. I'll give the iframe option a try.

On Tue, Jun 20, 2017 at 4:22 PM Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:

> Then I would
>
> 1- mount a resource pointing the folder and serving all files on that
> folder. E.g mounted on "/reports"
> 2- Use an iframe to display "/reports/foo.html".
>
> On Tue, Jun 20, 2017 at 10:15 AM, James Selvakumar 
> wrote:
>
> > Thanks Martin and Ernesto for taking look at this.
> > I'm using JasperReports library to generate HTML reports dynamically and
> > store them in the filesystem.
> > Please take a look at the sample report attached here.
> >
> > On Tue, Jun 20, 2017 at 4:09 PM Ernesto Reinaldo Barreiro <
> > reier...@gmail.com> wrote:
> >
> >> Hi,
> >>
> >> At least BIRT allowed to pass some factory interface for images so that
> >> you
> >> could store generated images "somewhere" and TUNE the URL generated for
> >> images. So, you could e.g.
> >>
> >> 1- Store images on a table (datbase)
> >> 2- Mount a resource pointing to those images.
> >> 3- Produce URLs inside the report pointing to mounted resource.
> >>
> >> I do no think Jasper should be that different...
> >>
> >>
> >> On Tue, Jun 20, 2017 at 8:32 AM, James Selvakumar 
> >> wrote:
> >>
> >> > Hi all,
> >> >
> >> > I'm trying to embed the HTML report from the filesystem generated by
> >> > JasperReports in a Panel.
> >> >
> >> > I tried using a WebComponent and write the content of the HTML file to
> >> the
> >> > Response. The markup gets added as expected but unfortunately
> >> JasperReports
> >> > produces separate image files and I'm not sure how to display them.
> >> >
> >> > Is it possible to display HTML from filesystem along with it's
> dependant
> >> > resources inside a Wicket component?  Or is there a better way?
> >> >
> >>
> >>
> >>
> >> --
> >> Regards - Ernesto Reinaldo Barreiro
> >>
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
>
>
>
> --
> Regards - Ernesto Reinaldo Barreiro
>


Re: Accessing Connets from TextFeild from Other Form.

2017-06-20 Thread Martin Grigorov
I don't see a  around the .

Havng a Form is not always necessary. You can add OnChangeAjaxBehavior to
the "name" TextField. This way it will send its value to the server after
being updated.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, Jun 20, 2017 at 9:44 AM, rajan  wrote:

> Thanks for your response.
>
>
> I am new to wicket question and implemetation might be funny ..
>
>
> here is the screen shot of HTML file
>
> 
>
>
> wicket id= name comes under the "wicket id=form " which is also the parent
> form for all other components.
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/Accessing-Connets-from-TextFeild-from-
> Other-Form-tp4678090p4678095.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Accessing Connets from TextFeild from Other Form.

2017-06-20 Thread rajan
Thanks for your response.


I am new to wicket question and implemetation might be funny ..


here is the screen shot of HTML file 

 


wicket id= name comes under the "wicket id=form " which is also the parent
form for all other components.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Accessing-Connets-from-TextFeild-from-Other-Form-tp4678090p4678095.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread Ernesto Reinaldo Barreiro
Then I would

1- mount a resource pointing the folder and serving all files on that
folder. E.g mounted on "/reports"
2- Use an iframe to display "/reports/foo.html".

On Tue, Jun 20, 2017 at 10:15 AM, James Selvakumar 
wrote:

> Thanks Martin and Ernesto for taking look at this.
> I'm using JasperReports library to generate HTML reports dynamically and
> store them in the filesystem.
> Please take a look at the sample report attached here.
>
> On Tue, Jun 20, 2017 at 4:09 PM Ernesto Reinaldo Barreiro <
> reier...@gmail.com> wrote:
>
>> Hi,
>>
>> At least BIRT allowed to pass some factory interface for images so that
>> you
>> could store generated images "somewhere" and TUNE the URL generated for
>> images. So, you could e.g.
>>
>> 1- Store images on a table (datbase)
>> 2- Mount a resource pointing to those images.
>> 3- Produce URLs inside the report pointing to mounted resource.
>>
>> I do no think Jasper should be that different...
>>
>>
>> On Tue, Jun 20, 2017 at 8:32 AM, James Selvakumar 
>> wrote:
>>
>> > Hi all,
>> >
>> > I'm trying to embed the HTML report from the filesystem generated by
>> > JasperReports in a Panel.
>> >
>> > I tried using a WebComponent and write the content of the HTML file to
>> the
>> > Response. The markup gets added as expected but unfortunately
>> JasperReports
>> > produces separate image files and I'm not sure how to display them.
>> >
>> > Is it possible to display HTML from filesystem along with it's dependant
>> > resources inside a Wicket component?  Or is there a better way?
>> >
>>
>>
>>
>> --
>> Regards - Ernesto Reinaldo Barreiro
>>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Regards - Ernesto Reinaldo Barreiro


Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread Ernesto Reinaldo Barreiro
Hi,

At least BIRT allowed to pass some factory interface for images so that you
could store generated images "somewhere" and TUNE the URL generated for
images. So, you could e.g.

1- Store images on a table (datbase)
2- Mount a resource pointing to those images.
3- Produce URLs inside the report pointing to mounted resource.

I do no think Jasper should be that different...


On Tue, Jun 20, 2017 at 8:32 AM, James Selvakumar 
wrote:

> Hi all,
>
> I'm trying to embed the HTML report from the filesystem generated by
> JasperReports in a Panel.
>
> I tried using a WebComponent and write the content of the HTML file to the
> Response. The markup gets added as expected but unfortunately JasperReports
> produces separate image files and I'm not sure how to display them.
>
> Is it possible to display HTML from filesystem along with it's dependant
> resources inside a Wicket component?  Or is there a better way?
>



-- 
Regards - Ernesto Reinaldo Barreiro


Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread Martin Grigorov
Hi,

What exactly JasperReports produces ?

You may need to process the generated by JR HTML and wrap all  tags in
 elements.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, Jun 20, 2017 at 8:32 AM, James Selvakumar 
wrote:

> Hi all,
>
> I'm trying to embed the HTML report from the filesystem generated by
> JasperReports in a Panel.
>
> I tried using a WebComponent and write the content of the HTML file to the
> Response. The markup gets added as expected but unfortunately JasperReports
> produces separate image files and I'm not sure how to display them.
>
> Is it possible to display HTML from filesystem along with it's dependant
> resources inside a Wicket component?  Or is there a better way?
>


Re: Accessing Connets from TextFeild from Other Form.

2017-06-20 Thread Martin Grigorov
Hi,

On Tue, Jun 20, 2017 at 8:20 AM, rajan  wrote:

> Hello,
>
> I have a situation like below:
>
> form1
>TextFeildX
>
> Form 2
>on the bases of data from   TextFeildX i want proceed with some
> other
> action.
>
> but i cannot find a way to fetch value of  TextFeildX in form 2
> TextFeildX.getModelObject() return always null.
>

You need to submit some data in Form1 to have a value in TextField1.
Show us some code so we can tell you how to rework it!


>
>
>
> Thanks in advance.
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/Accessing-Connets-from-TextFeild-from-
> Other-Form-tp4678090.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: javax websockets in Spring Boot project: 404 error

2017-06-20 Thread Martin Grigorov
Hi,

Please see my answer in your earlier question:
http://markmail.org/message/7uvpfnfqvco332lj

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, Jun 20, 2017 at 8:47 AM, ansc  wrote:

> I just tried to switch to "wicket native websockets" in a springboot
> project:
>
> 1) filter changed to
> „org.apache.wicket.protocol.ws.javax.JavaxWebSocketFilter“
>
> 2) added   „add(new WebSocketBehavior() {});“ to  page
>
> 3) pom:
> 1.8
> 8.5.15
> 7.7.0
> ...
> 
> org.springframework.boot
> spring-boot-starter-parent
> 1.4.2.RELEASE
> 
>
> 4)  
> org.apache.wicket
> wicket-native-websocket-javax
> ${wicket.version}
> 
>
> 5)
> @SpringBootApplication(exclude = {ErrorMvcAutoConfiguration.class})
> @Slf4j
> public class WebApplication {
>
> public static void main(String[] args) {
> SpringApplication.run(WebApplication.class, args);
> }
>
> @Bean
> public FilterRegistrationBean wicketFilter() {
> final FilterRegistrationBean wicketFilter = new
> FilterRegistrationBean();
> wicketFilter.setDispatcherTypes(DispatcherType.REQUEST,
> DispatcherType.ERROR, DispatcherType.FORWARD, DispatcherType.ASYNC);
> wicketFilter.setAsyncSupported(true);
> wicketFilter.setFilter(new JavaxWebSocketFilter());
> wicketFilter.addInitParameter(WicketFilter.APP_FACT_PARAM,
> SpringWebApplicationFactory.class.getName());
> wicketFilter.addInitParameter(WicketFilter.FILTER_MAPPING_PARAM,
> "/*");
> wicketFilter.addInitParameter("applicationBean",
> "wicketWebApplication");
> wicketFilter.addInitParameter("configuration", "development");
> wicketFilter.addUrlPatterns("/*");
> return wicketFilter;
> }
>
> *Result:* WebSocket connection to
> 'ws://localhost:8080/wicket/websocket?pageId=4
> ajax-baseurl=reports%3F4=javaxWebSocketFilter'
> failed: Error during WebSocket handshake: Unexpected response code: 404
> wicket-websocket-jquery-ver-1497450491000.js:69
>
> No errors in the log on server start and while working
>
> Should this configuration work? or maybe I'm missing something?
>
> I am are using "embedded Tomcat of Spring Boot", maybe this is the reason
> 
>
> Thanks in advance!
>
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/javax-websockets-in-Spring-Boot-project-404-error-tp4678091.
> html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Accessing Connets from TextFeild from Other Form.

2017-06-20 Thread rajan
Hello, 

I have a situation like below:

form1
   TextFeildX

Form 2 
   on the bases of data from   TextFeildX i want proceed with some other
action.

but i cannot find a way to fetch value of  TextFeildX in form 2 
TextFeildX.getModelObject() return always null.



Thanks in advance.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Accessing-Connets-from-TextFeild-from-Other-Form-tp4678090.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



javax websockets in Spring Boot project: 404 error

2017-06-20 Thread ansc
I just tried to switch to "wicket native websockets" in a springboot project: 
 
1) filter changed to
„org.apache.wicket.protocol.ws.javax.JavaxWebSocketFilter“
 
2) added   „add(new WebSocketBehavior() {});“ to  page

3) pom:
1.8
8.5.15
7.7.0
...

org.springframework.boot
spring-boot-starter-parent
1.4.2.RELEASE

 
4)  
org.apache.wicket
wicket-native-websocket-javax
${wicket.version}

 
5)  
@SpringBootApplication(exclude = {ErrorMvcAutoConfiguration.class})
@Slf4j
public class WebApplication {

public static void main(String[] args) {
SpringApplication.run(WebApplication.class, args);
}

@Bean
public FilterRegistrationBean wicketFilter() {
final FilterRegistrationBean wicketFilter = new
FilterRegistrationBean();
wicketFilter.setDispatcherTypes(DispatcherType.REQUEST,
DispatcherType.ERROR, DispatcherType.FORWARD, DispatcherType.ASYNC);
wicketFilter.setAsyncSupported(true);
wicketFilter.setFilter(new JavaxWebSocketFilter());
wicketFilter.addInitParameter(WicketFilter.APP_FACT_PARAM,   
SpringWebApplicationFactory.class.getName());
wicketFilter.addInitParameter(WicketFilter.FILTER_MAPPING_PARAM,
"/*");
wicketFilter.addInitParameter("applicationBean",
"wicketWebApplication");
wicketFilter.addInitParameter("configuration", "development");
wicketFilter.addUrlPatterns("/*");
return wicketFilter;
}
 
*Result:* WebSocket connection to
'ws://localhost:8080/wicket/websocket?pageId=4=reports%3F4=javaxWebSocketFilter'
failed: Error during WebSocket handshake: Unexpected response code: 404 
wicket-websocket-jquery-ver-1497450491000.js:69

No errors in the log on server start and while working 

Should this configuration work? or maybe I'm missing something? 

I am are using "embedded Tomcat of Spring Boot", maybe this is the reason
 

Thanks in advance! 
 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/javax-websockets-in-Spring-Boot-project-404-error-tp4678091.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Embedding HTML report generated by JasperReports in a Panel

2017-06-20 Thread James Selvakumar
Hi all,

I'm trying to embed the HTML report from the filesystem generated by
JasperReports in a Panel.

I tried using a WebComponent and write the content of the HTML file to the
Response. The markup gets added as expected but unfortunately JasperReports
produces separate image files and I'm not sure how to display them.

Is it possible to display HTML from filesystem along with it's dependant
resources inside a Wicket component?  Or is there a better way?


Re: The day Wicket became Apache Wicket 10 years ago!

2017-06-20 Thread James Selvakumar
It's heartening to see Wicket still going strong.
And I take this opportunity to thank all of you for this amazing framework
and many thanks for the support offered.
The support offered by the Wicket community is superior compared to even
commercial products.
Keep going!

On Tue, Jun 20, 2017 at 1:58 PM Zala Pierre GOUPIL 
wrote:

> Congratulations! Keep up the good work!
>
> On Tue, Jun 20, 2017 at 7:44 AM, Tobias Soloschenko <
> tobiassolosche...@googlemail.com> wrote:
>
> > Hope that many years are going to be added. :-)
> >
> > kind regards
> >
> > Tobias
> >
> > > Am 19.06.2017 um 21:18 schrieb Martijn Dashorst <
> > martijn.dasho...@gmail.com>:
> > >
> > > Today marks the date 10 years ago that the Wicket project graduated
> from
> > > the Incubator to a fully fledged Apache project.
> > >
> > > The time flies when you're having fun!
> > >
> > > I would like to thank all our community members for their continued
> > support
> > > and usage of Apache Wicket and pour one out for you!
> > >
> > > Here's a big Thank You for everyone reading this message, asking and
> > > answering questions, using Wicket in their projects and a special
> :beer:
> > > for all contributors to Wicket, past and present! Here's to another 10
> > > years!
> > >
> > > Martijn Dashorst
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
>
> --
> Je n'aime pas seulement ma vie, mais aussi celle des autres.
>
> (Blade Runner)
>