igure out which fields to display from a different source.
>
> On Wed, Oct 19, 2011 at 11:16 AM, Vasu Srinivasan
> wrote:
> > Hello,
> >
> > I am familiar with wicket concepts and have done some basic stuff with
> it. I
> > am currently working on a PoC, but not
Hello,
I am familiar with wicket concepts and have done some basic stuff with it. I
am currently working on a PoC, but not sure how to get this around in
Wicket. In Wicket, the html and java are directly tied between each other.
However I would like to have an external configuration (json or xml)
> Does someone else already got the same issue?
>
> Regards,
> Hbiloo
>
>
> On Wed, Jun 24, 2009 at 12:36 PM, Vasu Srinivasan
> wrote:
> > Ive got a very similar thing working.
> >
> > I think you may have to return the "highlight" value dynamica
mma
> mia";
>categories.add(new Category("Links", Arrays.asList(new
> Topic("Ana"),
>new Topic("Smiti"), new Topic("Hbiloo"), new
> Topic("Yeeh";
>return categories;
>}
> }
>
> TestPage.html
>
>
>
>
>wicket:id="category">Category A:
>
>wicket:id="topic">Link
>
>
>
>
>
>
> Kind regards,
>
> Hbiloo
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
--
Regards,
Vasu Srinivasan
oser.cgi/wicket/1.3.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
--
Regards,
Vasu Srinivasan
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
--
Regards,
Vasu Srinivasan
> threw exception; nested exception is java.lang.IllegalStateException:
> >>>>> InjectorHolder has not been assigned an injector. Use
> >>>>> InjectorHolder.setInjector() to assign an injector. In most cases
> this
> >>>>> should be done once inside SpringWebApplication subclass's init()
> >>>>> method.
> >>>>> at
> >>>>>
> >>>>>
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
> >>>>> at
> >>>>>
> >>>>>
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
> >>>>> at
> >>>>>
> >>>>>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
> >>>>> ... 40 more
> >>>>> Caused by: java.lang.IllegalStateException: InjectorHolder has not
> been
> >>>>> assigned an injector. Use InjectorHolder.setInjector() to assign an
> >>>>> injector. In most cases this should be done once inside
> >>>>> SpringWebApplication
> >>>>> subclass's init() method.
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.injection.web.InjectorHolder.getInjector(InjectorHolder.java:64)
> >>>>> at
> >>>>>
> >>>>>
> com.coastware.vProbe.model.dao.hibernate.UserDAOHibernate.(UserDAOHibernate.java:26)
> >>>>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> >>>>> Method)
> >>>>> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
> >>>>> Source)
> >>>>> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> >>>>> Source)
> >>>>> at java.lang.reflect.Constructor.newInstance(Unknown Source)
> >>>>> at
> >>>>>
> >>>>>
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
> >>>>> ... 42 more
> >>>>> >
> >>>>> Error when InjectorHolder line is commented out.
> >>>>> >
> >>>>> java.lang.RuntimeException: userDAO is null at
> >>>>>
> >>>>>
> com.coastware.vProbe.service.UserServiceImpl.getUserDAO(UserServiceImpl.java:90)
> >>>>> at
> >>>>>
> >>>>>
> com.coastware.vProbe.service.UserServiceImpl.getUsers(UserServiceImpl.java:68)
> >>>>> at java.lang.reflect.Method.invoke(Unknown Source) at
> >>>>>
> >>>>>
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
> >>>>> at
> >>>>>
> >>>>>
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
> >>>>> at $Proxy15.getUsers(Unknown Source) at
> >>>>> java.lang.reflect.Method.invoke(Unknown Source) at
> >>>>>
> >>>>>
> org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416)
> >>>>> at org.apache.wicket.proxy.$Proxy16.getUsers(Unknown Source) at
> >>>>> com.coastware.vProbe.HomePage.(HomePage.java:27) at
> >>>>> java.lang.reflect.Constructor.newInstance(Unknown Source) at
> >>>>>
> >>>>>
> org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:147)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:66)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:272)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:293)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:210)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1220)
> >>>>> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1297) at
> >>>>> org.apache.wicket.RequestCycle.steps(RequestCycle.java:1399) at
> >>>>> org.apache.wicket.RequestCycle.request(RequestCycle.java:529) at
> >>>>>
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:356)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:201)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
> >>>>> at
> >>>>>
> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
> >>>>> at java.lang.Thread.run(Unknown Source)
> >>>>>
> >>>>> Complete stack:
> >>>>>
> >>>>> org.apache.wicket.WicketRuntimeException: Can't instantiate page
> using
> >>>>> constructor public
> >>>>> com.coastware.vProbe.HomePage(org.apache.wicket.PageParameters) and
> >>>>> argument
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:168)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:66)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:272)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:293)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:210)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1220)
> >>>>> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1297) at
> >>>>> org.apache.wicket.RequestCycle.steps(RequestCycle.java:1399) at
> >>>>> org.apache.wicket.RequestCycle.request(RequestCycle.java:529) at
> >>>>>
> >>>>>
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:356)
> >>>>>
> >>>>> java.lang.reflect.InvocationTargetException at
> >>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> >>>>> at
> >>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
> >>>>> at
> >>>>> java.lang.reflect.Constructor.newInstance(Unknown Source) at
> >>>>>
> >>>>>
> org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:147)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:66)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:272)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:293)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:210)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
> >>>>> at
> >>>>>
> >>>>>
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1220)
> >>>>> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1297) at
> >>>>> org.apache.wicket.RequestCycle.steps(RequestCycle.java:1399) at
> >>>>> org.apache.wicket.RequestCycle.request(RequestCycle.java:529) at
> >>>>>
> >>>>>
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:356)
> >>>>>
> >>>>> >
> >>>>>
> >>>>> -
> >>>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >>>>> For additional commands, e-mail: users-h...@wicket.apache.org
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>
> >>
> >
>
--
Regards,
Vasu Srinivasan
unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
--
Regards,
Vasu Srinivasan
n
> textfield and override in addpage , this approach will make me change the
> base class for everytime for any new features the sub class needs .I am
> looking for some way through whcih I can retrieve the component in the sub
> class and add decoratos without changing the base class ?
>
--
Regards,
Vasu Srinivasan
> CompoundPropertyModel(post);
>final WebMarkupContainer outer = new WebMarkupContainer("post",
> postModel);
>outer.add(new Label("title"));
>outer.add(new BookmarkablePageLink("category",
> CategoryPage.class));
> * outer.add(new Label("content"));*
>outer.add(new DateLabel("publishedOn", new StyleDateConverter("M-",
> true)));
>add(outer);
>
--
Regards,
Vasu Srinivasan
; public class PostServiceImpl implements PostService
> >> > {
> >> > ...
> >> >@Autowired
> >> >public void setPostDao(final PostDao postDao)
> >> >{
> >> >this.postDao = postDao;
> >> >}
> >> > }
> >> >
> >> >
> >> >
> >> > public class HomePage extends BasicLayout
> >> > {
> >> >@SpringBean
> >> >private PostService postService;
> >> >
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >>
> >>
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
--
Regards,
Vasu Srinivasan
what should happen:
List tempResult = getResultsFromCriteria(criteria);
results.clear();
results.addAll(tempResult);
Pls correct me if im wrong...
On Tue, May 26, 2009 at 4:48 PM, Vasu Srinivasan wrote:
> Ok I think I am understanding it a little better now.
> For now Im still extendi
gt; >> response.renderJavascriptReference("javascript/jquery.hoverIntent.js");
> >> response.renderJavascriptReference("javascript/jquery.cluetip.js");
> >> }
> >>
> >> If you need to add any images in your page, use a ContextImage which is
}
>
> If you need to add any images in your page, use a ContextImage which is
> relative to the context always.
>
> I tend to use a BasePage which setups the header and have my other pages
> extend BasePage you might find it useful as well.
>
>
> cheers,
> Steve
>
s example, what are you doing with the input field? Submitting a
> > form?
> >
> > Were that the case, how about using a raw input tag and moving any wicket
> > logic to the submit handler?
> >
> > -Luther
> >
> >
> >
> >
> >
> >
same thing ... take Tapestry for instance and the technical
> > relevance as
> > >> to where markup files can or cannot reside.
> > >>
> > >> This post is indeed a bit philosophical/theoretical - I've often
> thought
> > >> about this topic and wanted to clarify in my mind that maybe, these
> are
> > >> either moot points, ignored concerns, overthinking on my part ... or
> > just
> > >> not important somehow. As I mentioned, this little detail has always
> > been a
> > >> pain point in my previous work and I've just been happy as a lark to
> use
> > the
> > >> which protects me from whatever the future provides.
> I'm
> > just
> > >> surprised it isn't the suggested best practice or that dropping files
> > into
> > >> webapp/* is *ill*-advised since it assumes something about how Wicket
> > works.
> > >>
> > >> Thanks,
> > >>
> > >> -Luther
> > >>
> > >
> > >
> > >
> > > --
> > > Become a Wicket expert, learn from the best: http://wicketinaction.com
> > > Apache Wicket 1.3.5 is released
> > > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
> > >
> > > -
> > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > > For additional commands, e-mail: users-h...@wicket.apache.org
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
--
Regards,
Vasu Srinivasan
der doesnt
> work for you. most of the time you modify an existing instance of
> List, not create a new one, so ListDataProvider is useful there.
>
> -igor
>
> On Tue, May 26, 2009 at 1:15 PM, Vasu Srinivasan
> wrote:
> > Thanks for the reply ...
> >
> > I t
at pulls the list
> directly from whatever property contains the latest.
>
> -igor
>
> On Tue, May 26, 2009 at 9:38 AM, Vasu Srinivasan
> wrote:
> > Hello:
> > I have a simple search form , where some criteria refreshes the table
> based
> > on the db. I got
the old data (no change). Neither do I see a method to set the new list in
the ListDataProvider.
I even tried adding a new view inside the onSubmit, but that doesnt work
either:
myDataView = new MyDataView("myDataView", new MyDataProvider(newList));
--
Thanks!
Vasu Srinivasan
t; 2009/5/23 Sam Stainsby :
>
> > On Thu, 21 May 2009 20:32:01 -0500, Vasu Srinivasan wrote:
> >
> >> Apologize if this question sounds too generic... Are there restrictions
> >> in using 3rd party Javascript libraries when using Wicket? We have a
> >&g
Apologize if this question sounds too generic... Are there restrictions in
using 3rd party Javascript libraries when using Wicket? We have a separate
design/javascript team and they love the idea of having just html to work
with. But there is also a need of freedom/flexibility in adding custom
java
Im a wicket newbie ..
I have a Search Page with some search criteria inputs and below it, the list
of data based on search.
The first time the page is hit, the listView component is not still present,
because Im adding that only onSubmit() -- like this:
class XPage extends WebPage {
cla
used for
> components. That should be similar to what you want.
>
> Best regards, --- Jan.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
--
Regards,
Vasu Srinivasan
I see this question has been posted before and searched around but I have
not seen any conclusive solution.
I am totally new to Wicket... We have a dynamic xml that contains UI and
data elements (text, radio, checkbox etc) which we need to convert to html
and then submit users selections etc. Basi
24 matches
Mail list logo