On 1 July 2013 15:59, Josh Kamau <[email protected]> wrote:
> Hi guys ;
>
Hi Josh,
> I just discovered apache isis while looking for a java based RAD framework.
>
welcome to the Apache Isis mailing list; glad you found us!
> have a few questions though. I just need to know if the following are
> possible (without getting into the guts of the framework).
>
> 1. Can i add search/filter fields whenever there is a grid ?, can i
> customize the filter?
>
No, fraid not. Raise a JIRA ticket [1] describing exactly what you want.
What is possible tends to depend on Wicket, though.
> 2. Can i change the UI layout ?
>
Kind of. The Wicket viewer has support for a lot of annotations and hints,
and there are pluggable views of maps, charts, calendars etc. See my
github repos [2], isis-wicket-*. However the overall structure of
properties on the left, collections on the right is reasonably fixed.
In fact, there is an internal API - PageRegistry - within the Wicket viewer
that allows different pages to be served up. It could have quite a few
rough edges, but I'm happy to talk you through using it if you fancy
digging into Wicket a little.
~~~
There are some other viewers that provide alternate support. Or, for
maximum flexibiility, you could roll your own against the Restful Objects
viewer [3].
> 3. Can i add confirmation dialogs for some actions
>
You can simulate it quite easily, by having a boolean checkbox that must be
checked. Something like:
public void doSomething(
@Named("Foo") int a,
@Named("Bar") String x,
@Named("Are you sure?") @Optional Boolean confirm) {
}
public String validateDoSomething(
int a,
String x,
Boolean confirm) {
return confirm!=null && confirm? null: "Check 'are you sure' to proceed";
}
There isn't any pop-up, though. We've been considering it.
> 4. Does it support file upload/image fields
yes - use org.apache.isis.applib.Blob or org.apache.isis.applib.Clob as the
datatype. An example is the attachment property of the ToDoItem
> and renderers?
>
Not sure what you mean here. The Wicket viewer has a whole bunch of
internal renderers, making up a pluggable architecture. I can explain it
in more detail if you have a particular use case in mind...
> 5. Is there a relatively complicated application that i can check out? the
> demo link on the site is not working.
>
>
If you can wait a few days, we're currently in the process of open sourcing
a reasonably substantial app that we've been working on.
You could also check out the codebase of the TransportPlanner app, [4]
Any further questions, please don't hesitate to ask...
Cheers
Dan
> Kind regards.
> Josh
>
[1] https://issues.apache.org/jira/browse/ISIS
[2] https://github.com/danhaywood?tab=repositories
[3] http://isis.apache.org/components/viewers/restfulobjects/about.html
[4] http://isis.apache.org/getting-started/powered-by.html